From 8932343a25d6a30fa08143658668d34eded19c91 Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Mon, 1 Apr 2024 18:54:20 +0000 Subject: [PATCH] This release adds support for CloudWatch Anomaly Detection on cross-account metrics. SingleMetricAnomalyDetector and MetricDataQuery inputs to Anomaly Detection APIs now take an optional AccountId field. This release fixes a broken link in the documentation. AWS Deadline Cloud is a new fully managed service that helps customers set up, deploy, and scale rendering projects in minutes, so they can improve the efficiency of their rendering pipelines and take on more projects. This release supports the feature of AI recommendations for descriptions to enrich the business data catalog in Amazon DataZone. This release adds support to upgrade the TLS version of the distribution. --- VERSION | 2 +- .../include/aws/datazone/DataZoneClient.h | 113 +- .../aws/datazone/DataZoneServiceClientModel.h | 20 + .../include/aws/datazone/model/AcceptChoice.h | 44 + .../datazone/model/AcceptPredictionsRequest.h | 56 +- .../datazone/model/AcceptPredictionsResult.h | 42 +- .../aws/datazone/model/AssetTargetNameMap.h | 2 +- .../CancelMetadataGenerationRunRequest.h | 135 + .../model/CancelMetadataGenerationRunResult.h | 63 + .../aws/datazone/model/CreateAssetRequest.h | 16 +- .../aws/datazone/model/CreateAssetResult.h | 24 +- .../model/CreateAssetRevisionResult.h | 24 +- .../model/CreateListingChangeSetRequest.h | 96 +- .../model/CreateListingChangeSetResult.h | 38 +- .../aws/datazone/model/CreateProjectResult.h | 31 +- .../model/CreateSubscriptionRequestRequest.h | 16 +- .../model/CreateSubscriptionRequestResult.h | 14 +- .../aws/datazone/model/DeleteDomainRequest.h | 12 +- .../aws/datazone/model/DeleteListingRequest.h | 32 +- .../aws/datazone/model/DeleteProjectRequest.h | 12 +- .../aws/datazone/model/GetAssetResult.h | 24 +- .../aws/datazone/model/GetDataSourceResult.h | 10 +- .../aws/datazone/model/GetListingRequest.h | 48 +- .../aws/datazone/model/GetListingResult.h | 100 +- .../model/GetMetadataGenerationRunRequest.h | 135 + .../model/GetMetadataGenerationRunResult.h | 345 + .../aws/datazone/model/GetProjectResult.h | 31 +- .../datazone/model/GetSubscriptionResult.h | 15 +- .../datazone/model/ListEnvironmentsRequest.h | 16 +- .../model/ListMetadataGenerationRunsRequest.h | 291 + .../model/ListMetadataGenerationRunsResult.h | 176 + .../aws/datazone/model/ListProjectsRequest.h | 16 +- .../model/MetadataGenerationRunItem.h | 376 + .../model/MetadataGenerationRunStatus.h | 34 + .../model/MetadataGenerationRunTarget.h | 167 + .../model/MetadataGenerationRunType.h | 30 + .../model/MetadataGenerationTargetType.h | 30 + .../include/aws/datazone/model/Model.h | 18 +- .../aws/datazone/model/ProjectDeletionError.h | 35 +- .../aws/datazone/model/ProjectSummary.h | 36 +- .../datazone/model/RejectPredictionsRequest.h | 58 +- .../datazone/model/RejectPredictionsResult.h | 42 +- .../datazone/model/SearchListingsRequest.h | 16 +- .../aws/datazone/model/SearchRequest.h | 16 +- .../aws/datazone/model/SearchTypesRequest.h | 24 +- .../model/StartMetadataGenerationRunRequest.h | 266 + .../model/StartMetadataGenerationRunResult.h | 316 + .../aws/datazone/model/UpdateProjectResult.h | 31 +- .../UpdateSubscriptionGrantStatusResult.h | 14 +- .../source/DataZoneClient.cpp | 153 + .../source/model/AcceptChoice.cpp | 15 + .../CancelMetadataGenerationRunRequest.cpp | 28 + .../CancelMetadataGenerationRunResult.cpp | 42 + .../model/GetMetadataGenerationRunRequest.cpp | 28 + .../model/GetMetadataGenerationRunResult.cpp | 94 + .../ListMetadataGenerationRunsRequest.cpp | 69 + .../ListMetadataGenerationRunsResult.cpp | 57 + .../model/MetadataGenerationRunItem.cpp | 165 + .../model/MetadataGenerationRunStatus.cpp | 93 + .../model/MetadataGenerationRunTarget.cpp | 90 + .../model/MetadataGenerationRunType.cpp | 65 + .../model/MetadataGenerationTargetType.cpp | 65 + .../StartMetadataGenerationRunRequest.cpp | 58 + .../StartMetadataGenerationRunResult.cpp | 88 + .../src/aws-cpp-sdk-deadline/CMakeLists.txt | 76 + .../include/aws/deadline/DeadlineClient.h | 2691 ++++ .../aws/deadline/DeadlineEndpointProvider.h | 61 + .../aws/deadline/DeadlineEndpointRules.h | 23 + .../aws/deadline/DeadlineErrorMarshaller.h | 23 + .../include/aws/deadline/DeadlineErrors.h | 74 + .../include/aws/deadline/DeadlineRequest.h | 46 + .../aws/deadline/DeadlineServiceClientModel.h | 585 + .../include/aws/deadline/Deadline_EXPORTS.h | 32 + .../deadline/model/AcceleratorCountRange.h | 90 + .../model/AcceleratorTotalMemoryMiBRange.h | 91 + .../aws/deadline/model/AcceleratorType.h | 30 + .../deadline/model/AccessDeniedException.h | 143 + ...dEnvironmentEnterSessionActionDefinition.h | 89 + ...edEnvironmentExitSessionActionDefinition.h | 89 + .../aws/deadline/model/AssignedSession.h | 213 + .../deadline/model/AssignedSessionAction.h | 124 + .../model/AssignedSessionActionDefinition.h | 183 + ...putJobAttachmentsSessionActionDefinition.h | 89 + .../AssignedTaskRunSessionActionDefinition.h | 199 + .../model/AssociateMemberToFarmRequest.h | 241 + .../model/AssociateMemberToFarmResult.h | 63 + .../model/AssociateMemberToFleetRequest.h | 285 + .../model/AssociateMemberToFleetResult.h | 63 + .../model/AssociateMemberToJobRequest.h | 329 + .../model/AssociateMemberToJobResult.h | 63 + .../model/AssociateMemberToQueueRequest.h | 285 + .../model/AssociateMemberToQueueResult.h | 63 + .../model/AssumeFleetRoleForReadRequest.h | 127 + .../model/AssumeFleetRoleForReadResult.h | 92 + .../model/AssumeFleetRoleForWorkerRequest.h | 171 + .../model/AssumeFleetRoleForWorkerResult.h | 92 + .../model/AssumeQueueRoleForReadRequest.h | 127 + .../model/AssumeQueueRoleForReadResult.h | 92 + .../model/AssumeQueueRoleForUserRequest.h | 127 + .../model/AssumeQueueRoleForUserResult.h | 92 + .../model/AssumeQueueRoleForWorkerRequest.h | 221 + .../model/AssumeQueueRoleForWorkerResult.h | 97 + .../include/aws/deadline/model/Attachments.h | 124 + .../aws/deadline/model/AutoScalingMode.h | 31 + .../aws/deadline/model/AutoScalingStatus.h | 32 + .../aws/deadline/model/AwsCredentials.h | 211 + .../deadline/model/BatchGetJobEntityRequest.h | 233 + .../deadline/model/BatchGetJobEntityResult.h | 142 + .../aws/deadline/model/BudgetActionToAdd.h | 147 + .../aws/deadline/model/BudgetActionToRemove.h | 102 + .../aws/deadline/model/BudgetActionType.h | 31 + .../aws/deadline/model/BudgetSchedule.h | 78 + .../include/aws/deadline/model/BudgetStatus.h | 31 + .../aws/deadline/model/BudgetSummary.h | 480 + .../aws/deadline/model/ComparisonOperator.h | 35 + .../aws/deadline/model/CompletedStatus.h | 34 + .../aws/deadline/model/ConflictException.h | 267 + .../deadline/model/ConflictExceptionReason.h | 34 + .../aws/deadline/model/ConsumedUsages.h | 66 + .../deadline/model/CopyJobTemplateRequest.h | 212 + .../deadline/model/CopyJobTemplateResult.h | 97 + .../aws/deadline/model/CpuArchitectureType.h | 31 + .../aws/deadline/model/CreateBudgetRequest.h | 366 + .../aws/deadline/model/CreateBudgetResult.h | 101 + .../aws/deadline/model/CreateFarmRequest.h | 309 + .../aws/deadline/model/CreateFarmResult.h | 101 + .../aws/deadline/model/CreateFleetRequest.h | 448 + .../aws/deadline/model/CreateFleetResult.h | 101 + .../aws/deadline/model/CreateJobRequest.h | 539 + .../aws/deadline/model/CreateJobResult.h | 101 + .../model/CreateJobTargetTaskRunStatus.h | 31 + .../model/CreateLicenseEndpointRequest.h | 320 + .../model/CreateLicenseEndpointResult.h | 101 + .../aws/deadline/model/CreateMonitorRequest.h | 310 + .../aws/deadline/model/CreateMonitorResult.h | 146 + .../model/CreateQueueEnvironmentRequest.h | 293 + .../model/CreateQueueEnvironmentResult.h | 101 + .../CreateQueueFleetAssociationRequest.h | 171 + .../model/CreateQueueFleetAssociationResult.h | 63 + .../aws/deadline/model/CreateQueueRequest.h | 563 + .../aws/deadline/model/CreateQueueResult.h | 101 + .../model/CreateStorageProfileRequest.h | 263 + .../model/CreateStorageProfileResult.h | 101 + .../aws/deadline/model/CreateWorkerRequest.h | 217 + .../aws/deadline/model/CreateWorkerResult.h | 101 + .../model/CustomerManagedFleetConfiguration.h | 159 + ...ustomerManagedFleetOperatingSystemFamily.h | 32 + .../model/CustomerManagedWorkerCapabilities.h | 390 + .../deadline/model/DateTimeFilterExpression.h | 158 + .../deadline/model/DefaultQueueBudgetAction.h | 32 + .../aws/deadline/model/DeleteBudgetRequest.h | 127 + .../aws/deadline/model/DeleteBudgetResult.h | 63 + .../aws/deadline/model/DeleteFarmRequest.h | 83 + .../aws/deadline/model/DeleteFarmResult.h | 63 + .../aws/deadline/model/DeleteFleetRequest.h | 182 + .../aws/deadline/model/DeleteFleetResult.h | 63 + .../model/DeleteLicenseEndpointRequest.h | 83 + .../model/DeleteLicenseEndpointResult.h | 63 + .../model/DeleteMeteredProductRequest.h | 127 + .../model/DeleteMeteredProductResult.h | 63 + .../aws/deadline/model/DeleteMonitorRequest.h | 99 + .../aws/deadline/model/DeleteMonitorResult.h | 63 + .../model/DeleteQueueEnvironmentRequest.h | 171 + .../model/DeleteQueueEnvironmentResult.h | 63 + .../DeleteQueueFleetAssociationRequest.h | 171 + .../model/DeleteQueueFleetAssociationResult.h | 63 + .../aws/deadline/model/DeleteQueueRequest.h | 127 + .../aws/deadline/model/DeleteQueueResult.h | 63 + .../model/DeleteStorageProfileRequest.h | 127 + .../model/DeleteStorageProfileResult.h | 63 + .../aws/deadline/model/DeleteWorkerRequest.h | 171 + .../aws/deadline/model/DeleteWorkerResult.h | 63 + .../DependencyConsumerResolutionStatus.h | 31 + .../aws/deadline/model/DependencyCounts.h | 138 + .../aws/deadline/model/DesiredWorkerStatus.h | 30 + .../model/DisassociateMemberFromFarmRequest.h | 127 + .../model/DisassociateMemberFromFarmResult.h | 63 + .../DisassociateMemberFromFleetRequest.h | 171 + .../model/DisassociateMemberFromFleetResult.h | 63 + .../model/DisassociateMemberFromJobRequest.h | 215 + .../model/DisassociateMemberFromJobResult.h | 63 + .../DisassociateMemberFromQueueRequest.h | 171 + .../model/DisassociateMemberFromQueueResult.h | 63 + .../include/aws/deadline/model/Ec2EbsVolume.h | 114 + .../aws/deadline/model/Ec2MarketType.h | 31 + .../deadline/model/EnvironmentDetailsEntity.h | 211 + .../deadline/model/EnvironmentDetailsError.h | 211 + .../model/EnvironmentDetailsIdentifiers.h | 132 + .../EnvironmentEnterSessionActionDefinition.h | 89 + ...nmentEnterSessionActionDefinitionSummary.h | 89 + .../EnvironmentExitSessionActionDefinition.h | 89 + ...onmentExitSessionActionDefinitionSummary.h | 89 + .../deadline/model/EnvironmentTemplateType.h | 31 + .../include/aws/deadline/model/FarmMember.h | 246 + .../include/aws/deadline/model/FarmSummary.h | 333 + .../aws/deadline/model/FieldSortExpression.h | 123 + .../aws/deadline/model/FileSystemLocation.h | 168 + .../deadline/model/FileSystemLocationType.h | 31 + .../aws/deadline/model/FixedBudgetSchedule.h | 112 + .../deadline/model/FleetAmountCapability.h | 136 + .../deadline/model/FleetAttributeCapability.h | 139 + .../aws/deadline/model/FleetCapabilities.h | 134 + .../aws/deadline/model/FleetConfiguration.h | 113 + .../include/aws/deadline/model/FleetMember.h | 290 + .../include/aws/deadline/model/FleetStatus.h | 34 + .../include/aws/deadline/model/FleetSummary.h | 534 + .../aws/deadline/model/GetBudgetRequest.h | 127 + .../aws/deadline/model/GetBudgetResult.h | 522 + .../aws/deadline/model/GetFarmRequest.h | 83 + .../aws/deadline/model/GetFarmResult.h | 348 + .../aws/deadline/model/GetFleetRequest.h | 127 + .../aws/deadline/model/GetFleetResult.h | 584 + .../aws/deadline/model/GetJobEntityError.h | 183 + .../aws/deadline/model/GetJobRequest.h | 171 + .../include/aws/deadline/model/GetJobResult.h | 713 + .../model/GetLicenseEndpointRequest.h | 83 + .../deadline/model/GetLicenseEndpointResult.h | 331 + .../aws/deadline/model/GetMonitorRequest.h | 91 + .../aws/deadline/model/GetMonitorResult.h | 502 + .../model/GetQueueEnvironmentRequest.h | 171 + .../model/GetQueueEnvironmentResult.h | 357 + .../model/GetQueueFleetAssociationRequest.h | 171 + .../model/GetQueueFleetAssociationResult.h | 301 + .../aws/deadline/model/GetQueueRequest.h | 127 + .../aws/deadline/model/GetQueueResult.h | 633 + .../deadline/model/GetSessionActionRequest.h | 215 + .../deadline/model/GetSessionActionResult.h | 361 + .../aws/deadline/model/GetSessionRequest.h | 215 + .../aws/deadline/model/GetSessionResult.h | 444 + .../GetSessionsStatisticsAggregationRequest.h | 245 + .../GetSessionsStatisticsAggregationResult.h | 250 + .../aws/deadline/model/GetStepRequest.h | 215 + .../aws/deadline/model/GetStepResult.h | 617 + .../model/GetStorageProfileForQueueRequest.h | 171 + .../model/GetStorageProfileForQueueResult.h | 208 + .../deadline/model/GetStorageProfileRequest.h | 127 + .../deadline/model/GetStorageProfileResult.h | 341 + .../aws/deadline/model/GetTaskRequest.h | 259 + .../aws/deadline/model/GetTaskResult.h | 464 + .../aws/deadline/model/GetWorkerRequest.h | 171 + .../aws/deadline/model/GetWorkerResult.h | 397 + .../deadline/model/HostPropertiesRequest.h | 123 + .../deadline/model/HostPropertiesResponse.h | 211 + .../model/InternalServerErrorException.h | 97 + .../include/aws/deadline/model/IpAddresses.h | 143 + .../model/JobAttachmentDetailsEntity.h | 123 + .../model/JobAttachmentDetailsError.h | 167 + .../model/JobAttachmentDetailsIdentifiers.h | 88 + .../deadline/model/JobAttachmentSettings.h | 133 + .../deadline/model/JobAttachmentsFileSystem.h | 31 + .../aws/deadline/model/JobDetailsEntity.h | 402 + .../aws/deadline/model/JobDetailsError.h | 167 + .../deadline/model/JobDetailsIdentifiers.h | 88 + .../include/aws/deadline/model/JobEntity.h | 183 + .../aws/deadline/model/JobEntityErrorCode.h | 35 + .../model/JobEntityIdentifiersUnion.h | 183 + .../aws/deadline/model/JobLifecycleStatus.h | 38 + .../include/aws/deadline/model/JobMember.h | 334 + .../include/aws/deadline/model/JobParameter.h | 228 + .../include/aws/deadline/model/JobRunAsUser.h | 154 + .../aws/deadline/model/JobSearchSummary.h | 712 + .../include/aws/deadline/model/JobSummary.h | 687 + .../deadline/model/JobTargetTaskRunStatus.h | 35 + .../aws/deadline/model/JobTemplateType.h | 31 + .../deadline/model/LicenseEndpointStatus.h | 33 + .../deadline/model/LicenseEndpointSummary.h | 211 + .../ListAvailableMeteredProductsRequest.h | 125 + .../ListAvailableMeteredProductsResult.h | 183 + .../aws/deadline/model/ListBudgetsRequest.h | 204 + .../aws/deadline/model/ListBudgetsResult.h | 183 + .../deadline/model/ListFarmMembersRequest.h | 169 + .../deadline/model/ListFarmMembersResult.h | 183 + .../aws/deadline/model/ListFarmsRequest.h | 169 + .../aws/deadline/model/ListFarmsResult.h | 183 + .../deadline/model/ListFleetMembersRequest.h | 213 + .../deadline/model/ListFleetMembersResult.h | 183 + .../aws/deadline/model/ListFleetsRequest.h | 292 + .../aws/deadline/model/ListFleetsResult.h | 183 + .../deadline/model/ListJobMembersRequest.h | 257 + .../aws/deadline/model/ListJobMembersResult.h | 183 + .../aws/deadline/model/ListJobsRequest.h | 257 + .../aws/deadline/model/ListJobsResult.h | 183 + .../model/ListLicenseEndpointsRequest.h | 125 + .../model/ListLicenseEndpointsResult.h | 183 + .../model/ListMeteredProductsRequest.h | 169 + .../model/ListMeteredProductsResult.h | 183 + .../aws/deadline/model/ListMonitorsRequest.h | 125 + .../aws/deadline/model/ListMonitorsResult.h | 190 + .../model/ListQueueEnvironmentsRequest.h | 213 + .../model/ListQueueEnvironmentsResult.h | 183 + .../model/ListQueueFleetAssociationsRequest.h | 257 + .../model/ListQueueFleetAssociationsResult.h | 183 + .../deadline/model/ListQueueMembersRequest.h | 213 + .../deadline/model/ListQueueMembersResult.h | 183 + .../aws/deadline/model/ListQueuesRequest.h | 274 + .../aws/deadline/model/ListQueuesResult.h | 183 + .../model/ListSessionActionsRequest.h | 345 + .../deadline/model/ListSessionActionsResult.h | 183 + .../model/ListSessionsForWorkerRequest.h | 257 + .../model/ListSessionsForWorkerResult.h | 148 + .../aws/deadline/model/ListSessionsRequest.h | 257 + .../aws/deadline/model/ListSessionsResult.h | 183 + .../deadline/model/ListStepConsumersRequest.h | 301 + .../deadline/model/ListStepConsumersResult.h | 183 + .../model/ListStepDependenciesRequest.h | 301 + .../model/ListStepDependenciesResult.h | 183 + .../aws/deadline/model/ListStepsRequest.h | 257 + .../aws/deadline/model/ListStepsResult.h | 183 + .../ListStorageProfilesForQueueRequest.h | 213 + .../model/ListStorageProfilesForQueueResult.h | 183 + .../model/ListStorageProfilesRequest.h | 169 + .../model/ListStorageProfilesResult.h | 183 + .../model/ListTagsForResourceRequest.h | 83 + .../model/ListTagsForResourceResult.h | 139 + .../aws/deadline/model/ListTasksRequest.h | 301 + .../aws/deadline/model/ListTasksResult.h | 183 + .../aws/deadline/model/ListWorkersRequest.h | 213 + .../aws/deadline/model/ListWorkersResult.h | 183 + .../aws/deadline/model/LogConfiguration.h | 271 + .../aws/deadline/model/LogicalOperator.h | 31 + .../aws/deadline/model/ManifestProperties.h | 306 + .../aws/deadline/model/MembershipLevel.h | 33 + .../aws/deadline/model/MemoryMiBRange.h | 90 + .../deadline/model/MeteredProductSummary.h | 200 + .../aws/deadline/model/MonitorSummary.h | 556 + .../model/ParameterFilterExpression.h | 168 + .../deadline/model/ParameterSortExpression.h | 124 + .../aws/deadline/model/ParameterSpace.h | 135 + .../include/aws/deadline/model/PathFormat.h | 31 + .../aws/deadline/model/PathMappingRule.h | 167 + .../include/aws/deadline/model/Period.h | 33 + .../include/aws/deadline/model/PosixUser.h | 132 + .../aws/deadline/model/PrincipalType.h | 31 + .../deadline/model/PutMeteredProductRequest.h | 127 + .../deadline/model/PutMeteredProductResult.h | 63 + .../aws/deadline/model/QueueBlockedReason.h | 31 + .../deadline/model/QueueEnvironmentSummary.h | 156 + .../model/QueueFleetAssociationStatus.h | 33 + .../model/QueueFleetAssociationSummary.h | 360 + .../include/aws/deadline/model/QueueMember.h | 290 + .../include/aws/deadline/model/QueueStatus.h | 32 + .../include/aws/deadline/model/QueueSummary.h | 444 + .../model/ResourceNotFoundException.h | 230 + .../aws/deadline/model/ResponseBudgetAction.h | 147 + .../include/aws/deadline/model/RunAs.h | 31 + .../include/aws/deadline/model/S3Location.h | 132 + .../deadline/model/SearchFilterExpression.h | 219 + .../model/SearchGroupedFilterExpressions.h | 128 + .../aws/deadline/model/SearchJobsRequest.h | 273 + .../aws/deadline/model/SearchJobsResult.h | 142 + .../aws/deadline/model/SearchSortExpression.h | 148 + .../aws/deadline/model/SearchStepsRequest.h | 317 + .../aws/deadline/model/SearchStepsResult.h | 142 + .../aws/deadline/model/SearchTasksRequest.h | 317 + .../aws/deadline/model/SearchTasksResult.h | 142 + .../model/SearchTermFilterExpression.h | 88 + .../aws/deadline/model/SearchWorkersRequest.h | 273 + .../aws/deadline/model/SearchWorkersResult.h | 142 + .../ServiceManagedEc2FleetConfiguration.h | 114 + .../ServiceManagedEc2InstanceCapabilities.h | 408 + .../ServiceManagedEc2InstanceMarketOptions.h | 79 + ...ServiceManagedFleetOperatingSystemFamily.h | 31 + .../model/ServiceQuotaExceededException.h | 355 + .../ServiceQuotaExceededExceptionReason.h | 31 + .../deadline/model/SessionActionDefinition.h | 183 + .../model/SessionActionDefinitionSummary.h | 183 + .../aws/deadline/model/SessionActionStatus.h | 40 + .../aws/deadline/model/SessionActionSummary.h | 291 + .../deadline/model/SessionLifecycleStatus.h | 34 + .../model/SessionLifecycleTargetStatus.h | 30 + .../aws/deadline/model/SessionSummary.h | 393 + .../SessionsStatisticsAggregationStatus.h | 33 + .../model/SessionsStatisticsResources.h | 180 + .../include/aws/deadline/model/SortOrder.h | 31 + ...tartSessionsStatisticsAggregationRequest.h | 365 + ...StartSessionsStatisticsAggregationResult.h | 115 + .../include/aws/deadline/model/Statistics.h | 555 + .../include/aws/deadline/model/Stats.h | 138 + .../aws/deadline/model/StepAmountCapability.h | 161 + .../deadline/model/StepAttributeCapability.h | 187 + .../include/aws/deadline/model/StepConsumer.h | 123 + .../aws/deadline/model/StepDependency.h | 123 + .../aws/deadline/model/StepDetailsEntity.h | 261 + .../aws/deadline/model/StepDetailsError.h | 211 + .../deadline/model/StepDetailsIdentifiers.h | 132 + .../aws/deadline/model/StepLifecycleStatus.h | 33 + .../aws/deadline/model/StepParameter.h | 123 + .../aws/deadline/model/StepParameterType.h | 33 + .../deadline/model/StepRequiredCapabilities.h | 134 + .../aws/deadline/model/StepSearchSummary.h | 612 + .../include/aws/deadline/model/StepSummary.h | 646 + .../deadline/model/StepTargetTaskRunStatus.h | 35 + .../StorageProfileOperatingSystemFamily.h | 32 + .../deadline/model/StorageProfileSummary.h | 167 + .../deadline/model/StringFilterExpression.h | 167 + ...putJobAttachmentsSessionActionDefinition.h | 88 + ...ttachmentsSessionActionDefinitionSummary.h | 88 + .../aws/deadline/model/TagResourceRequest.h | 166 + .../aws/deadline/model/TagResourceResult.h | 63 + .../aws/deadline/model/TaskParameterValue.h | 228 + .../model/TaskRunSessionActionDefinition.h | 199 + .../TaskRunSessionActionDefinitionSummary.h | 132 + .../aws/deadline/model/TaskRunStatus.h | 41 + .../aws/deadline/model/TaskSearchSummary.h | 449 + .../include/aws/deadline/model/TaskSummary.h | 517 + .../aws/deadline/model/TaskTargetRunStatus.h | 35 + .../aws/deadline/model/ThrottlingException.h | 254 + .../aws/deadline/model/UntagResourceRequest.h | 139 + .../aws/deadline/model/UntagResourceResult.h | 63 + .../aws/deadline/model/UpdateBudgetRequest.h | 481 + .../aws/deadline/model/UpdateBudgetResult.h | 63 + .../aws/deadline/model/UpdateFarmRequest.h | 171 + .../aws/deadline/model/UpdateFarmResult.h | 63 + .../aws/deadline/model/UpdateFleetRequest.h | 397 + .../aws/deadline/model/UpdateFleetResult.h | 63 + .../deadline/model/UpdateJobLifecycleStatus.h | 30 + .../aws/deadline/model/UpdateJobRequest.h | 372 + .../aws/deadline/model/UpdateJobResult.h | 63 + .../aws/deadline/model/UpdateMonitorRequest.h | 223 + .../aws/deadline/model/UpdateMonitorResult.h | 63 + .../model/UpdateQueueEnvironmentRequest.h | 329 + .../model/UpdateQueueEnvironmentResult.h | 63 + .../UpdateQueueFleetAssociationRequest.h | 206 + .../model/UpdateQueueFleetAssociationResult.h | 63 + .../model/UpdateQueueFleetAssociationStatus.h | 32 + .../aws/deadline/model/UpdateQueueRequest.h | 614 + .../aws/deadline/model/UpdateQueueResult.h | 63 + .../aws/deadline/model/UpdateSessionRequest.h | 305 + .../aws/deadline/model/UpdateSessionResult.h | 63 + .../aws/deadline/model/UpdateStepRequest.h | 305 + .../aws/deadline/model/UpdateStepResult.h | 63 + .../model/UpdateStorageProfileRequest.h | 351 + .../model/UpdateStorageProfileResult.h | 63 + .../aws/deadline/model/UpdateTaskRequest.h | 349 + .../aws/deadline/model/UpdateTaskResult.h | 63 + .../aws/deadline/model/UpdateWorkerRequest.h | 276 + .../aws/deadline/model/UpdateWorkerResult.h | 92 + .../model/UpdateWorkerScheduleRequest.h | 237 + .../model/UpdateWorkerScheduleResult.h | 229 + .../deadline/model/UpdatedSessionActionInfo.h | 275 + .../aws/deadline/model/UpdatedWorkerStatus.h | 32 + .../aws/deadline/model/UsageGroupByField.h | 36 + .../aws/deadline/model/UsageStatistic.h | 33 + .../deadline/model/UsageTrackingResource.h | 88 + .../include/aws/deadline/model/UsageType.h | 31 + .../aws/deadline/model/UserJobsFirst.h | 89 + .../aws/deadline/model/VCpuCountRange.h | 91 + .../aws/deadline/model/ValidationException.h | 224 + .../deadline/model/ValidationExceptionField.h | 132 + .../model/ValidationExceptionReason.h | 33 + .../include/aws/deadline/model/WindowsUser.h | 132 + .../deadline/model/WorkerAmountCapability.h | 112 + .../model/WorkerAttributeCapability.h | 138 + .../aws/deadline/model/WorkerCapabilities.h | 134 + .../aws/deadline/model/WorkerSearchSummary.h | 359 + .../aws/deadline/model/WorkerSessionSummary.h | 315 + .../include/aws/deadline/model/WorkerStatus.h | 37 + .../aws/deadline/model/WorkerSummary.h | 438 + .../source/DeadlineClient.cpp | 4675 ++++++ .../source/DeadlineEndpointProvider.cpp | 16 + .../source/DeadlineEndpointRules.cpp | 176 + .../source/DeadlineErrorMarshaller.cpp | 22 + .../source/DeadlineErrors.cpp | 97 + .../source/DeadlineRequest.cpp | 14 + .../source/model/AcceleratorCountRange.cpp | 78 + .../model/AcceleratorTotalMemoryMiBRange.cpp | 78 + .../source/model/AcceleratorType.cpp | 65 + .../source/model/AccessDeniedException.cpp | 82 + ...nvironmentEnterSessionActionDefinition.cpp | 59 + ...EnvironmentExitSessionActionDefinition.cpp | 59 + .../source/model/AssignedSession.cpp | 112 + .../source/model/AssignedSessionAction.cpp | 74 + .../model/AssignedSessionActionDefinition.cpp | 104 + ...tJobAttachmentsSessionActionDefinition.cpp | 59 + ...AssignedTaskRunSessionActionDefinition.cpp | 97 + .../model/AssociateMemberToFarmRequest.cpp | 51 + .../model/AssociateMemberToFarmResult.cpp | 42 + .../model/AssociateMemberToFleetRequest.cpp | 52 + .../model/AssociateMemberToFleetResult.cpp | 42 + .../model/AssociateMemberToJobRequest.cpp | 53 + .../model/AssociateMemberToJobResult.cpp | 42 + .../model/AssociateMemberToQueueRequest.cpp | 52 + .../model/AssociateMemberToQueueResult.cpp | 42 + .../model/AssumeFleetRoleForReadRequest.cpp | 28 + .../model/AssumeFleetRoleForReadResult.cpp | 48 + .../model/AssumeFleetRoleForWorkerRequest.cpp | 29 + .../model/AssumeFleetRoleForWorkerResult.cpp | 48 + .../model/AssumeQueueRoleForReadRequest.cpp | 28 + .../model/AssumeQueueRoleForReadResult.cpp | 48 + .../model/AssumeQueueRoleForUserRequest.cpp | 28 + .../model/AssumeQueueRoleForUserResult.cpp | 48 + .../model/AssumeQueueRoleForWorkerRequest.cpp | 44 + .../model/AssumeQueueRoleForWorkerResult.cpp | 48 + .../source/model/Attachments.cpp | 83 + .../source/model/AutoScalingMode.cpp | 72 + .../source/model/AutoScalingStatus.cpp | 79 + .../source/model/AwsCredentials.cpp | 103 + .../source/model/BatchGetJobEntityRequest.cpp | 43 + .../source/model/BatchGetJobEntityResult.cpp | 60 + .../source/model/BudgetActionToAdd.cpp | 92 + .../source/model/BudgetActionToRemove.cpp | 77 + .../source/model/BudgetActionType.cpp | 72 + .../source/model/BudgetSchedule.cpp | 59 + .../source/model/BudgetStatus.cpp | 72 + .../source/model/BudgetSummary.cpp | 210 + .../source/model/ComparisonOperator.cpp | 100 + .../source/model/CompletedStatus.cpp | 93 + .../source/model/ConflictException.cpp | 128 + .../source/model/ConflictExceptionReason.cpp | 93 + .../source/model/ConsumedUsages.cpp | 61 + .../source/model/CopyJobTemplateRequest.cpp | 38 + .../source/model/CopyJobTemplateResult.cpp | 50 + .../source/model/CpuArchitectureType.cpp | 72 + .../source/model/CreateBudgetRequest.cpp | 95 + .../source/model/CreateBudgetResult.cpp | 48 + .../source/model/CreateFarmRequest.cpp | 79 + .../source/model/CreateFarmResult.cpp | 48 + .../source/model/CreateFleetRequest.cpp | 103 + .../source/model/CreateFleetResult.cpp | 48 + .../source/model/CreateJobRequest.cpp | 119 + .../source/model/CreateJobResult.cpp | 48 + .../model/CreateJobTargetTaskRunStatus.cpp | 72 + .../model/CreateLicenseEndpointRequest.cpp | 89 + .../model/CreateLicenseEndpointResult.cpp | 48 + .../source/model/CreateMonitorRequest.cpp | 74 + .../source/model/CreateMonitorResult.cpp | 54 + .../model/CreateQueueEnvironmentRequest.cpp | 70 + .../model/CreateQueueEnvironmentResult.cpp | 48 + .../CreateQueueFleetAssociationRequest.cpp | 43 + .../CreateQueueFleetAssociationResult.cpp | 42 + .../source/model/CreateQueueRequest.cpp | 125 + .../source/model/CreateQueueResult.cpp | 48 + .../model/CreateStorageProfileRequest.cpp | 73 + .../model/CreateStorageProfileResult.cpp | 48 + .../source/model/CreateWorkerRequest.cpp | 55 + .../source/model/CreateWorkerResult.cpp | 48 + .../CustomerManagedFleetConfiguration.cpp | 90 + ...tomerManagedFleetOperatingSystemFamily.cpp | 79 + .../CustomerManagedWorkerCapabilities.cpp | 205 + .../source/model/DateTimeFilterExpression.cpp | 89 + .../source/model/DefaultQueueBudgetAction.cpp | 79 + .../source/model/DeleteBudgetRequest.cpp | 28 + .../source/model/DeleteBudgetResult.cpp | 42 + .../source/model/DeleteFarmRequest.cpp | 27 + .../source/model/DeleteFarmResult.cpp | 42 + .../source/model/DeleteFleetRequest.cpp | 46 + .../source/model/DeleteFleetResult.cpp | 42 + .../model/DeleteLicenseEndpointRequest.cpp | 27 + .../model/DeleteLicenseEndpointResult.cpp | 42 + .../model/DeleteMeteredProductRequest.cpp | 28 + .../model/DeleteMeteredProductResult.cpp | 42 + .../source/model/DeleteMonitorRequest.cpp | 27 + .../source/model/DeleteMonitorResult.cpp | 42 + .../model/DeleteQueueEnvironmentRequest.cpp | 29 + .../model/DeleteQueueEnvironmentResult.cpp | 42 + .../DeleteQueueFleetAssociationRequest.cpp | 29 + .../DeleteQueueFleetAssociationResult.cpp | 42 + .../source/model/DeleteQueueRequest.cpp | 28 + .../source/model/DeleteQueueResult.cpp | 42 + .../model/DeleteStorageProfileRequest.cpp | 28 + .../model/DeleteStorageProfileResult.cpp | 42 + .../source/model/DeleteWorkerRequest.cpp | 29 + .../source/model/DeleteWorkerResult.cpp | 42 + .../DependencyConsumerResolutionStatus.cpp | 72 + .../source/model/DependencyCounts.cpp | 112 + .../source/model/DesiredWorkerStatus.cpp | 65 + .../DisassociateMemberFromFarmRequest.cpp | 28 + .../DisassociateMemberFromFarmResult.cpp | 42 + .../DisassociateMemberFromFleetRequest.cpp | 29 + .../DisassociateMemberFromFleetResult.cpp | 42 + .../DisassociateMemberFromJobRequest.cpp | 30 + .../model/DisassociateMemberFromJobResult.cpp | 42 + .../DisassociateMemberFromQueueRequest.cpp | 29 + .../DisassociateMemberFromQueueResult.cpp | 42 + .../source/model/Ec2EbsVolume.cpp | 95 + .../source/model/Ec2MarketType.cpp | 72 + .../source/model/EnvironmentDetailsEntity.cpp | 106 + .../source/model/EnvironmentDetailsError.cpp | 105 + .../model/EnvironmentDetailsIdentifiers.cpp | 74 + ...nvironmentEnterSessionActionDefinition.cpp | 59 + ...entEnterSessionActionDefinitionSummary.cpp | 59 + ...EnvironmentExitSessionActionDefinition.cpp | 59 + ...mentExitSessionActionDefinitionSummary.cpp | 59 + .../source/model/EnvironmentTemplateType.cpp | 72 + .../source/model/FarmMember.cpp | 121 + .../source/model/FarmSummary.cpp | 147 + .../source/model/FieldSortExpression.cpp | 75 + .../source/model/FileSystemLocation.cpp | 90 + .../source/model/FileSystemLocationType.cpp | 72 + .../source/model/FixedBudgetSchedule.cpp | 72 + .../source/model/FleetAmountCapability.cpp | 93 + .../source/model/FleetAttributeCapability.cpp | 82 + .../source/model/FleetCapabilities.cpp | 90 + .../source/model/FleetConfiguration.cpp | 74 + .../source/model/FleetMember.cpp | 136 + .../source/model/FleetStatus.cpp | 93 + .../source/model/FleetSummary.cpp | 262 + .../source/model/GetBudgetRequest.cpp | 28 + .../source/model/GetBudgetResult.cpp | 133 + .../source/model/GetFarmRequest.cpp | 27 + .../source/model/GetFarmResult.cpp | 90 + .../source/model/GetFleetRequest.cpp | 28 + .../source/model/GetFleetResult.cpp | 156 + .../source/model/GetJobEntityError.cpp | 104 + .../source/model/GetJobRequest.cpp | 29 + .../source/model/GetJobResult.cpp | 180 + .../model/GetLicenseEndpointRequest.cpp | 27 + .../source/model/GetLicenseEndpointResult.cpp | 92 + .../source/model/GetMonitorRequest.cpp | 27 + .../source/model/GetMonitorResult.cpp | 108 + .../model/GetQueueEnvironmentRequest.cpp | 29 + .../model/GetQueueEnvironmentResult.cpp | 100 + .../model/GetQueueFleetAssociationRequest.cpp | 29 + .../model/GetQueueFleetAssociationResult.cpp | 86 + .../source/model/GetQueueRequest.cpp | 28 + .../source/model/GetQueueResult.cpp | 150 + .../source/model/GetSessionActionRequest.cpp | 30 + .../source/model/GetSessionActionResult.cpp | 108 + .../source/model/GetSessionRequest.cpp | 30 + .../source/model/GetSessionResult.cpp | 118 + ...etSessionsStatisticsAggregationRequest.cpp | 59 + ...GetSessionsStatisticsAggregationResult.cpp | 71 + .../source/model/GetStepRequest.cpp | 30 + .../source/model/GetStepResult.cpp | 153 + .../GetStorageProfileForQueueRequest.cpp | 29 + .../model/GetStorageProfileForQueueResult.cpp | 71 + .../source/model/GetStorageProfileRequest.cpp | 28 + .../source/model/GetStorageProfileResult.cpp | 95 + .../source/model/GetTaskRequest.cpp | 31 + .../source/model/GetTaskResult.cpp | 123 + .../source/model/GetWorkerRequest.cpp | 29 + .../source/model/GetWorkerResult.cpp | 104 + .../source/model/HostPropertiesRequest.cpp | 74 + .../source/model/HostPropertiesResponse.cpp | 104 + .../model/InternalServerErrorException.cpp | 64 + .../source/model/IpAddresses.cpp | 90 + .../model/JobAttachmentDetailsEntity.cpp | 74 + .../model/JobAttachmentDetailsError.cpp | 90 + .../model/JobAttachmentDetailsIdentifiers.cpp | 59 + .../source/model/JobAttachmentSettings.cpp | 74 + .../source/model/JobAttachmentsFileSystem.cpp | 72 + .../source/model/JobDetailsEntity.cpp | 180 + .../source/model/JobDetailsError.cpp | 90 + .../source/model/JobDetailsIdentifiers.cpp | 59 + .../source/model/JobEntity.cpp | 104 + .../source/model/JobEntityErrorCode.cpp | 100 + .../model/JobEntityIdentifiersUnion.cpp | 104 + .../source/model/JobLifecycleStatus.cpp | 121 + .../source/model/JobMember.cpp | 151 + .../source/model/JobParameter.cpp | 104 + .../source/model/JobRunAsUser.cpp | 90 + .../source/model/JobSearchSummary.cpp | 306 + .../source/model/JobSummary.cpp | 297 + .../source/model/JobTargetTaskRunStatus.cpp | 100 + .../source/model/JobTemplateType.cpp | 72 + .../source/model/LicenseEndpointStatus.cpp | 86 + .../source/model/LicenseEndpointSummary.cpp | 105 + .../ListAvailableMeteredProductsRequest.cpp | 50 + .../ListAvailableMeteredProductsResult.cpp | 57 + .../source/model/ListBudgetsRequest.cpp | 60 + .../source/model/ListBudgetsResult.cpp | 57 + .../source/model/ListFarmMembersRequest.cpp | 51 + .../source/model/ListFarmMembersResult.cpp | 57 + .../source/model/ListFarmsRequest.cpp | 58 + .../source/model/ListFarmsResult.cpp | 57 + .../source/model/ListFleetMembersRequest.cpp | 52 + .../source/model/ListFleetMembersResult.cpp | 57 + .../source/model/ListFleetsRequest.cpp | 76 + .../source/model/ListFleetsResult.cpp | 57 + .../source/model/ListJobMembersRequest.cpp | 53 + .../source/model/ListJobMembersResult.cpp | 57 + .../source/model/ListJobsRequest.cpp | 60 + .../source/model/ListJobsResult.cpp | 57 + .../model/ListLicenseEndpointsRequest.cpp | 50 + .../model/ListLicenseEndpointsResult.cpp | 57 + .../model/ListMeteredProductsRequest.cpp | 51 + .../model/ListMeteredProductsResult.cpp | 57 + .../source/model/ListMonitorsRequest.cpp | 50 + .../source/model/ListMonitorsResult.cpp | 57 + .../model/ListQueueEnvironmentsRequest.cpp | 52 + .../model/ListQueueEnvironmentsResult.cpp | 57 + .../ListQueueFleetAssociationsRequest.cpp | 67 + .../ListQueueFleetAssociationsResult.cpp | 57 + .../source/model/ListQueueMembersRequest.cpp | 52 + .../source/model/ListQueueMembersResult.cpp | 57 + .../source/model/ListQueuesRequest.cpp | 68 + .../source/model/ListQueuesResult.cpp | 57 + .../model/ListSessionActionsRequest.cpp | 69 + .../source/model/ListSessionActionsResult.cpp | 57 + .../model/ListSessionsForWorkerRequest.cpp | 53 + .../model/ListSessionsForWorkerResult.cpp | 57 + .../source/model/ListSessionsRequest.cpp | 53 + .../source/model/ListSessionsResult.cpp | 57 + .../source/model/ListStepConsumersRequest.cpp | 54 + .../source/model/ListStepConsumersResult.cpp | 57 + .../model/ListStepDependenciesRequest.cpp | 54 + .../model/ListStepDependenciesResult.cpp | 57 + .../source/model/ListStepsRequest.cpp | 53 + .../source/model/ListStepsResult.cpp | 57 + .../ListStorageProfilesForQueueRequest.cpp | 52 + .../ListStorageProfilesForQueueResult.cpp | 57 + .../model/ListStorageProfilesRequest.cpp | 51 + .../model/ListStorageProfilesResult.cpp | 57 + .../model/ListTagsForResourceRequest.cpp | 27 + .../model/ListTagsForResourceResult.cpp | 51 + .../source/model/ListTasksRequest.cpp | 54 + .../source/model/ListTasksResult.cpp | 57 + .../source/model/ListWorkersRequest.cpp | 52 + .../source/model/ListWorkersResult.cpp | 57 + .../source/model/LogConfiguration.cpp | 120 + .../source/model/LogicalOperator.cpp | 72 + .../source/model/ManifestProperties.cpp | 143 + .../source/model/MembershipLevel.cpp | 86 + .../source/model/MemoryMiBRange.cpp | 78 + .../source/model/MeteredProductSummary.cpp | 106 + .../source/model/MonitorSummary.cpp | 207 + .../model/ParameterFilterExpression.cpp | 90 + .../source/model/ParameterSortExpression.cpp | 75 + .../source/model/ParameterSpace.cpp | 82 + .../source/model/PathFormat.cpp | 72 + .../source/model/PathMappingRule.cpp | 90 + .../source/model/Period.cpp | 86 + .../source/model/PosixUser.cpp | 74 + .../source/model/PrincipalType.cpp | 72 + .../source/model/PutMeteredProductRequest.cpp | 28 + .../source/model/PutMeteredProductResult.cpp | 42 + .../source/model/QueueBlockedReason.cpp | 72 + .../source/model/QueueEnvironmentSummary.cpp | 91 + .../model/QueueFleetAssociationStatus.cpp | 86 + .../model/QueueFleetAssociationSummary.cpp | 148 + .../source/model/QueueMember.cpp | 136 + .../source/model/QueueStatus.cpp | 79 + .../source/model/QueueSummary.cpp | 195 + .../model/ResourceNotFoundException.cpp | 112 + .../source/model/ResponseBudgetAction.cpp | 92 + .../source/model/RunAs.cpp | 72 + .../source/model/S3Location.cpp | 74 + .../source/model/SearchFilterExpression.cpp | 127 + .../model/SearchGroupedFilterExpressions.cpp | 83 + .../source/model/SearchJobsRequest.cpp | 76 + .../source/model/SearchJobsResult.cpp | 67 + .../source/model/SearchSortExpression.cpp | 89 + .../source/model/SearchStepsRequest.cpp | 83 + .../source/model/SearchStepsResult.cpp | 67 + .../source/model/SearchTasksRequest.cpp | 83 + .../source/model/SearchTasksResult.cpp | 67 + .../model/SearchTermFilterExpression.cpp | 59 + .../source/model/SearchWorkersRequest.cpp | 76 + .../source/model/SearchWorkersResult.cpp | 67 + .../ServiceManagedEc2FleetConfiguration.cpp | 74 + .../ServiceManagedEc2InstanceCapabilities.cpp | 213 + ...ServiceManagedEc2InstanceMarketOptions.cpp | 60 + ...rviceManagedFleetOperatingSystemFamily.cpp | 72 + .../model/ServiceQuotaExceededException.cpp | 158 + .../ServiceQuotaExceededExceptionReason.cpp | 72 + .../source/model/SessionActionDefinition.cpp | 104 + .../model/SessionActionDefinitionSummary.cpp | 104 + .../source/model/SessionActionStatus.cpp | 135 + .../source/model/SessionActionSummary.cpp | 149 + .../source/model/SessionLifecycleStatus.cpp | 93 + .../model/SessionLifecycleTargetStatus.cpp | 65 + .../source/model/SessionSummary.cpp | 178 + .../SessionsStatisticsAggregationStatus.cpp | 86 + .../model/SessionsStatisticsResources.cpp | 90 + .../source/model/SortOrder.cpp | 72 + ...rtSessionsStatisticsAggregationRequest.cpp | 86 + ...artSessionsStatisticsAggregationResult.cpp | 48 + .../source/model/Statistics.cpp | 240 + .../source/model/Stats.cpp | 112 + .../source/model/StepAmountCapability.cpp | 110 + .../source/model/StepAttributeCapability.cpp | 105 + .../source/model/StepConsumer.cpp | 75 + .../source/model/StepDependency.cpp | 75 + .../source/model/StepDetailsEntity.cpp | 129 + .../source/model/StepDetailsError.cpp | 105 + .../source/model/StepDetailsIdentifiers.cpp | 74 + .../source/model/StepLifecycleStatus.cpp | 86 + .../source/model/StepParameter.cpp | 75 + .../source/model/StepParameterType.cpp | 86 + .../source/model/StepRequiredCapabilities.cpp | 90 + .../source/model/StepSearchSummary.cpp | 247 + .../source/model/StepSummary.cpp | 261 + .../source/model/StepTargetTaskRunStatus.cpp | 100 + .../StorageProfileOperatingSystemFamily.cpp | 79 + .../source/model/StorageProfileSummary.cpp | 90 + .../source/model/StringFilterExpression.cpp | 90 + ...tJobAttachmentsSessionActionDefinition.cpp | 59 + ...achmentsSessionActionDefinitionSummary.cpp | 59 + .../source/model/TagResourceRequest.cpp | 41 + .../source/model/TagResourceResult.cpp | 42 + .../source/model/TaskParameterValue.cpp | 104 + .../model/TaskRunSessionActionDefinition.cpp | 97 + .../TaskRunSessionActionDefinitionSummary.cpp | 74 + .../source/model/TaskRunStatus.cpp | 142 + .../source/model/TaskSearchSummary.cpp | 204 + .../source/model/TaskSummary.cpp | 232 + .../source/model/TaskTargetRunStatus.cpp | 100 + .../source/model/ThrottlingException.cpp | 117 + .../source/model/UntagResourceRequest.cpp | 45 + .../source/model/UntagResourceResult.cpp | 42 + .../source/model/UpdateBudgetRequest.cpp | 108 + .../source/model/UpdateBudgetResult.cpp | 42 + .../source/model/UpdateFarmRequest.cpp | 43 + .../source/model/UpdateFarmResult.cpp | 42 + .../source/model/UpdateFleetRequest.cpp | 92 + .../source/model/UpdateFleetResult.cpp | 42 + .../source/model/UpdateJobLifecycleStatus.cpp | 65 + .../source/model/UpdateJobRequest.cpp | 87 + .../source/model/UpdateJobResult.cpp | 42 + .../source/model/UpdateMonitorRequest.cpp | 50 + .../source/model/UpdateMonitorResult.cpp | 42 + .../model/UpdateQueueEnvironmentRequest.cpp | 71 + .../model/UpdateQueueEnvironmentResult.cpp | 42 + .../UpdateQueueFleetAssociationRequest.cpp | 38 + .../UpdateQueueFleetAssociationResult.cpp | 42 + .../UpdateQueueFleetAssociationStatus.cpp | 79 + .../source/model/UpdateQueueRequest.cpp | 138 + .../source/model/UpdateQueueResult.cpp | 42 + .../source/model/UpdateSessionRequest.cpp | 57 + .../source/model/UpdateSessionResult.cpp | 42 + .../source/model/UpdateStepRequest.cpp | 57 + .../source/model/UpdateStepResult.cpp | 42 + .../model/UpdateStorageProfileRequest.cpp | 86 + .../model/UpdateStorageProfileResult.cpp | 42 + .../source/model/UpdateTaskRequest.cpp | 58 + .../source/model/UpdateTaskResult.cpp | 42 + .../source/model/UpdateWorkerRequest.cpp | 52 + .../source/model/UpdateWorkerResult.cpp | 48 + .../model/UpdateWorkerScheduleRequest.cpp | 43 + .../model/UpdateWorkerScheduleResult.cpp | 83 + .../source/model/UpdatedSessionActionInfo.cpp | 151 + .../source/model/UpdatedWorkerStatus.cpp | 79 + .../source/model/UsageGroupByField.cpp | 107 + .../source/model/UsageStatistic.cpp | 86 + .../source/model/UsageTrackingResource.cpp | 59 + .../source/model/UsageType.cpp | 72 + .../source/model/UserJobsFirst.cpp | 59 + .../source/model/VCpuCountRange.cpp | 78 + .../source/model/ValidationException.cpp | 121 + .../source/model/ValidationExceptionField.cpp | 74 + .../model/ValidationExceptionReason.cpp | 86 + .../source/model/WindowsUser.cpp | 74 + .../source/model/WorkerAmountCapability.cpp | 76 + .../model/WorkerAttributeCapability.cpp | 82 + .../source/model/WorkerCapabilities.cpp | 90 + .../source/model/WorkerSearchSummary.cpp | 163 + .../source/model/WorkerSessionSummary.cpp | 149 + .../source/model/WorkerStatus.cpp | 114 + .../source/model/WorkerSummary.cpp | 193 + .../include/aws/elasticmapreduce/EMRClient.h | 2 +- .../aws/elasticmapreduce/model/Cluster.h | 24 +- .../model/JobFlowInstancesConfig.h | 8 +- .../model/CreateDistributionRequest.h | 103 + .../include/aws/lightsail/model/InputOrigin.h | 36 + .../lightsail/model/LightsailDistribution.h | 52 + .../include/aws/lightsail/model/Origin.h | 36 + .../model/UpdateDistributionRequest.h | 157 + .../ViewerMinimumTlsProtocolVersionEnum.h | 33 + .../model/CreateDistributionRequest.cpp | 16 +- .../source/model/InputOrigin.cpp | 21 +- .../source/model/LightsailDistribution.cpp | 19 +- .../source/model/Origin.cpp | 21 +- .../model/UpdateDistributionRequest.cpp | 24 +- .../ViewerMinimumTlsProtocolVersionEnum.cpp | 86 + .../include/aws/monitoring/CloudWatchClient.h | 53 +- .../aws/monitoring/model/AnomalyDetector.h | 6 +- .../monitoring/model/GetMetricDataRequest.h | 18 +- .../model/PutAnomalyDetectorRequest.h | 12 +- .../model/PutCompositeAlarmRequest.h | 443 +- .../monitoring/model/PutMetricAlarmRequest.h | 297 +- .../model/SingleMetricAnomalyDetector.h | 64 +- .../model/SingleMetricAnomalyDetector.cpp | 17 + .../tests/deadline-gen-tests/CMakeLists.txt | 42 + .../DeadlineEndpointProviderTests.cpp | 402 + .../tests/deadline-gen-tests/RunTests.cpp | 29 + .../include/aws/core/VersionConfig.h | 4 +- .../datazone-2018-05-10.normal.json | 541 +- .../deadline-2023-10-12.normal.json | 11952 ++++++++++++++++ .../elasticmapreduce-2009-03-31.normal.json | 6 +- .../lightsail-2016-11-28.normal.json | 41 + .../monitoring-2010-08-01.normal.json | 32 +- ...deadline-2023-10-12.endpoint-rule-set.json | 350 + .../deadline-2023-10-12.endpoint-tests.json | 314 + 883 files changed, 126280 insertions(+), 751 deletions(-) create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CancelMetadataGenerationRunRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CancelMetadataGenerationRunResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetMetadataGenerationRunRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetMetadataGenerationRunResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListMetadataGenerationRunsRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListMetadataGenerationRunsResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationRunItem.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationRunStatus.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationRunTarget.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationRunType.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationTargetType.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/StartMetadataGenerationRunRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/StartMetadataGenerationRunResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/CancelMetadataGenerationRunRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/CancelMetadataGenerationRunResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GetMetadataGenerationRunRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GetMetadataGenerationRunResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ListMetadataGenerationRunsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ListMetadataGenerationRunsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationRunItem.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationRunStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationRunTarget.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationRunType.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationTargetType.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/StartMetadataGenerationRunRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/StartMetadataGenerationRunResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/CMakeLists.txt create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineClient.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineEndpointProvider.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineEndpointRules.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineErrorMarshaller.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineErrors.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineServiceClientModel.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/Deadline_EXPORTS.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AcceleratorCountRange.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AcceleratorTotalMemoryMiBRange.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AcceleratorType.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AccessDeniedException.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedEnvironmentEnterSessionActionDefinition.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedEnvironmentExitSessionActionDefinition.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedSession.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedSessionAction.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedSessionActionDefinition.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedSyncInputJobAttachmentsSessionActionDefinition.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedTaskRunSessionActionDefinition.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToFarmRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToFarmResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToFleetRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToFleetResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToJobRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToJobResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToQueueRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToQueueResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeFleetRoleForReadRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeFleetRoleForReadResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeFleetRoleForWorkerRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeFleetRoleForWorkerResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForReadRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForReadResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForUserRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForUserResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForWorkerRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForWorkerResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Attachments.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AutoScalingMode.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AutoScalingStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AwsCredentials.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BatchGetJobEntityRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BatchGetJobEntityResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetActionToAdd.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetActionToRemove.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetActionType.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetSchedule.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ComparisonOperator.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CompletedStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ConflictException.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ConflictExceptionReason.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ConsumedUsages.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CopyJobTemplateRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CopyJobTemplateResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CpuArchitectureType.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateBudgetRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateBudgetResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateFarmRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateFarmResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateFleetRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateFleetResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateJobRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateJobResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateJobTargetTaskRunStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateLicenseEndpointRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateLicenseEndpointResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateMonitorRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateMonitorResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueEnvironmentRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueEnvironmentResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueFleetAssociationRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueFleetAssociationResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateStorageProfileRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateStorageProfileResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateWorkerRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateWorkerResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CustomerManagedFleetConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CustomerManagedFleetOperatingSystemFamily.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CustomerManagedWorkerCapabilities.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DateTimeFilterExpression.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DefaultQueueBudgetAction.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteBudgetRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteBudgetResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteFarmRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteFarmResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteFleetRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteFleetResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteLicenseEndpointRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteLicenseEndpointResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteMeteredProductRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteMeteredProductResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteMonitorRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteMonitorResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueEnvironmentRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueEnvironmentResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueFleetAssociationRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueFleetAssociationResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteStorageProfileRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteStorageProfileResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteWorkerRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteWorkerResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DependencyConsumerResolutionStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DependencyCounts.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DesiredWorkerStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromFarmRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromFarmResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromFleetRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromFleetResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromJobRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromJobResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromQueueRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromQueueResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Ec2EbsVolume.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Ec2MarketType.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentDetailsEntity.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentDetailsError.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentDetailsIdentifiers.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentEnterSessionActionDefinition.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentEnterSessionActionDefinitionSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentExitSessionActionDefinition.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentExitSessionActionDefinitionSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentTemplateType.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FarmMember.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FarmSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FieldSortExpression.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FileSystemLocation.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FileSystemLocationType.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FixedBudgetSchedule.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetAmountCapability.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetAttributeCapability.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetCapabilities.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetMember.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetBudgetRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetBudgetResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetFarmRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetFarmResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetFleetRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetFleetResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetJobEntityError.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetJobRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetJobResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetLicenseEndpointRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetLicenseEndpointResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetMonitorRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetMonitorResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueEnvironmentRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueEnvironmentResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueFleetAssociationRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueFleetAssociationResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionActionRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionActionResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionsStatisticsAggregationRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionsStatisticsAggregationResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStepRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStepResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStorageProfileForQueueRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStorageProfileForQueueResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStorageProfileRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStorageProfileResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetTaskRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetTaskResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetWorkerRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetWorkerResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/HostPropertiesRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/HostPropertiesResponse.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/InternalServerErrorException.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/IpAddresses.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentDetailsEntity.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentDetailsError.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentDetailsIdentifiers.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentSettings.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentsFileSystem.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobDetailsEntity.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobDetailsError.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobDetailsIdentifiers.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobEntity.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobEntityErrorCode.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobEntityIdentifiersUnion.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobLifecycleStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobMember.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobParameter.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobRunAsUser.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobSearchSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobTargetTaskRunStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobTemplateType.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/LicenseEndpointStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/LicenseEndpointSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListAvailableMeteredProductsRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListAvailableMeteredProductsResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListBudgetsRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListBudgetsResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFarmMembersRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFarmMembersResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFarmsRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFarmsResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFleetMembersRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFleetMembersResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFleetsRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFleetsResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListJobMembersRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListJobMembersResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListJobsRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListJobsResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListLicenseEndpointsRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListLicenseEndpointsResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListMeteredProductsRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListMeteredProductsResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListMonitorsRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListMonitorsResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueEnvironmentsRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueEnvironmentsResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueFleetAssociationsRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueFleetAssociationsResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueMembersRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueMembersResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueuesRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueuesResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionActionsRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionActionsResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionsForWorkerRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionsForWorkerResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionsRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionsResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepConsumersRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepConsumersResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepDependenciesRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepDependenciesResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepsRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepsResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStorageProfilesForQueueRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStorageProfilesForQueueResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStorageProfilesRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStorageProfilesResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListTagsForResourceRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListTagsForResourceResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListTasksRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListTasksResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListWorkersRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListWorkersResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/LogConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/LogicalOperator.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ManifestProperties.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/MembershipLevel.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/MemoryMiBRange.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/MeteredProductSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/MonitorSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ParameterFilterExpression.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ParameterSortExpression.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ParameterSpace.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PathFormat.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PathMappingRule.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Period.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PosixUser.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PrincipalType.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PutMeteredProductRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PutMeteredProductResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueBlockedReason.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueEnvironmentSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueFleetAssociationStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueFleetAssociationSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueMember.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ResourceNotFoundException.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ResponseBudgetAction.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/RunAs.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/S3Location.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchFilterExpression.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchGroupedFilterExpressions.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchJobsRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchJobsResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchSortExpression.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchStepsRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchStepsResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchTasksRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchTasksResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchTermFilterExpression.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchWorkersRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchWorkersResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceManagedEc2FleetConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceManagedEc2InstanceCapabilities.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceManagedEc2InstanceMarketOptions.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceManagedFleetOperatingSystemFamily.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceQuotaExceededException.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceQuotaExceededExceptionReason.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionActionDefinition.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionActionDefinitionSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionActionStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionActionSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionLifecycleStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionLifecycleTargetStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionsStatisticsAggregationStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionsStatisticsResources.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SortOrder.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StartSessionsStatisticsAggregationRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StartSessionsStatisticsAggregationResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Statistics.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Stats.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepAmountCapability.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepAttributeCapability.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepConsumer.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepDependency.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepDetailsEntity.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepDetailsError.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepDetailsIdentifiers.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepLifecycleStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepParameter.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepParameterType.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepRequiredCapabilities.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepSearchSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepTargetTaskRunStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StorageProfileOperatingSystemFamily.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StorageProfileSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StringFilterExpression.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SyncInputJobAttachmentsSessionActionDefinition.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SyncInputJobAttachmentsSessionActionDefinitionSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TagResourceRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TagResourceResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskParameterValue.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskRunSessionActionDefinition.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskRunSessionActionDefinitionSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskRunStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskSearchSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskTargetRunStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ThrottlingException.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UntagResourceRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UntagResourceResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateBudgetRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateBudgetResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateFarmRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateFarmResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateFleetRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateFleetResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateJobLifecycleStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateJobRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateJobResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateMonitorRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateMonitorResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueEnvironmentRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueEnvironmentResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueFleetAssociationRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueFleetAssociationResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueFleetAssociationStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateSessionRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateSessionResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateStepRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateStepResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateStorageProfileRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateStorageProfileResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateTaskRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateTaskResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateWorkerRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateWorkerResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateWorkerScheduleRequest.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateWorkerScheduleResult.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdatedSessionActionInfo.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdatedWorkerStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UsageGroupByField.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UsageStatistic.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UsageTrackingResource.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UsageType.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UserJobsFirst.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/VCpuCountRange.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ValidationException.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ValidationExceptionField.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ValidationExceptionReason.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WindowsUser.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerAmountCapability.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerAttributeCapability.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerCapabilities.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerSearchSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerSessionSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerStatus.h create mode 100644 generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerSummary.h create mode 100644 generated/src/aws-cpp-sdk-deadline/source/DeadlineClient.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/DeadlineEndpointProvider.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/DeadlineEndpointRules.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/DeadlineErrorMarshaller.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/DeadlineErrors.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/DeadlineRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorCountRange.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorTotalMemoryMiBRange.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorType.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AccessDeniedException.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssignedEnvironmentEnterSessionActionDefinition.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssignedEnvironmentExitSessionActionDefinition.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssignedSession.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssignedSessionAction.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssignedSessionActionDefinition.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssignedSyncInputJobAttachmentsSessionActionDefinition.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssignedTaskRunSessionActionDefinition.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFarmRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFarmResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFleetRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFleetResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToJobRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToJobResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToQueueRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToQueueResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssumeFleetRoleForReadRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssumeFleetRoleForReadResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssumeFleetRoleForWorkerRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssumeFleetRoleForWorkerResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForReadRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForReadResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForUserRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForUserResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForWorkerRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForWorkerResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/Attachments.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AutoScalingMode.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AutoScalingStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/AwsCredentials.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/BatchGetJobEntityRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/BatchGetJobEntityResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionToAdd.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionToRemove.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionType.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/BudgetSchedule.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/BudgetStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/BudgetSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ComparisonOperator.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CompletedStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ConflictException.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ConflictExceptionReason.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ConsumedUsages.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CopyJobTemplateRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CopyJobTemplateResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CpuArchitectureType.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateBudgetRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateBudgetResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateFarmRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateFarmResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateFleetRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateFleetResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateJobRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateJobResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateJobTargetTaskRunStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateLicenseEndpointRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateLicenseEndpointResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateMonitorRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateMonitorResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueEnvironmentRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueEnvironmentResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueFleetAssociationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueFleetAssociationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateStorageProfileRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateStorageProfileResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateWorkerRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CreateWorkerResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedFleetConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedFleetOperatingSystemFamily.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedWorkerCapabilities.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DateTimeFilterExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DefaultQueueBudgetAction.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteBudgetRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteBudgetResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteFarmRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteFarmResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteFleetRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteFleetResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteLicenseEndpointRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteLicenseEndpointResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteMeteredProductRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteMeteredProductResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteMonitorRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteMonitorResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueEnvironmentRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueEnvironmentResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueFleetAssociationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueFleetAssociationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteStorageProfileRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteStorageProfileResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteWorkerRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DeleteWorkerResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DependencyConsumerResolutionStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DependencyCounts.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DesiredWorkerStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromFarmRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromFarmResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromFleetRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromFleetResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromJobRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromJobResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromQueueRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromQueueResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/Ec2EbsVolume.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/Ec2MarketType.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsEntity.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsError.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsIdentifiers.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentEnterSessionActionDefinition.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentEnterSessionActionDefinitionSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentExitSessionActionDefinition.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentExitSessionActionDefinitionSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentTemplateType.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/FarmMember.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/FarmSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/FieldSortExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/FileSystemLocation.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/FileSystemLocationType.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/FixedBudgetSchedule.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/FleetAmountCapability.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/FleetAttributeCapability.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/FleetCapabilities.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/FleetConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/FleetMember.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/FleetStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/FleetSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetBudgetRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetBudgetResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetFarmRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetFarmResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetFleetRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetFleetResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetJobEntityError.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetJobRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetJobResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetLicenseEndpointRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetLicenseEndpointResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetMonitorRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetMonitorResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetQueueEnvironmentRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetQueueEnvironmentResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetQueueFleetAssociationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetQueueFleetAssociationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetQueueRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetQueueResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetSessionActionRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetSessionActionResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetSessionRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetSessionResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetSessionsStatisticsAggregationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetSessionsStatisticsAggregationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetStepRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetStepResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileForQueueRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileForQueueResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetTaskRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetTaskResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetWorkerRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/GetWorkerResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/HostPropertiesRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/HostPropertiesResponse.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/InternalServerErrorException.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/IpAddresses.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentDetailsEntity.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentDetailsError.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentDetailsIdentifiers.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentSettings.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentsFileSystem.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobDetailsEntity.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobDetailsError.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobDetailsIdentifiers.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobEntity.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobEntityErrorCode.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobEntityIdentifiersUnion.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobLifecycleStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobMember.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobParameter.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobRunAsUser.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobSearchSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobTargetTaskRunStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/JobTemplateType.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/LicenseEndpointStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/LicenseEndpointSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListAvailableMeteredProductsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListAvailableMeteredProductsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListBudgetsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListBudgetsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListFarmMembersRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListFarmMembersResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListFarmsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListFarmsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListFleetMembersRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListFleetMembersResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListFleetsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListFleetsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListJobMembersRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListJobMembersResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListJobsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListJobsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListLicenseEndpointsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListLicenseEndpointsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListMeteredProductsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListMeteredProductsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListMonitorsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListMonitorsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListQueueEnvironmentsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListQueueEnvironmentsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListQueueFleetAssociationsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListQueueFleetAssociationsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListQueueMembersRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListQueueMembersResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListQueuesRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListQueuesResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListSessionActionsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListSessionActionsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsForWorkerRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsForWorkerResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListStepConsumersRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListStepConsumersResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListStepDependenciesRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListStepDependenciesResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListStepsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListStepsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesForQueueRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesForQueueResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListTagsForResourceRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListTagsForResourceResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListTasksRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListTasksResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListWorkersRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ListWorkersResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/LogConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/LogicalOperator.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ManifestProperties.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/MembershipLevel.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/MemoryMiBRange.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/MeteredProductSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/MonitorSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ParameterFilterExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ParameterSortExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ParameterSpace.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/PathFormat.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/PathMappingRule.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/Period.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/PosixUser.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/PrincipalType.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/PutMeteredProductRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/PutMeteredProductResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/QueueBlockedReason.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/QueueEnvironmentSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/QueueFleetAssociationStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/QueueFleetAssociationSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/QueueMember.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/QueueStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/QueueSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ResourceNotFoundException.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ResponseBudgetAction.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/RunAs.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/S3Location.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SearchFilterExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SearchGroupedFilterExpressions.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SearchJobsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SearchJobsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SearchSortExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SearchStepsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SearchStepsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SearchTasksRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SearchTasksResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SearchTermFilterExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SearchWorkersRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SearchWorkersResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedEc2FleetConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedEc2InstanceCapabilities.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedEc2InstanceMarketOptions.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedFleetOperatingSystemFamily.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ServiceQuotaExceededException.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ServiceQuotaExceededExceptionReason.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SessionActionDefinition.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SessionActionDefinitionSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SessionActionStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SessionActionSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SessionLifecycleStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SessionLifecycleTargetStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SessionSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SessionsStatisticsAggregationStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SessionsStatisticsResources.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SortOrder.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StartSessionsStatisticsAggregationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StartSessionsStatisticsAggregationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/Statistics.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/Stats.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StepAmountCapability.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StepAttributeCapability.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StepConsumer.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StepDependency.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsEntity.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsError.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsIdentifiers.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StepLifecycleStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StepParameter.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StepParameterType.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StepRequiredCapabilities.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StepSearchSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StepSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StepTargetTaskRunStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StorageProfileOperatingSystemFamily.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StorageProfileSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/StringFilterExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SyncInputJobAttachmentsSessionActionDefinition.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/SyncInputJobAttachmentsSessionActionDefinitionSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/TagResourceRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/TagResourceResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/TaskParameterValue.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/TaskRunSessionActionDefinition.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/TaskRunSessionActionDefinitionSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/TaskRunStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/TaskSearchSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/TaskSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/TaskTargetRunStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ThrottlingException.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UntagResourceRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UntagResourceResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateBudgetRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateBudgetResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateFarmRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateFarmResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateFleetRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateFleetResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateJobLifecycleStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateJobRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateJobResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateMonitorRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateMonitorResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueEnvironmentRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueEnvironmentResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueFleetAssociationRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueFleetAssociationResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueFleetAssociationStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateSessionRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateSessionResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateStepRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateStepResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateStorageProfileRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateStorageProfileResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateTaskRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateTaskResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerScheduleRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerScheduleResult.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdatedSessionActionInfo.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UpdatedWorkerStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UsageGroupByField.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UsageStatistic.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UsageTrackingResource.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UsageType.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/UserJobsFirst.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/VCpuCountRange.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ValidationException.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ValidationExceptionField.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/ValidationExceptionReason.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/WindowsUser.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/WorkerAmountCapability.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/WorkerAttributeCapability.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/WorkerCapabilities.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/WorkerSearchSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/WorkerSessionSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/WorkerStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-deadline/source/model/WorkerSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/ViewerMinimumTlsProtocolVersionEnum.h create mode 100644 generated/src/aws-cpp-sdk-lightsail/source/model/ViewerMinimumTlsProtocolVersionEnum.cpp create mode 100644 generated/tests/deadline-gen-tests/CMakeLists.txt create mode 100644 generated/tests/deadline-gen-tests/DeadlineEndpointProviderTests.cpp create mode 100644 generated/tests/deadline-gen-tests/RunTests.cpp create mode 100644 tools/code-generation/api-descriptions/deadline-2023-10-12.normal.json create mode 100644 tools/code-generation/endpoints/deadline-2023-10-12.endpoint-rule-set.json create mode 100644 tools/code-generation/endpoints/deadline-2023-10-12.endpoint-tests.json diff --git a/VERSION b/VERSION index 9006a21c150..a40875c30e8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.297 \ No newline at end of file +1.11.298 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneClient.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneClient.h index e5137db23d4..8b46ce884f1 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneClient.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneClient.h @@ -133,6 +133,31 @@ namespace DataZone return SubmitAsync(&DataZoneClient::AcceptSubscriptionRequest, request, handler, context); } + /** + *

Cancels the metadata generation run.

See Also:

AWS + * API Reference

+ */ + virtual Model::CancelMetadataGenerationRunOutcome CancelMetadataGenerationRun(const Model::CancelMetadataGenerationRunRequest& request) const; + + /** + * A Callable wrapper for CancelMetadataGenerationRun that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CancelMetadataGenerationRunOutcomeCallable CancelMetadataGenerationRunCallable(const CancelMetadataGenerationRunRequestT& request) const + { + return SubmitCallable(&DataZoneClient::CancelMetadataGenerationRun, request); + } + + /** + * An Async wrapper for CancelMetadataGenerationRun that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CancelMetadataGenerationRunAsync(const CancelMetadataGenerationRunRequestT& request, const CancelMetadataGenerationRunResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::CancelMetadataGenerationRun, request, handler, context); + } + /** *

Cancels the subscription to the specified asset.

See Also:

*

See Also:

Publishes a listing (a record of an asset at a given time) or removes a + * listing from the catalog.

See Also:

AWS * API Reference

*/ @@ -868,7 +894,8 @@ namespace DataZone } /** - *

See Also:

Deletes a listing (a record of an asset at a given time).

See + * Also:

AWS * API Reference

*/ @@ -1374,7 +1401,8 @@ namespace DataZone } /** - *

See Also:

Gets a listing (a record of an asset at a given time).

See + * Also:

AWS * API Reference

*/ @@ -1398,6 +1426,32 @@ namespace DataZone return SubmitAsync(&DataZoneClient::GetListing, request, handler, context); } + /** + *

Gets a metadata generation run in Amazon DataZone.

See Also:

+ * AWS + * API Reference

+ */ + virtual Model::GetMetadataGenerationRunOutcome GetMetadataGenerationRun(const Model::GetMetadataGenerationRunRequest& request) const; + + /** + * A Callable wrapper for GetMetadataGenerationRun that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetMetadataGenerationRunOutcomeCallable GetMetadataGenerationRunCallable(const GetMetadataGenerationRunRequestT& request) const + { + return SubmitCallable(&DataZoneClient::GetMetadataGenerationRun, request); + } + + /** + * An Async wrapper for GetMetadataGenerationRun that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetMetadataGenerationRunAsync(const GetMetadataGenerationRunRequestT& request, const GetMetadataGenerationRunResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::GetMetadataGenerationRun, request, handler, context); + } + /** *

Gets a project in Amazon DataZone.

See Also:

AWS @@ -1777,6 +1831,31 @@ namespace DataZone return SubmitAsync(&DataZoneClient::ListEnvironments, request, handler, context); } + /** + *

Lists all metadata generation runs.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListMetadataGenerationRunsOutcome ListMetadataGenerationRuns(const Model::ListMetadataGenerationRunsRequest& request) const; + + /** + * A Callable wrapper for ListMetadataGenerationRuns that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListMetadataGenerationRunsOutcomeCallable ListMetadataGenerationRunsCallable(const ListMetadataGenerationRunsRequestT& request) const + { + return SubmitCallable(&DataZoneClient::ListMetadataGenerationRuns, request); + } + + /** + * An Async wrapper for ListMetadataGenerationRuns that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListMetadataGenerationRunsAsync(const ListMetadataGenerationRunsRequestT& request, const ListMetadataGenerationRunsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::ListMetadataGenerationRuns, request, handler, context); + } + /** *

Lists all Amazon DataZone notifications.

See Also:

AWS @@ -2132,7 +2211,8 @@ namespace DataZone } /** - *

Searches listings in Amazon DataZone.

See Also:

Searches listings (records of an asset at a given time) in Amazon + * DataZone.

See Also:

AWS * API Reference

*/ @@ -2232,6 +2312,31 @@ namespace DataZone return SubmitAsync(&DataZoneClient::StartDataSourceRun, request, handler, context); } + /** + *

Starts the metadata generation run.

See Also:

AWS + * API Reference

+ */ + virtual Model::StartMetadataGenerationRunOutcome StartMetadataGenerationRun(const Model::StartMetadataGenerationRunRequest& request) const; + + /** + * A Callable wrapper for StartMetadataGenerationRun that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::StartMetadataGenerationRunOutcomeCallable StartMetadataGenerationRunCallable(const StartMetadataGenerationRunRequestT& request) const + { + return SubmitCallable(&DataZoneClient::StartMetadataGenerationRun, request); + } + + /** + * An Async wrapper for StartMetadataGenerationRun that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void StartMetadataGenerationRunAsync(const StartMetadataGenerationRunRequestT& request, const StartMetadataGenerationRunResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::StartMetadataGenerationRun, request, handler, context); + } + /** *

Tags a resource in Amazon DataZone.

See Also:

AWS diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneServiceClientModel.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneServiceClientModel.h index a998be0df4f..f405133d702 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneServiceClientModel.h @@ -20,6 +20,7 @@ /* Service model headers required in DataZoneClient header */ #include #include +#include #include #include #include @@ -66,6 +67,7 @@ #include #include #include +#include #include #include #include @@ -81,6 +83,7 @@ #include #include #include +#include #include #include #include @@ -99,6 +102,7 @@ #include #include #include +#include #include #include #include @@ -156,6 +160,7 @@ namespace Aws /* Service model forward declarations required in DataZoneClient header */ class AcceptPredictionsRequest; class AcceptSubscriptionRequestRequest; + class CancelMetadataGenerationRunRequest; class CancelSubscriptionRequest; class CreateAssetRequest; class CreateAssetRevisionRequest; @@ -206,6 +211,7 @@ namespace Aws class GetGroupProfileRequest; class GetIamPortalLoginUrlRequest; class GetListingRequest; + class GetMetadataGenerationRunRequest; class GetProjectRequest; class GetSubscriptionRequest; class GetSubscriptionGrantRequest; @@ -221,6 +227,7 @@ namespace Aws class ListEnvironmentBlueprintsRequest; class ListEnvironmentProfilesRequest; class ListEnvironmentsRequest; + class ListMetadataGenerationRunsRequest; class ListNotificationsRequest; class ListProjectMembershipsRequest; class ListProjectsRequest; @@ -239,6 +246,7 @@ namespace Aws class SearchTypesRequest; class SearchUserProfilesRequest; class StartDataSourceRunRequest; + class StartMetadataGenerationRunRequest; class TagResourceRequest; class UntagResourceRequest; class UpdateDataSourceRequest; @@ -258,6 +266,7 @@ namespace Aws /* Service model Outcome class definitions */ typedef Aws::Utils::Outcome AcceptPredictionsOutcome; typedef Aws::Utils::Outcome AcceptSubscriptionRequestOutcome; + typedef Aws::Utils::Outcome CancelMetadataGenerationRunOutcome; typedef Aws::Utils::Outcome CancelSubscriptionOutcome; typedef Aws::Utils::Outcome CreateAssetOutcome; typedef Aws::Utils::Outcome CreateAssetRevisionOutcome; @@ -308,6 +317,7 @@ namespace Aws typedef Aws::Utils::Outcome GetGroupProfileOutcome; typedef Aws::Utils::Outcome GetIamPortalLoginUrlOutcome; typedef Aws::Utils::Outcome GetListingOutcome; + typedef Aws::Utils::Outcome GetMetadataGenerationRunOutcome; typedef Aws::Utils::Outcome GetProjectOutcome; typedef Aws::Utils::Outcome GetSubscriptionOutcome; typedef Aws::Utils::Outcome GetSubscriptionGrantOutcome; @@ -323,6 +333,7 @@ namespace Aws typedef Aws::Utils::Outcome ListEnvironmentBlueprintsOutcome; typedef Aws::Utils::Outcome ListEnvironmentProfilesOutcome; typedef Aws::Utils::Outcome ListEnvironmentsOutcome; + typedef Aws::Utils::Outcome ListMetadataGenerationRunsOutcome; typedef Aws::Utils::Outcome ListNotificationsOutcome; typedef Aws::Utils::Outcome ListProjectMembershipsOutcome; typedef Aws::Utils::Outcome ListProjectsOutcome; @@ -341,6 +352,7 @@ namespace Aws typedef Aws::Utils::Outcome SearchTypesOutcome; typedef Aws::Utils::Outcome SearchUserProfilesOutcome; typedef Aws::Utils::Outcome StartDataSourceRunOutcome; + typedef Aws::Utils::Outcome StartMetadataGenerationRunOutcome; typedef Aws::Utils::Outcome TagResourceOutcome; typedef Aws::Utils::Outcome UntagResourceOutcome; typedef Aws::Utils::Outcome UpdateDataSourceOutcome; @@ -360,6 +372,7 @@ namespace Aws /* Service model Outcome callable definitions */ typedef std::future AcceptPredictionsOutcomeCallable; typedef std::future AcceptSubscriptionRequestOutcomeCallable; + typedef std::future CancelMetadataGenerationRunOutcomeCallable; typedef std::future CancelSubscriptionOutcomeCallable; typedef std::future CreateAssetOutcomeCallable; typedef std::future CreateAssetRevisionOutcomeCallable; @@ -410,6 +423,7 @@ namespace Aws typedef std::future GetGroupProfileOutcomeCallable; typedef std::future GetIamPortalLoginUrlOutcomeCallable; typedef std::future GetListingOutcomeCallable; + typedef std::future GetMetadataGenerationRunOutcomeCallable; typedef std::future GetProjectOutcomeCallable; typedef std::future GetSubscriptionOutcomeCallable; typedef std::future GetSubscriptionGrantOutcomeCallable; @@ -425,6 +439,7 @@ namespace Aws typedef std::future ListEnvironmentBlueprintsOutcomeCallable; typedef std::future ListEnvironmentProfilesOutcomeCallable; typedef std::future ListEnvironmentsOutcomeCallable; + typedef std::future ListMetadataGenerationRunsOutcomeCallable; typedef std::future ListNotificationsOutcomeCallable; typedef std::future ListProjectMembershipsOutcomeCallable; typedef std::future ListProjectsOutcomeCallable; @@ -443,6 +458,7 @@ namespace Aws typedef std::future SearchTypesOutcomeCallable; typedef std::future SearchUserProfilesOutcomeCallable; typedef std::future StartDataSourceRunOutcomeCallable; + typedef std::future StartMetadataGenerationRunOutcomeCallable; typedef std::future TagResourceOutcomeCallable; typedef std::future UntagResourceOutcomeCallable; typedef std::future UpdateDataSourceOutcomeCallable; @@ -465,6 +481,7 @@ namespace Aws /* Service model async handlers definitions */ typedef std::function&) > AcceptPredictionsResponseReceivedHandler; typedef std::function&) > AcceptSubscriptionRequestResponseReceivedHandler; + typedef std::function&) > CancelMetadataGenerationRunResponseReceivedHandler; typedef std::function&) > CancelSubscriptionResponseReceivedHandler; typedef std::function&) > CreateAssetResponseReceivedHandler; typedef std::function&) > CreateAssetRevisionResponseReceivedHandler; @@ -515,6 +532,7 @@ namespace Aws typedef std::function&) > GetGroupProfileResponseReceivedHandler; typedef std::function&) > GetIamPortalLoginUrlResponseReceivedHandler; typedef std::function&) > GetListingResponseReceivedHandler; + typedef std::function&) > GetMetadataGenerationRunResponseReceivedHandler; typedef std::function&) > GetProjectResponseReceivedHandler; typedef std::function&) > GetSubscriptionResponseReceivedHandler; typedef std::function&) > GetSubscriptionGrantResponseReceivedHandler; @@ -530,6 +548,7 @@ namespace Aws typedef std::function&) > ListEnvironmentBlueprintsResponseReceivedHandler; typedef std::function&) > ListEnvironmentProfilesResponseReceivedHandler; typedef std::function&) > ListEnvironmentsResponseReceivedHandler; + typedef std::function&) > ListMetadataGenerationRunsResponseReceivedHandler; typedef std::function&) > ListNotificationsResponseReceivedHandler; typedef std::function&) > ListProjectMembershipsResponseReceivedHandler; typedef std::function&) > ListProjectsResponseReceivedHandler; @@ -548,6 +567,7 @@ namespace Aws typedef std::function&) > SearchTypesResponseReceivedHandler; typedef std::function&) > SearchUserProfilesResponseReceivedHandler; typedef std::function&) > StartDataSourceRunResponseReceivedHandler; + typedef std::function&) > StartMetadataGenerationRunResponseReceivedHandler; typedef std::function&) > TagResourceResponseReceivedHandler; typedef std::function&) > UntagResourceResponseReceivedHandler; typedef std::function&) > UpdateDataSourceResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptChoice.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptChoice.h index ebe4e3ac5d4..dea6db8927c 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptChoice.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptChoice.h @@ -39,6 +39,47 @@ namespace Model AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const; + /** + *

The edit of the prediction.

+ */ + inline const Aws::String& GetEditedValue() const{ return m_editedValue; } + + /** + *

The edit of the prediction.

+ */ + inline bool EditedValueHasBeenSet() const { return m_editedValueHasBeenSet; } + + /** + *

The edit of the prediction.

+ */ + inline void SetEditedValue(const Aws::String& value) { m_editedValueHasBeenSet = true; m_editedValue = value; } + + /** + *

The edit of the prediction.

+ */ + inline void SetEditedValue(Aws::String&& value) { m_editedValueHasBeenSet = true; m_editedValue = std::move(value); } + + /** + *

The edit of the prediction.

+ */ + inline void SetEditedValue(const char* value) { m_editedValueHasBeenSet = true; m_editedValue.assign(value); } + + /** + *

The edit of the prediction.

+ */ + inline AcceptChoice& WithEditedValue(const Aws::String& value) { SetEditedValue(value); return *this;} + + /** + *

The edit of the prediction.

+ */ + inline AcceptChoice& WithEditedValue(Aws::String&& value) { SetEditedValue(std::move(value)); return *this;} + + /** + *

The edit of the prediction.

+ */ + inline AcceptChoice& WithEditedValue(const char* value) { SetEditedValue(value); return *this;} + + /** *

Specifies the prediction (aka, the automatically generated piece of metadata) * that can be accepted.

@@ -114,6 +155,9 @@ namespace Model private: + Aws::String m_editedValue; + bool m_editedValueHasBeenSet = false; + int m_predictionChoice; bool m_predictionChoiceHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptPredictionsRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptPredictionsRequest.h index e00d9111d27..918034ade43 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptPredictionsRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptPredictionsRequest.h @@ -43,42 +43,50 @@ namespace Model /** - *

+ *

Specifies the prediction (aka, the automatically generated piece of metadata) + * and the target (for example, a column name) that can be accepted.

*/ inline const Aws::Vector& GetAcceptChoices() const{ return m_acceptChoices; } /** - *

+ *

Specifies the prediction (aka, the automatically generated piece of metadata) + * and the target (for example, a column name) that can be accepted.

*/ inline bool AcceptChoicesHasBeenSet() const { return m_acceptChoicesHasBeenSet; } /** - *

+ *

Specifies the prediction (aka, the automatically generated piece of metadata) + * and the target (for example, a column name) that can be accepted.

*/ inline void SetAcceptChoices(const Aws::Vector& value) { m_acceptChoicesHasBeenSet = true; m_acceptChoices = value; } /** - *

+ *

Specifies the prediction (aka, the automatically generated piece of metadata) + * and the target (for example, a column name) that can be accepted.

*/ inline void SetAcceptChoices(Aws::Vector&& value) { m_acceptChoicesHasBeenSet = true; m_acceptChoices = std::move(value); } /** - *

+ *

Specifies the prediction (aka, the automatically generated piece of metadata) + * and the target (for example, a column name) that can be accepted.

*/ inline AcceptPredictionsRequest& WithAcceptChoices(const Aws::Vector& value) { SetAcceptChoices(value); return *this;} /** - *

+ *

Specifies the prediction (aka, the automatically generated piece of metadata) + * and the target (for example, a column name) that can be accepted.

*/ inline AcceptPredictionsRequest& WithAcceptChoices(Aws::Vector&& value) { SetAcceptChoices(std::move(value)); return *this;} /** - *

+ *

Specifies the prediction (aka, the automatically generated piece of metadata) + * and the target (for example, a column name) that can be accepted.

*/ inline AcceptPredictionsRequest& AddAcceptChoices(const AcceptChoice& value) { m_acceptChoicesHasBeenSet = true; m_acceptChoices.push_back(value); return *this; } /** - *

+ *

Specifies the prediction (aka, the automatically generated piece of metadata) + * and the target (for example, a column name) that can be accepted.

*/ inline AcceptPredictionsRequest& AddAcceptChoices(AcceptChoice&& value) { m_acceptChoicesHasBeenSet = true; m_acceptChoices.push_back(std::move(value)); return *this; } @@ -211,83 +219,83 @@ namespace Model /** - *

+ *

The identifier of the asset.

*/ inline const Aws::String& GetIdentifier() const{ return m_identifier; } /** - *

+ *

The identifier of the asset.

*/ inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } /** - *

+ *

The identifier of the asset.

*/ inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } /** - *

+ *

The identifier of the asset.

*/ inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } /** - *

+ *

The identifier of the asset.

*/ inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } /** - *

+ *

The identifier of the asset.

*/ inline AcceptPredictionsRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} /** - *

+ *

The identifier of the asset.

*/ inline AcceptPredictionsRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} /** - *

+ *

The identifier of the asset.

*/ inline AcceptPredictionsRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} /** - *

+ *

The revision that is to be made to the asset.

*/ inline const Aws::String& GetRevision() const{ return m_revision; } /** - *

+ *

The revision that is to be made to the asset.

*/ inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; } /** - *

+ *

The revision that is to be made to the asset.

*/ inline void SetRevision(const Aws::String& value) { m_revisionHasBeenSet = true; m_revision = value; } /** - *

+ *

The revision that is to be made to the asset.

*/ inline void SetRevision(Aws::String&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); } /** - *

+ *

The revision that is to be made to the asset.

*/ inline void SetRevision(const char* value) { m_revisionHasBeenSet = true; m_revision.assign(value); } /** - *

+ *

The revision that is to be made to the asset.

*/ inline AcceptPredictionsRequest& WithRevision(const Aws::String& value) { SetRevision(value); return *this;} /** - *

+ *

The revision that is to be made to the asset.

*/ inline AcceptPredictionsRequest& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;} /** - *

+ *

The revision that is to be made to the asset.

*/ inline AcceptPredictionsRequest& WithRevision(const char* value) { SetRevision(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptPredictionsResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptPredictionsResult.h index 859d3e5970a..c19bbd9683c 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptPredictionsResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AcceptPredictionsResult.h @@ -33,109 +33,109 @@ namespace Model /** - *

+ *

The ID of the asset.

*/ inline const Aws::String& GetAssetId() const{ return m_assetId; } /** - *

+ *

The ID of the asset.

*/ inline void SetAssetId(const Aws::String& value) { m_assetId = value; } /** - *

+ *

The ID of the asset.

*/ inline void SetAssetId(Aws::String&& value) { m_assetId = std::move(value); } /** - *

+ *

The ID of the asset.

*/ inline void SetAssetId(const char* value) { m_assetId.assign(value); } /** - *

+ *

The ID of the asset.

*/ inline AcceptPredictionsResult& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;} /** - *

+ *

The ID of the asset.

*/ inline AcceptPredictionsResult& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;} /** - *

+ *

The ID of the asset.

*/ inline AcceptPredictionsResult& WithAssetId(const char* value) { SetAssetId(value); return *this;} /** - *

+ *

The identifier of the Amazon DataZone domain.

*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** - *

+ *

The identifier of the Amazon DataZone domain.

*/ inline void SetDomainId(const Aws::String& value) { m_domainId = value; } /** - *

+ *

The identifier of the Amazon DataZone domain.

*/ inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } /** - *

+ *

The identifier of the Amazon DataZone domain.

*/ inline void SetDomainId(const char* value) { m_domainId.assign(value); } /** - *

+ *

The identifier of the Amazon DataZone domain.

*/ inline AcceptPredictionsResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** - *

+ *

The identifier of the Amazon DataZone domain.

*/ inline AcceptPredictionsResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** - *

+ *

The identifier of the Amazon DataZone domain.

*/ inline AcceptPredictionsResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** - *

+ *

The revision that is to be made to the asset.

*/ inline const Aws::String& GetRevision() const{ return m_revision; } /** - *

+ *

The revision that is to be made to the asset.

*/ inline void SetRevision(const Aws::String& value) { m_revision = value; } /** - *

+ *

The revision that is to be made to the asset.

*/ inline void SetRevision(Aws::String&& value) { m_revision = std::move(value); } /** - *

+ *

The revision that is to be made to the asset.

*/ inline void SetRevision(const char* value) { m_revision.assign(value); } /** - *

+ *

The revision that is to be made to the asset.

*/ inline AcceptPredictionsResult& WithRevision(const Aws::String& value) { SetRevision(value); return *this;} /** - *

+ *

The revision that is to be made to the asset.

*/ inline AcceptPredictionsResult& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;} /** - *

+ *

The revision that is to be made to the asset.

*/ inline AcceptPredictionsResult& WithRevision(const char* value) { SetRevision(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetTargetNameMap.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetTargetNameMap.h index 7b7645b8eb8..7627ffdc18e 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetTargetNameMap.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetTargetNameMap.h @@ -24,7 +24,7 @@ namespace Model { /** - *

See Also:

The name map for assets.

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CancelMetadataGenerationRunRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CancelMetadataGenerationRunRequest.h new file mode 100644 index 00000000000..003d0ffbf0d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CancelMetadataGenerationRunRequest.h @@ -0,0 +1,135 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + + /** + */ + class CancelMetadataGenerationRunRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API CancelMetadataGenerationRunRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CancelMetadataGenerationRun"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run is + * to be cancelled.

+ */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run is + * to be cancelled.

+ */ + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run is + * to be cancelled.

+ */ + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run is + * to be cancelled.

+ */ + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run is + * to be cancelled.

+ */ + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run is + * to be cancelled.

+ */ + inline CancelMetadataGenerationRunRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run is + * to be cancelled.

+ */ + inline CancelMetadataGenerationRunRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run is + * to be cancelled.

+ */ + inline CancelMetadataGenerationRunRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + + + /** + *

The ID of the metadata generation run.

+ */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + + /** + *

The ID of the metadata generation run.

+ */ + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + + /** + *

The ID of the metadata generation run.

+ */ + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + + /** + *

The ID of the metadata generation run.

+ */ + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + + /** + *

The ID of the metadata generation run.

+ */ + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + + /** + *

The ID of the metadata generation run.

+ */ + inline CancelMetadataGenerationRunRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + + /** + *

The ID of the metadata generation run.

+ */ + inline CancelMetadataGenerationRunRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + + /** + *

The ID of the metadata generation run.

+ */ + inline CancelMetadataGenerationRunRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + + private: + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CancelMetadataGenerationRunResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CancelMetadataGenerationRunResult.h new file mode 100644 index 00000000000..1df47127eee --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CancelMetadataGenerationRunResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + class CancelMetadataGenerationRunResult + { + public: + AWS_DATAZONE_API CancelMetadataGenerationRunResult(); + AWS_DATAZONE_API CancelMetadataGenerationRunResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API CancelMetadataGenerationRunResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline CancelMetadataGenerationRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CancelMetadataGenerationRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CancelMetadataGenerationRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetRequest.h index b82f414d2bf..984797d33f3 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetRequest.h @@ -168,42 +168,42 @@ namespace Model /** - *

+ *

The external identifier of the asset.

*/ inline const Aws::String& GetExternalIdentifier() const{ return m_externalIdentifier; } /** - *

+ *

The external identifier of the asset.

*/ inline bool ExternalIdentifierHasBeenSet() const { return m_externalIdentifierHasBeenSet; } /** - *

+ *

The external identifier of the asset.

*/ inline void SetExternalIdentifier(const Aws::String& value) { m_externalIdentifierHasBeenSet = true; m_externalIdentifier = value; } /** - *

+ *

The external identifier of the asset.

*/ inline void SetExternalIdentifier(Aws::String&& value) { m_externalIdentifierHasBeenSet = true; m_externalIdentifier = std::move(value); } /** - *

+ *

The external identifier of the asset.

*/ inline void SetExternalIdentifier(const char* value) { m_externalIdentifierHasBeenSet = true; m_externalIdentifier.assign(value); } /** - *

+ *

The external identifier of the asset.

*/ inline CreateAssetRequest& WithExternalIdentifier(const Aws::String& value) { SetExternalIdentifier(value); return *this;} /** - *

+ *

The external identifier of the asset.

*/ inline CreateAssetRequest& WithExternalIdentifier(Aws::String&& value) { SetExternalIdentifier(std::move(value)); return *this;} /** - *

+ *

The external identifier of the asset.

*/ inline CreateAssetRequest& WithExternalIdentifier(const char* value) { SetExternalIdentifier(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetResult.h index 0836101a410..a5e9ddd935f 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetResult.h @@ -172,37 +172,37 @@ namespace Model /** - *

+ *

The external identifier of the asset.

*/ inline const Aws::String& GetExternalIdentifier() const{ return m_externalIdentifier; } /** - *

+ *

The external identifier of the asset.

*/ inline void SetExternalIdentifier(const Aws::String& value) { m_externalIdentifier = value; } /** - *

+ *

The external identifier of the asset.

*/ inline void SetExternalIdentifier(Aws::String&& value) { m_externalIdentifier = std::move(value); } /** - *

+ *

The external identifier of the asset.

*/ inline void SetExternalIdentifier(const char* value) { m_externalIdentifier.assign(value); } /** - *

+ *

The external identifier of the asset.

*/ inline CreateAssetResult& WithExternalIdentifier(const Aws::String& value) { SetExternalIdentifier(value); return *this;} /** - *

+ *

The external identifier of the asset.

*/ inline CreateAssetResult& WithExternalIdentifier(Aws::String&& value) { SetExternalIdentifier(std::move(value)); return *this;} /** - *

+ *

The external identifier of the asset.

*/ inline CreateAssetResult& WithExternalIdentifier(const char* value) { SetExternalIdentifier(value); return *this;} @@ -383,27 +383,27 @@ namespace Model /** - *

+ *

The details of an asset published in an Amazon DataZone catalog.

*/ inline const AssetListingDetails& GetListing() const{ return m_listing; } /** - *

+ *

The details of an asset published in an Amazon DataZone catalog.

*/ inline void SetListing(const AssetListingDetails& value) { m_listing = value; } /** - *

+ *

The details of an asset published in an Amazon DataZone catalog.

*/ inline void SetListing(AssetListingDetails&& value) { m_listing = std::move(value); } /** - *

+ *

The details of an asset published in an Amazon DataZone catalog.

*/ inline CreateAssetResult& WithListing(const AssetListingDetails& value) { SetListing(value); return *this;} /** - *

+ *

The details of an asset published in an Amazon DataZone catalog.

*/ inline CreateAssetResult& WithListing(AssetListingDetails&& value) { SetListing(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetRevisionResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetRevisionResult.h index d242be358ee..95825365ea2 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetRevisionResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetRevisionResult.h @@ -179,37 +179,37 @@ namespace Model /** - *

+ *

The external identifier of the asset.

*/ inline const Aws::String& GetExternalIdentifier() const{ return m_externalIdentifier; } /** - *

+ *

The external identifier of the asset.

*/ inline void SetExternalIdentifier(const Aws::String& value) { m_externalIdentifier = value; } /** - *

+ *

The external identifier of the asset.

*/ inline void SetExternalIdentifier(Aws::String&& value) { m_externalIdentifier = std::move(value); } /** - *

+ *

The external identifier of the asset.

*/ inline void SetExternalIdentifier(const char* value) { m_externalIdentifier.assign(value); } /** - *

+ *

The external identifier of the asset.

*/ inline CreateAssetRevisionResult& WithExternalIdentifier(const Aws::String& value) { SetExternalIdentifier(value); return *this;} /** - *

+ *

The external identifier of the asset.

*/ inline CreateAssetRevisionResult& WithExternalIdentifier(Aws::String&& value) { SetExternalIdentifier(std::move(value)); return *this;} /** - *

+ *

The external identifier of the asset.

*/ inline CreateAssetRevisionResult& WithExternalIdentifier(const char* value) { SetExternalIdentifier(value); return *this;} @@ -405,27 +405,27 @@ namespace Model /** - *

+ *

The details of an asset published in an Amazon DataZone catalog.

*/ inline const AssetListingDetails& GetListing() const{ return m_listing; } /** - *

+ *

The details of an asset published in an Amazon DataZone catalog.

*/ inline void SetListing(const AssetListingDetails& value) { m_listing = value; } /** - *

+ *

The details of an asset published in an Amazon DataZone catalog.

*/ inline void SetListing(AssetListingDetails&& value) { m_listing = std::move(value); } /** - *

+ *

The details of an asset published in an Amazon DataZone catalog.

*/ inline CreateAssetRevisionResult& WithListing(const AssetListingDetails& value) { SetListing(value); return *this;} /** - *

+ *

The details of an asset published in an Amazon DataZone catalog.

*/ inline CreateAssetRevisionResult& WithListing(AssetListingDetails&& value) { SetListing(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateListingChangeSetRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateListingChangeSetRequest.h index 27882b33d71..9247c5efa4b 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateListingChangeSetRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateListingChangeSetRequest.h @@ -36,227 +36,235 @@ namespace Model /** - *

+ *

Specifies whether to publish or unpublish a listing.

*/ inline const ChangeAction& GetAction() const{ return m_action; } /** - *

+ *

Specifies whether to publish or unpublish a listing.

*/ inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; } /** - *

+ *

Specifies whether to publish or unpublish a listing.

*/ inline void SetAction(const ChangeAction& value) { m_actionHasBeenSet = true; m_action = value; } /** - *

+ *

Specifies whether to publish or unpublish a listing.

*/ inline void SetAction(ChangeAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); } /** - *

+ *

Specifies whether to publish or unpublish a listing.

*/ inline CreateListingChangeSetRequest& WithAction(const ChangeAction& value) { SetAction(value); return *this;} /** - *

+ *

Specifies whether to publish or unpublish a listing.

*/ inline CreateListingChangeSetRequest& WithAction(ChangeAction&& value) { SetAction(std::move(value)); return *this;} /** - *

+ *

A unique, case-sensitive identifier that is provided to ensure the + * idempotency of the request.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** - *

+ *

A unique, case-sensitive identifier that is provided to ensure the + * idempotency of the request.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** - *

+ *

A unique, case-sensitive identifier that is provided to ensure the + * idempotency of the request.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** - *

+ *

A unique, case-sensitive identifier that is provided to ensure the + * idempotency of the request.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** - *

+ *

A unique, case-sensitive identifier that is provided to ensure the + * idempotency of the request.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** - *

+ *

A unique, case-sensitive identifier that is provided to ensure the + * idempotency of the request.

*/ inline CreateListingChangeSetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** - *

+ *

A unique, case-sensitive identifier that is provided to ensure the + * idempotency of the request.

*/ inline CreateListingChangeSetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** - *

+ *

A unique, case-sensitive identifier that is provided to ensure the + * idempotency of the request.

*/ inline CreateListingChangeSetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline CreateListingChangeSetRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline CreateListingChangeSetRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline CreateListingChangeSetRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} /** - *

+ *

The ID of the asset.

*/ inline const Aws::String& GetEntityIdentifier() const{ return m_entityIdentifier; } /** - *

+ *

The ID of the asset.

*/ inline bool EntityIdentifierHasBeenSet() const { return m_entityIdentifierHasBeenSet; } /** - *

+ *

The ID of the asset.

*/ inline void SetEntityIdentifier(const Aws::String& value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier = value; } /** - *

+ *

The ID of the asset.

*/ inline void SetEntityIdentifier(Aws::String&& value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier = std::move(value); } /** - *

+ *

The ID of the asset.

*/ inline void SetEntityIdentifier(const char* value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier.assign(value); } /** - *

+ *

The ID of the asset.

*/ inline CreateListingChangeSetRequest& WithEntityIdentifier(const Aws::String& value) { SetEntityIdentifier(value); return *this;} /** - *

+ *

The ID of the asset.

*/ inline CreateListingChangeSetRequest& WithEntityIdentifier(Aws::String&& value) { SetEntityIdentifier(std::move(value)); return *this;} /** - *

+ *

The ID of the asset.

*/ inline CreateListingChangeSetRequest& WithEntityIdentifier(const char* value) { SetEntityIdentifier(value); return *this;} /** - *

+ *

The revision of an asset.

*/ inline const Aws::String& GetEntityRevision() const{ return m_entityRevision; } /** - *

+ *

The revision of an asset.

*/ inline bool EntityRevisionHasBeenSet() const { return m_entityRevisionHasBeenSet; } /** - *

+ *

The revision of an asset.

*/ inline void SetEntityRevision(const Aws::String& value) { m_entityRevisionHasBeenSet = true; m_entityRevision = value; } /** - *

+ *

The revision of an asset.

*/ inline void SetEntityRevision(Aws::String&& value) { m_entityRevisionHasBeenSet = true; m_entityRevision = std::move(value); } /** - *

+ *

The revision of an asset.

*/ inline void SetEntityRevision(const char* value) { m_entityRevisionHasBeenSet = true; m_entityRevision.assign(value); } /** - *

+ *

The revision of an asset.

*/ inline CreateListingChangeSetRequest& WithEntityRevision(const Aws::String& value) { SetEntityRevision(value); return *this;} /** - *

+ *

The revision of an asset.

*/ inline CreateListingChangeSetRequest& WithEntityRevision(Aws::String&& value) { SetEntityRevision(std::move(value)); return *this;} /** - *

+ *

The revision of an asset.

*/ inline CreateListingChangeSetRequest& WithEntityRevision(const char* value) { SetEntityRevision(value); return *this;} /** - *

+ *

The type of an entity.

*/ inline const EntityType& GetEntityType() const{ return m_entityType; } /** - *

+ *

The type of an entity.

*/ inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; } /** - *

+ *

The type of an entity.

*/ inline void SetEntityType(const EntityType& value) { m_entityTypeHasBeenSet = true; m_entityType = value; } /** - *

+ *

The type of an entity.

*/ inline void SetEntityType(EntityType&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::move(value); } /** - *

+ *

The type of an entity.

*/ inline CreateListingChangeSetRequest& WithEntityType(const EntityType& value) { SetEntityType(value); return *this;} /** - *

+ *

The type of an entity.

*/ inline CreateListingChangeSetRequest& WithEntityType(EntityType&& value) { SetEntityType(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateListingChangeSetResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateListingChangeSetResult.h index 3bd0a0d4d2e..35f0d23b12e 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateListingChangeSetResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateListingChangeSetResult.h @@ -34,99 +34,99 @@ namespace Model /** - *

+ *

The ID of the listing (a record of an asset at a given time).

*/ inline const Aws::String& GetListingId() const{ return m_listingId; } /** - *

+ *

The ID of the listing (a record of an asset at a given time).

*/ inline void SetListingId(const Aws::String& value) { m_listingId = value; } /** - *

+ *

The ID of the listing (a record of an asset at a given time).

*/ inline void SetListingId(Aws::String&& value) { m_listingId = std::move(value); } /** - *

+ *

The ID of the listing (a record of an asset at a given time).

*/ inline void SetListingId(const char* value) { m_listingId.assign(value); } /** - *

+ *

The ID of the listing (a record of an asset at a given time).

*/ inline CreateListingChangeSetResult& WithListingId(const Aws::String& value) { SetListingId(value); return *this;} /** - *

+ *

The ID of the listing (a record of an asset at a given time).

*/ inline CreateListingChangeSetResult& WithListingId(Aws::String&& value) { SetListingId(std::move(value)); return *this;} /** - *

+ *

The ID of the listing (a record of an asset at a given time).

*/ inline CreateListingChangeSetResult& WithListingId(const char* value) { SetListingId(value); return *this;} /** - *

+ *

The revision of a listing.

*/ inline const Aws::String& GetListingRevision() const{ return m_listingRevision; } /** - *

+ *

The revision of a listing.

*/ inline void SetListingRevision(const Aws::String& value) { m_listingRevision = value; } /** - *

+ *

The revision of a listing.

*/ inline void SetListingRevision(Aws::String&& value) { m_listingRevision = std::move(value); } /** - *

+ *

The revision of a listing.

*/ inline void SetListingRevision(const char* value) { m_listingRevision.assign(value); } /** - *

+ *

The revision of a listing.

*/ inline CreateListingChangeSetResult& WithListingRevision(const Aws::String& value) { SetListingRevision(value); return *this;} /** - *

+ *

The revision of a listing.

*/ inline CreateListingChangeSetResult& WithListingRevision(Aws::String&& value) { SetListingRevision(std::move(value)); return *this;} /** - *

+ *

The revision of a listing.

*/ inline CreateListingChangeSetResult& WithListingRevision(const char* value) { SetListingRevision(value); return *this;} /** - *

+ *

Specifies the status of the listing.

*/ inline const ListingStatus& GetStatus() const{ return m_status; } /** - *

+ *

Specifies the status of the listing.

*/ inline void SetStatus(const ListingStatus& value) { m_status = value; } /** - *

+ *

Specifies the status of the listing.

*/ inline void SetStatus(ListingStatus&& value) { m_status = std::move(value); } /** - *

+ *

Specifies the status of the listing.

*/ inline CreateListingChangeSetResult& WithStatus(const ListingStatus& value) { SetStatus(value); return *this;} /** - *

+ *

Specifies the status of the listing.

*/ inline CreateListingChangeSetResult& WithStatus(ListingStatus&& value) { SetStatus(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectResult.h index 4b7a4343efe..2153d6df2ba 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateProjectResult.h @@ -178,37 +178,44 @@ namespace Model /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline const Aws::Vector& GetFailureReasons() const{ return m_failureReasons; } /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline void SetFailureReasons(const Aws::Vector& value) { m_failureReasons = value; } /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline void SetFailureReasons(Aws::Vector&& value) { m_failureReasons = std::move(value); } /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline CreateProjectResult& WithFailureReasons(const Aws::Vector& value) { SetFailureReasons(value); return *this;} /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline CreateProjectResult& WithFailureReasons(Aws::Vector&& value) { SetFailureReasons(std::move(value)); return *this;} /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline CreateProjectResult& AddFailureReasons(const ProjectDeletionError& value) { m_failureReasons.push_back(value); return *this; } /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline CreateProjectResult& AddFailureReasons(ProjectDeletionError&& value) { m_failureReasons.push_back(std::move(value)); return *this; } @@ -353,27 +360,27 @@ namespace Model /** - *

Status of the project

+ *

The status of the Amazon DataZone project that was created.

*/ inline const ProjectStatus& GetProjectStatus() const{ return m_projectStatus; } /** - *

Status of the project

+ *

The status of the Amazon DataZone project that was created.

*/ inline void SetProjectStatus(const ProjectStatus& value) { m_projectStatus = value; } /** - *

Status of the project

+ *

The status of the Amazon DataZone project that was created.

*/ inline void SetProjectStatus(ProjectStatus&& value) { m_projectStatus = std::move(value); } /** - *

Status of the project

+ *

The status of the Amazon DataZone project that was created.

*/ inline CreateProjectResult& WithProjectStatus(const ProjectStatus& value) { SetProjectStatus(value); return *this;} /** - *

Status of the project

+ *

The status of the Amazon DataZone project that was created.

*/ inline CreateProjectResult& WithProjectStatus(ProjectStatus&& value) { SetProjectStatus(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateSubscriptionRequestRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateSubscriptionRequestRequest.h index 36645697b27..2a61aa1335d 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateSubscriptionRequestRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateSubscriptionRequestRequest.h @@ -176,42 +176,42 @@ namespace Model /** - *

+ *

The published asset for which the subscription grant is to be created.

*/ inline const Aws::Vector& GetSubscribedListings() const{ return m_subscribedListings; } /** - *

+ *

The published asset for which the subscription grant is to be created.

*/ inline bool SubscribedListingsHasBeenSet() const { return m_subscribedListingsHasBeenSet; } /** - *

+ *

The published asset for which the subscription grant is to be created.

*/ inline void SetSubscribedListings(const Aws::Vector& value) { m_subscribedListingsHasBeenSet = true; m_subscribedListings = value; } /** - *

+ *

The published asset for which the subscription grant is to be created.

*/ inline void SetSubscribedListings(Aws::Vector&& value) { m_subscribedListingsHasBeenSet = true; m_subscribedListings = std::move(value); } /** - *

+ *

The published asset for which the subscription grant is to be created.

*/ inline CreateSubscriptionRequestRequest& WithSubscribedListings(const Aws::Vector& value) { SetSubscribedListings(value); return *this;} /** - *

+ *

The published asset for which the subscription grant is to be created.

*/ inline CreateSubscriptionRequestRequest& WithSubscribedListings(Aws::Vector&& value) { SetSubscribedListings(std::move(value)); return *this;} /** - *

+ *

The published asset for which the subscription grant is to be created.

*/ inline CreateSubscriptionRequestRequest& AddSubscribedListings(const SubscribedListingInput& value) { m_subscribedListingsHasBeenSet = true; m_subscribedListings.push_back(value); return *this; } /** - *

+ *

The published asset for which the subscription grant is to be created.

*/ inline CreateSubscriptionRequestRequest& AddSubscribedListings(SubscribedListingInput&& value) { m_subscribedListingsHasBeenSet = true; m_subscribedListings.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateSubscriptionRequestResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateSubscriptionRequestResult.h index 38bd88eebd5..968a7ce3942 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateSubscriptionRequestResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateSubscriptionRequestResult.h @@ -313,37 +313,37 @@ namespace Model /** - *

+ *

The published asset for which the subscription grant is to be created.

*/ inline const Aws::Vector& GetSubscribedListings() const{ return m_subscribedListings; } /** - *

+ *

The published asset for which the subscription grant is to be created.

*/ inline void SetSubscribedListings(const Aws::Vector& value) { m_subscribedListings = value; } /** - *

+ *

The published asset for which the subscription grant is to be created.

*/ inline void SetSubscribedListings(Aws::Vector&& value) { m_subscribedListings = std::move(value); } /** - *

+ *

The published asset for which the subscription grant is to be created.

*/ inline CreateSubscriptionRequestResult& WithSubscribedListings(const Aws::Vector& value) { SetSubscribedListings(value); return *this;} /** - *

+ *

The published asset for which the subscription grant is to be created.

*/ inline CreateSubscriptionRequestResult& WithSubscribedListings(Aws::Vector&& value) { SetSubscribedListings(std::move(value)); return *this;} /** - *

+ *

The published asset for which the subscription grant is to be created.

*/ inline CreateSubscriptionRequestResult& AddSubscribedListings(const SubscribedListing& value) { m_subscribedListings.push_back(value); return *this; } /** - *

+ *

The published asset for which the subscription grant is to be created.

*/ inline CreateSubscriptionRequestResult& AddSubscribedListings(SubscribedListing&& value) { m_subscribedListings.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteDomainRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteDomainRequest.h index be30f854302..89ca4aef7bc 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteDomainRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteDomainRequest.h @@ -130,22 +130,26 @@ namespace Model /** - *

Optional flag to delete all child entities within the domain

+ *

Specifies the optional flag to delete all child entities within the + * domain.

*/ inline bool GetSkipDeletionCheck() const{ return m_skipDeletionCheck; } /** - *

Optional flag to delete all child entities within the domain

+ *

Specifies the optional flag to delete all child entities within the + * domain.

*/ inline bool SkipDeletionCheckHasBeenSet() const { return m_skipDeletionCheckHasBeenSet; } /** - *

Optional flag to delete all child entities within the domain

+ *

Specifies the optional flag to delete all child entities within the + * domain.

*/ inline void SetSkipDeletionCheck(bool value) { m_skipDeletionCheckHasBeenSet = true; m_skipDeletionCheck = value; } /** - *

Optional flag to delete all child entities within the domain

+ *

Specifies the optional flag to delete all child entities within the + * domain.

*/ inline DeleteDomainRequest& WithSkipDeletionCheck(bool value) { SetSkipDeletionCheck(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteListingRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteListingRequest.h index 055afc522fa..46d379bc7da 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteListingRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteListingRequest.h @@ -33,83 +33,83 @@ namespace Model /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline DeleteListingRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline DeleteListingRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline DeleteListingRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} /** - *

+ *

The ID of the listing to be deleted.

*/ inline const Aws::String& GetIdentifier() const{ return m_identifier; } /** - *

+ *

The ID of the listing to be deleted.

*/ inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } /** - *

+ *

The ID of the listing to be deleted.

*/ inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } /** - *

+ *

The ID of the listing to be deleted.

*/ inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } /** - *

+ *

The ID of the listing to be deleted.

*/ inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } /** - *

+ *

The ID of the listing to be deleted.

*/ inline DeleteListingRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} /** - *

+ *

The ID of the listing to be deleted.

*/ inline DeleteListingRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} /** - *

+ *

The ID of the listing to be deleted.

*/ inline DeleteListingRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteProjectRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteProjectRequest.h index c519e65be84..b2cd5d4efea 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteProjectRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteProjectRequest.h @@ -121,22 +121,26 @@ namespace Model /** - *

Optional flag to asynchronously delete child entities within the project

+ *

Specifies the optional flag to delete all child entities within the + * project.

*/ inline bool GetSkipDeletionCheck() const{ return m_skipDeletionCheck; } /** - *

Optional flag to asynchronously delete child entities within the project

+ *

Specifies the optional flag to delete all child entities within the + * project.

*/ inline bool SkipDeletionCheckHasBeenSet() const { return m_skipDeletionCheckHasBeenSet; } /** - *

Optional flag to asynchronously delete child entities within the project

+ *

Specifies the optional flag to delete all child entities within the + * project.

*/ inline void SetSkipDeletionCheck(bool value) { m_skipDeletionCheckHasBeenSet = true; m_skipDeletionCheck = value; } /** - *

Optional flag to asynchronously delete child entities within the project

+ *

Specifies the optional flag to delete all child entities within the + * project.

*/ inline DeleteProjectRequest& WithSkipDeletionCheck(bool value) { SetSkipDeletionCheck(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetAssetResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetAssetResult.h index 0cf0916e5cf..5b84b4233b0 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetAssetResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetAssetResult.h @@ -171,37 +171,37 @@ namespace Model /** - *

+ *

The external ID of the asset.

*/ inline const Aws::String& GetExternalIdentifier() const{ return m_externalIdentifier; } /** - *

+ *

The external ID of the asset.

*/ inline void SetExternalIdentifier(const Aws::String& value) { m_externalIdentifier = value; } /** - *

+ *

The external ID of the asset.

*/ inline void SetExternalIdentifier(Aws::String&& value) { m_externalIdentifier = std::move(value); } /** - *

+ *

The external ID of the asset.

*/ inline void SetExternalIdentifier(const char* value) { m_externalIdentifier.assign(value); } /** - *

+ *

The external ID of the asset.

*/ inline GetAssetResult& WithExternalIdentifier(const Aws::String& value) { SetExternalIdentifier(value); return *this;} /** - *

+ *

The external ID of the asset.

*/ inline GetAssetResult& WithExternalIdentifier(Aws::String&& value) { SetExternalIdentifier(std::move(value)); return *this;} /** - *

+ *

The external ID of the asset.

*/ inline GetAssetResult& WithExternalIdentifier(const char* value) { SetExternalIdentifier(value); return *this;} @@ -382,27 +382,27 @@ namespace Model /** - *

+ *

The listing of the asset.

*/ inline const AssetListingDetails& GetListing() const{ return m_listing; } /** - *

+ *

The listing of the asset.

*/ inline void SetListing(const AssetListingDetails& value) { m_listing = value; } /** - *

+ *

The listing of the asset.

*/ inline void SetListing(AssetListingDetails&& value) { m_listing = std::move(value); } /** - *

+ *

The listing of the asset.

*/ inline GetAssetResult& WithListing(const AssetListingDetails& value) { SetListing(value); return *this;} /** - *

+ *

The listing of the asset.

*/ inline GetAssetResult& WithListing(AssetListingDetails&& value) { SetListing(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetDataSourceResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetDataSourceResult.h index cc6e5f599c1..cf062577713 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetDataSourceResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetDataSourceResult.h @@ -529,27 +529,27 @@ namespace Model /** - *

+ *

The recommendation configuration of the data source.

*/ inline const RecommendationConfiguration& GetRecommendation() const{ return m_recommendation; } /** - *

+ *

The recommendation configuration of the data source.

*/ inline void SetRecommendation(const RecommendationConfiguration& value) { m_recommendation = value; } /** - *

+ *

The recommendation configuration of the data source.

*/ inline void SetRecommendation(RecommendationConfiguration&& value) { m_recommendation = std::move(value); } /** - *

+ *

The recommendation configuration of the data source.

*/ inline GetDataSourceResult& WithRecommendation(const RecommendationConfiguration& value) { SetRecommendation(value); return *this;} /** - *

+ *

The recommendation configuration of the data source.

*/ inline GetDataSourceResult& WithRecommendation(RecommendationConfiguration&& value) { SetRecommendation(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetListingRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetListingRequest.h index eefe6e6374f..6db312efca5 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetListingRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetListingRequest.h @@ -39,124 +39,124 @@ namespace Model /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline GetListingRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline GetListingRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline GetListingRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} /** - *

+ *

The ID of the listing.

*/ inline const Aws::String& GetIdentifier() const{ return m_identifier; } /** - *

+ *

The ID of the listing.

*/ inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } /** - *

+ *

The ID of the listing.

*/ inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } /** - *

+ *

The ID of the listing.

*/ inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } /** - *

+ *

The ID of the listing.

*/ inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } /** - *

+ *

The ID of the listing.

*/ inline GetListingRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} /** - *

+ *

The ID of the listing.

*/ inline GetListingRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} /** - *

+ *

The ID of the listing.

*/ inline GetListingRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} /** - *

+ *

The revision of the listing.

*/ inline const Aws::String& GetListingRevision() const{ return m_listingRevision; } /** - *

+ *

The revision of the listing.

*/ inline bool ListingRevisionHasBeenSet() const { return m_listingRevisionHasBeenSet; } /** - *

+ *

The revision of the listing.

*/ inline void SetListingRevision(const Aws::String& value) { m_listingRevisionHasBeenSet = true; m_listingRevision = value; } /** - *

+ *

The revision of the listing.

*/ inline void SetListingRevision(Aws::String&& value) { m_listingRevisionHasBeenSet = true; m_listingRevision = std::move(value); } /** - *

+ *

The revision of the listing.

*/ inline void SetListingRevision(const char* value) { m_listingRevisionHasBeenSet = true; m_listingRevision.assign(value); } /** - *

+ *

The revision of the listing.

*/ inline GetListingRequest& WithListingRevision(const Aws::String& value) { SetListingRevision(value); return *this;} /** - *

+ *

The revision of the listing.

*/ inline GetListingRequest& WithListingRevision(Aws::String&& value) { SetListingRevision(std::move(value)); return *this;} /** - *

+ *

The revision of the listing.

*/ inline GetListingRequest& WithListingRevision(const char* value) { SetListingRevision(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetListingResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetListingResult.h index 4c8ae6f8fbf..f4e8acc56d9 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetListingResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetListingResult.h @@ -36,27 +36,27 @@ namespace Model /** - *

+ *

The timestamp of when the listing was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** - *

+ *

The timestamp of when the listing was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** - *

+ *

The timestamp of when the listing was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } /** - *

+ *

The timestamp of when the listing was created.

*/ inline GetListingResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** - *

+ *

The timestamp of when the listing was created.

*/ inline GetListingResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} @@ -98,233 +98,233 @@ namespace Model /** - *

+ *

The description of the listing.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** - *

+ *

The description of the listing.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** - *

+ *

The description of the listing.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** - *

+ *

The description of the listing.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** - *

+ *

The description of the listing.

*/ inline GetListingResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** - *

+ *

The description of the listing.

*/ inline GetListingResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** - *

+ *

The description of the listing.

*/ inline GetListingResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline void SetDomainId(const Aws::String& value) { m_domainId = value; } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline void SetDomainId(const char* value) { m_domainId.assign(value); } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline GetListingResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline GetListingResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline GetListingResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** - *

+ *

The ID of the listing.

*/ inline const Aws::String& GetId() const{ return m_id; } /** - *

+ *

The ID of the listing.

*/ inline void SetId(const Aws::String& value) { m_id = value; } /** - *

+ *

The ID of the listing.

*/ inline void SetId(Aws::String&& value) { m_id = std::move(value); } /** - *

+ *

The ID of the listing.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** - *

+ *

The ID of the listing.

*/ inline GetListingResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** - *

+ *

The ID of the listing.

*/ inline GetListingResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** - *

+ *

The ID of the listing.

*/ inline GetListingResult& WithId(const char* value) { SetId(value); return *this;} /** - *

+ *

The details of a listing.

*/ inline const ListingItem& GetItem() const{ return m_item; } /** - *

+ *

The details of a listing.

*/ inline void SetItem(const ListingItem& value) { m_item = value; } /** - *

+ *

The details of a listing.

*/ inline void SetItem(ListingItem&& value) { m_item = std::move(value); } /** - *

+ *

The details of a listing.

*/ inline GetListingResult& WithItem(const ListingItem& value) { SetItem(value); return *this;} /** - *

+ *

The details of a listing.

*/ inline GetListingResult& WithItem(ListingItem&& value) { SetItem(std::move(value)); return *this;} /** - *

+ *

The revision of a listing.

*/ inline const Aws::String& GetListingRevision() const{ return m_listingRevision; } /** - *

+ *

The revision of a listing.

*/ inline void SetListingRevision(const Aws::String& value) { m_listingRevision = value; } /** - *

+ *

The revision of a listing.

*/ inline void SetListingRevision(Aws::String&& value) { m_listingRevision = std::move(value); } /** - *

+ *

The revision of a listing.

*/ inline void SetListingRevision(const char* value) { m_listingRevision.assign(value); } /** - *

+ *

The revision of a listing.

*/ inline GetListingResult& WithListingRevision(const Aws::String& value) { SetListingRevision(value); return *this;} /** - *

+ *

The revision of a listing.

*/ inline GetListingResult& WithListingRevision(Aws::String&& value) { SetListingRevision(std::move(value)); return *this;} /** - *

+ *

The revision of a listing.

*/ inline GetListingResult& WithListingRevision(const char* value) { SetListingRevision(value); return *this;} /** - *

+ *

The name of the listing.

*/ inline const Aws::String& GetName() const{ return m_name; } /** - *

+ *

The name of the listing.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** - *

+ *

The name of the listing.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** - *

+ *

The name of the listing.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** - *

+ *

The name of the listing.

*/ inline GetListingResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** - *

+ *

The name of the listing.

*/ inline GetListingResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** - *

+ *

The name of the listing.

*/ inline GetListingResult& WithName(const char* value) { SetName(value); return *this;} /** - *

+ *

The status of the listing.

*/ inline const ListingStatus& GetStatus() const{ return m_status; } /** - *

+ *

The status of the listing.

*/ inline void SetStatus(const ListingStatus& value) { m_status = value; } /** - *

+ *

The status of the listing.

*/ inline void SetStatus(ListingStatus&& value) { m_status = std::move(value); } /** - *

+ *

The status of the listing.

*/ inline GetListingResult& WithStatus(const ListingStatus& value) { SetStatus(value); return *this;} /** - *

+ *

The status of the listing.

*/ inline GetListingResult& WithStatus(ListingStatus&& value) { SetStatus(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetMetadataGenerationRunRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetMetadataGenerationRunRequest.h new file mode 100644 index 00000000000..60af8afa559 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetMetadataGenerationRunRequest.h @@ -0,0 +1,135 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + + /** + */ + class GetMetadataGenerationRunRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API GetMetadataGenerationRunRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetMetadataGenerationRun"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + + /** + *

The ID of the Amazon DataZone domain the metadata generation run of which you + * want to get.

+ */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + + /** + *

The ID of the Amazon DataZone domain the metadata generation run of which you + * want to get.

+ */ + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + + /** + *

The ID of the Amazon DataZone domain the metadata generation run of which you + * want to get.

+ */ + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + + /** + *

The ID of the Amazon DataZone domain the metadata generation run of which you + * want to get.

+ */ + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + + /** + *

The ID of the Amazon DataZone domain the metadata generation run of which you + * want to get.

+ */ + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + + /** + *

The ID of the Amazon DataZone domain the metadata generation run of which you + * want to get.

+ */ + inline GetMetadataGenerationRunRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + + /** + *

The ID of the Amazon DataZone domain the metadata generation run of which you + * want to get.

+ */ + inline GetMetadataGenerationRunRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + + /** + *

The ID of the Amazon DataZone domain the metadata generation run of which you + * want to get.

+ */ + inline GetMetadataGenerationRunRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + + + /** + *

The identifier of the metadata generation run.

+ */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + + /** + *

The identifier of the metadata generation run.

+ */ + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + + /** + *

The identifier of the metadata generation run.

+ */ + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + + /** + *

The identifier of the metadata generation run.

+ */ + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + + /** + *

The identifier of the metadata generation run.

+ */ + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + + /** + *

The identifier of the metadata generation run.

+ */ + inline GetMetadataGenerationRunRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + + /** + *

The identifier of the metadata generation run.

+ */ + inline GetMetadataGenerationRunRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + + /** + *

The identifier of the metadata generation run.

+ */ + inline GetMetadataGenerationRunRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + + private: + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetMetadataGenerationRunResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetMetadataGenerationRunResult.h new file mode 100644 index 00000000000..5b3a9767f5a --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetMetadataGenerationRunResult.h @@ -0,0 +1,345 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + class GetMetadataGenerationRunResult + { + public: + AWS_DATAZONE_API GetMetadataGenerationRunResult(); + AWS_DATAZONE_API GetMetadataGenerationRunResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API GetMetadataGenerationRunResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The timestamp of when the metadata generation run was start.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The timestamp of when the metadata generation run was start.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + + /** + *

The timestamp of when the metadata generation run was start.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + + /** + *

The timestamp of when the metadata generation run was start.

+ */ + inline GetMetadataGenerationRunResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The timestamp of when the metadata generation run was start.

+ */ + inline GetMetadataGenerationRunResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The Amazon DataZone user who started the metadata generation run.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The Amazon DataZone user who started the metadata generation run.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + + /** + *

The Amazon DataZone user who started the metadata generation run.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + + /** + *

The Amazon DataZone user who started the metadata generation run.

+ */ + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + + /** + *

The Amazon DataZone user who started the metadata generation run.

+ */ + inline GetMetadataGenerationRunResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The Amazon DataZone user who started the metadata generation run.

+ */ + inline GetMetadataGenerationRunResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The Amazon DataZone user who started the metadata generation run.

+ */ + inline GetMetadataGenerationRunResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The ID of the Amazon DataZone domain the metadata generation run of which you + * want to get.

+ */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + + /** + *

The ID of the Amazon DataZone domain the metadata generation run of which you + * want to get.

+ */ + inline void SetDomainId(const Aws::String& value) { m_domainId = value; } + + /** + *

The ID of the Amazon DataZone domain the metadata generation run of which you + * want to get.

+ */ + inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } + + /** + *

The ID of the Amazon DataZone domain the metadata generation run of which you + * want to get.

+ */ + inline void SetDomainId(const char* value) { m_domainId.assign(value); } + + /** + *

The ID of the Amazon DataZone domain the metadata generation run of which you + * want to get.

+ */ + inline GetMetadataGenerationRunResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + + /** + *

The ID of the Amazon DataZone domain the metadata generation run of which you + * want to get.

+ */ + inline GetMetadataGenerationRunResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + + /** + *

The ID of the Amazon DataZone domain the metadata generation run of which you + * want to get.

+ */ + inline GetMetadataGenerationRunResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} + + + /** + *

The ID of the metadata generation run.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + + /** + *

The ID of the metadata generation run.

+ */ + inline void SetId(const Aws::String& value) { m_id = value; } + + /** + *

The ID of the metadata generation run.

+ */ + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + + /** + *

The ID of the metadata generation run.

+ */ + inline void SetId(const char* value) { m_id.assign(value); } + + /** + *

The ID of the metadata generation run.

+ */ + inline GetMetadataGenerationRunResult& WithId(const Aws::String& value) { SetId(value); return *this;} + + /** + *

The ID of the metadata generation run.

+ */ + inline GetMetadataGenerationRunResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + + /** + *

The ID of the metadata generation run.

+ */ + inline GetMetadataGenerationRunResult& WithId(const char* value) { SetId(value); return *this;} + + + /** + *

The ID of the project that owns the assets for which you're running metadata + * generation.

+ */ + inline const Aws::String& GetOwningProjectId() const{ return m_owningProjectId; } + + /** + *

The ID of the project that owns the assets for which you're running metadata + * generation.

+ */ + inline void SetOwningProjectId(const Aws::String& value) { m_owningProjectId = value; } + + /** + *

The ID of the project that owns the assets for which you're running metadata + * generation.

+ */ + inline void SetOwningProjectId(Aws::String&& value) { m_owningProjectId = std::move(value); } + + /** + *

The ID of the project that owns the assets for which you're running metadata + * generation.

+ */ + inline void SetOwningProjectId(const char* value) { m_owningProjectId.assign(value); } + + /** + *

The ID of the project that owns the assets for which you're running metadata + * generation.

+ */ + inline GetMetadataGenerationRunResult& WithOwningProjectId(const Aws::String& value) { SetOwningProjectId(value); return *this;} + + /** + *

The ID of the project that owns the assets for which you're running metadata + * generation.

+ */ + inline GetMetadataGenerationRunResult& WithOwningProjectId(Aws::String&& value) { SetOwningProjectId(std::move(value)); return *this;} + + /** + *

The ID of the project that owns the assets for which you're running metadata + * generation.

+ */ + inline GetMetadataGenerationRunResult& WithOwningProjectId(const char* value) { SetOwningProjectId(value); return *this;} + + + /** + *

The status of the metadata generation run.

+ */ + inline const MetadataGenerationRunStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the metadata generation run.

+ */ + inline void SetStatus(const MetadataGenerationRunStatus& value) { m_status = value; } + + /** + *

The status of the metadata generation run.

+ */ + inline void SetStatus(MetadataGenerationRunStatus&& value) { m_status = std::move(value); } + + /** + *

The status of the metadata generation run.

+ */ + inline GetMetadataGenerationRunResult& WithStatus(const MetadataGenerationRunStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the metadata generation run.

+ */ + inline GetMetadataGenerationRunResult& WithStatus(MetadataGenerationRunStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The asset for which you're generating metadata.

+ */ + inline const MetadataGenerationRunTarget& GetTarget() const{ return m_target; } + + /** + *

The asset for which you're generating metadata.

+ */ + inline void SetTarget(const MetadataGenerationRunTarget& value) { m_target = value; } + + /** + *

The asset for which you're generating metadata.

+ */ + inline void SetTarget(MetadataGenerationRunTarget&& value) { m_target = std::move(value); } + + /** + *

The asset for which you're generating metadata.

+ */ + inline GetMetadataGenerationRunResult& WithTarget(const MetadataGenerationRunTarget& value) { SetTarget(value); return *this;} + + /** + *

The asset for which you're generating metadata.

+ */ + inline GetMetadataGenerationRunResult& WithTarget(MetadataGenerationRunTarget&& value) { SetTarget(std::move(value)); return *this;} + + + /** + *

The type of metadata generation run.

+ */ + inline const MetadataGenerationRunType& GetType() const{ return m_type; } + + /** + *

The type of metadata generation run.

+ */ + inline void SetType(const MetadataGenerationRunType& value) { m_type = value; } + + /** + *

The type of metadata generation run.

+ */ + inline void SetType(MetadataGenerationRunType&& value) { m_type = std::move(value); } + + /** + *

The type of metadata generation run.

+ */ + inline GetMetadataGenerationRunResult& WithType(const MetadataGenerationRunType& value) { SetType(value); return *this;} + + /** + *

The type of metadata generation run.

+ */ + inline GetMetadataGenerationRunResult& WithType(MetadataGenerationRunType&& value) { SetType(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetMetadataGenerationRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetMetadataGenerationRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetMetadataGenerationRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_domainId; + + Aws::String m_id; + + Aws::String m_owningProjectId; + + MetadataGenerationRunStatus m_status; + + MetadataGenerationRunTarget m_target; + + MetadataGenerationRunType m_type; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetProjectResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetProjectResult.h index 05234c1c2cc..04a74c6f34f 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetProjectResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetProjectResult.h @@ -171,37 +171,44 @@ namespace Model /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline const Aws::Vector& GetFailureReasons() const{ return m_failureReasons; } /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline void SetFailureReasons(const Aws::Vector& value) { m_failureReasons = value; } /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline void SetFailureReasons(Aws::Vector&& value) { m_failureReasons = std::move(value); } /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline GetProjectResult& WithFailureReasons(const Aws::Vector& value) { SetFailureReasons(value); return *this;} /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline GetProjectResult& WithFailureReasons(Aws::Vector&& value) { SetFailureReasons(std::move(value)); return *this;} /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline GetProjectResult& AddFailureReasons(const ProjectDeletionError& value) { m_failureReasons.push_back(value); return *this; } /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline GetProjectResult& AddFailureReasons(ProjectDeletionError&& value) { m_failureReasons.push_back(std::move(value)); return *this; } @@ -346,27 +353,27 @@ namespace Model /** - *

Status of the project

+ *

The status of the project.

*/ inline const ProjectStatus& GetProjectStatus() const{ return m_projectStatus; } /** - *

Status of the project

+ *

The status of the project.

*/ inline void SetProjectStatus(const ProjectStatus& value) { m_projectStatus = value; } /** - *

Status of the project

+ *

The status of the project.

*/ inline void SetProjectStatus(ProjectStatus&& value) { m_projectStatus = std::move(value); } /** - *

Status of the project

+ *

The status of the project.

*/ inline GetProjectResult& WithProjectStatus(const ProjectStatus& value) { SetProjectStatus(value); return *this;} /** - *

Status of the project

+ *

The status of the project.

*/ inline GetProjectResult& WithProjectStatus(ProjectStatus&& value) { SetProjectStatus(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetSubscriptionResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetSubscriptionResult.h index 112f6d0bdf9..be3d807e8cc 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetSubscriptionResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetSubscriptionResult.h @@ -213,27 +213,32 @@ namespace Model /** - *

+ *

The details of the published asset for which the subscription grant is + * created.

*/ inline const SubscribedListing& GetSubscribedListing() const{ return m_subscribedListing; } /** - *

+ *

The details of the published asset for which the subscription grant is + * created.

*/ inline void SetSubscribedListing(const SubscribedListing& value) { m_subscribedListing = value; } /** - *

+ *

The details of the published asset for which the subscription grant is + * created.

*/ inline void SetSubscribedListing(SubscribedListing&& value) { m_subscribedListing = std::move(value); } /** - *

+ *

The details of the published asset for which the subscription grant is + * created.

*/ inline GetSubscriptionResult& WithSubscribedListing(const SubscribedListing& value) { SetSubscribedListing(value); return *this;} /** - *

+ *

The details of the published asset for which the subscription grant is + * created.

*/ inline GetSubscriptionResult& WithSubscribedListing(SubscribedListing&& value) { SetSubscribedListing(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListEnvironmentsRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListEnvironmentsRequest.h index 7bc3d5a359f..00174f131e2 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListEnvironmentsRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListEnvironmentsRequest.h @@ -290,42 +290,42 @@ namespace Model /** - *

+ *

The name of the environment.

*/ inline const Aws::String& GetName() const{ return m_name; } /** - *

+ *

The name of the environment.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** - *

+ *

The name of the environment.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** - *

+ *

The name of the environment.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** - *

+ *

The name of the environment.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** - *

+ *

The name of the environment.

*/ inline ListEnvironmentsRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** - *

+ *

The name of the environment.

*/ inline ListEnvironmentsRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** - *

+ *

The name of the environment.

*/ inline ListEnvironmentsRequest& WithName(const char* value) { SetName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListMetadataGenerationRunsRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListMetadataGenerationRunsRequest.h new file mode 100644 index 00000000000..1bd75df46b2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListMetadataGenerationRunsRequest.h @@ -0,0 +1,291 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace DataZone +{ +namespace Model +{ + + /** + */ + class ListMetadataGenerationRunsRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API ListMetadataGenerationRunsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListMetadataGenerationRuns"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The ID of the Amazon DataZone domain where you want to list metadata + * generation runs.

+ */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + + /** + *

The ID of the Amazon DataZone domain where you want to list metadata + * generation runs.

+ */ + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + + /** + *

The ID of the Amazon DataZone domain where you want to list metadata + * generation runs.

+ */ + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + + /** + *

The ID of the Amazon DataZone domain where you want to list metadata + * generation runs.

+ */ + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + + /** + *

The ID of the Amazon DataZone domain where you want to list metadata + * generation runs.

+ */ + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + + /** + *

The ID of the Amazon DataZone domain where you want to list metadata + * generation runs.

+ */ + inline ListMetadataGenerationRunsRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + + /** + *

The ID of the Amazon DataZone domain where you want to list metadata + * generation runs.

+ */ + inline ListMetadataGenerationRunsRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + + /** + *

The ID of the Amazon DataZone domain where you want to list metadata + * generation runs.

+ */ + inline ListMetadataGenerationRunsRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + + + /** + *

The maximum number of metadata generation runs to return in a single call to + * ListMetadataGenerationRuns. When the number of metadata generation runs to be + * listed is greater than the value of MaxResults, the response contains a + * NextToken value that you can use in a subsequent call to + * ListMetadataGenerationRuns to list the next set of revisions.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of metadata generation runs to return in a single call to + * ListMetadataGenerationRuns. When the number of metadata generation runs to be + * listed is greater than the value of MaxResults, the response contains a + * NextToken value that you can use in a subsequent call to + * ListMetadataGenerationRuns to list the next set of revisions.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of metadata generation runs to return in a single call to + * ListMetadataGenerationRuns. When the number of metadata generation runs to be + * listed is greater than the value of MaxResults, the response contains a + * NextToken value that you can use in a subsequent call to + * ListMetadataGenerationRuns to list the next set of revisions.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of metadata generation runs to return in a single call to + * ListMetadataGenerationRuns. When the number of metadata generation runs to be + * listed is greater than the value of MaxResults, the response contains a + * NextToken value that you can use in a subsequent call to + * ListMetadataGenerationRuns to list the next set of revisions.

+ */ + inline ListMetadataGenerationRunsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

When the number of metadata generation runs is greater than the default value + * for the MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of metadata generation runs, the + * response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to ListMetadataGenerationRuns to list the + * next set of revisions.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

When the number of metadata generation runs is greater than the default value + * for the MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of metadata generation runs, the + * response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to ListMetadataGenerationRuns to list the + * next set of revisions.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

When the number of metadata generation runs is greater than the default value + * for the MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of metadata generation runs, the + * response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to ListMetadataGenerationRuns to list the + * next set of revisions.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

When the number of metadata generation runs is greater than the default value + * for the MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of metadata generation runs, the + * response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to ListMetadataGenerationRuns to list the + * next set of revisions.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

When the number of metadata generation runs is greater than the default value + * for the MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of metadata generation runs, the + * response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to ListMetadataGenerationRuns to list the + * next set of revisions.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

When the number of metadata generation runs is greater than the default value + * for the MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of metadata generation runs, the + * response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to ListMetadataGenerationRuns to list the + * next set of revisions.

+ */ + inline ListMetadataGenerationRunsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

When the number of metadata generation runs is greater than the default value + * for the MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of metadata generation runs, the + * response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to ListMetadataGenerationRuns to list the + * next set of revisions.

+ */ + inline ListMetadataGenerationRunsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

When the number of metadata generation runs is greater than the default value + * for the MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of metadata generation runs, the + * response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to ListMetadataGenerationRuns to list the + * next set of revisions.

+ */ + inline ListMetadataGenerationRunsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The status of the metadata generation runs.

+ */ + inline const MetadataGenerationRunStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the metadata generation runs.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The status of the metadata generation runs.

+ */ + inline void SetStatus(const MetadataGenerationRunStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The status of the metadata generation runs.

+ */ + inline void SetStatus(MetadataGenerationRunStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The status of the metadata generation runs.

+ */ + inline ListMetadataGenerationRunsRequest& WithStatus(const MetadataGenerationRunStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the metadata generation runs.

+ */ + inline ListMetadataGenerationRunsRequest& WithStatus(MetadataGenerationRunStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The type of the metadata generation runs.

+ */ + inline const MetadataGenerationRunType& GetType() const{ return m_type; } + + /** + *

The type of the metadata generation runs.

+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *

The type of the metadata generation runs.

+ */ + inline void SetType(const MetadataGenerationRunType& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *

The type of the metadata generation runs.

+ */ + inline void SetType(MetadataGenerationRunType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *

The type of the metadata generation runs.

+ */ + inline ListMetadataGenerationRunsRequest& WithType(const MetadataGenerationRunType& value) { SetType(value); return *this;} + + /** + *

The type of the metadata generation runs.

+ */ + inline ListMetadataGenerationRunsRequest& WithType(MetadataGenerationRunType&& value) { SetType(std::move(value)); return *this;} + + private: + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + MetadataGenerationRunStatus m_status; + bool m_statusHasBeenSet = false; + + MetadataGenerationRunType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListMetadataGenerationRunsResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListMetadataGenerationRunsResult.h new file mode 100644 index 00000000000..10797df8f0c --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListMetadataGenerationRunsResult.h @@ -0,0 +1,176 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + class ListMetadataGenerationRunsResult + { + public: + AWS_DATAZONE_API ListMetadataGenerationRunsResult(); + AWS_DATAZONE_API ListMetadataGenerationRunsResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API ListMetadataGenerationRunsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The results of the ListMetadataGenerationRuns action.

+ */ + inline const Aws::Vector& GetItems() const{ return m_items; } + + /** + *

The results of the ListMetadataGenerationRuns action.

+ */ + inline void SetItems(const Aws::Vector& value) { m_items = value; } + + /** + *

The results of the ListMetadataGenerationRuns action.

+ */ + inline void SetItems(Aws::Vector&& value) { m_items = std::move(value); } + + /** + *

The results of the ListMetadataGenerationRuns action.

+ */ + inline ListMetadataGenerationRunsResult& WithItems(const Aws::Vector& value) { SetItems(value); return *this;} + + /** + *

The results of the ListMetadataGenerationRuns action.

+ */ + inline ListMetadataGenerationRunsResult& WithItems(Aws::Vector&& value) { SetItems(std::move(value)); return *this;} + + /** + *

The results of the ListMetadataGenerationRuns action.

+ */ + inline ListMetadataGenerationRunsResult& AddItems(const MetadataGenerationRunItem& value) { m_items.push_back(value); return *this; } + + /** + *

The results of the ListMetadataGenerationRuns action.

+ */ + inline ListMetadataGenerationRunsResult& AddItems(MetadataGenerationRunItem&& value) { m_items.push_back(std::move(value)); return *this; } + + + /** + *

When the number of metadata generation runs is greater than the default value + * for the MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of metadata generation runs, the + * response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to ListMetadataGenerationRuns to list the + * next set of revisions.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

When the number of metadata generation runs is greater than the default value + * for the MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of metadata generation runs, the + * response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to ListMetadataGenerationRuns to list the + * next set of revisions.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

When the number of metadata generation runs is greater than the default value + * for the MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of metadata generation runs, the + * response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to ListMetadataGenerationRuns to list the + * next set of revisions.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

When the number of metadata generation runs is greater than the default value + * for the MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of metadata generation runs, the + * response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to ListMetadataGenerationRuns to list the + * next set of revisions.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

When the number of metadata generation runs is greater than the default value + * for the MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of metadata generation runs, the + * response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to ListMetadataGenerationRuns to list the + * next set of revisions.

+ */ + inline ListMetadataGenerationRunsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

When the number of metadata generation runs is greater than the default value + * for the MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of metadata generation runs, the + * response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to ListMetadataGenerationRuns to list the + * next set of revisions.

+ */ + inline ListMetadataGenerationRunsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

When the number of metadata generation runs is greater than the default value + * for the MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of metadata generation runs, the + * response includes a pagination token named NextToken. You can specify this + * NextToken value in a subsequent call to ListMetadataGenerationRuns to list the + * next set of revisions.

+ */ + inline ListMetadataGenerationRunsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListMetadataGenerationRunsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListMetadataGenerationRunsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListMetadataGenerationRunsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_items; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListProjectsRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListProjectsRequest.h index a06b413f24d..cc0fffbc28c 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListProjectsRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListProjectsRequest.h @@ -158,42 +158,42 @@ namespace Model /** - *

+ *

The name of the project.

*/ inline const Aws::String& GetName() const{ return m_name; } /** - *

+ *

The name of the project.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** - *

+ *

The name of the project.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** - *

+ *

The name of the project.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** - *

+ *

The name of the project.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** - *

+ *

The name of the project.

*/ inline ListProjectsRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** - *

+ *

The name of the project.

*/ inline ListProjectsRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** - *

+ *

The name of the project.

*/ inline ListProjectsRequest& WithName(const char* value) { SetName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationRunItem.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationRunItem.h new file mode 100644 index 00000000000..85a3beb7183 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationRunItem.h @@ -0,0 +1,376 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

The metadata generation run.

See Also:

AWS + * API Reference

+ */ + class MetadataGenerationRunItem + { + public: + AWS_DATAZONE_API MetadataGenerationRunItem(); + AWS_DATAZONE_API MetadataGenerationRunItem(Aws::Utils::Json::JsonView jsonValue); + AWS_DATAZONE_API MetadataGenerationRunItem& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The timestamp at which the metadata generation run was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The timestamp at which the metadata generation run was created.

+ */ + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + + /** + *

The timestamp at which the metadata generation run was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + + /** + *

The timestamp at which the metadata generation run was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + + /** + *

The timestamp at which the metadata generation run was created.

+ */ + inline MetadataGenerationRunItem& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The timestamp at which the metadata generation run was created.

+ */ + inline MetadataGenerationRunItem& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user who created the metadata generation run.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user who created the metadata generation run.

+ */ + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + + /** + *

The user who created the metadata generation run.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + + /** + *

The user who created the metadata generation run.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + + /** + *

The user who created the metadata generation run.

+ */ + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + + /** + *

The user who created the metadata generation run.

+ */ + inline MetadataGenerationRunItem& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user who created the metadata generation run.

+ */ + inline MetadataGenerationRunItem& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user who created the metadata generation run.

+ */ + inline MetadataGenerationRunItem& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run was + * created.

+ */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run was + * created.

+ */ + inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run was + * created.

+ */ + inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run was + * created.

+ */ + inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run was + * created.

+ */ + inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run was + * created.

+ */ + inline MetadataGenerationRunItem& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run was + * created.

+ */ + inline MetadataGenerationRunItem& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run was + * created.

+ */ + inline MetadataGenerationRunItem& WithDomainId(const char* value) { SetDomainId(value); return *this;} + + + /** + *

The ID of the metadata generation run.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + + /** + *

The ID of the metadata generation run.

+ */ + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + + /** + *

The ID of the metadata generation run.

+ */ + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + + /** + *

The ID of the metadata generation run.

+ */ + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + + /** + *

The ID of the metadata generation run.

+ */ + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + + /** + *

The ID of the metadata generation run.

+ */ + inline MetadataGenerationRunItem& WithId(const Aws::String& value) { SetId(value); return *this;} + + /** + *

The ID of the metadata generation run.

+ */ + inline MetadataGenerationRunItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + + /** + *

The ID of the metadata generation run.

+ */ + inline MetadataGenerationRunItem& WithId(const char* value) { SetId(value); return *this;} + + + /** + *

The ID of the project that owns the asset for which the metadata generation + * was ran.

+ */ + inline const Aws::String& GetOwningProjectId() const{ return m_owningProjectId; } + + /** + *

The ID of the project that owns the asset for which the metadata generation + * was ran.

+ */ + inline bool OwningProjectIdHasBeenSet() const { return m_owningProjectIdHasBeenSet; } + + /** + *

The ID of the project that owns the asset for which the metadata generation + * was ran.

+ */ + inline void SetOwningProjectId(const Aws::String& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = value; } + + /** + *

The ID of the project that owns the asset for which the metadata generation + * was ran.

+ */ + inline void SetOwningProjectId(Aws::String&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::move(value); } + + /** + *

The ID of the project that owns the asset for which the metadata generation + * was ran.

+ */ + inline void SetOwningProjectId(const char* value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId.assign(value); } + + /** + *

The ID of the project that owns the asset for which the metadata generation + * was ran.

+ */ + inline MetadataGenerationRunItem& WithOwningProjectId(const Aws::String& value) { SetOwningProjectId(value); return *this;} + + /** + *

The ID of the project that owns the asset for which the metadata generation + * was ran.

+ */ + inline MetadataGenerationRunItem& WithOwningProjectId(Aws::String&& value) { SetOwningProjectId(std::move(value)); return *this;} + + /** + *

The ID of the project that owns the asset for which the metadata generation + * was ran.

+ */ + inline MetadataGenerationRunItem& WithOwningProjectId(const char* value) { SetOwningProjectId(value); return *this;} + + + /** + *

The status of the metadata generation run.

+ */ + inline const MetadataGenerationRunStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the metadata generation run.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The status of the metadata generation run.

+ */ + inline void SetStatus(const MetadataGenerationRunStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The status of the metadata generation run.

+ */ + inline void SetStatus(MetadataGenerationRunStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The status of the metadata generation run.

+ */ + inline MetadataGenerationRunItem& WithStatus(const MetadataGenerationRunStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the metadata generation run.

+ */ + inline MetadataGenerationRunItem& WithStatus(MetadataGenerationRunStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The asset for which metadata was generated.

+ */ + inline const MetadataGenerationRunTarget& GetTarget() const{ return m_target; } + + /** + *

The asset for which metadata was generated.

+ */ + inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; } + + /** + *

The asset for which metadata was generated.

+ */ + inline void SetTarget(const MetadataGenerationRunTarget& value) { m_targetHasBeenSet = true; m_target = value; } + + /** + *

The asset for which metadata was generated.

+ */ + inline void SetTarget(MetadataGenerationRunTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); } + + /** + *

The asset for which metadata was generated.

+ */ + inline MetadataGenerationRunItem& WithTarget(const MetadataGenerationRunTarget& value) { SetTarget(value); return *this;} + + /** + *

The asset for which metadata was generated.

+ */ + inline MetadataGenerationRunItem& WithTarget(MetadataGenerationRunTarget&& value) { SetTarget(std::move(value)); return *this;} + + + /** + *

The type of the metadata generation run.

+ */ + inline const MetadataGenerationRunType& GetType() const{ return m_type; } + + /** + *

The type of the metadata generation run.

+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *

The type of the metadata generation run.

+ */ + inline void SetType(const MetadataGenerationRunType& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *

The type of the metadata generation run.

+ */ + inline void SetType(MetadataGenerationRunType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *

The type of the metadata generation run.

+ */ + inline MetadataGenerationRunItem& WithType(const MetadataGenerationRunType& value) { SetType(value); return *this;} + + /** + *

The type of the metadata generation run.

+ */ + inline MetadataGenerationRunItem& WithType(MetadataGenerationRunType&& value) { SetType(std::move(value)); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::String m_domainId; + bool m_domainIdHasBeenSet = false; + + Aws::String m_id; + bool m_idHasBeenSet = false; + + Aws::String m_owningProjectId; + bool m_owningProjectIdHasBeenSet = false; + + MetadataGenerationRunStatus m_status; + bool m_statusHasBeenSet = false; + + MetadataGenerationRunTarget m_target; + bool m_targetHasBeenSet = false; + + MetadataGenerationRunType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationRunStatus.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationRunStatus.h new file mode 100644 index 00000000000..332becb1a84 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationRunStatus.h @@ -0,0 +1,34 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class MetadataGenerationRunStatus + { + NOT_SET, + SUBMITTED, + IN_PROGRESS, + CANCELED, + SUCCEEDED, + FAILED + }; + +namespace MetadataGenerationRunStatusMapper +{ +AWS_DATAZONE_API MetadataGenerationRunStatus GetMetadataGenerationRunStatusForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForMetadataGenerationRunStatus(MetadataGenerationRunStatus value); +} // namespace MetadataGenerationRunStatusMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationRunTarget.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationRunTarget.h new file mode 100644 index 00000000000..8d582c8f10b --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationRunTarget.h @@ -0,0 +1,167 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

The asset for which metadata was generated.

See Also:

AWS + * API Reference

+ */ + class MetadataGenerationRunTarget + { + public: + AWS_DATAZONE_API MetadataGenerationRunTarget(); + AWS_DATAZONE_API MetadataGenerationRunTarget(Aws::Utils::Json::JsonView jsonValue); + AWS_DATAZONE_API MetadataGenerationRunTarget& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The ID of the metadata generation run's target.

+ */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + + /** + *

The ID of the metadata generation run's target.

+ */ + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + + /** + *

The ID of the metadata generation run's target.

+ */ + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + + /** + *

The ID of the metadata generation run's target.

+ */ + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + + /** + *

The ID of the metadata generation run's target.

+ */ + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + + /** + *

The ID of the metadata generation run's target.

+ */ + inline MetadataGenerationRunTarget& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + + /** + *

The ID of the metadata generation run's target.

+ */ + inline MetadataGenerationRunTarget& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + + /** + *

The ID of the metadata generation run's target.

+ */ + inline MetadataGenerationRunTarget& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + + + /** + *

The revision of the asset for which metadata was generated.

+ */ + inline const Aws::String& GetRevision() const{ return m_revision; } + + /** + *

The revision of the asset for which metadata was generated.

+ */ + inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; } + + /** + *

The revision of the asset for which metadata was generated.

+ */ + inline void SetRevision(const Aws::String& value) { m_revisionHasBeenSet = true; m_revision = value; } + + /** + *

The revision of the asset for which metadata was generated.

+ */ + inline void SetRevision(Aws::String&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); } + + /** + *

The revision of the asset for which metadata was generated.

+ */ + inline void SetRevision(const char* value) { m_revisionHasBeenSet = true; m_revision.assign(value); } + + /** + *

The revision of the asset for which metadata was generated.

+ */ + inline MetadataGenerationRunTarget& WithRevision(const Aws::String& value) { SetRevision(value); return *this;} + + /** + *

The revision of the asset for which metadata was generated.

+ */ + inline MetadataGenerationRunTarget& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;} + + /** + *

The revision of the asset for which metadata was generated.

+ */ + inline MetadataGenerationRunTarget& WithRevision(const char* value) { SetRevision(value); return *this;} + + + /** + *

The type of the asset for which metadata was generated.

+ */ + inline const MetadataGenerationTargetType& GetType() const{ return m_type; } + + /** + *

The type of the asset for which metadata was generated.

+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *

The type of the asset for which metadata was generated.

+ */ + inline void SetType(const MetadataGenerationTargetType& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *

The type of the asset for which metadata was generated.

+ */ + inline void SetType(MetadataGenerationTargetType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *

The type of the asset for which metadata was generated.

+ */ + inline MetadataGenerationRunTarget& WithType(const MetadataGenerationTargetType& value) { SetType(value); return *this;} + + /** + *

The type of the asset for which metadata was generated.

+ */ + inline MetadataGenerationRunTarget& WithType(MetadataGenerationTargetType&& value) { SetType(std::move(value)); return *this;} + + private: + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + + Aws::String m_revision; + bool m_revisionHasBeenSet = false; + + MetadataGenerationTargetType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationRunType.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationRunType.h new file mode 100644 index 00000000000..4f7c9a3a499 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationRunType.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class MetadataGenerationRunType + { + NOT_SET, + BUSINESS_DESCRIPTIONS + }; + +namespace MetadataGenerationRunTypeMapper +{ +AWS_DATAZONE_API MetadataGenerationRunType GetMetadataGenerationRunTypeForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForMetadataGenerationRunType(MetadataGenerationRunType value); +} // namespace MetadataGenerationRunTypeMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationTargetType.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationTargetType.h new file mode 100644 index 00000000000..f6775a67918 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataGenerationTargetType.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + enum class MetadataGenerationTargetType + { + NOT_SET, + ASSET + }; + +namespace MetadataGenerationTargetTypeMapper +{ +AWS_DATAZONE_API MetadataGenerationTargetType GetMetadataGenerationTargetTypeForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForMetadataGenerationTargetType(MetadataGenerationTargetType value); +} // namespace MetadataGenerationTargetTypeMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/Model.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/Model.h index 12d364a129f..5fffab06d0b 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/Model.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/Model.h @@ -24,7 +24,7 @@ namespace Model { /** - *

See Also:

The model of the API.

See Also:

AWS API * Reference

*/ @@ -38,42 +38,42 @@ namespace Model /** - *

+ *

Indicates the smithy model of the API.

*/ inline const Aws::String& GetSmithy() const{ return m_smithy; } /** - *

+ *

Indicates the smithy model of the API.

*/ inline bool SmithyHasBeenSet() const { return m_smithyHasBeenSet; } /** - *

+ *

Indicates the smithy model of the API.

*/ inline void SetSmithy(const Aws::String& value) { m_smithyHasBeenSet = true; m_smithy = value; } /** - *

+ *

Indicates the smithy model of the API.

*/ inline void SetSmithy(Aws::String&& value) { m_smithyHasBeenSet = true; m_smithy = std::move(value); } /** - *

+ *

Indicates the smithy model of the API.

*/ inline void SetSmithy(const char* value) { m_smithyHasBeenSet = true; m_smithy.assign(value); } /** - *

+ *

Indicates the smithy model of the API.

*/ inline Model& WithSmithy(const Aws::String& value) { SetSmithy(value); return *this;} /** - *

+ *

Indicates the smithy model of the API.

*/ inline Model& WithSmithy(Aws::String&& value) { SetSmithy(std::move(value)); return *this;} /** - *

+ *

Indicates the smithy model of the API.

*/ inline Model& WithSmithy(const char* value) { SetSmithy(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ProjectDeletionError.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ProjectDeletionError.h index 53008aa95ac..e57ab3cdb59 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ProjectDeletionError.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ProjectDeletionError.h @@ -24,7 +24,8 @@ namespace Model { /** - *

Error that occurred during project deletion

See Also:

Specifies the error message that is returned if the operation cannot be + * successfully completed.

See Also:

AWS * API Reference

*/ @@ -38,83 +39,83 @@ namespace Model /** - *

Project Deletion Error Code

+ *

The code of the project deletion error.

*/ inline const Aws::String& GetCode() const{ return m_code; } /** - *

Project Deletion Error Code

+ *

The code of the project deletion error.

*/ inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } /** - *

Project Deletion Error Code

+ *

The code of the project deletion error.

*/ inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; } /** - *

Project Deletion Error Code

+ *

The code of the project deletion error.

*/ inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } /** - *

Project Deletion Error Code

+ *

The code of the project deletion error.

*/ inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); } /** - *

Project Deletion Error Code

+ *

The code of the project deletion error.

*/ inline ProjectDeletionError& WithCode(const Aws::String& value) { SetCode(value); return *this;} /** - *

Project Deletion Error Code

+ *

The code of the project deletion error.

*/ inline ProjectDeletionError& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;} /** - *

Project Deletion Error Code

+ *

The code of the project deletion error.

*/ inline ProjectDeletionError& WithCode(const char* value) { SetCode(value); return *this;} /** - *

Project Deletion Error Message

+ *

The message of the project deletion error.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** - *

Project Deletion Error Message

+ *

The message of the project deletion error.

*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** - *

Project Deletion Error Message

+ *

The message of the project deletion error.

*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** - *

Project Deletion Error Message

+ *

The message of the project deletion error.

*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** - *

Project Deletion Error Message

+ *

The message of the project deletion error.

*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** - *

Project Deletion Error Message

+ *

The message of the project deletion error.

*/ inline ProjectDeletionError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** - *

Project Deletion Error Message

+ *

The message of the project deletion error.

*/ inline ProjectDeletionError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** - *

Project Deletion Error Message

+ *

The message of the project deletion error.

*/ inline ProjectDeletionError& WithMessage(const char* value) { SetMessage(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ProjectSummary.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ProjectSummary.h index 961eb06d299..1a9e2d4f8e9 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ProjectSummary.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ProjectSummary.h @@ -196,42 +196,50 @@ namespace Model /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline const Aws::Vector& GetFailureReasons() const{ return m_failureReasons; } /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline bool FailureReasonsHasBeenSet() const { return m_failureReasonsHasBeenSet; } /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline void SetFailureReasons(const Aws::Vector& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = value; } /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline void SetFailureReasons(Aws::Vector&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::move(value); } /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline ProjectSummary& WithFailureReasons(const Aws::Vector& value) { SetFailureReasons(value); return *this;} /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline ProjectSummary& WithFailureReasons(Aws::Vector&& value) { SetFailureReasons(std::move(value)); return *this;} /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline ProjectSummary& AddFailureReasons(const ProjectDeletionError& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.push_back(value); return *this; } /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline ProjectSummary& AddFailureReasons(ProjectDeletionError&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.push_back(std::move(value)); return *this; } @@ -319,32 +327,32 @@ namespace Model /** - *

Status of the project

+ *

The status of the project.

*/ inline const ProjectStatus& GetProjectStatus() const{ return m_projectStatus; } /** - *

Status of the project

+ *

The status of the project.

*/ inline bool ProjectStatusHasBeenSet() const { return m_projectStatusHasBeenSet; } /** - *

Status of the project

+ *

The status of the project.

*/ inline void SetProjectStatus(const ProjectStatus& value) { m_projectStatusHasBeenSet = true; m_projectStatus = value; } /** - *

Status of the project

+ *

The status of the project.

*/ inline void SetProjectStatus(ProjectStatus&& value) { m_projectStatusHasBeenSet = true; m_projectStatus = std::move(value); } /** - *

Status of the project

+ *

The status of the project.

*/ inline ProjectSummary& WithProjectStatus(const ProjectStatus& value) { SetProjectStatus(value); return *this;} /** - *

Status of the project

+ *

The status of the project.

*/ inline ProjectSummary& WithProjectStatus(ProjectStatus&& value) { SetProjectStatus(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RejectPredictionsRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RejectPredictionsRequest.h index 2e5d667f0cf..dc85cef4f66 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RejectPredictionsRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RejectPredictionsRequest.h @@ -174,114 +174,128 @@ namespace Model /** - *

+ *

Specifies the prediction (aka, the automatically generated piece of metadata) + * and the target (for example, a column name) that can be rejected.

*/ inline const Aws::Vector& GetRejectChoices() const{ return m_rejectChoices; } /** - *

+ *

Specifies the prediction (aka, the automatically generated piece of metadata) + * and the target (for example, a column name) that can be rejected.

*/ inline bool RejectChoicesHasBeenSet() const { return m_rejectChoicesHasBeenSet; } /** - *

+ *

Specifies the prediction (aka, the automatically generated piece of metadata) + * and the target (for example, a column name) that can be rejected.

*/ inline void SetRejectChoices(const Aws::Vector& value) { m_rejectChoicesHasBeenSet = true; m_rejectChoices = value; } /** - *

+ *

Specifies the prediction (aka, the automatically generated piece of metadata) + * and the target (for example, a column name) that can be rejected.

*/ inline void SetRejectChoices(Aws::Vector&& value) { m_rejectChoicesHasBeenSet = true; m_rejectChoices = std::move(value); } /** - *

+ *

Specifies the prediction (aka, the automatically generated piece of metadata) + * and the target (for example, a column name) that can be rejected.

*/ inline RejectPredictionsRequest& WithRejectChoices(const Aws::Vector& value) { SetRejectChoices(value); return *this;} /** - *

+ *

Specifies the prediction (aka, the automatically generated piece of metadata) + * and the target (for example, a column name) that can be rejected.

*/ inline RejectPredictionsRequest& WithRejectChoices(Aws::Vector&& value) { SetRejectChoices(std::move(value)); return *this;} /** - *

+ *

Specifies the prediction (aka, the automatically generated piece of metadata) + * and the target (for example, a column name) that can be rejected.

*/ inline RejectPredictionsRequest& AddRejectChoices(const RejectChoice& value) { m_rejectChoicesHasBeenSet = true; m_rejectChoices.push_back(value); return *this; } /** - *

+ *

Specifies the prediction (aka, the automatically generated piece of metadata) + * and the target (for example, a column name) that can be rejected.

*/ inline RejectPredictionsRequest& AddRejectChoices(RejectChoice&& value) { m_rejectChoicesHasBeenSet = true; m_rejectChoices.push_back(std::move(value)); return *this; } /** - *

+ *

Specifies the rule (or the conditions) under which a prediction can be + * rejected.

*/ inline const RejectRule& GetRejectRule() const{ return m_rejectRule; } /** - *

+ *

Specifies the rule (or the conditions) under which a prediction can be + * rejected.

*/ inline bool RejectRuleHasBeenSet() const { return m_rejectRuleHasBeenSet; } /** - *

+ *

Specifies the rule (or the conditions) under which a prediction can be + * rejected.

*/ inline void SetRejectRule(const RejectRule& value) { m_rejectRuleHasBeenSet = true; m_rejectRule = value; } /** - *

+ *

Specifies the rule (or the conditions) under which a prediction can be + * rejected.

*/ inline void SetRejectRule(RejectRule&& value) { m_rejectRuleHasBeenSet = true; m_rejectRule = std::move(value); } /** - *

+ *

Specifies the rule (or the conditions) under which a prediction can be + * rejected.

*/ inline RejectPredictionsRequest& WithRejectRule(const RejectRule& value) { SetRejectRule(value); return *this;} /** - *

+ *

Specifies the rule (or the conditions) under which a prediction can be + * rejected.

*/ inline RejectPredictionsRequest& WithRejectRule(RejectRule&& value) { SetRejectRule(std::move(value)); return *this;} /** - *

+ *

The revision that is to be made to the asset.

*/ inline const Aws::String& GetRevision() const{ return m_revision; } /** - *

+ *

The revision that is to be made to the asset.

*/ inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; } /** - *

+ *

The revision that is to be made to the asset.

*/ inline void SetRevision(const Aws::String& value) { m_revisionHasBeenSet = true; m_revision = value; } /** - *

+ *

The revision that is to be made to the asset.

*/ inline void SetRevision(Aws::String&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); } /** - *

+ *

The revision that is to be made to the asset.

*/ inline void SetRevision(const char* value) { m_revisionHasBeenSet = true; m_revision.assign(value); } /** - *

+ *

The revision that is to be made to the asset.

*/ inline RejectPredictionsRequest& WithRevision(const Aws::String& value) { SetRevision(value); return *this;} /** - *

+ *

The revision that is to be made to the asset.

*/ inline RejectPredictionsRequest& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;} /** - *

+ *

The revision that is to be made to the asset.

*/ inline RejectPredictionsRequest& WithRevision(const char* value) { SetRevision(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RejectPredictionsResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RejectPredictionsResult.h index c917fd94901..ee136015479 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RejectPredictionsResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RejectPredictionsResult.h @@ -33,109 +33,109 @@ namespace Model /** - *

+ *

The ID of the asset.

*/ inline const Aws::String& GetAssetId() const{ return m_assetId; } /** - *

+ *

The ID of the asset.

*/ inline void SetAssetId(const Aws::String& value) { m_assetId = value; } /** - *

+ *

The ID of the asset.

*/ inline void SetAssetId(Aws::String&& value) { m_assetId = std::move(value); } /** - *

+ *

The ID of the asset.

*/ inline void SetAssetId(const char* value) { m_assetId.assign(value); } /** - *

+ *

The ID of the asset.

*/ inline RejectPredictionsResult& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;} /** - *

+ *

The ID of the asset.

*/ inline RejectPredictionsResult& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;} /** - *

+ *

The ID of the asset.

*/ inline RejectPredictionsResult& WithAssetId(const char* value) { SetAssetId(value); return *this;} /** - *

+ *

The revision that is to be made to the asset.

*/ inline const Aws::String& GetAssetRevision() const{ return m_assetRevision; } /** - *

+ *

The revision that is to be made to the asset.

*/ inline void SetAssetRevision(const Aws::String& value) { m_assetRevision = value; } /** - *

+ *

The revision that is to be made to the asset.

*/ inline void SetAssetRevision(Aws::String&& value) { m_assetRevision = std::move(value); } /** - *

+ *

The revision that is to be made to the asset.

*/ inline void SetAssetRevision(const char* value) { m_assetRevision.assign(value); } /** - *

+ *

The revision that is to be made to the asset.

*/ inline RejectPredictionsResult& WithAssetRevision(const Aws::String& value) { SetAssetRevision(value); return *this;} /** - *

+ *

The revision that is to be made to the asset.

*/ inline RejectPredictionsResult& WithAssetRevision(Aws::String&& value) { SetAssetRevision(std::move(value)); return *this;} /** - *

+ *

The revision that is to be made to the asset.

*/ inline RejectPredictionsResult& WithAssetRevision(const char* value) { SetAssetRevision(value); return *this;} /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline void SetDomainId(const Aws::String& value) { m_domainId = value; } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline void SetDomainId(const char* value) { m_domainId.assign(value); } /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline RejectPredictionsResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline RejectPredictionsResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** - *

+ *

The ID of the Amazon DataZone domain.

*/ inline RejectPredictionsResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SearchListingsRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SearchListingsRequest.h index 032f5397e1c..be6370f8ca1 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SearchListingsRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SearchListingsRequest.h @@ -269,42 +269,42 @@ namespace Model /** - *

+ *

The details of the search.

*/ inline const Aws::Vector& GetSearchIn() const{ return m_searchIn; } /** - *

+ *

The details of the search.

*/ inline bool SearchInHasBeenSet() const { return m_searchInHasBeenSet; } /** - *

+ *

The details of the search.

*/ inline void SetSearchIn(const Aws::Vector& value) { m_searchInHasBeenSet = true; m_searchIn = value; } /** - *

+ *

The details of the search.

*/ inline void SetSearchIn(Aws::Vector&& value) { m_searchInHasBeenSet = true; m_searchIn = std::move(value); } /** - *

+ *

The details of the search.

*/ inline SearchListingsRequest& WithSearchIn(const Aws::Vector& value) { SetSearchIn(value); return *this;} /** - *

+ *

The details of the search.

*/ inline SearchListingsRequest& WithSearchIn(Aws::Vector&& value) { SetSearchIn(std::move(value)); return *this;} /** - *

+ *

The details of the search.

*/ inline SearchListingsRequest& AddSearchIn(const SearchInItem& value) { m_searchInHasBeenSet = true; m_searchIn.push_back(value); return *this; } /** - *

+ *

The details of the search.

*/ inline SearchListingsRequest& AddSearchIn(SearchInItem&& value) { m_searchInHasBeenSet = true; m_searchIn.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SearchRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SearchRequest.h index 5ab6d584192..c7122708eb0 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SearchRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SearchRequest.h @@ -311,42 +311,42 @@ namespace Model /** - *

+ *

The details of the search.

*/ inline const Aws::Vector& GetSearchIn() const{ return m_searchIn; } /** - *

+ *

The details of the search.

*/ inline bool SearchInHasBeenSet() const { return m_searchInHasBeenSet; } /** - *

+ *

The details of the search.

*/ inline void SetSearchIn(const Aws::Vector& value) { m_searchInHasBeenSet = true; m_searchIn = value; } /** - *

+ *

The details of the search.

*/ inline void SetSearchIn(Aws::Vector&& value) { m_searchInHasBeenSet = true; m_searchIn = std::move(value); } /** - *

+ *

The details of the search.

*/ inline SearchRequest& WithSearchIn(const Aws::Vector& value) { SetSearchIn(value); return *this;} /** - *

+ *

The details of the search.

*/ inline SearchRequest& WithSearchIn(Aws::Vector&& value) { SetSearchIn(std::move(value)); return *this;} /** - *

+ *

The details of the search.

*/ inline SearchRequest& AddSearchIn(const SearchInItem& value) { m_searchInHasBeenSet = true; m_searchIn.push_back(value); return *this; } /** - *

+ *

The details of the search.

*/ inline SearchRequest& AddSearchIn(SearchInItem&& value) { m_searchInHasBeenSet = true; m_searchIn.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SearchTypesRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SearchTypesRequest.h index 5e8ca745e93..3f51d76a921 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SearchTypesRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/SearchTypesRequest.h @@ -118,22 +118,22 @@ namespace Model /** - *

+ *

Specifies whether the search is managed.

*/ inline bool GetManaged() const{ return m_managed; } /** - *

+ *

Specifies whether the search is managed.

*/ inline bool ManagedHasBeenSet() const { return m_managedHasBeenSet; } /** - *

+ *

Specifies whether the search is managed.

*/ inline void SetManaged(bool value) { m_managedHasBeenSet = true; m_managed = value; } /** - *

+ *

Specifies whether the search is managed.

*/ inline SearchTypesRequest& WithManaged(bool value) { SetManaged(value); return *this;} @@ -257,42 +257,42 @@ namespace Model /** - *

+ *

The details of the search.

*/ inline const Aws::Vector& GetSearchIn() const{ return m_searchIn; } /** - *

+ *

The details of the search.

*/ inline bool SearchInHasBeenSet() const { return m_searchInHasBeenSet; } /** - *

+ *

The details of the search.

*/ inline void SetSearchIn(const Aws::Vector& value) { m_searchInHasBeenSet = true; m_searchIn = value; } /** - *

+ *

The details of the search.

*/ inline void SetSearchIn(Aws::Vector&& value) { m_searchInHasBeenSet = true; m_searchIn = std::move(value); } /** - *

+ *

The details of the search.

*/ inline SearchTypesRequest& WithSearchIn(const Aws::Vector& value) { SetSearchIn(value); return *this;} /** - *

+ *

The details of the search.

*/ inline SearchTypesRequest& WithSearchIn(Aws::Vector&& value) { SetSearchIn(std::move(value)); return *this;} /** - *

+ *

The details of the search.

*/ inline SearchTypesRequest& AddSearchIn(const SearchInItem& value) { m_searchInHasBeenSet = true; m_searchIn.push_back(value); return *this; } /** - *

+ *

The details of the search.

*/ inline SearchTypesRequest& AddSearchIn(SearchInItem&& value) { m_searchInHasBeenSet = true; m_searchIn.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/StartMetadataGenerationRunRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/StartMetadataGenerationRunRequest.h new file mode 100644 index 00000000000..6020d5cba6c --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/StartMetadataGenerationRunRequest.h @@ -0,0 +1,266 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + + /** + */ + class StartMetadataGenerationRunRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API StartMetadataGenerationRunRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "StartMetadataGenerationRun"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + + /** + *

A unique, case-sensitive identifier to ensure idempotency of the request. + * This field is automatically populated if not provided.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

A unique, case-sensitive identifier to ensure idempotency of the request. + * This field is automatically populated if not provided.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

A unique, case-sensitive identifier to ensure idempotency of the request. + * This field is automatically populated if not provided.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

A unique, case-sensitive identifier to ensure idempotency of the request. + * This field is automatically populated if not provided.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

A unique, case-sensitive identifier to ensure idempotency of the request. + * This field is automatically populated if not provided.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

A unique, case-sensitive identifier to ensure idempotency of the request. + * This field is automatically populated if not provided.

+ */ + inline StartMetadataGenerationRunRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

A unique, case-sensitive identifier to ensure idempotency of the request. + * This field is automatically populated if not provided.

+ */ + inline StartMetadataGenerationRunRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

A unique, case-sensitive identifier to ensure idempotency of the request. + * This field is automatically populated if not provided.

+ */ + inline StartMetadataGenerationRunRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The ID of the Amazon DataZone domain where you want to start a metadata + * generation run.

+ */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + + /** + *

The ID of the Amazon DataZone domain where you want to start a metadata + * generation run.

+ */ + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + + /** + *

The ID of the Amazon DataZone domain where you want to start a metadata + * generation run.

+ */ + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + + /** + *

The ID of the Amazon DataZone domain where you want to start a metadata + * generation run.

+ */ + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + + /** + *

The ID of the Amazon DataZone domain where you want to start a metadata + * generation run.

+ */ + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + + /** + *

The ID of the Amazon DataZone domain where you want to start a metadata + * generation run.

+ */ + inline StartMetadataGenerationRunRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + + /** + *

The ID of the Amazon DataZone domain where you want to start a metadata + * generation run.

+ */ + inline StartMetadataGenerationRunRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + + /** + *

The ID of the Amazon DataZone domain where you want to start a metadata + * generation run.

+ */ + inline StartMetadataGenerationRunRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + + + /** + *

The ID of the project that owns the asset for which you want to start a + * metadata generation run.

+ */ + inline const Aws::String& GetOwningProjectIdentifier() const{ return m_owningProjectIdentifier; } + + /** + *

The ID of the project that owns the asset for which you want to start a + * metadata generation run.

+ */ + inline bool OwningProjectIdentifierHasBeenSet() const { return m_owningProjectIdentifierHasBeenSet; } + + /** + *

The ID of the project that owns the asset for which you want to start a + * metadata generation run.

+ */ + inline void SetOwningProjectIdentifier(const Aws::String& value) { m_owningProjectIdentifierHasBeenSet = true; m_owningProjectIdentifier = value; } + + /** + *

The ID of the project that owns the asset for which you want to start a + * metadata generation run.

+ */ + inline void SetOwningProjectIdentifier(Aws::String&& value) { m_owningProjectIdentifierHasBeenSet = true; m_owningProjectIdentifier = std::move(value); } + + /** + *

The ID of the project that owns the asset for which you want to start a + * metadata generation run.

+ */ + inline void SetOwningProjectIdentifier(const char* value) { m_owningProjectIdentifierHasBeenSet = true; m_owningProjectIdentifier.assign(value); } + + /** + *

The ID of the project that owns the asset for which you want to start a + * metadata generation run.

+ */ + inline StartMetadataGenerationRunRequest& WithOwningProjectIdentifier(const Aws::String& value) { SetOwningProjectIdentifier(value); return *this;} + + /** + *

The ID of the project that owns the asset for which you want to start a + * metadata generation run.

+ */ + inline StartMetadataGenerationRunRequest& WithOwningProjectIdentifier(Aws::String&& value) { SetOwningProjectIdentifier(std::move(value)); return *this;} + + /** + *

The ID of the project that owns the asset for which you want to start a + * metadata generation run.

+ */ + inline StartMetadataGenerationRunRequest& WithOwningProjectIdentifier(const char* value) { SetOwningProjectIdentifier(value); return *this;} + + + /** + *

The asset for which you want to start a metadata generation run.

+ */ + inline const MetadataGenerationRunTarget& GetTarget() const{ return m_target; } + + /** + *

The asset for which you want to start a metadata generation run.

+ */ + inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; } + + /** + *

The asset for which you want to start a metadata generation run.

+ */ + inline void SetTarget(const MetadataGenerationRunTarget& value) { m_targetHasBeenSet = true; m_target = value; } + + /** + *

The asset for which you want to start a metadata generation run.

+ */ + inline void SetTarget(MetadataGenerationRunTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); } + + /** + *

The asset for which you want to start a metadata generation run.

+ */ + inline StartMetadataGenerationRunRequest& WithTarget(const MetadataGenerationRunTarget& value) { SetTarget(value); return *this;} + + /** + *

The asset for which you want to start a metadata generation run.

+ */ + inline StartMetadataGenerationRunRequest& WithTarget(MetadataGenerationRunTarget&& value) { SetTarget(std::move(value)); return *this;} + + + /** + *

The type of the metadata generation run.

+ */ + inline const MetadataGenerationRunType& GetType() const{ return m_type; } + + /** + *

The type of the metadata generation run.

+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *

The type of the metadata generation run.

+ */ + inline void SetType(const MetadataGenerationRunType& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *

The type of the metadata generation run.

+ */ + inline void SetType(MetadataGenerationRunType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *

The type of the metadata generation run.

+ */ + inline StartMetadataGenerationRunRequest& WithType(const MetadataGenerationRunType& value) { SetType(value); return *this;} + + /** + *

The type of the metadata generation run.

+ */ + inline StartMetadataGenerationRunRequest& WithType(MetadataGenerationRunType&& value) { SetType(std::move(value)); return *this;} + + private: + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_owningProjectIdentifier; + bool m_owningProjectIdentifierHasBeenSet = false; + + MetadataGenerationRunTarget m_target; + bool m_targetHasBeenSet = false; + + MetadataGenerationRunType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/StartMetadataGenerationRunResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/StartMetadataGenerationRunResult.h new file mode 100644 index 00000000000..898e1de2d01 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/StartMetadataGenerationRunResult.h @@ -0,0 +1,316 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + class StartMetadataGenerationRunResult + { + public: + AWS_DATAZONE_API StartMetadataGenerationRunResult(); + AWS_DATAZONE_API StartMetadataGenerationRunResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API StartMetadataGenerationRunResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The timestamp at which the metadata generation run was started.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The timestamp at which the metadata generation run was started.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + + /** + *

The timestamp at which the metadata generation run was started.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + + /** + *

The timestamp at which the metadata generation run was started.

+ */ + inline StartMetadataGenerationRunResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The timestamp at which the metadata generation run was started.

+ */ + inline StartMetadataGenerationRunResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The ID of the user who started the metadata generation run.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The ID of the user who started the metadata generation run.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + + /** + *

The ID of the user who started the metadata generation run.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + + /** + *

The ID of the user who started the metadata generation run.

+ */ + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + + /** + *

The ID of the user who started the metadata generation run.

+ */ + inline StartMetadataGenerationRunResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The ID of the user who started the metadata generation run.

+ */ + inline StartMetadataGenerationRunResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The ID of the user who started the metadata generation run.

+ */ + inline StartMetadataGenerationRunResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run was + * started.

+ */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run was + * started.

+ */ + inline void SetDomainId(const Aws::String& value) { m_domainId = value; } + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run was + * started.

+ */ + inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run was + * started.

+ */ + inline void SetDomainId(const char* value) { m_domainId.assign(value); } + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run was + * started.

+ */ + inline StartMetadataGenerationRunResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run was + * started.

+ */ + inline StartMetadataGenerationRunResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + + /** + *

The ID of the Amazon DataZone domain in which the metadata generation run was + * started.

+ */ + inline StartMetadataGenerationRunResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} + + + /** + *

The ID of the metadata generation run.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + + /** + *

The ID of the metadata generation run.

+ */ + inline void SetId(const Aws::String& value) { m_id = value; } + + /** + *

The ID of the metadata generation run.

+ */ + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + + /** + *

The ID of the metadata generation run.

+ */ + inline void SetId(const char* value) { m_id.assign(value); } + + /** + *

The ID of the metadata generation run.

+ */ + inline StartMetadataGenerationRunResult& WithId(const Aws::String& value) { SetId(value); return *this;} + + /** + *

The ID of the metadata generation run.

+ */ + inline StartMetadataGenerationRunResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + + /** + *

The ID of the metadata generation run.

+ */ + inline StartMetadataGenerationRunResult& WithId(const char* value) { SetId(value); return *this;} + + + /** + *

The ID of the project that owns the asset for which the metadata generation + * run was started.

+ */ + inline const Aws::String& GetOwningProjectId() const{ return m_owningProjectId; } + + /** + *

The ID of the project that owns the asset for which the metadata generation + * run was started.

+ */ + inline void SetOwningProjectId(const Aws::String& value) { m_owningProjectId = value; } + + /** + *

The ID of the project that owns the asset for which the metadata generation + * run was started.

+ */ + inline void SetOwningProjectId(Aws::String&& value) { m_owningProjectId = std::move(value); } + + /** + *

The ID of the project that owns the asset for which the metadata generation + * run was started.

+ */ + inline void SetOwningProjectId(const char* value) { m_owningProjectId.assign(value); } + + /** + *

The ID of the project that owns the asset for which the metadata generation + * run was started.

+ */ + inline StartMetadataGenerationRunResult& WithOwningProjectId(const Aws::String& value) { SetOwningProjectId(value); return *this;} + + /** + *

The ID of the project that owns the asset for which the metadata generation + * run was started.

+ */ + inline StartMetadataGenerationRunResult& WithOwningProjectId(Aws::String&& value) { SetOwningProjectId(std::move(value)); return *this;} + + /** + *

The ID of the project that owns the asset for which the metadata generation + * run was started.

+ */ + inline StartMetadataGenerationRunResult& WithOwningProjectId(const char* value) { SetOwningProjectId(value); return *this;} + + + /** + *

The status of the metadata generation run.

+ */ + inline const MetadataGenerationRunStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the metadata generation run.

+ */ + inline void SetStatus(const MetadataGenerationRunStatus& value) { m_status = value; } + + /** + *

The status of the metadata generation run.

+ */ + inline void SetStatus(MetadataGenerationRunStatus&& value) { m_status = std::move(value); } + + /** + *

The status of the metadata generation run.

+ */ + inline StartMetadataGenerationRunResult& WithStatus(const MetadataGenerationRunStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the metadata generation run.

+ */ + inline StartMetadataGenerationRunResult& WithStatus(MetadataGenerationRunStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The type of the metadata generation run.

+ */ + inline const MetadataGenerationRunType& GetType() const{ return m_type; } + + /** + *

The type of the metadata generation run.

+ */ + inline void SetType(const MetadataGenerationRunType& value) { m_type = value; } + + /** + *

The type of the metadata generation run.

+ */ + inline void SetType(MetadataGenerationRunType&& value) { m_type = std::move(value); } + + /** + *

The type of the metadata generation run.

+ */ + inline StartMetadataGenerationRunResult& WithType(const MetadataGenerationRunType& value) { SetType(value); return *this;} + + /** + *

The type of the metadata generation run.

+ */ + inline StartMetadataGenerationRunResult& WithType(MetadataGenerationRunType&& value) { SetType(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline StartMetadataGenerationRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline StartMetadataGenerationRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline StartMetadataGenerationRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_domainId; + + Aws::String m_id; + + Aws::String m_owningProjectId; + + MetadataGenerationRunStatus m_status; + + MetadataGenerationRunType m_type; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectResult.h index 6f24f165eb9..1cfcbf9070d 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateProjectResult.h @@ -178,37 +178,44 @@ namespace Model /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline const Aws::Vector& GetFailureReasons() const{ return m_failureReasons; } /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline void SetFailureReasons(const Aws::Vector& value) { m_failureReasons = value; } /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline void SetFailureReasons(Aws::Vector&& value) { m_failureReasons = std::move(value); } /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline UpdateProjectResult& WithFailureReasons(const Aws::Vector& value) { SetFailureReasons(value); return *this;} /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline UpdateProjectResult& WithFailureReasons(Aws::Vector&& value) { SetFailureReasons(std::move(value)); return *this;} /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline UpdateProjectResult& AddFailureReasons(const ProjectDeletionError& value) { m_failureReasons.push_back(value); return *this; } /** - *

Reasons for failed project deletion

+ *

Specifies the error message that is returned if the operation cannot be + * successfully completed.

*/ inline UpdateProjectResult& AddFailureReasons(ProjectDeletionError&& value) { m_failureReasons.push_back(std::move(value)); return *this; } @@ -353,27 +360,27 @@ namespace Model /** - *

Status of the project

+ *

The status of the project.

*/ inline const ProjectStatus& GetProjectStatus() const{ return m_projectStatus; } /** - *

Status of the project

+ *

The status of the project.

*/ inline void SetProjectStatus(const ProjectStatus& value) { m_projectStatus = value; } /** - *

Status of the project

+ *

The status of the project.

*/ inline void SetProjectStatus(ProjectStatus&& value) { m_projectStatus = std::move(value); } /** - *

Status of the project

+ *

The status of the project.

*/ inline UpdateProjectResult& WithProjectStatus(const ProjectStatus& value) { SetProjectStatus(value); return *this;} /** - *

Status of the project

+ *

The status of the project.

*/ inline UpdateProjectResult& WithProjectStatus(ProjectStatus&& value) { SetProjectStatus(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateSubscriptionGrantStatusResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateSubscriptionGrantStatusResult.h index b9136fe813f..e63fde5bd50 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateSubscriptionGrantStatusResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateSubscriptionGrantStatusResult.h @@ -38,37 +38,37 @@ namespace Model /** - *

+ *

The details of the asset for which the subscription grant is created.

*/ inline const Aws::Vector& GetAssets() const{ return m_assets; } /** - *

+ *

The details of the asset for which the subscription grant is created.

*/ inline void SetAssets(const Aws::Vector& value) { m_assets = value; } /** - *

+ *

The details of the asset for which the subscription grant is created.

*/ inline void SetAssets(Aws::Vector&& value) { m_assets = std::move(value); } /** - *

+ *

The details of the asset for which the subscription grant is created.

*/ inline UpdateSubscriptionGrantStatusResult& WithAssets(const Aws::Vector& value) { SetAssets(value); return *this;} /** - *

+ *

The details of the asset for which the subscription grant is created.

*/ inline UpdateSubscriptionGrantStatusResult& WithAssets(Aws::Vector&& value) { SetAssets(std::move(value)); return *this;} /** - *

+ *

The details of the asset for which the subscription grant is created.

*/ inline UpdateSubscriptionGrantStatusResult& AddAssets(const SubscribedAsset& value) { m_assets.push_back(value); return *this; } /** - *

+ *

The details of the asset for which the subscription grant is created.

*/ inline UpdateSubscriptionGrantStatusResult& AddAssets(SubscribedAsset&& value) { m_assets.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-datazone/source/DataZoneClient.cpp b/generated/src/aws-cpp-sdk-datazone/source/DataZoneClient.cpp index e565f16e0de..180394fee15 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/DataZoneClient.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/DataZoneClient.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -73,6 +74,7 @@ #include #include #include +#include #include #include #include @@ -88,6 +90,7 @@ #include #include #include +#include #include #include #include @@ -106,6 +109,7 @@ #include #include #include +#include #include #include #include @@ -343,6 +347,47 @@ AcceptSubscriptionRequestOutcome DataZoneClient::AcceptSubscriptionRequest(const {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CancelMetadataGenerationRunOutcome DataZoneClient::CancelMetadataGenerationRun(const CancelMetadataGenerationRunRequest& request) const +{ + AWS_OPERATION_GUARD(CancelMetadataGenerationRun); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CancelMetadataGenerationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CancelMetadataGenerationRun", "Required field: DomainIdentifier, is not set"); + return CancelMetadataGenerationRunOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + if (!request.IdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CancelMetadataGenerationRun", "Required field: Identifier, is not set"); + return CancelMetadataGenerationRunOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Identifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CancelMetadataGenerationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CancelMetadataGenerationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CancelMetadataGenerationRun", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CancelMetadataGenerationRunOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CancelMetadataGenerationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/metadata-generation-runs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/cancel"); + return CancelMetadataGenerationRunOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + CancelSubscriptionOutcome DataZoneClient::CancelSubscription(const CancelSubscriptionRequest& request) const { AWS_OPERATION_GUARD(CancelSubscription); @@ -2238,6 +2283,46 @@ GetListingOutcome DataZoneClient::GetListing(const GetListingRequest& request) c {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetMetadataGenerationRunOutcome DataZoneClient::GetMetadataGenerationRun(const GetMetadataGenerationRunRequest& request) const +{ + AWS_OPERATION_GUARD(GetMetadataGenerationRun); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetMetadataGenerationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetMetadataGenerationRun", "Required field: DomainIdentifier, is not set"); + return GetMetadataGenerationRunOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + if (!request.IdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetMetadataGenerationRun", "Required field: Identifier, is not set"); + return GetMetadataGenerationRunOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Identifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetMetadataGenerationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetMetadataGenerationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetMetadataGenerationRun", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetMetadataGenerationRunOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetMetadataGenerationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/metadata-generation-runs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetIdentifier()); + return GetMetadataGenerationRunOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + GetProjectOutcome DataZoneClient::GetProject(const GetProjectRequest& request) const { AWS_OPERATION_GUARD(GetProject); @@ -2815,6 +2900,40 @@ ListEnvironmentsOutcome DataZoneClient::ListEnvironments(const ListEnvironmentsR {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListMetadataGenerationRunsOutcome DataZoneClient::ListMetadataGenerationRuns(const ListMetadataGenerationRunsRequest& request) const +{ + AWS_OPERATION_GUARD(ListMetadataGenerationRuns); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListMetadataGenerationRuns, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListMetadataGenerationRuns", "Required field: DomainIdentifier, is not set"); + return ListMetadataGenerationRunsOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListMetadataGenerationRuns, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListMetadataGenerationRuns, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListMetadataGenerationRuns", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListMetadataGenerationRunsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListMetadataGenerationRuns, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/metadata-generation-runs"); + return ListMetadataGenerationRunsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ListNotificationsOutcome DataZoneClient::ListNotifications(const ListNotificationsRequest& request) const { AWS_OPERATION_GUARD(ListNotifications); @@ -3479,6 +3598,40 @@ StartDataSourceRunOutcome DataZoneClient::StartDataSourceRun(const StartDataSour {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +StartMetadataGenerationRunOutcome DataZoneClient::StartMetadataGenerationRun(const StartMetadataGenerationRunRequest& request) const +{ + AWS_OPERATION_GUARD(StartMetadataGenerationRun); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartMetadataGenerationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("StartMetadataGenerationRun", "Required field: DomainIdentifier, is not set"); + return StartMetadataGenerationRunOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartMetadataGenerationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartMetadataGenerationRun, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartMetadataGenerationRun", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> StartMetadataGenerationRunOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, StartMetadataGenerationRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/metadata-generation-runs"); + return StartMetadataGenerationRunOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + TagResourceOutcome DataZoneClient::TagResource(const TagResourceRequest& request) const { AWS_OPERATION_GUARD(TagResource); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AcceptChoice.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AcceptChoice.cpp index b4a3bac89cc..77c8fd8847d 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/AcceptChoice.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/AcceptChoice.cpp @@ -19,6 +19,7 @@ namespace Model { AcceptChoice::AcceptChoice() : + m_editedValueHasBeenSet(false), m_predictionChoice(0), m_predictionChoiceHasBeenSet(false), m_predictionTargetHasBeenSet(false) @@ -26,6 +27,7 @@ AcceptChoice::AcceptChoice() : } AcceptChoice::AcceptChoice(JsonView jsonValue) : + m_editedValueHasBeenSet(false), m_predictionChoice(0), m_predictionChoiceHasBeenSet(false), m_predictionTargetHasBeenSet(false) @@ -35,6 +37,13 @@ AcceptChoice::AcceptChoice(JsonView jsonValue) : AcceptChoice& AcceptChoice::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("editedValue")) + { + m_editedValue = jsonValue.GetString("editedValue"); + + m_editedValueHasBeenSet = true; + } + if(jsonValue.ValueExists("predictionChoice")) { m_predictionChoice = jsonValue.GetInteger("predictionChoice"); @@ -56,6 +65,12 @@ JsonValue AcceptChoice::Jsonize() const { JsonValue payload; + if(m_editedValueHasBeenSet) + { + payload.WithString("editedValue", m_editedValue); + + } + if(m_predictionChoiceHasBeenSet) { payload.WithInteger("predictionChoice", m_predictionChoice); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/CancelMetadataGenerationRunRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/CancelMetadataGenerationRunRequest.cpp new file mode 100644 index 00000000000..9b985cd83e9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/CancelMetadataGenerationRunRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CancelMetadataGenerationRunRequest::CancelMetadataGenerationRunRequest() : + m_domainIdentifierHasBeenSet(false), + m_identifierHasBeenSet(false) +{ +} + +Aws::String CancelMetadataGenerationRunRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/CancelMetadataGenerationRunResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/CancelMetadataGenerationRunResult.cpp new file mode 100644 index 00000000000..8a5ddade927 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/CancelMetadataGenerationRunResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CancelMetadataGenerationRunResult::CancelMetadataGenerationRunResult() +{ +} + +CancelMetadataGenerationRunResult::CancelMetadataGenerationRunResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CancelMetadataGenerationRunResult& CancelMetadataGenerationRunResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GetMetadataGenerationRunRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GetMetadataGenerationRunRequest.cpp new file mode 100644 index 00000000000..37d648c7a30 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GetMetadataGenerationRunRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetMetadataGenerationRunRequest::GetMetadataGenerationRunRequest() : + m_domainIdentifierHasBeenSet(false), + m_identifierHasBeenSet(false) +{ +} + +Aws::String GetMetadataGenerationRunRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GetMetadataGenerationRunResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GetMetadataGenerationRunResult.cpp new file mode 100644 index 00000000000..01efed4ea0e --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GetMetadataGenerationRunResult.cpp @@ -0,0 +1,94 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetMetadataGenerationRunResult::GetMetadataGenerationRunResult() : + m_status(MetadataGenerationRunStatus::NOT_SET), + m_type(MetadataGenerationRunType::NOT_SET) +{ +} + +GetMetadataGenerationRunResult::GetMetadataGenerationRunResult(const Aws::AmazonWebServiceResult& result) : + m_status(MetadataGenerationRunStatus::NOT_SET), + m_type(MetadataGenerationRunType::NOT_SET) +{ + *this = result; +} + +GetMetadataGenerationRunResult& GetMetadataGenerationRunResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetDouble("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + } + + if(jsonValue.ValueExists("id")) + { + m_id = jsonValue.GetString("id"); + + } + + if(jsonValue.ValueExists("owningProjectId")) + { + m_owningProjectId = jsonValue.GetString("owningProjectId"); + + } + + if(jsonValue.ValueExists("status")) + { + m_status = MetadataGenerationRunStatusMapper::GetMetadataGenerationRunStatusForName(jsonValue.GetString("status")); + + } + + if(jsonValue.ValueExists("target")) + { + m_target = jsonValue.GetObject("target"); + + } + + if(jsonValue.ValueExists("type")) + { + m_type = MetadataGenerationRunTypeMapper::GetMetadataGenerationRunTypeForName(jsonValue.GetString("type")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ListMetadataGenerationRunsRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ListMetadataGenerationRunsRequest.cpp new file mode 100644 index 00000000000..9e87efdc6bb --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ListMetadataGenerationRunsRequest.cpp @@ -0,0 +1,69 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListMetadataGenerationRunsRequest::ListMetadataGenerationRunsRequest() : + m_domainIdentifierHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_status(MetadataGenerationRunStatus::NOT_SET), + m_statusHasBeenSet(false), + m_type(MetadataGenerationRunType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +Aws::String ListMetadataGenerationRunsRequest::SerializePayload() const +{ + return {}; +} + +void ListMetadataGenerationRunsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_statusHasBeenSet) + { + ss << MetadataGenerationRunStatusMapper::GetNameForMetadataGenerationRunStatus(m_status); + uri.AddQueryStringParameter("status", ss.str()); + ss.str(""); + } + + if(m_typeHasBeenSet) + { + ss << MetadataGenerationRunTypeMapper::GetNameForMetadataGenerationRunType(m_type); + uri.AddQueryStringParameter("type", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ListMetadataGenerationRunsResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ListMetadataGenerationRunsResult.cpp new file mode 100644 index 00000000000..3135f23689c --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ListMetadataGenerationRunsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListMetadataGenerationRunsResult::ListMetadataGenerationRunsResult() +{ +} + +ListMetadataGenerationRunsResult::ListMetadataGenerationRunsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListMetadataGenerationRunsResult& ListMetadataGenerationRunsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("items")) + { + Aws::Utils::Array itemsJsonList = jsonValue.GetArray("items"); + for(unsigned itemsIndex = 0; itemsIndex < itemsJsonList.GetLength(); ++itemsIndex) + { + m_items.push_back(itemsJsonList[itemsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationRunItem.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationRunItem.cpp new file mode 100644 index 00000000000..f8f8ecff440 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationRunItem.cpp @@ -0,0 +1,165 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +MetadataGenerationRunItem::MetadataGenerationRunItem() : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_domainIdHasBeenSet(false), + m_idHasBeenSet(false), + m_owningProjectIdHasBeenSet(false), + m_status(MetadataGenerationRunStatus::NOT_SET), + m_statusHasBeenSet(false), + m_targetHasBeenSet(false), + m_type(MetadataGenerationRunType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +MetadataGenerationRunItem::MetadataGenerationRunItem(JsonView jsonValue) : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_domainIdHasBeenSet(false), + m_idHasBeenSet(false), + m_owningProjectIdHasBeenSet(false), + m_status(MetadataGenerationRunStatus::NOT_SET), + m_statusHasBeenSet(false), + m_targetHasBeenSet(false), + m_type(MetadataGenerationRunType::NOT_SET), + m_typeHasBeenSet(false) +{ + *this = jsonValue; +} + +MetadataGenerationRunItem& MetadataGenerationRunItem::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetDouble("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + m_domainIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("id")) + { + m_id = jsonValue.GetString("id"); + + m_idHasBeenSet = true; + } + + if(jsonValue.ValueExists("owningProjectId")) + { + m_owningProjectId = jsonValue.GetString("owningProjectId"); + + m_owningProjectIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = MetadataGenerationRunStatusMapper::GetMetadataGenerationRunStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("target")) + { + m_target = jsonValue.GetObject("target"); + + m_targetHasBeenSet = true; + } + + if(jsonValue.ValueExists("type")) + { + m_type = MetadataGenerationRunTypeMapper::GetMetadataGenerationRunTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue MetadataGenerationRunItem::Jsonize() const +{ + JsonValue payload; + + if(m_createdAtHasBeenSet) + { + payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + + if(m_domainIdHasBeenSet) + { + payload.WithString("domainId", m_domainId); + + } + + if(m_idHasBeenSet) + { + payload.WithString("id", m_id); + + } + + if(m_owningProjectIdHasBeenSet) + { + payload.WithString("owningProjectId", m_owningProjectId); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", MetadataGenerationRunStatusMapper::GetNameForMetadataGenerationRunStatus(m_status)); + } + + if(m_targetHasBeenSet) + { + payload.WithObject("target", m_target.Jsonize()); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", MetadataGenerationRunTypeMapper::GetNameForMetadataGenerationRunType(m_type)); + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationRunStatus.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationRunStatus.cpp new file mode 100644 index 00000000000..882d1e80477 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationRunStatus.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DataZone + { + namespace Model + { + namespace MetadataGenerationRunStatusMapper + { + + static const int SUBMITTED_HASH = HashingUtils::HashString("SUBMITTED"); + static const int IN_PROGRESS_HASH = HashingUtils::HashString("IN_PROGRESS"); + static const int CANCELED_HASH = HashingUtils::HashString("CANCELED"); + static const int SUCCEEDED_HASH = HashingUtils::HashString("SUCCEEDED"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + + + MetadataGenerationRunStatus GetMetadataGenerationRunStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == SUBMITTED_HASH) + { + return MetadataGenerationRunStatus::SUBMITTED; + } + else if (hashCode == IN_PROGRESS_HASH) + { + return MetadataGenerationRunStatus::IN_PROGRESS; + } + else if (hashCode == CANCELED_HASH) + { + return MetadataGenerationRunStatus::CANCELED; + } + else if (hashCode == SUCCEEDED_HASH) + { + return MetadataGenerationRunStatus::SUCCEEDED; + } + else if (hashCode == FAILED_HASH) + { + return MetadataGenerationRunStatus::FAILED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return MetadataGenerationRunStatus::NOT_SET; + } + + Aws::String GetNameForMetadataGenerationRunStatus(MetadataGenerationRunStatus enumValue) + { + switch(enumValue) + { + case MetadataGenerationRunStatus::NOT_SET: + return {}; + case MetadataGenerationRunStatus::SUBMITTED: + return "SUBMITTED"; + case MetadataGenerationRunStatus::IN_PROGRESS: + return "IN_PROGRESS"; + case MetadataGenerationRunStatus::CANCELED: + return "CANCELED"; + case MetadataGenerationRunStatus::SUCCEEDED: + return "SUCCEEDED"; + case MetadataGenerationRunStatus::FAILED: + return "FAILED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace MetadataGenerationRunStatusMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationRunTarget.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationRunTarget.cpp new file mode 100644 index 00000000000..555b19a853b --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationRunTarget.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +MetadataGenerationRunTarget::MetadataGenerationRunTarget() : + m_identifierHasBeenSet(false), + m_revisionHasBeenSet(false), + m_type(MetadataGenerationTargetType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +MetadataGenerationRunTarget::MetadataGenerationRunTarget(JsonView jsonValue) : + m_identifierHasBeenSet(false), + m_revisionHasBeenSet(false), + m_type(MetadataGenerationTargetType::NOT_SET), + m_typeHasBeenSet(false) +{ + *this = jsonValue; +} + +MetadataGenerationRunTarget& MetadataGenerationRunTarget::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("identifier")) + { + m_identifier = jsonValue.GetString("identifier"); + + m_identifierHasBeenSet = true; + } + + if(jsonValue.ValueExists("revision")) + { + m_revision = jsonValue.GetString("revision"); + + m_revisionHasBeenSet = true; + } + + if(jsonValue.ValueExists("type")) + { + m_type = MetadataGenerationTargetTypeMapper::GetMetadataGenerationTargetTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue MetadataGenerationRunTarget::Jsonize() const +{ + JsonValue payload; + + if(m_identifierHasBeenSet) + { + payload.WithString("identifier", m_identifier); + + } + + if(m_revisionHasBeenSet) + { + payload.WithString("revision", m_revision); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", MetadataGenerationTargetTypeMapper::GetNameForMetadataGenerationTargetType(m_type)); + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationRunType.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationRunType.cpp new file mode 100644 index 00000000000..30da48ee523 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationRunType.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DataZone + { + namespace Model + { + namespace MetadataGenerationRunTypeMapper + { + + static const int BUSINESS_DESCRIPTIONS_HASH = HashingUtils::HashString("BUSINESS_DESCRIPTIONS"); + + + MetadataGenerationRunType GetMetadataGenerationRunTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == BUSINESS_DESCRIPTIONS_HASH) + { + return MetadataGenerationRunType::BUSINESS_DESCRIPTIONS; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return MetadataGenerationRunType::NOT_SET; + } + + Aws::String GetNameForMetadataGenerationRunType(MetadataGenerationRunType enumValue) + { + switch(enumValue) + { + case MetadataGenerationRunType::NOT_SET: + return {}; + case MetadataGenerationRunType::BUSINESS_DESCRIPTIONS: + return "BUSINESS_DESCRIPTIONS"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace MetadataGenerationRunTypeMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationTargetType.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationTargetType.cpp new file mode 100644 index 00000000000..cb60132f447 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/MetadataGenerationTargetType.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace DataZone + { + namespace Model + { + namespace MetadataGenerationTargetTypeMapper + { + + static const int ASSET_HASH = HashingUtils::HashString("ASSET"); + + + MetadataGenerationTargetType GetMetadataGenerationTargetTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ASSET_HASH) + { + return MetadataGenerationTargetType::ASSET; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return MetadataGenerationTargetType::NOT_SET; + } + + Aws::String GetNameForMetadataGenerationTargetType(MetadataGenerationTargetType enumValue) + { + switch(enumValue) + { + case MetadataGenerationTargetType::NOT_SET: + return {}; + case MetadataGenerationTargetType::ASSET: + return "ASSET"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace MetadataGenerationTargetTypeMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/StartMetadataGenerationRunRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/StartMetadataGenerationRunRequest.cpp new file mode 100644 index 00000000000..5fe5d265377 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/StartMetadataGenerationRunRequest.cpp @@ -0,0 +1,58 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +StartMetadataGenerationRunRequest::StartMetadataGenerationRunRequest() : + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_domainIdentifierHasBeenSet(false), + m_owningProjectIdentifierHasBeenSet(false), + m_targetHasBeenSet(false), + m_type(MetadataGenerationRunType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +Aws::String StartMetadataGenerationRunRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_clientTokenHasBeenSet) + { + payload.WithString("clientToken", m_clientToken); + + } + + if(m_owningProjectIdentifierHasBeenSet) + { + payload.WithString("owningProjectIdentifier", m_owningProjectIdentifier); + + } + + if(m_targetHasBeenSet) + { + payload.WithObject("target", m_target.Jsonize()); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", MetadataGenerationRunTypeMapper::GetNameForMetadataGenerationRunType(m_type)); + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/StartMetadataGenerationRunResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/StartMetadataGenerationRunResult.cpp new file mode 100644 index 00000000000..6ef9d00e6e8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/StartMetadataGenerationRunResult.cpp @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +StartMetadataGenerationRunResult::StartMetadataGenerationRunResult() : + m_status(MetadataGenerationRunStatus::NOT_SET), + m_type(MetadataGenerationRunType::NOT_SET) +{ +} + +StartMetadataGenerationRunResult::StartMetadataGenerationRunResult(const Aws::AmazonWebServiceResult& result) : + m_status(MetadataGenerationRunStatus::NOT_SET), + m_type(MetadataGenerationRunType::NOT_SET) +{ + *this = result; +} + +StartMetadataGenerationRunResult& StartMetadataGenerationRunResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetDouble("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + } + + if(jsonValue.ValueExists("id")) + { + m_id = jsonValue.GetString("id"); + + } + + if(jsonValue.ValueExists("owningProjectId")) + { + m_owningProjectId = jsonValue.GetString("owningProjectId"); + + } + + if(jsonValue.ValueExists("status")) + { + m_status = MetadataGenerationRunStatusMapper::GetMetadataGenerationRunStatusForName(jsonValue.GetString("status")); + + } + + if(jsonValue.ValueExists("type")) + { + m_type = MetadataGenerationRunTypeMapper::GetMetadataGenerationRunTypeForName(jsonValue.GetString("type")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/CMakeLists.txt b/generated/src/aws-cpp-sdk-deadline/CMakeLists.txt new file mode 100644 index 00000000000..1b819230f06 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/CMakeLists.txt @@ -0,0 +1,76 @@ +add_project(aws-cpp-sdk-deadline "C++ SDK for the AWS deadline service" aws-cpp-sdk-core) + +file(GLOB AWS_DEADLINE_HEADERS + "include/aws/deadline/*.h" +) + +file(GLOB AWS_DEADLINE_MODEL_HEADERS + "include/aws/deadline/model/*.h" +) + +file(GLOB AWS_DEADLINE_SOURCE + "source/*.cpp" +) + +file(GLOB AWS_DEADLINE_MODEL_SOURCE + "source/model/*.cpp" +) + +file(GLOB DEADLINE_UNIFIED_HEADERS + ${AWS_DEADLINE_HEADERS} + ${AWS_DEADLINE_MODEL_HEADERS} +) + +file(GLOB DEADLINE_UNITY_SRC + ${AWS_DEADLINE_SOURCE} + ${AWS_DEADLINE_MODEL_SOURCE} +) + +if(ENABLE_UNITY_BUILD) + enable_unity_build("DEADLINE" DEADLINE_UNITY_SRC) +endif() + +file(GLOB DEADLINE_SRC + ${DEADLINE_UNIFIED_HEADERS} + ${DEADLINE_UNITY_SRC} +) + +if(WIN32) + #if we are compiling for visual studio, create a sane directory tree. + if(MSVC) + source_group("Header Files\\aws\\deadline" FILES ${AWS_DEADLINE_HEADERS}) + source_group("Header Files\\aws\\deadline\\model" FILES ${AWS_DEADLINE_MODEL_HEADERS}) + source_group("Source Files" FILES ${AWS_DEADLINE_SOURCE}) + source_group("Source Files\\model" FILES ${AWS_DEADLINE_MODEL_SOURCE}) + endif(MSVC) +endif() + +set(DEADLINE_INCLUDES + "${CMAKE_CURRENT_SOURCE_DIR}/include/" +) + +add_library(${PROJECT_NAME} ${DEADLINE_SRC}) +add_library(AWS::${PROJECT_NAME} ALIAS ${PROJECT_NAME}) + +set_compiler_flags(${PROJECT_NAME}) +set_compiler_warnings(${PROJECT_NAME}) + +if(USE_WINDOWS_DLL_SEMANTICS AND BUILD_SHARED_LIBS) + target_compile_definitions(${PROJECT_NAME} PRIVATE "AWS_DEADLINE_EXPORTS") +endif() + +target_include_directories(${PROJECT_NAME} PUBLIC + $ + $) + +target_link_libraries(${PROJECT_NAME} PRIVATE ${PLATFORM_DEP_LIBS} ${PROJECT_LIBS}) + + +setup_install() + +install (FILES ${AWS_DEADLINE_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/deadline) +install (FILES ${AWS_DEADLINE_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/deadline/model) + +do_packaging() + + diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineClient.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineClient.h new file mode 100644 index 00000000000..eb938f8426f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineClient.h @@ -0,0 +1,2691 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ + /** + *

The Amazon Web Services Deadline Cloud API provides infrastructure and + * centralized management for your projects. Use the Deadline Cloud API to onboard + * users, assign projects, and attach permissions specific to their job + * function.

With Deadline Cloud, content production teams can deploy + * resources for their workforce securely in the cloud, reducing the costs of added + * physical infrastructure. Keep your content production operations secure, while + * allowing your contributors to access the tools they need, such as scalable + * high-speed storage, licenses, and cost management services.

+ */ + class AWS_DEADLINE_API DeadlineClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods + { + public: + typedef Aws::Client::AWSJsonClient BASECLASS; + static const char* GetServiceName(); + static const char* GetAllocationTag(); + + typedef DeadlineClientConfiguration ClientConfigurationType; + typedef DeadlineEndpointProvider EndpointProviderType; + + /** + * Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config + * is not specified, it will be initialized to default values. + */ + DeadlineClient(const Aws::deadline::DeadlineClientConfiguration& clientConfiguration = Aws::deadline::DeadlineClientConfiguration(), + std::shared_ptr endpointProvider = nullptr); + + /** + * Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config + * is not specified, it will be initialized to default values. + */ + DeadlineClient(const Aws::Auth::AWSCredentials& credentials, + std::shared_ptr endpointProvider = nullptr, + const Aws::deadline::DeadlineClientConfiguration& clientConfiguration = Aws::deadline::DeadlineClientConfiguration()); + + /** + * Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, + * the default http client factory will be used + */ + DeadlineClient(const std::shared_ptr& credentialsProvider, + std::shared_ptr endpointProvider = nullptr, + const Aws::deadline::DeadlineClientConfiguration& clientConfiguration = Aws::deadline::DeadlineClientConfiguration()); + + + /* Legacy constructors due deprecation */ + /** + * Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config + * is not specified, it will be initialized to default values. + */ + DeadlineClient(const Aws::Client::ClientConfiguration& clientConfiguration); + + /** + * Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config + * is not specified, it will be initialized to default values. + */ + DeadlineClient(const Aws::Auth::AWSCredentials& credentials, + const Aws::Client::ClientConfiguration& clientConfiguration); + + /** + * Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, + * the default http client factory will be used + */ + DeadlineClient(const std::shared_ptr& credentialsProvider, + const Aws::Client::ClientConfiguration& clientConfiguration); + + /* End of legacy constructors due deprecation */ + virtual ~DeadlineClient(); + + /** + *

Assigns a farm membership level to a member.

See Also:

AWS + * API Reference

+ */ + virtual Model::AssociateMemberToFarmOutcome AssociateMemberToFarm(const Model::AssociateMemberToFarmRequest& request) const; + + /** + * A Callable wrapper for AssociateMemberToFarm that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::AssociateMemberToFarmOutcomeCallable AssociateMemberToFarmCallable(const AssociateMemberToFarmRequestT& request) const + { + return SubmitCallable(&DeadlineClient::AssociateMemberToFarm, request); + } + + /** + * An Async wrapper for AssociateMemberToFarm that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void AssociateMemberToFarmAsync(const AssociateMemberToFarmRequestT& request, const AssociateMemberToFarmResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::AssociateMemberToFarm, request, handler, context); + } + + /** + *

Assigns a fleet membership level to a member.

See Also:

AWS + * API Reference

+ */ + virtual Model::AssociateMemberToFleetOutcome AssociateMemberToFleet(const Model::AssociateMemberToFleetRequest& request) const; + + /** + * A Callable wrapper for AssociateMemberToFleet that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::AssociateMemberToFleetOutcomeCallable AssociateMemberToFleetCallable(const AssociateMemberToFleetRequestT& request) const + { + return SubmitCallable(&DeadlineClient::AssociateMemberToFleet, request); + } + + /** + * An Async wrapper for AssociateMemberToFleet that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void AssociateMemberToFleetAsync(const AssociateMemberToFleetRequestT& request, const AssociateMemberToFleetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::AssociateMemberToFleet, request, handler, context); + } + + /** + *

Assigns a job membership level to a member

See Also:

AWS + * API Reference

+ */ + virtual Model::AssociateMemberToJobOutcome AssociateMemberToJob(const Model::AssociateMemberToJobRequest& request) const; + + /** + * A Callable wrapper for AssociateMemberToJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::AssociateMemberToJobOutcomeCallable AssociateMemberToJobCallable(const AssociateMemberToJobRequestT& request) const + { + return SubmitCallable(&DeadlineClient::AssociateMemberToJob, request); + } + + /** + * An Async wrapper for AssociateMemberToJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void AssociateMemberToJobAsync(const AssociateMemberToJobRequestT& request, const AssociateMemberToJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::AssociateMemberToJob, request, handler, context); + } + + /** + *

Assigns a queue membership level to a member

See Also:

AWS + * API Reference

+ */ + virtual Model::AssociateMemberToQueueOutcome AssociateMemberToQueue(const Model::AssociateMemberToQueueRequest& request) const; + + /** + * A Callable wrapper for AssociateMemberToQueue that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::AssociateMemberToQueueOutcomeCallable AssociateMemberToQueueCallable(const AssociateMemberToQueueRequestT& request) const + { + return SubmitCallable(&DeadlineClient::AssociateMemberToQueue, request); + } + + /** + * An Async wrapper for AssociateMemberToQueue that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void AssociateMemberToQueueAsync(const AssociateMemberToQueueRequestT& request, const AssociateMemberToQueueResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::AssociateMemberToQueue, request, handler, context); + } + + /** + *

Get Amazon Web Services credentials from the fleet role. The IAM permissions + * of the credentials are scoped down to have read-only access.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::AssumeFleetRoleForReadOutcome AssumeFleetRoleForRead(const Model::AssumeFleetRoleForReadRequest& request) const; + + /** + * A Callable wrapper for AssumeFleetRoleForRead that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::AssumeFleetRoleForReadOutcomeCallable AssumeFleetRoleForReadCallable(const AssumeFleetRoleForReadRequestT& request) const + { + return SubmitCallable(&DeadlineClient::AssumeFleetRoleForRead, request); + } + + /** + * An Async wrapper for AssumeFleetRoleForRead that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void AssumeFleetRoleForReadAsync(const AssumeFleetRoleForReadRequestT& request, const AssumeFleetRoleForReadResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::AssumeFleetRoleForRead, request, handler, context); + } + + /** + *

Get credentials from the fleet role for a worker.

See Also:

+ * AWS + * API Reference

+ */ + virtual Model::AssumeFleetRoleForWorkerOutcome AssumeFleetRoleForWorker(const Model::AssumeFleetRoleForWorkerRequest& request) const; + + /** + * A Callable wrapper for AssumeFleetRoleForWorker that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::AssumeFleetRoleForWorkerOutcomeCallable AssumeFleetRoleForWorkerCallable(const AssumeFleetRoleForWorkerRequestT& request) const + { + return SubmitCallable(&DeadlineClient::AssumeFleetRoleForWorker, request); + } + + /** + * An Async wrapper for AssumeFleetRoleForWorker that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void AssumeFleetRoleForWorkerAsync(const AssumeFleetRoleForWorkerRequestT& request, const AssumeFleetRoleForWorkerResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::AssumeFleetRoleForWorker, request, handler, context); + } + + /** + *

Gets Amazon Web Services credentials from the queue role. The IAM permissions + * of the credentials are scoped down to have read-only access.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::AssumeQueueRoleForReadOutcome AssumeQueueRoleForRead(const Model::AssumeQueueRoleForReadRequest& request) const; + + /** + * A Callable wrapper for AssumeQueueRoleForRead that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::AssumeQueueRoleForReadOutcomeCallable AssumeQueueRoleForReadCallable(const AssumeQueueRoleForReadRequestT& request) const + { + return SubmitCallable(&DeadlineClient::AssumeQueueRoleForRead, request); + } + + /** + * An Async wrapper for AssumeQueueRoleForRead that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void AssumeQueueRoleForReadAsync(const AssumeQueueRoleForReadRequestT& request, const AssumeQueueRoleForReadResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::AssumeQueueRoleForRead, request, handler, context); + } + + /** + *

Allows a user to assume a role for a queue.

See Also:

AWS + * API Reference

+ */ + virtual Model::AssumeQueueRoleForUserOutcome AssumeQueueRoleForUser(const Model::AssumeQueueRoleForUserRequest& request) const; + + /** + * A Callable wrapper for AssumeQueueRoleForUser that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::AssumeQueueRoleForUserOutcomeCallable AssumeQueueRoleForUserCallable(const AssumeQueueRoleForUserRequestT& request) const + { + return SubmitCallable(&DeadlineClient::AssumeQueueRoleForUser, request); + } + + /** + * An Async wrapper for AssumeQueueRoleForUser that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void AssumeQueueRoleForUserAsync(const AssumeQueueRoleForUserRequestT& request, const AssumeQueueRoleForUserResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::AssumeQueueRoleForUser, request, handler, context); + } + + /** + *

Allows a worker to assume a queue role.

See Also:

AWS + * API Reference

+ */ + virtual Model::AssumeQueueRoleForWorkerOutcome AssumeQueueRoleForWorker(const Model::AssumeQueueRoleForWorkerRequest& request) const; + + /** + * A Callable wrapper for AssumeQueueRoleForWorker that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::AssumeQueueRoleForWorkerOutcomeCallable AssumeQueueRoleForWorkerCallable(const AssumeQueueRoleForWorkerRequestT& request) const + { + return SubmitCallable(&DeadlineClient::AssumeQueueRoleForWorker, request); + } + + /** + * An Async wrapper for AssumeQueueRoleForWorker that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void AssumeQueueRoleForWorkerAsync(const AssumeQueueRoleForWorkerRequestT& request, const AssumeQueueRoleForWorkerResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::AssumeQueueRoleForWorker, request, handler, context); + } + + /** + *

Get batched job details for a worker.

See Also:

AWS + * API Reference

+ */ + virtual Model::BatchGetJobEntityOutcome BatchGetJobEntity(const Model::BatchGetJobEntityRequest& request) const; + + /** + * A Callable wrapper for BatchGetJobEntity that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::BatchGetJobEntityOutcomeCallable BatchGetJobEntityCallable(const BatchGetJobEntityRequestT& request) const + { + return SubmitCallable(&DeadlineClient::BatchGetJobEntity, request); + } + + /** + * An Async wrapper for BatchGetJobEntity that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void BatchGetJobEntityAsync(const BatchGetJobEntityRequestT& request, const BatchGetJobEntityResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::BatchGetJobEntity, request, handler, context); + } + + /** + *

Copies a job template to an Amazon S3 bucket.

See Also:

AWS + * API Reference

+ */ + virtual Model::CopyJobTemplateOutcome CopyJobTemplate(const Model::CopyJobTemplateRequest& request) const; + + /** + * A Callable wrapper for CopyJobTemplate that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CopyJobTemplateOutcomeCallable CopyJobTemplateCallable(const CopyJobTemplateRequestT& request) const + { + return SubmitCallable(&DeadlineClient::CopyJobTemplate, request); + } + + /** + * An Async wrapper for CopyJobTemplate that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CopyJobTemplateAsync(const CopyJobTemplateRequestT& request, const CopyJobTemplateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::CopyJobTemplate, request, handler, context); + } + + /** + *

Creates a budget to set spending thresholds for your rendering + * activity.

See Also:

AWS + * API Reference

+ */ + virtual Model::CreateBudgetOutcome CreateBudget(const Model::CreateBudgetRequest& request) const; + + /** + * A Callable wrapper for CreateBudget that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateBudgetOutcomeCallable CreateBudgetCallable(const CreateBudgetRequestT& request) const + { + return SubmitCallable(&DeadlineClient::CreateBudget, request); + } + + /** + * An Async wrapper for CreateBudget that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateBudgetAsync(const CreateBudgetRequestT& request, const CreateBudgetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::CreateBudget, request, handler, context); + } + + /** + *

Creates a farm to allow space for queues and fleets. Farms are the space + * where the components of your renders gather and are pieced together in the + * cloud. Farms contain budgets and allow you to enforce permissions. Deadline + * Cloud farms are a useful container for large projects.

See Also:

+ * AWS + * API Reference

+ */ + virtual Model::CreateFarmOutcome CreateFarm(const Model::CreateFarmRequest& request) const; + + /** + * A Callable wrapper for CreateFarm that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateFarmOutcomeCallable CreateFarmCallable(const CreateFarmRequestT& request) const + { + return SubmitCallable(&DeadlineClient::CreateFarm, request); + } + + /** + * An Async wrapper for CreateFarm that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateFarmAsync(const CreateFarmRequestT& request, const CreateFarmResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::CreateFarm, request, handler, context); + } + + /** + *

Creates a fleet. Fleets gather information relating to compute, or capacity, + * for renders within your farms. You can choose to manage your own capacity or opt + * to have fleets fully managed by Deadline Cloud.

See Also:

AWS + * API Reference

+ */ + virtual Model::CreateFleetOutcome CreateFleet(const Model::CreateFleetRequest& request) const; + + /** + * A Callable wrapper for CreateFleet that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateFleetOutcomeCallable CreateFleetCallable(const CreateFleetRequestT& request) const + { + return SubmitCallable(&DeadlineClient::CreateFleet, request); + } + + /** + * An Async wrapper for CreateFleet that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateFleetAsync(const CreateFleetRequestT& request, const CreateFleetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::CreateFleet, request, handler, context); + } + + /** + *

Creates a job. A job is a render submission submitted by a user. It contains + * specific job properties outlined as steps and tasks.

See Also:

+ * AWS + * API Reference

+ */ + virtual Model::CreateJobOutcome CreateJob(const Model::CreateJobRequest& request) const; + + /** + * A Callable wrapper for CreateJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateJobOutcomeCallable CreateJobCallable(const CreateJobRequestT& request) const + { + return SubmitCallable(&DeadlineClient::CreateJob, request); + } + + /** + * An Async wrapper for CreateJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateJobAsync(const CreateJobRequestT& request, const CreateJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::CreateJob, request, handler, context); + } + + /** + *

Creates a license endpoint to integrate your various licensed software used + * for rendering on Deadline Cloud.

See Also:

AWS + * API Reference

+ */ + virtual Model::CreateLicenseEndpointOutcome CreateLicenseEndpoint(const Model::CreateLicenseEndpointRequest& request) const; + + /** + * A Callable wrapper for CreateLicenseEndpoint that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateLicenseEndpointOutcomeCallable CreateLicenseEndpointCallable(const CreateLicenseEndpointRequestT& request) const + { + return SubmitCallable(&DeadlineClient::CreateLicenseEndpoint, request); + } + + /** + * An Async wrapper for CreateLicenseEndpoint that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateLicenseEndpointAsync(const CreateLicenseEndpointRequestT& request, const CreateLicenseEndpointResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::CreateLicenseEndpoint, request, handler, context); + } + + /** + *

Creates an Amazon Web Services Deadline Cloud monitor that you can use to + * view your farms, queues, and fleets. After you submit a job, you can track the + * progress of the tasks and steps that make up the job, and then download the + * job's results.

See Also:

AWS + * API Reference

+ */ + virtual Model::CreateMonitorOutcome CreateMonitor(const Model::CreateMonitorRequest& request) const; + + /** + * A Callable wrapper for CreateMonitor that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateMonitorOutcomeCallable CreateMonitorCallable(const CreateMonitorRequestT& request) const + { + return SubmitCallable(&DeadlineClient::CreateMonitor, request); + } + + /** + * An Async wrapper for CreateMonitor that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateMonitorAsync(const CreateMonitorRequestT& request, const CreateMonitorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::CreateMonitor, request, handler, context); + } + + /** + *

Creates a queue to coordinate the order in which jobs run on a farm. A queue + * can also specify where to pull resources and indicate where to output completed + * jobs.

See Also:

AWS + * API Reference

+ */ + virtual Model::CreateQueueOutcome CreateQueue(const Model::CreateQueueRequest& request) const; + + /** + * A Callable wrapper for CreateQueue that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateQueueOutcomeCallable CreateQueueCallable(const CreateQueueRequestT& request) const + { + return SubmitCallable(&DeadlineClient::CreateQueue, request); + } + + /** + * An Async wrapper for CreateQueue that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateQueueAsync(const CreateQueueRequestT& request, const CreateQueueResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::CreateQueue, request, handler, context); + } + + /** + *

Creates an environment for a queue that defines how jobs in the queue + * run.

See Also:

AWS + * API Reference

+ */ + virtual Model::CreateQueueEnvironmentOutcome CreateQueueEnvironment(const Model::CreateQueueEnvironmentRequest& request) const; + + /** + * A Callable wrapper for CreateQueueEnvironment that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateQueueEnvironmentOutcomeCallable CreateQueueEnvironmentCallable(const CreateQueueEnvironmentRequestT& request) const + { + return SubmitCallable(&DeadlineClient::CreateQueueEnvironment, request); + } + + /** + * An Async wrapper for CreateQueueEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateQueueEnvironmentAsync(const CreateQueueEnvironmentRequestT& request, const CreateQueueEnvironmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::CreateQueueEnvironment, request, handler, context); + } + + /** + *

Creates an association between a queue and a fleet.

See Also:

+ * AWS + * API Reference

+ */ + virtual Model::CreateQueueFleetAssociationOutcome CreateQueueFleetAssociation(const Model::CreateQueueFleetAssociationRequest& request) const; + + /** + * A Callable wrapper for CreateQueueFleetAssociation that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateQueueFleetAssociationOutcomeCallable CreateQueueFleetAssociationCallable(const CreateQueueFleetAssociationRequestT& request) const + { + return SubmitCallable(&DeadlineClient::CreateQueueFleetAssociation, request); + } + + /** + * An Async wrapper for CreateQueueFleetAssociation that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateQueueFleetAssociationAsync(const CreateQueueFleetAssociationRequestT& request, const CreateQueueFleetAssociationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::CreateQueueFleetAssociation, request, handler, context); + } + + /** + *

Creates a storage profile that specifies the operating system, file type, and + * file location of resources used on a farm.

See Also:

AWS + * API Reference

+ */ + virtual Model::CreateStorageProfileOutcome CreateStorageProfile(const Model::CreateStorageProfileRequest& request) const; + + /** + * A Callable wrapper for CreateStorageProfile that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateStorageProfileOutcomeCallable CreateStorageProfileCallable(const CreateStorageProfileRequestT& request) const + { + return SubmitCallable(&DeadlineClient::CreateStorageProfile, request); + } + + /** + * An Async wrapper for CreateStorageProfile that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateStorageProfileAsync(const CreateStorageProfileRequestT& request, const CreateStorageProfileResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::CreateStorageProfile, request, handler, context); + } + + /** + *

Creates a worker. A worker tells your instance how much processing power + * (vCPU), and memory (GiB) you’ll need to assemble the digital assets held within + * a particular instance. You can specify certain instance types to use, or let the + * worker know which instances types to exclude.

See Also:

AWS + * API Reference

+ */ + virtual Model::CreateWorkerOutcome CreateWorker(const Model::CreateWorkerRequest& request) const; + + /** + * A Callable wrapper for CreateWorker that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateWorkerOutcomeCallable CreateWorkerCallable(const CreateWorkerRequestT& request) const + { + return SubmitCallable(&DeadlineClient::CreateWorker, request); + } + + /** + * An Async wrapper for CreateWorker that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateWorkerAsync(const CreateWorkerRequestT& request, const CreateWorkerResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::CreateWorker, request, handler, context); + } + + /** + *

Deletes a budget.

See Also:

AWS + * API Reference

+ */ + virtual Model::DeleteBudgetOutcome DeleteBudget(const Model::DeleteBudgetRequest& request) const; + + /** + * A Callable wrapper for DeleteBudget that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteBudgetOutcomeCallable DeleteBudgetCallable(const DeleteBudgetRequestT& request) const + { + return SubmitCallable(&DeadlineClient::DeleteBudget, request); + } + + /** + * An Async wrapper for DeleteBudget that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteBudgetAsync(const DeleteBudgetRequestT& request, const DeleteBudgetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::DeleteBudget, request, handler, context); + } + + /** + *

Deletes a farm.

See Also:

AWS + * API Reference

+ */ + virtual Model::DeleteFarmOutcome DeleteFarm(const Model::DeleteFarmRequest& request) const; + + /** + * A Callable wrapper for DeleteFarm that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteFarmOutcomeCallable DeleteFarmCallable(const DeleteFarmRequestT& request) const + { + return SubmitCallable(&DeadlineClient::DeleteFarm, request); + } + + /** + * An Async wrapper for DeleteFarm that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteFarmAsync(const DeleteFarmRequestT& request, const DeleteFarmResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::DeleteFarm, request, handler, context); + } + + /** + *

Deletes a fleet.

See Also:

AWS + * API Reference

+ */ + virtual Model::DeleteFleetOutcome DeleteFleet(const Model::DeleteFleetRequest& request) const; + + /** + * A Callable wrapper for DeleteFleet that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteFleetOutcomeCallable DeleteFleetCallable(const DeleteFleetRequestT& request) const + { + return SubmitCallable(&DeadlineClient::DeleteFleet, request); + } + + /** + * An Async wrapper for DeleteFleet that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteFleetAsync(const DeleteFleetRequestT& request, const DeleteFleetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::DeleteFleet, request, handler, context); + } + + /** + *

Deletes a license endpoint.

See Also:

AWS + * API Reference

+ */ + virtual Model::DeleteLicenseEndpointOutcome DeleteLicenseEndpoint(const Model::DeleteLicenseEndpointRequest& request) const; + + /** + * A Callable wrapper for DeleteLicenseEndpoint that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteLicenseEndpointOutcomeCallable DeleteLicenseEndpointCallable(const DeleteLicenseEndpointRequestT& request) const + { + return SubmitCallable(&DeadlineClient::DeleteLicenseEndpoint, request); + } + + /** + * An Async wrapper for DeleteLicenseEndpoint that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteLicenseEndpointAsync(const DeleteLicenseEndpointRequestT& request, const DeleteLicenseEndpointResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::DeleteLicenseEndpoint, request, handler, context); + } + + /** + *

Deletes a metered product.

See Also:

AWS + * API Reference

+ */ + virtual Model::DeleteMeteredProductOutcome DeleteMeteredProduct(const Model::DeleteMeteredProductRequest& request) const; + + /** + * A Callable wrapper for DeleteMeteredProduct that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteMeteredProductOutcomeCallable DeleteMeteredProductCallable(const DeleteMeteredProductRequestT& request) const + { + return SubmitCallable(&DeadlineClient::DeleteMeteredProduct, request); + } + + /** + * An Async wrapper for DeleteMeteredProduct that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteMeteredProductAsync(const DeleteMeteredProductRequestT& request, const DeleteMeteredProductResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::DeleteMeteredProduct, request, handler, context); + } + + /** + *

Removes a Deadline Cloud monitor. After you delete a monitor, you can create + * a new one and attach farms to the monitor.

See Also:

AWS + * API Reference

+ */ + virtual Model::DeleteMonitorOutcome DeleteMonitor(const Model::DeleteMonitorRequest& request) const; + + /** + * A Callable wrapper for DeleteMonitor that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteMonitorOutcomeCallable DeleteMonitorCallable(const DeleteMonitorRequestT& request) const + { + return SubmitCallable(&DeadlineClient::DeleteMonitor, request); + } + + /** + * An Async wrapper for DeleteMonitor that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteMonitorAsync(const DeleteMonitorRequestT& request, const DeleteMonitorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::DeleteMonitor, request, handler, context); + } + + /** + *

Deletes a queue.

See Also:

AWS + * API Reference

+ */ + virtual Model::DeleteQueueOutcome DeleteQueue(const Model::DeleteQueueRequest& request) const; + + /** + * A Callable wrapper for DeleteQueue that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteQueueOutcomeCallable DeleteQueueCallable(const DeleteQueueRequestT& request) const + { + return SubmitCallable(&DeadlineClient::DeleteQueue, request); + } + + /** + * An Async wrapper for DeleteQueue that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteQueueAsync(const DeleteQueueRequestT& request, const DeleteQueueResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::DeleteQueue, request, handler, context); + } + + /** + *

Deletes a queue environment.

See Also:

AWS + * API Reference

+ */ + virtual Model::DeleteQueueEnvironmentOutcome DeleteQueueEnvironment(const Model::DeleteQueueEnvironmentRequest& request) const; + + /** + * A Callable wrapper for DeleteQueueEnvironment that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteQueueEnvironmentOutcomeCallable DeleteQueueEnvironmentCallable(const DeleteQueueEnvironmentRequestT& request) const + { + return SubmitCallable(&DeadlineClient::DeleteQueueEnvironment, request); + } + + /** + * An Async wrapper for DeleteQueueEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteQueueEnvironmentAsync(const DeleteQueueEnvironmentRequestT& request, const DeleteQueueEnvironmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::DeleteQueueEnvironment, request, handler, context); + } + + /** + *

Deletes a queue-fleet association.

See Also:

AWS + * API Reference

+ */ + virtual Model::DeleteQueueFleetAssociationOutcome DeleteQueueFleetAssociation(const Model::DeleteQueueFleetAssociationRequest& request) const; + + /** + * A Callable wrapper for DeleteQueueFleetAssociation that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteQueueFleetAssociationOutcomeCallable DeleteQueueFleetAssociationCallable(const DeleteQueueFleetAssociationRequestT& request) const + { + return SubmitCallable(&DeadlineClient::DeleteQueueFleetAssociation, request); + } + + /** + * An Async wrapper for DeleteQueueFleetAssociation that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteQueueFleetAssociationAsync(const DeleteQueueFleetAssociationRequestT& request, const DeleteQueueFleetAssociationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::DeleteQueueFleetAssociation, request, handler, context); + } + + /** + *

Deletes a storage profile.

See Also:

AWS + * API Reference

+ */ + virtual Model::DeleteStorageProfileOutcome DeleteStorageProfile(const Model::DeleteStorageProfileRequest& request) const; + + /** + * A Callable wrapper for DeleteStorageProfile that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteStorageProfileOutcomeCallable DeleteStorageProfileCallable(const DeleteStorageProfileRequestT& request) const + { + return SubmitCallable(&DeadlineClient::DeleteStorageProfile, request); + } + + /** + * An Async wrapper for DeleteStorageProfile that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteStorageProfileAsync(const DeleteStorageProfileRequestT& request, const DeleteStorageProfileResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::DeleteStorageProfile, request, handler, context); + } + + /** + *

Deletes a worker.

See Also:

AWS + * API Reference

+ */ + virtual Model::DeleteWorkerOutcome DeleteWorker(const Model::DeleteWorkerRequest& request) const; + + /** + * A Callable wrapper for DeleteWorker that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteWorkerOutcomeCallable DeleteWorkerCallable(const DeleteWorkerRequestT& request) const + { + return SubmitCallable(&DeadlineClient::DeleteWorker, request); + } + + /** + * An Async wrapper for DeleteWorker that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteWorkerAsync(const DeleteWorkerRequestT& request, const DeleteWorkerResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::DeleteWorker, request, handler, context); + } + + /** + *

Disassociates a member from a farm.

See Also:

AWS + * API Reference

+ */ + virtual Model::DisassociateMemberFromFarmOutcome DisassociateMemberFromFarm(const Model::DisassociateMemberFromFarmRequest& request) const; + + /** + * A Callable wrapper for DisassociateMemberFromFarm that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DisassociateMemberFromFarmOutcomeCallable DisassociateMemberFromFarmCallable(const DisassociateMemberFromFarmRequestT& request) const + { + return SubmitCallable(&DeadlineClient::DisassociateMemberFromFarm, request); + } + + /** + * An Async wrapper for DisassociateMemberFromFarm that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DisassociateMemberFromFarmAsync(const DisassociateMemberFromFarmRequestT& request, const DisassociateMemberFromFarmResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::DisassociateMemberFromFarm, request, handler, context); + } + + /** + *

Disassociates a member from a fleet.

See Also:

AWS + * API Reference

+ */ + virtual Model::DisassociateMemberFromFleetOutcome DisassociateMemberFromFleet(const Model::DisassociateMemberFromFleetRequest& request) const; + + /** + * A Callable wrapper for DisassociateMemberFromFleet that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DisassociateMemberFromFleetOutcomeCallable DisassociateMemberFromFleetCallable(const DisassociateMemberFromFleetRequestT& request) const + { + return SubmitCallable(&DeadlineClient::DisassociateMemberFromFleet, request); + } + + /** + * An Async wrapper for DisassociateMemberFromFleet that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DisassociateMemberFromFleetAsync(const DisassociateMemberFromFleetRequestT& request, const DisassociateMemberFromFleetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::DisassociateMemberFromFleet, request, handler, context); + } + + /** + *

Disassociates a member from a job.

See Also:

AWS + * API Reference

+ */ + virtual Model::DisassociateMemberFromJobOutcome DisassociateMemberFromJob(const Model::DisassociateMemberFromJobRequest& request) const; + + /** + * A Callable wrapper for DisassociateMemberFromJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DisassociateMemberFromJobOutcomeCallable DisassociateMemberFromJobCallable(const DisassociateMemberFromJobRequestT& request) const + { + return SubmitCallable(&DeadlineClient::DisassociateMemberFromJob, request); + } + + /** + * An Async wrapper for DisassociateMemberFromJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DisassociateMemberFromJobAsync(const DisassociateMemberFromJobRequestT& request, const DisassociateMemberFromJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::DisassociateMemberFromJob, request, handler, context); + } + + /** + *

Disassociates a member from a queue.

See Also:

AWS + * API Reference

+ */ + virtual Model::DisassociateMemberFromQueueOutcome DisassociateMemberFromQueue(const Model::DisassociateMemberFromQueueRequest& request) const; + + /** + * A Callable wrapper for DisassociateMemberFromQueue that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DisassociateMemberFromQueueOutcomeCallable DisassociateMemberFromQueueCallable(const DisassociateMemberFromQueueRequestT& request) const + { + return SubmitCallable(&DeadlineClient::DisassociateMemberFromQueue, request); + } + + /** + * An Async wrapper for DisassociateMemberFromQueue that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DisassociateMemberFromQueueAsync(const DisassociateMemberFromQueueRequestT& request, const DisassociateMemberFromQueueResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::DisassociateMemberFromQueue, request, handler, context); + } + + /** + *

Get a budget.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetBudgetOutcome GetBudget(const Model::GetBudgetRequest& request) const; + + /** + * A Callable wrapper for GetBudget that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetBudgetOutcomeCallable GetBudgetCallable(const GetBudgetRequestT& request) const + { + return SubmitCallable(&DeadlineClient::GetBudget, request); + } + + /** + * An Async wrapper for GetBudget that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetBudgetAsync(const GetBudgetRequestT& request, const GetBudgetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::GetBudget, request, handler, context); + } + + /** + *

Get a farm.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetFarmOutcome GetFarm(const Model::GetFarmRequest& request) const; + + /** + * A Callable wrapper for GetFarm that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetFarmOutcomeCallable GetFarmCallable(const GetFarmRequestT& request) const + { + return SubmitCallable(&DeadlineClient::GetFarm, request); + } + + /** + * An Async wrapper for GetFarm that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetFarmAsync(const GetFarmRequestT& request, const GetFarmResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::GetFarm, request, handler, context); + } + + /** + *

Get a fleet.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetFleetOutcome GetFleet(const Model::GetFleetRequest& request) const; + + /** + * A Callable wrapper for GetFleet that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetFleetOutcomeCallable GetFleetCallable(const GetFleetRequestT& request) const + { + return SubmitCallable(&DeadlineClient::GetFleet, request); + } + + /** + * An Async wrapper for GetFleet that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetFleetAsync(const GetFleetRequestT& request, const GetFleetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::GetFleet, request, handler, context); + } + + /** + *

Gets a Deadline Cloud job.

See Also:

AWS API + * Reference

+ */ + virtual Model::GetJobOutcome GetJob(const Model::GetJobRequest& request) const; + + /** + * A Callable wrapper for GetJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetJobOutcomeCallable GetJobCallable(const GetJobRequestT& request) const + { + return SubmitCallable(&DeadlineClient::GetJob, request); + } + + /** + * An Async wrapper for GetJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetJobAsync(const GetJobRequestT& request, const GetJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::GetJob, request, handler, context); + } + + /** + *

Gets a licence endpoint.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetLicenseEndpointOutcome GetLicenseEndpoint(const Model::GetLicenseEndpointRequest& request) const; + + /** + * A Callable wrapper for GetLicenseEndpoint that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetLicenseEndpointOutcomeCallable GetLicenseEndpointCallable(const GetLicenseEndpointRequestT& request) const + { + return SubmitCallable(&DeadlineClient::GetLicenseEndpoint, request); + } + + /** + * An Async wrapper for GetLicenseEndpoint that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetLicenseEndpointAsync(const GetLicenseEndpointRequestT& request, const GetLicenseEndpointResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::GetLicenseEndpoint, request, handler, context); + } + + /** + *

Gets information about the specified monitor.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetMonitorOutcome GetMonitor(const Model::GetMonitorRequest& request) const; + + /** + * A Callable wrapper for GetMonitor that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetMonitorOutcomeCallable GetMonitorCallable(const GetMonitorRequestT& request) const + { + return SubmitCallable(&DeadlineClient::GetMonitor, request); + } + + /** + * An Async wrapper for GetMonitor that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetMonitorAsync(const GetMonitorRequestT& request, const GetMonitorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::GetMonitor, request, handler, context); + } + + /** + *

Gets a queue.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetQueueOutcome GetQueue(const Model::GetQueueRequest& request) const; + + /** + * A Callable wrapper for GetQueue that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetQueueOutcomeCallable GetQueueCallable(const GetQueueRequestT& request) const + { + return SubmitCallable(&DeadlineClient::GetQueue, request); + } + + /** + * An Async wrapper for GetQueue that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetQueueAsync(const GetQueueRequestT& request, const GetQueueResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::GetQueue, request, handler, context); + } + + /** + *

Gets a queue environment.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetQueueEnvironmentOutcome GetQueueEnvironment(const Model::GetQueueEnvironmentRequest& request) const; + + /** + * A Callable wrapper for GetQueueEnvironment that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetQueueEnvironmentOutcomeCallable GetQueueEnvironmentCallable(const GetQueueEnvironmentRequestT& request) const + { + return SubmitCallable(&DeadlineClient::GetQueueEnvironment, request); + } + + /** + * An Async wrapper for GetQueueEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetQueueEnvironmentAsync(const GetQueueEnvironmentRequestT& request, const GetQueueEnvironmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::GetQueueEnvironment, request, handler, context); + } + + /** + *

Gets a queue-fleet association.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetQueueFleetAssociationOutcome GetQueueFleetAssociation(const Model::GetQueueFleetAssociationRequest& request) const; + + /** + * A Callable wrapper for GetQueueFleetAssociation that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetQueueFleetAssociationOutcomeCallable GetQueueFleetAssociationCallable(const GetQueueFleetAssociationRequestT& request) const + { + return SubmitCallable(&DeadlineClient::GetQueueFleetAssociation, request); + } + + /** + * An Async wrapper for GetQueueFleetAssociation that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetQueueFleetAssociationAsync(const GetQueueFleetAssociationRequestT& request, const GetQueueFleetAssociationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::GetQueueFleetAssociation, request, handler, context); + } + + /** + *

Gets a session.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetSessionOutcome GetSession(const Model::GetSessionRequest& request) const; + + /** + * A Callable wrapper for GetSession that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetSessionOutcomeCallable GetSessionCallable(const GetSessionRequestT& request) const + { + return SubmitCallable(&DeadlineClient::GetSession, request); + } + + /** + * An Async wrapper for GetSession that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetSessionAsync(const GetSessionRequestT& request, const GetSessionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::GetSession, request, handler, context); + } + + /** + *

Gets a session action for the job.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetSessionActionOutcome GetSessionAction(const Model::GetSessionActionRequest& request) const; + + /** + * A Callable wrapper for GetSessionAction that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetSessionActionOutcomeCallable GetSessionActionCallable(const GetSessionActionRequestT& request) const + { + return SubmitCallable(&DeadlineClient::GetSessionAction, request); + } + + /** + * An Async wrapper for GetSessionAction that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetSessionActionAsync(const GetSessionActionRequestT& request, const GetSessionActionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::GetSessionAction, request, handler, context); + } + + /** + *

Gets a set of statistics for queues or farms. Before you can call the + * GetSessionStatisticsAggregation operation, you must first call the + * StartSessionsStatisticsAggregation operation. Statistics are + * available for 1 hour after you call the + * StartSessionsStatisticsAggregation operation.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::GetSessionsStatisticsAggregationOutcome GetSessionsStatisticsAggregation(const Model::GetSessionsStatisticsAggregationRequest& request) const; + + /** + * A Callable wrapper for GetSessionsStatisticsAggregation that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetSessionsStatisticsAggregationOutcomeCallable GetSessionsStatisticsAggregationCallable(const GetSessionsStatisticsAggregationRequestT& request) const + { + return SubmitCallable(&DeadlineClient::GetSessionsStatisticsAggregation, request); + } + + /** + * An Async wrapper for GetSessionsStatisticsAggregation that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetSessionsStatisticsAggregationAsync(const GetSessionsStatisticsAggregationRequestT& request, const GetSessionsStatisticsAggregationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::GetSessionsStatisticsAggregation, request, handler, context); + } + + /** + *

Gets a step.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetStepOutcome GetStep(const Model::GetStepRequest& request) const; + + /** + * A Callable wrapper for GetStep that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetStepOutcomeCallable GetStepCallable(const GetStepRequestT& request) const + { + return SubmitCallable(&DeadlineClient::GetStep, request); + } + + /** + * An Async wrapper for GetStep that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetStepAsync(const GetStepRequestT& request, const GetStepResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::GetStep, request, handler, context); + } + + /** + *

Gets a storage profile.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetStorageProfileOutcome GetStorageProfile(const Model::GetStorageProfileRequest& request) const; + + /** + * A Callable wrapper for GetStorageProfile that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetStorageProfileOutcomeCallable GetStorageProfileCallable(const GetStorageProfileRequestT& request) const + { + return SubmitCallable(&DeadlineClient::GetStorageProfile, request); + } + + /** + * An Async wrapper for GetStorageProfile that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetStorageProfileAsync(const GetStorageProfileRequestT& request, const GetStorageProfileResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::GetStorageProfile, request, handler, context); + } + + /** + *

Gets a storage profile for a queue.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetStorageProfileForQueueOutcome GetStorageProfileForQueue(const Model::GetStorageProfileForQueueRequest& request) const; + + /** + * A Callable wrapper for GetStorageProfileForQueue that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetStorageProfileForQueueOutcomeCallable GetStorageProfileForQueueCallable(const GetStorageProfileForQueueRequestT& request) const + { + return SubmitCallable(&DeadlineClient::GetStorageProfileForQueue, request); + } + + /** + * An Async wrapper for GetStorageProfileForQueue that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetStorageProfileForQueueAsync(const GetStorageProfileForQueueRequestT& request, const GetStorageProfileForQueueResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::GetStorageProfileForQueue, request, handler, context); + } + + /** + *

Gets a task.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetTaskOutcome GetTask(const Model::GetTaskRequest& request) const; + + /** + * A Callable wrapper for GetTask that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetTaskOutcomeCallable GetTaskCallable(const GetTaskRequestT& request) const + { + return SubmitCallable(&DeadlineClient::GetTask, request); + } + + /** + * An Async wrapper for GetTask that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetTaskAsync(const GetTaskRequestT& request, const GetTaskResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::GetTask, request, handler, context); + } + + /** + *

Gets a worker.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetWorkerOutcome GetWorker(const Model::GetWorkerRequest& request) const; + + /** + * A Callable wrapper for GetWorker that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetWorkerOutcomeCallable GetWorkerCallable(const GetWorkerRequestT& request) const + { + return SubmitCallable(&DeadlineClient::GetWorker, request); + } + + /** + * An Async wrapper for GetWorker that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetWorkerAsync(const GetWorkerRequestT& request, const GetWorkerResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::GetWorker, request, handler, context); + } + + /** + *

A list of the available metered products.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListAvailableMeteredProductsOutcome ListAvailableMeteredProducts(const Model::ListAvailableMeteredProductsRequest& request) const; + + /** + * A Callable wrapper for ListAvailableMeteredProducts that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListAvailableMeteredProductsOutcomeCallable ListAvailableMeteredProductsCallable(const ListAvailableMeteredProductsRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListAvailableMeteredProducts, request); + } + + /** + * An Async wrapper for ListAvailableMeteredProducts that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListAvailableMeteredProductsAsync(const ListAvailableMeteredProductsRequestT& request, const ListAvailableMeteredProductsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListAvailableMeteredProducts, request, handler, context); + } + + /** + *

A list of budgets in a farm.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListBudgetsOutcome ListBudgets(const Model::ListBudgetsRequest& request) const; + + /** + * A Callable wrapper for ListBudgets that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListBudgetsOutcomeCallable ListBudgetsCallable(const ListBudgetsRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListBudgets, request); + } + + /** + * An Async wrapper for ListBudgets that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListBudgetsAsync(const ListBudgetsRequestT& request, const ListBudgetsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListBudgets, request, handler, context); + } + + /** + *

Lists the members of a farm.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListFarmMembersOutcome ListFarmMembers(const Model::ListFarmMembersRequest& request) const; + + /** + * A Callable wrapper for ListFarmMembers that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListFarmMembersOutcomeCallable ListFarmMembersCallable(const ListFarmMembersRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListFarmMembers, request); + } + + /** + * An Async wrapper for ListFarmMembers that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListFarmMembersAsync(const ListFarmMembersRequestT& request, const ListFarmMembersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListFarmMembers, request, handler, context); + } + + /** + *

Lists farms.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListFarmsOutcome ListFarms(const Model::ListFarmsRequest& request) const; + + /** + * A Callable wrapper for ListFarms that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListFarmsOutcomeCallable ListFarmsCallable(const ListFarmsRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListFarms, request); + } + + /** + * An Async wrapper for ListFarms that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListFarmsAsync(const ListFarmsRequestT& request, const ListFarmsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListFarms, request, handler, context); + } + + /** + *

Lists fleet members.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListFleetMembersOutcome ListFleetMembers(const Model::ListFleetMembersRequest& request) const; + + /** + * A Callable wrapper for ListFleetMembers that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListFleetMembersOutcomeCallable ListFleetMembersCallable(const ListFleetMembersRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListFleetMembers, request); + } + + /** + * An Async wrapper for ListFleetMembers that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListFleetMembersAsync(const ListFleetMembersRequestT& request, const ListFleetMembersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListFleetMembers, request, handler, context); + } + + /** + *

Lists fleets.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListFleetsOutcome ListFleets(const Model::ListFleetsRequest& request) const; + + /** + * A Callable wrapper for ListFleets that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListFleetsOutcomeCallable ListFleetsCallable(const ListFleetsRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListFleets, request); + } + + /** + * An Async wrapper for ListFleets that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListFleetsAsync(const ListFleetsRequestT& request, const ListFleetsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListFleets, request, handler, context); + } + + /** + *

Lists members on a job.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListJobMembersOutcome ListJobMembers(const Model::ListJobMembersRequest& request) const; + + /** + * A Callable wrapper for ListJobMembers that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListJobMembersOutcomeCallable ListJobMembersCallable(const ListJobMembersRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListJobMembers, request); + } + + /** + * An Async wrapper for ListJobMembers that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListJobMembersAsync(const ListJobMembersRequestT& request, const ListJobMembersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListJobMembers, request, handler, context); + } + + /** + *

Lists jobs.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListJobsOutcome ListJobs(const Model::ListJobsRequest& request) const; + + /** + * A Callable wrapper for ListJobs that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListJobsOutcomeCallable ListJobsCallable(const ListJobsRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListJobs, request); + } + + /** + * An Async wrapper for ListJobs that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListJobsAsync(const ListJobsRequestT& request, const ListJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListJobs, request, handler, context); + } + + /** + *

Lists license endpoints.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListLicenseEndpointsOutcome ListLicenseEndpoints(const Model::ListLicenseEndpointsRequest& request) const; + + /** + * A Callable wrapper for ListLicenseEndpoints that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListLicenseEndpointsOutcomeCallable ListLicenseEndpointsCallable(const ListLicenseEndpointsRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListLicenseEndpoints, request); + } + + /** + * An Async wrapper for ListLicenseEndpoints that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListLicenseEndpointsAsync(const ListLicenseEndpointsRequestT& request, const ListLicenseEndpointsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListLicenseEndpoints, request, handler, context); + } + + /** + *

Lists metered products.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListMeteredProductsOutcome ListMeteredProducts(const Model::ListMeteredProductsRequest& request) const; + + /** + * A Callable wrapper for ListMeteredProducts that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListMeteredProductsOutcomeCallable ListMeteredProductsCallable(const ListMeteredProductsRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListMeteredProducts, request); + } + + /** + * An Async wrapper for ListMeteredProducts that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListMeteredProductsAsync(const ListMeteredProductsRequestT& request, const ListMeteredProductsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListMeteredProducts, request, handler, context); + } + + /** + *

Gets a list of your monitors in Deadline Cloud.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListMonitorsOutcome ListMonitors(const Model::ListMonitorsRequest& request) const; + + /** + * A Callable wrapper for ListMonitors that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListMonitorsOutcomeCallable ListMonitorsCallable(const ListMonitorsRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListMonitors, request); + } + + /** + * An Async wrapper for ListMonitors that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListMonitorsAsync(const ListMonitorsRequestT& request, const ListMonitorsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListMonitors, request, handler, context); + } + + /** + *

Lists queue environments.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListQueueEnvironmentsOutcome ListQueueEnvironments(const Model::ListQueueEnvironmentsRequest& request) const; + + /** + * A Callable wrapper for ListQueueEnvironments that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListQueueEnvironmentsOutcomeCallable ListQueueEnvironmentsCallable(const ListQueueEnvironmentsRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListQueueEnvironments, request); + } + + /** + * An Async wrapper for ListQueueEnvironments that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListQueueEnvironmentsAsync(const ListQueueEnvironmentsRequestT& request, const ListQueueEnvironmentsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListQueueEnvironments, request, handler, context); + } + + /** + *

Lists queue-fleet associations.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListQueueFleetAssociationsOutcome ListQueueFleetAssociations(const Model::ListQueueFleetAssociationsRequest& request) const; + + /** + * A Callable wrapper for ListQueueFleetAssociations that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListQueueFleetAssociationsOutcomeCallable ListQueueFleetAssociationsCallable(const ListQueueFleetAssociationsRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListQueueFleetAssociations, request); + } + + /** + * An Async wrapper for ListQueueFleetAssociations that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListQueueFleetAssociationsAsync(const ListQueueFleetAssociationsRequestT& request, const ListQueueFleetAssociationsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListQueueFleetAssociations, request, handler, context); + } + + /** + *

Lists the members in a queue.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListQueueMembersOutcome ListQueueMembers(const Model::ListQueueMembersRequest& request) const; + + /** + * A Callable wrapper for ListQueueMembers that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListQueueMembersOutcomeCallable ListQueueMembersCallable(const ListQueueMembersRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListQueueMembers, request); + } + + /** + * An Async wrapper for ListQueueMembers that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListQueueMembersAsync(const ListQueueMembersRequestT& request, const ListQueueMembersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListQueueMembers, request, handler, context); + } + + /** + *

Lists queues.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListQueuesOutcome ListQueues(const Model::ListQueuesRequest& request) const; + + /** + * A Callable wrapper for ListQueues that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListQueuesOutcomeCallable ListQueuesCallable(const ListQueuesRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListQueues, request); + } + + /** + * An Async wrapper for ListQueues that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListQueuesAsync(const ListQueuesRequestT& request, const ListQueuesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListQueues, request, handler, context); + } + + /** + *

Lists session actions.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListSessionActionsOutcome ListSessionActions(const Model::ListSessionActionsRequest& request) const; + + /** + * A Callable wrapper for ListSessionActions that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListSessionActionsOutcomeCallable ListSessionActionsCallable(const ListSessionActionsRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListSessionActions, request); + } + + /** + * An Async wrapper for ListSessionActions that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListSessionActionsAsync(const ListSessionActionsRequestT& request, const ListSessionActionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListSessionActions, request, handler, context); + } + + /** + *

Lists sessions.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListSessionsOutcome ListSessions(const Model::ListSessionsRequest& request) const; + + /** + * A Callable wrapper for ListSessions that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListSessionsOutcomeCallable ListSessionsCallable(const ListSessionsRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListSessions, request); + } + + /** + * An Async wrapper for ListSessions that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListSessionsAsync(const ListSessionsRequestT& request, const ListSessionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListSessions, request, handler, context); + } + + /** + *

Lists sessions for a worker.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListSessionsForWorkerOutcome ListSessionsForWorker(const Model::ListSessionsForWorkerRequest& request) const; + + /** + * A Callable wrapper for ListSessionsForWorker that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListSessionsForWorkerOutcomeCallable ListSessionsForWorkerCallable(const ListSessionsForWorkerRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListSessionsForWorker, request); + } + + /** + * An Async wrapper for ListSessionsForWorker that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListSessionsForWorkerAsync(const ListSessionsForWorkerRequestT& request, const ListSessionsForWorkerResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListSessionsForWorker, request, handler, context); + } + + /** + *

Lists step consumers.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListStepConsumersOutcome ListStepConsumers(const Model::ListStepConsumersRequest& request) const; + + /** + * A Callable wrapper for ListStepConsumers that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListStepConsumersOutcomeCallable ListStepConsumersCallable(const ListStepConsumersRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListStepConsumers, request); + } + + /** + * An Async wrapper for ListStepConsumers that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListStepConsumersAsync(const ListStepConsumersRequestT& request, const ListStepConsumersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListStepConsumers, request, handler, context); + } + + /** + *

Lists the dependencies for a step.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListStepDependenciesOutcome ListStepDependencies(const Model::ListStepDependenciesRequest& request) const; + + /** + * A Callable wrapper for ListStepDependencies that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListStepDependenciesOutcomeCallable ListStepDependenciesCallable(const ListStepDependenciesRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListStepDependencies, request); + } + + /** + * An Async wrapper for ListStepDependencies that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListStepDependenciesAsync(const ListStepDependenciesRequestT& request, const ListStepDependenciesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListStepDependencies, request, handler, context); + } + + /** + *

Lists steps for a job.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListStepsOutcome ListSteps(const Model::ListStepsRequest& request) const; + + /** + * A Callable wrapper for ListSteps that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListStepsOutcomeCallable ListStepsCallable(const ListStepsRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListSteps, request); + } + + /** + * An Async wrapper for ListSteps that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListStepsAsync(const ListStepsRequestT& request, const ListStepsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListSteps, request, handler, context); + } + + /** + *

Lists storage profiles.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListStorageProfilesOutcome ListStorageProfiles(const Model::ListStorageProfilesRequest& request) const; + + /** + * A Callable wrapper for ListStorageProfiles that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListStorageProfilesOutcomeCallable ListStorageProfilesCallable(const ListStorageProfilesRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListStorageProfiles, request); + } + + /** + * An Async wrapper for ListStorageProfiles that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListStorageProfilesAsync(const ListStorageProfilesRequestT& request, const ListStorageProfilesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListStorageProfiles, request, handler, context); + } + + /** + *

Lists storage profiles for a queue.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListStorageProfilesForQueueOutcome ListStorageProfilesForQueue(const Model::ListStorageProfilesForQueueRequest& request) const; + + /** + * A Callable wrapper for ListStorageProfilesForQueue that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListStorageProfilesForQueueOutcomeCallable ListStorageProfilesForQueueCallable(const ListStorageProfilesForQueueRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListStorageProfilesForQueue, request); + } + + /** + * An Async wrapper for ListStorageProfilesForQueue that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListStorageProfilesForQueueAsync(const ListStorageProfilesForQueueRequestT& request, const ListStorageProfilesForQueueResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListStorageProfilesForQueue, request, handler, context); + } + + /** + *

Lists tags for a resource.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const; + + /** + * A Callable wrapper for ListTagsForResource that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListTagsForResource, request); + } + + /** + * An Async wrapper for ListTagsForResource that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListTagsForResource, request, handler, context); + } + + /** + *

Lists tasks for a job.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListTasksOutcome ListTasks(const Model::ListTasksRequest& request) const; + + /** + * A Callable wrapper for ListTasks that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListTasksOutcomeCallable ListTasksCallable(const ListTasksRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListTasks, request); + } + + /** + * An Async wrapper for ListTasks that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListTasksAsync(const ListTasksRequestT& request, const ListTasksResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListTasks, request, handler, context); + } + + /** + *

Lists workers.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListWorkersOutcome ListWorkers(const Model::ListWorkersRequest& request) const; + + /** + * A Callable wrapper for ListWorkers that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListWorkersOutcomeCallable ListWorkersCallable(const ListWorkersRequestT& request) const + { + return SubmitCallable(&DeadlineClient::ListWorkers, request); + } + + /** + * An Async wrapper for ListWorkers that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListWorkersAsync(const ListWorkersRequestT& request, const ListWorkersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::ListWorkers, request, handler, context); + } + + /** + *

Adds a metered product.

See Also:

AWS + * API Reference

+ */ + virtual Model::PutMeteredProductOutcome PutMeteredProduct(const Model::PutMeteredProductRequest& request) const; + + /** + * A Callable wrapper for PutMeteredProduct that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::PutMeteredProductOutcomeCallable PutMeteredProductCallable(const PutMeteredProductRequestT& request) const + { + return SubmitCallable(&DeadlineClient::PutMeteredProduct, request); + } + + /** + * An Async wrapper for PutMeteredProduct that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void PutMeteredProductAsync(const PutMeteredProductRequestT& request, const PutMeteredProductResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::PutMeteredProduct, request, handler, context); + } + + /** + *

Searches for jobs.

See Also:

AWS + * API Reference

+ */ + virtual Model::SearchJobsOutcome SearchJobs(const Model::SearchJobsRequest& request) const; + + /** + * A Callable wrapper for SearchJobs that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::SearchJobsOutcomeCallable SearchJobsCallable(const SearchJobsRequestT& request) const + { + return SubmitCallable(&DeadlineClient::SearchJobs, request); + } + + /** + * An Async wrapper for SearchJobs that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void SearchJobsAsync(const SearchJobsRequestT& request, const SearchJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::SearchJobs, request, handler, context); + } + + /** + *

Searches for steps.

See Also:

AWS + * API Reference

+ */ + virtual Model::SearchStepsOutcome SearchSteps(const Model::SearchStepsRequest& request) const; + + /** + * A Callable wrapper for SearchSteps that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::SearchStepsOutcomeCallable SearchStepsCallable(const SearchStepsRequestT& request) const + { + return SubmitCallable(&DeadlineClient::SearchSteps, request); + } + + /** + * An Async wrapper for SearchSteps that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void SearchStepsAsync(const SearchStepsRequestT& request, const SearchStepsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::SearchSteps, request, handler, context); + } + + /** + *

Searches for tasks.

See Also:

AWS + * API Reference

+ */ + virtual Model::SearchTasksOutcome SearchTasks(const Model::SearchTasksRequest& request) const; + + /** + * A Callable wrapper for SearchTasks that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::SearchTasksOutcomeCallable SearchTasksCallable(const SearchTasksRequestT& request) const + { + return SubmitCallable(&DeadlineClient::SearchTasks, request); + } + + /** + * An Async wrapper for SearchTasks that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void SearchTasksAsync(const SearchTasksRequestT& request, const SearchTasksResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::SearchTasks, request, handler, context); + } + + /** + *

Searches for workers.

See Also:

AWS + * API Reference

+ */ + virtual Model::SearchWorkersOutcome SearchWorkers(const Model::SearchWorkersRequest& request) const; + + /** + * A Callable wrapper for SearchWorkers that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::SearchWorkersOutcomeCallable SearchWorkersCallable(const SearchWorkersRequestT& request) const + { + return SubmitCallable(&DeadlineClient::SearchWorkers, request); + } + + /** + * An Async wrapper for SearchWorkers that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void SearchWorkersAsync(const SearchWorkersRequestT& request, const SearchWorkersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::SearchWorkers, request, handler, context); + } + + /** + *

Starts an asynchronous request for getting aggregated statistics about queues + * and farms. Get the statistics using the + * GetSessionsStatisticsAggregation operation. Statistics are + * available for 1 hour after you call the + * StartSessionsStatisticsAggregation operation.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::StartSessionsStatisticsAggregationOutcome StartSessionsStatisticsAggregation(const Model::StartSessionsStatisticsAggregationRequest& request) const; + + /** + * A Callable wrapper for StartSessionsStatisticsAggregation that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::StartSessionsStatisticsAggregationOutcomeCallable StartSessionsStatisticsAggregationCallable(const StartSessionsStatisticsAggregationRequestT& request) const + { + return SubmitCallable(&DeadlineClient::StartSessionsStatisticsAggregation, request); + } + + /** + * An Async wrapper for StartSessionsStatisticsAggregation that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void StartSessionsStatisticsAggregationAsync(const StartSessionsStatisticsAggregationRequestT& request, const StartSessionsStatisticsAggregationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::StartSessionsStatisticsAggregation, request, handler, context); + } + + /** + *

Tags a resource using the resource's ARN and desired tags.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const; + + /** + * A Callable wrapper for TagResource that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const + { + return SubmitCallable(&DeadlineClient::TagResource, request); + } + + /** + * An Async wrapper for TagResource that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::TagResource, request, handler, context); + } + + /** + *

Removes a tag from a resource using the resource's ARN and tag to + * remove.

See Also:

AWS + * API Reference

+ */ + virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const; + + /** + * A Callable wrapper for UntagResource that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const + { + return SubmitCallable(&DeadlineClient::UntagResource, request); + } + + /** + * An Async wrapper for UntagResource that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::UntagResource, request, handler, context); + } + + /** + *

Updates a budget that sets spending thresholds for rendering + * activity.

See Also:

AWS + * API Reference

+ */ + virtual Model::UpdateBudgetOutcome UpdateBudget(const Model::UpdateBudgetRequest& request) const; + + /** + * A Callable wrapper for UpdateBudget that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateBudgetOutcomeCallable UpdateBudgetCallable(const UpdateBudgetRequestT& request) const + { + return SubmitCallable(&DeadlineClient::UpdateBudget, request); + } + + /** + * An Async wrapper for UpdateBudget that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateBudgetAsync(const UpdateBudgetRequestT& request, const UpdateBudgetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::UpdateBudget, request, handler, context); + } + + /** + *

Updates a farm.

See Also:

AWS + * API Reference

+ */ + virtual Model::UpdateFarmOutcome UpdateFarm(const Model::UpdateFarmRequest& request) const; + + /** + * A Callable wrapper for UpdateFarm that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateFarmOutcomeCallable UpdateFarmCallable(const UpdateFarmRequestT& request) const + { + return SubmitCallable(&DeadlineClient::UpdateFarm, request); + } + + /** + * An Async wrapper for UpdateFarm that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateFarmAsync(const UpdateFarmRequestT& request, const UpdateFarmResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::UpdateFarm, request, handler, context); + } + + /** + *

Updates a fleet.

See Also:

AWS + * API Reference

+ */ + virtual Model::UpdateFleetOutcome UpdateFleet(const Model::UpdateFleetRequest& request) const; + + /** + * A Callable wrapper for UpdateFleet that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateFleetOutcomeCallable UpdateFleetCallable(const UpdateFleetRequestT& request) const + { + return SubmitCallable(&DeadlineClient::UpdateFleet, request); + } + + /** + * An Async wrapper for UpdateFleet that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateFleetAsync(const UpdateFleetRequestT& request, const UpdateFleetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::UpdateFleet, request, handler, context); + } + + /** + *

Updates a job.

See Also:

AWS + * API Reference

+ */ + virtual Model::UpdateJobOutcome UpdateJob(const Model::UpdateJobRequest& request) const; + + /** + * A Callable wrapper for UpdateJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateJobOutcomeCallable UpdateJobCallable(const UpdateJobRequestT& request) const + { + return SubmitCallable(&DeadlineClient::UpdateJob, request); + } + + /** + * An Async wrapper for UpdateJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateJobAsync(const UpdateJobRequestT& request, const UpdateJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::UpdateJob, request, handler, context); + } + + /** + *

Modifies the settings for a Deadline Cloud monitor. You can modify one or all + * of the settings when you call UpdateMonitor.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::UpdateMonitorOutcome UpdateMonitor(const Model::UpdateMonitorRequest& request) const; + + /** + * A Callable wrapper for UpdateMonitor that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateMonitorOutcomeCallable UpdateMonitorCallable(const UpdateMonitorRequestT& request) const + { + return SubmitCallable(&DeadlineClient::UpdateMonitor, request); + } + + /** + * An Async wrapper for UpdateMonitor that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateMonitorAsync(const UpdateMonitorRequestT& request, const UpdateMonitorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::UpdateMonitor, request, handler, context); + } + + /** + *

Updates a queue.

See Also:

AWS + * API Reference

+ */ + virtual Model::UpdateQueueOutcome UpdateQueue(const Model::UpdateQueueRequest& request) const; + + /** + * A Callable wrapper for UpdateQueue that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateQueueOutcomeCallable UpdateQueueCallable(const UpdateQueueRequestT& request) const + { + return SubmitCallable(&DeadlineClient::UpdateQueue, request); + } + + /** + * An Async wrapper for UpdateQueue that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateQueueAsync(const UpdateQueueRequestT& request, const UpdateQueueResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::UpdateQueue, request, handler, context); + } + + /** + *

Updates the queue environment.

See Also:

AWS + * API Reference

+ */ + virtual Model::UpdateQueueEnvironmentOutcome UpdateQueueEnvironment(const Model::UpdateQueueEnvironmentRequest& request) const; + + /** + * A Callable wrapper for UpdateQueueEnvironment that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateQueueEnvironmentOutcomeCallable UpdateQueueEnvironmentCallable(const UpdateQueueEnvironmentRequestT& request) const + { + return SubmitCallable(&DeadlineClient::UpdateQueueEnvironment, request); + } + + /** + * An Async wrapper for UpdateQueueEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateQueueEnvironmentAsync(const UpdateQueueEnvironmentRequestT& request, const UpdateQueueEnvironmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::UpdateQueueEnvironment, request, handler, context); + } + + /** + *

Updates a queue-fleet association.

See Also:

AWS + * API Reference

+ */ + virtual Model::UpdateQueueFleetAssociationOutcome UpdateQueueFleetAssociation(const Model::UpdateQueueFleetAssociationRequest& request) const; + + /** + * A Callable wrapper for UpdateQueueFleetAssociation that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateQueueFleetAssociationOutcomeCallable UpdateQueueFleetAssociationCallable(const UpdateQueueFleetAssociationRequestT& request) const + { + return SubmitCallable(&DeadlineClient::UpdateQueueFleetAssociation, request); + } + + /** + * An Async wrapper for UpdateQueueFleetAssociation that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateQueueFleetAssociationAsync(const UpdateQueueFleetAssociationRequestT& request, const UpdateQueueFleetAssociationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::UpdateQueueFleetAssociation, request, handler, context); + } + + /** + *

Updates a session.

See Also:

AWS + * API Reference

+ */ + virtual Model::UpdateSessionOutcome UpdateSession(const Model::UpdateSessionRequest& request) const; + + /** + * A Callable wrapper for UpdateSession that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateSessionOutcomeCallable UpdateSessionCallable(const UpdateSessionRequestT& request) const + { + return SubmitCallable(&DeadlineClient::UpdateSession, request); + } + + /** + * An Async wrapper for UpdateSession that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateSessionAsync(const UpdateSessionRequestT& request, const UpdateSessionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::UpdateSession, request, handler, context); + } + + /** + *

Updates a step.

See Also:

AWS + * API Reference

+ */ + virtual Model::UpdateStepOutcome UpdateStep(const Model::UpdateStepRequest& request) const; + + /** + * A Callable wrapper for UpdateStep that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateStepOutcomeCallable UpdateStepCallable(const UpdateStepRequestT& request) const + { + return SubmitCallable(&DeadlineClient::UpdateStep, request); + } + + /** + * An Async wrapper for UpdateStep that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateStepAsync(const UpdateStepRequestT& request, const UpdateStepResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::UpdateStep, request, handler, context); + } + + /** + *

Updates a storage profile.

See Also:

AWS + * API Reference

+ */ + virtual Model::UpdateStorageProfileOutcome UpdateStorageProfile(const Model::UpdateStorageProfileRequest& request) const; + + /** + * A Callable wrapper for UpdateStorageProfile that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateStorageProfileOutcomeCallable UpdateStorageProfileCallable(const UpdateStorageProfileRequestT& request) const + { + return SubmitCallable(&DeadlineClient::UpdateStorageProfile, request); + } + + /** + * An Async wrapper for UpdateStorageProfile that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateStorageProfileAsync(const UpdateStorageProfileRequestT& request, const UpdateStorageProfileResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::UpdateStorageProfile, request, handler, context); + } + + /** + *

Updates a task.

See Also:

AWS + * API Reference

+ */ + virtual Model::UpdateTaskOutcome UpdateTask(const Model::UpdateTaskRequest& request) const; + + /** + * A Callable wrapper for UpdateTask that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateTaskOutcomeCallable UpdateTaskCallable(const UpdateTaskRequestT& request) const + { + return SubmitCallable(&DeadlineClient::UpdateTask, request); + } + + /** + * An Async wrapper for UpdateTask that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateTaskAsync(const UpdateTaskRequestT& request, const UpdateTaskResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::UpdateTask, request, handler, context); + } + + /** + *

Updates a worker.

See Also:

AWS + * API Reference

+ */ + virtual Model::UpdateWorkerOutcome UpdateWorker(const Model::UpdateWorkerRequest& request) const; + + /** + * A Callable wrapper for UpdateWorker that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateWorkerOutcomeCallable UpdateWorkerCallable(const UpdateWorkerRequestT& request) const + { + return SubmitCallable(&DeadlineClient::UpdateWorker, request); + } + + /** + * An Async wrapper for UpdateWorker that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateWorkerAsync(const UpdateWorkerRequestT& request, const UpdateWorkerResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::UpdateWorker, request, handler, context); + } + + /** + *

Updates the schedule for a worker.

See Also:

AWS + * API Reference

+ */ + virtual Model::UpdateWorkerScheduleOutcome UpdateWorkerSchedule(const Model::UpdateWorkerScheduleRequest& request) const; + + /** + * A Callable wrapper for UpdateWorkerSchedule that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateWorkerScheduleOutcomeCallable UpdateWorkerScheduleCallable(const UpdateWorkerScheduleRequestT& request) const + { + return SubmitCallable(&DeadlineClient::UpdateWorkerSchedule, request); + } + + /** + * An Async wrapper for UpdateWorkerSchedule that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateWorkerScheduleAsync(const UpdateWorkerScheduleRequestT& request, const UpdateWorkerScheduleResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DeadlineClient::UpdateWorkerSchedule, request, handler, context); + } + + + void OverrideEndpoint(const Aws::String& endpoint); + std::shared_ptr& accessEndpointProvider(); + private: + friend class Aws::Client::ClientWithAsyncTemplateMethods; + void init(const DeadlineClientConfiguration& clientConfiguration); + + DeadlineClientConfiguration m_clientConfiguration; + std::shared_ptr m_executor; + std::shared_ptr m_endpointProvider; + }; + +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineEndpointProvider.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineEndpointProvider.h new file mode 100644 index 00000000000..7a86b31c91f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineEndpointProvider.h @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +#include + + +namespace Aws +{ +namespace deadline +{ +namespace Endpoint +{ +using EndpointParameters = Aws::Endpoint::EndpointParameters; +using Aws::Endpoint::EndpointProviderBase; +using Aws::Endpoint::DefaultEndpointProvider; + +using DeadlineClientContextParameters = Aws::Endpoint::ClientContextParameters; + +using DeadlineClientConfiguration = Aws::Client::GenericClientConfiguration; +using DeadlineBuiltInParameters = Aws::Endpoint::BuiltInParameters; + +/** + * The type for the deadline Client Endpoint Provider. + * Inherit from this Base class / "Interface" should you want to provide a custom endpoint provider. + * The SDK must use service-specific type for each service per specification. + */ +using DeadlineEndpointProviderBase = + EndpointProviderBase; + +using DeadlineDefaultEpProviderBase = + DefaultEndpointProvider; + +/** + * Default endpoint provider used for this service + */ +class AWS_DEADLINE_API DeadlineEndpointProvider : public DeadlineDefaultEpProviderBase +{ +public: + using DeadlineResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; + + DeadlineEndpointProvider() + : DeadlineDefaultEpProviderBase(Aws::deadline::DeadlineEndpointRules::GetRulesBlob(), Aws::deadline::DeadlineEndpointRules::RulesBlobSize) + {} + + ~DeadlineEndpointProvider() + { + } +}; +} // namespace Endpoint +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineEndpointRules.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineEndpointRules.h new file mode 100644 index 00000000000..568fd1fe820 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineEndpointRules.h @@ -0,0 +1,23 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +class DeadlineEndpointRules +{ +public: + static const size_t RulesBlobStrLen; + static const size_t RulesBlobSize; + + static const char* GetRulesBlob(); +}; +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineErrorMarshaller.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineErrorMarshaller.h new file mode 100644 index 00000000000..eb6cd3e469b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineErrorMarshaller.h @@ -0,0 +1,23 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once + +#include +#include + +namespace Aws +{ +namespace Client +{ + +class AWS_DEADLINE_API DeadlineErrorMarshaller : public Aws::Client::JsonErrorMarshaller +{ +public: + Aws::Client::AWSError FindErrorByName(const char* exceptionName) const override; +}; + +} // namespace Client +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineErrors.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineErrors.h new file mode 100644 index 00000000000..10d445790f3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineErrors.h @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once + +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +enum class DeadlineErrors +{ + //From Core// + ////////////////////////////////////////////////////////////////////////////////////////// + INCOMPLETE_SIGNATURE = 0, + INTERNAL_FAILURE = 1, + INVALID_ACTION = 2, + INVALID_CLIENT_TOKEN_ID = 3, + INVALID_PARAMETER_COMBINATION = 4, + INVALID_QUERY_PARAMETER = 5, + INVALID_PARAMETER_VALUE = 6, + MISSING_ACTION = 7, // SDK should never allow + MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow + MISSING_PARAMETER = 9, // SDK should never allow + OPT_IN_REQUIRED = 10, + REQUEST_EXPIRED = 11, + SERVICE_UNAVAILABLE = 12, + THROTTLING = 13, + VALIDATION = 14, + ACCESS_DENIED = 15, + RESOURCE_NOT_FOUND = 16, + UNRECOGNIZED_CLIENT = 17, + MALFORMED_QUERY_STRING = 18, + SLOW_DOWN = 19, + REQUEST_TIME_TOO_SKEWED = 20, + INVALID_SIGNATURE = 21, + SIGNATURE_DOES_NOT_MATCH = 22, + INVALID_ACCESS_KEY_ID = 23, + REQUEST_TIMEOUT = 24, + NETWORK_CONNECTION = 99, + + UNKNOWN = 100, + /////////////////////////////////////////////////////////////////////////////////////////// + + CONFLICT= static_cast(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1, + INTERNAL_SERVER_ERROR, + SERVICE_QUOTA_EXCEEDED +}; + +class AWS_DEADLINE_API DeadlineError : public Aws::Client::AWSError +{ +public: + DeadlineError() {} + DeadlineError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} + DeadlineError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} + DeadlineError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} + DeadlineError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} + + template + T GetModeledError(); +}; + +namespace DeadlineErrorMapper +{ + AWS_DEADLINE_API Aws::Client::AWSError GetErrorForName(const char* errorName); +} + +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineRequest.h new file mode 100644 index 00000000000..c16092ebc88 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineRequest.h @@ -0,0 +1,46 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ + class AWS_DEADLINE_API DeadlineRequest : public Aws::AmazonSerializableWebServiceRequest + { + public: + using EndpointParameter = Aws::Endpoint::EndpointParameter; + using EndpointParameters = Aws::Endpoint::EndpointParameters; + + virtual ~DeadlineRequest () {} + + void AddParametersToRequest(Aws::Http::HttpRequest& httpRequest) const { AWS_UNREFERENCED_PARAM(httpRequest); } + + inline Aws::Http::HeaderValueCollection GetHeaders() const override + { + auto headers = GetRequestSpecificHeaders(); + + if(headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0)) + { + headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, Aws::JSON_CONTENT_TYPE )); + } + headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2023-10-12")); + return headers; + } + + protected: + virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); } + + }; + + +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineServiceClientModel.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineServiceClientModel.h new file mode 100644 index 00000000000..6c1ffe6015a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineServiceClientModel.h @@ -0,0 +1,585 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once + +/* Generic header includes */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +/* End of generic header includes */ + +/* Service model headers required in DeadlineClient header */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +/* End of service model headers required in DeadlineClient header */ + +namespace Aws +{ + namespace Http + { + class HttpClient; + class HttpClientFactory; + } // namespace Http + + namespace Utils + { + template< typename R, typename E> class Outcome; + + namespace Threading + { + class Executor; + } // namespace Threading + } // namespace Utils + + namespace Auth + { + class AWSCredentials; + class AWSCredentialsProvider; + } // namespace Auth + + namespace Client + { + class RetryStrategy; + } // namespace Client + + namespace deadline + { + using DeadlineClientConfiguration = Aws::Client::GenericClientConfiguration; + using DeadlineEndpointProviderBase = Aws::deadline::Endpoint::DeadlineEndpointProviderBase; + using DeadlineEndpointProvider = Aws::deadline::Endpoint::DeadlineEndpointProvider; + + namespace Model + { + /* Service model forward declarations required in DeadlineClient header */ + class AssociateMemberToFarmRequest; + class AssociateMemberToFleetRequest; + class AssociateMemberToJobRequest; + class AssociateMemberToQueueRequest; + class AssumeFleetRoleForReadRequest; + class AssumeFleetRoleForWorkerRequest; + class AssumeQueueRoleForReadRequest; + class AssumeQueueRoleForUserRequest; + class AssumeQueueRoleForWorkerRequest; + class BatchGetJobEntityRequest; + class CopyJobTemplateRequest; + class CreateBudgetRequest; + class CreateFarmRequest; + class CreateFleetRequest; + class CreateJobRequest; + class CreateLicenseEndpointRequest; + class CreateMonitorRequest; + class CreateQueueRequest; + class CreateQueueEnvironmentRequest; + class CreateQueueFleetAssociationRequest; + class CreateStorageProfileRequest; + class CreateWorkerRequest; + class DeleteBudgetRequest; + class DeleteFarmRequest; + class DeleteFleetRequest; + class DeleteLicenseEndpointRequest; + class DeleteMeteredProductRequest; + class DeleteMonitorRequest; + class DeleteQueueRequest; + class DeleteQueueEnvironmentRequest; + class DeleteQueueFleetAssociationRequest; + class DeleteStorageProfileRequest; + class DeleteWorkerRequest; + class DisassociateMemberFromFarmRequest; + class DisassociateMemberFromFleetRequest; + class DisassociateMemberFromJobRequest; + class DisassociateMemberFromQueueRequest; + class GetBudgetRequest; + class GetFarmRequest; + class GetFleetRequest; + class GetJobRequest; + class GetLicenseEndpointRequest; + class GetMonitorRequest; + class GetQueueRequest; + class GetQueueEnvironmentRequest; + class GetQueueFleetAssociationRequest; + class GetSessionRequest; + class GetSessionActionRequest; + class GetSessionsStatisticsAggregationRequest; + class GetStepRequest; + class GetStorageProfileRequest; + class GetStorageProfileForQueueRequest; + class GetTaskRequest; + class GetWorkerRequest; + class ListAvailableMeteredProductsRequest; + class ListBudgetsRequest; + class ListFarmMembersRequest; + class ListFarmsRequest; + class ListFleetMembersRequest; + class ListFleetsRequest; + class ListJobMembersRequest; + class ListJobsRequest; + class ListLicenseEndpointsRequest; + class ListMeteredProductsRequest; + class ListMonitorsRequest; + class ListQueueEnvironmentsRequest; + class ListQueueFleetAssociationsRequest; + class ListQueueMembersRequest; + class ListQueuesRequest; + class ListSessionActionsRequest; + class ListSessionsRequest; + class ListSessionsForWorkerRequest; + class ListStepConsumersRequest; + class ListStepDependenciesRequest; + class ListStepsRequest; + class ListStorageProfilesRequest; + class ListStorageProfilesForQueueRequest; + class ListTagsForResourceRequest; + class ListTasksRequest; + class ListWorkersRequest; + class PutMeteredProductRequest; + class SearchJobsRequest; + class SearchStepsRequest; + class SearchTasksRequest; + class SearchWorkersRequest; + class StartSessionsStatisticsAggregationRequest; + class TagResourceRequest; + class UntagResourceRequest; + class UpdateBudgetRequest; + class UpdateFarmRequest; + class UpdateFleetRequest; + class UpdateJobRequest; + class UpdateMonitorRequest; + class UpdateQueueRequest; + class UpdateQueueEnvironmentRequest; + class UpdateQueueFleetAssociationRequest; + class UpdateSessionRequest; + class UpdateStepRequest; + class UpdateStorageProfileRequest; + class UpdateTaskRequest; + class UpdateWorkerRequest; + class UpdateWorkerScheduleRequest; + /* End of service model forward declarations required in DeadlineClient header */ + + /* Service model Outcome class definitions */ + typedef Aws::Utils::Outcome AssociateMemberToFarmOutcome; + typedef Aws::Utils::Outcome AssociateMemberToFleetOutcome; + typedef Aws::Utils::Outcome AssociateMemberToJobOutcome; + typedef Aws::Utils::Outcome AssociateMemberToQueueOutcome; + typedef Aws::Utils::Outcome AssumeFleetRoleForReadOutcome; + typedef Aws::Utils::Outcome AssumeFleetRoleForWorkerOutcome; + typedef Aws::Utils::Outcome AssumeQueueRoleForReadOutcome; + typedef Aws::Utils::Outcome AssumeQueueRoleForUserOutcome; + typedef Aws::Utils::Outcome AssumeQueueRoleForWorkerOutcome; + typedef Aws::Utils::Outcome BatchGetJobEntityOutcome; + typedef Aws::Utils::Outcome CopyJobTemplateOutcome; + typedef Aws::Utils::Outcome CreateBudgetOutcome; + typedef Aws::Utils::Outcome CreateFarmOutcome; + typedef Aws::Utils::Outcome CreateFleetOutcome; + typedef Aws::Utils::Outcome CreateJobOutcome; + typedef Aws::Utils::Outcome CreateLicenseEndpointOutcome; + typedef Aws::Utils::Outcome CreateMonitorOutcome; + typedef Aws::Utils::Outcome CreateQueueOutcome; + typedef Aws::Utils::Outcome CreateQueueEnvironmentOutcome; + typedef Aws::Utils::Outcome CreateQueueFleetAssociationOutcome; + typedef Aws::Utils::Outcome CreateStorageProfileOutcome; + typedef Aws::Utils::Outcome CreateWorkerOutcome; + typedef Aws::Utils::Outcome DeleteBudgetOutcome; + typedef Aws::Utils::Outcome DeleteFarmOutcome; + typedef Aws::Utils::Outcome DeleteFleetOutcome; + typedef Aws::Utils::Outcome DeleteLicenseEndpointOutcome; + typedef Aws::Utils::Outcome DeleteMeteredProductOutcome; + typedef Aws::Utils::Outcome DeleteMonitorOutcome; + typedef Aws::Utils::Outcome DeleteQueueOutcome; + typedef Aws::Utils::Outcome DeleteQueueEnvironmentOutcome; + typedef Aws::Utils::Outcome DeleteQueueFleetAssociationOutcome; + typedef Aws::Utils::Outcome DeleteStorageProfileOutcome; + typedef Aws::Utils::Outcome DeleteWorkerOutcome; + typedef Aws::Utils::Outcome DisassociateMemberFromFarmOutcome; + typedef Aws::Utils::Outcome DisassociateMemberFromFleetOutcome; + typedef Aws::Utils::Outcome DisassociateMemberFromJobOutcome; + typedef Aws::Utils::Outcome DisassociateMemberFromQueueOutcome; + typedef Aws::Utils::Outcome GetBudgetOutcome; + typedef Aws::Utils::Outcome GetFarmOutcome; + typedef Aws::Utils::Outcome GetFleetOutcome; + typedef Aws::Utils::Outcome GetJobOutcome; + typedef Aws::Utils::Outcome GetLicenseEndpointOutcome; + typedef Aws::Utils::Outcome GetMonitorOutcome; + typedef Aws::Utils::Outcome GetQueueOutcome; + typedef Aws::Utils::Outcome GetQueueEnvironmentOutcome; + typedef Aws::Utils::Outcome GetQueueFleetAssociationOutcome; + typedef Aws::Utils::Outcome GetSessionOutcome; + typedef Aws::Utils::Outcome GetSessionActionOutcome; + typedef Aws::Utils::Outcome GetSessionsStatisticsAggregationOutcome; + typedef Aws::Utils::Outcome GetStepOutcome; + typedef Aws::Utils::Outcome GetStorageProfileOutcome; + typedef Aws::Utils::Outcome GetStorageProfileForQueueOutcome; + typedef Aws::Utils::Outcome GetTaskOutcome; + typedef Aws::Utils::Outcome GetWorkerOutcome; + typedef Aws::Utils::Outcome ListAvailableMeteredProductsOutcome; + typedef Aws::Utils::Outcome ListBudgetsOutcome; + typedef Aws::Utils::Outcome ListFarmMembersOutcome; + typedef Aws::Utils::Outcome ListFarmsOutcome; + typedef Aws::Utils::Outcome ListFleetMembersOutcome; + typedef Aws::Utils::Outcome ListFleetsOutcome; + typedef Aws::Utils::Outcome ListJobMembersOutcome; + typedef Aws::Utils::Outcome ListJobsOutcome; + typedef Aws::Utils::Outcome ListLicenseEndpointsOutcome; + typedef Aws::Utils::Outcome ListMeteredProductsOutcome; + typedef Aws::Utils::Outcome ListMonitorsOutcome; + typedef Aws::Utils::Outcome ListQueueEnvironmentsOutcome; + typedef Aws::Utils::Outcome ListQueueFleetAssociationsOutcome; + typedef Aws::Utils::Outcome ListQueueMembersOutcome; + typedef Aws::Utils::Outcome ListQueuesOutcome; + typedef Aws::Utils::Outcome ListSessionActionsOutcome; + typedef Aws::Utils::Outcome ListSessionsOutcome; + typedef Aws::Utils::Outcome ListSessionsForWorkerOutcome; + typedef Aws::Utils::Outcome ListStepConsumersOutcome; + typedef Aws::Utils::Outcome ListStepDependenciesOutcome; + typedef Aws::Utils::Outcome ListStepsOutcome; + typedef Aws::Utils::Outcome ListStorageProfilesOutcome; + typedef Aws::Utils::Outcome ListStorageProfilesForQueueOutcome; + typedef Aws::Utils::Outcome ListTagsForResourceOutcome; + typedef Aws::Utils::Outcome ListTasksOutcome; + typedef Aws::Utils::Outcome ListWorkersOutcome; + typedef Aws::Utils::Outcome PutMeteredProductOutcome; + typedef Aws::Utils::Outcome SearchJobsOutcome; + typedef Aws::Utils::Outcome SearchStepsOutcome; + typedef Aws::Utils::Outcome SearchTasksOutcome; + typedef Aws::Utils::Outcome SearchWorkersOutcome; + typedef Aws::Utils::Outcome StartSessionsStatisticsAggregationOutcome; + typedef Aws::Utils::Outcome TagResourceOutcome; + typedef Aws::Utils::Outcome UntagResourceOutcome; + typedef Aws::Utils::Outcome UpdateBudgetOutcome; + typedef Aws::Utils::Outcome UpdateFarmOutcome; + typedef Aws::Utils::Outcome UpdateFleetOutcome; + typedef Aws::Utils::Outcome UpdateJobOutcome; + typedef Aws::Utils::Outcome UpdateMonitorOutcome; + typedef Aws::Utils::Outcome UpdateQueueOutcome; + typedef Aws::Utils::Outcome UpdateQueueEnvironmentOutcome; + typedef Aws::Utils::Outcome UpdateQueueFleetAssociationOutcome; + typedef Aws::Utils::Outcome UpdateSessionOutcome; + typedef Aws::Utils::Outcome UpdateStepOutcome; + typedef Aws::Utils::Outcome UpdateStorageProfileOutcome; + typedef Aws::Utils::Outcome UpdateTaskOutcome; + typedef Aws::Utils::Outcome UpdateWorkerOutcome; + typedef Aws::Utils::Outcome UpdateWorkerScheduleOutcome; + /* End of service model Outcome class definitions */ + + /* Service model Outcome callable definitions */ + typedef std::future AssociateMemberToFarmOutcomeCallable; + typedef std::future AssociateMemberToFleetOutcomeCallable; + typedef std::future AssociateMemberToJobOutcomeCallable; + typedef std::future AssociateMemberToQueueOutcomeCallable; + typedef std::future AssumeFleetRoleForReadOutcomeCallable; + typedef std::future AssumeFleetRoleForWorkerOutcomeCallable; + typedef std::future AssumeQueueRoleForReadOutcomeCallable; + typedef std::future AssumeQueueRoleForUserOutcomeCallable; + typedef std::future AssumeQueueRoleForWorkerOutcomeCallable; + typedef std::future BatchGetJobEntityOutcomeCallable; + typedef std::future CopyJobTemplateOutcomeCallable; + typedef std::future CreateBudgetOutcomeCallable; + typedef std::future CreateFarmOutcomeCallable; + typedef std::future CreateFleetOutcomeCallable; + typedef std::future CreateJobOutcomeCallable; + typedef std::future CreateLicenseEndpointOutcomeCallable; + typedef std::future CreateMonitorOutcomeCallable; + typedef std::future CreateQueueOutcomeCallable; + typedef std::future CreateQueueEnvironmentOutcomeCallable; + typedef std::future CreateQueueFleetAssociationOutcomeCallable; + typedef std::future CreateStorageProfileOutcomeCallable; + typedef std::future CreateWorkerOutcomeCallable; + typedef std::future DeleteBudgetOutcomeCallable; + typedef std::future DeleteFarmOutcomeCallable; + typedef std::future DeleteFleetOutcomeCallable; + typedef std::future DeleteLicenseEndpointOutcomeCallable; + typedef std::future DeleteMeteredProductOutcomeCallable; + typedef std::future DeleteMonitorOutcomeCallable; + typedef std::future DeleteQueueOutcomeCallable; + typedef std::future DeleteQueueEnvironmentOutcomeCallable; + typedef std::future DeleteQueueFleetAssociationOutcomeCallable; + typedef std::future DeleteStorageProfileOutcomeCallable; + typedef std::future DeleteWorkerOutcomeCallable; + typedef std::future DisassociateMemberFromFarmOutcomeCallable; + typedef std::future DisassociateMemberFromFleetOutcomeCallable; + typedef std::future DisassociateMemberFromJobOutcomeCallable; + typedef std::future DisassociateMemberFromQueueOutcomeCallable; + typedef std::future GetBudgetOutcomeCallable; + typedef std::future GetFarmOutcomeCallable; + typedef std::future GetFleetOutcomeCallable; + typedef std::future GetJobOutcomeCallable; + typedef std::future GetLicenseEndpointOutcomeCallable; + typedef std::future GetMonitorOutcomeCallable; + typedef std::future GetQueueOutcomeCallable; + typedef std::future GetQueueEnvironmentOutcomeCallable; + typedef std::future GetQueueFleetAssociationOutcomeCallable; + typedef std::future GetSessionOutcomeCallable; + typedef std::future GetSessionActionOutcomeCallable; + typedef std::future GetSessionsStatisticsAggregationOutcomeCallable; + typedef std::future GetStepOutcomeCallable; + typedef std::future GetStorageProfileOutcomeCallable; + typedef std::future GetStorageProfileForQueueOutcomeCallable; + typedef std::future GetTaskOutcomeCallable; + typedef std::future GetWorkerOutcomeCallable; + typedef std::future ListAvailableMeteredProductsOutcomeCallable; + typedef std::future ListBudgetsOutcomeCallable; + typedef std::future ListFarmMembersOutcomeCallable; + typedef std::future ListFarmsOutcomeCallable; + typedef std::future ListFleetMembersOutcomeCallable; + typedef std::future ListFleetsOutcomeCallable; + typedef std::future ListJobMembersOutcomeCallable; + typedef std::future ListJobsOutcomeCallable; + typedef std::future ListLicenseEndpointsOutcomeCallable; + typedef std::future ListMeteredProductsOutcomeCallable; + typedef std::future ListMonitorsOutcomeCallable; + typedef std::future ListQueueEnvironmentsOutcomeCallable; + typedef std::future ListQueueFleetAssociationsOutcomeCallable; + typedef std::future ListQueueMembersOutcomeCallable; + typedef std::future ListQueuesOutcomeCallable; + typedef std::future ListSessionActionsOutcomeCallable; + typedef std::future ListSessionsOutcomeCallable; + typedef std::future ListSessionsForWorkerOutcomeCallable; + typedef std::future ListStepConsumersOutcomeCallable; + typedef std::future ListStepDependenciesOutcomeCallable; + typedef std::future ListStepsOutcomeCallable; + typedef std::future ListStorageProfilesOutcomeCallable; + typedef std::future ListStorageProfilesForQueueOutcomeCallable; + typedef std::future ListTagsForResourceOutcomeCallable; + typedef std::future ListTasksOutcomeCallable; + typedef std::future ListWorkersOutcomeCallable; + typedef std::future PutMeteredProductOutcomeCallable; + typedef std::future SearchJobsOutcomeCallable; + typedef std::future SearchStepsOutcomeCallable; + typedef std::future SearchTasksOutcomeCallable; + typedef std::future SearchWorkersOutcomeCallable; + typedef std::future StartSessionsStatisticsAggregationOutcomeCallable; + typedef std::future TagResourceOutcomeCallable; + typedef std::future UntagResourceOutcomeCallable; + typedef std::future UpdateBudgetOutcomeCallable; + typedef std::future UpdateFarmOutcomeCallable; + typedef std::future UpdateFleetOutcomeCallable; + typedef std::future UpdateJobOutcomeCallable; + typedef std::future UpdateMonitorOutcomeCallable; + typedef std::future UpdateQueueOutcomeCallable; + typedef std::future UpdateQueueEnvironmentOutcomeCallable; + typedef std::future UpdateQueueFleetAssociationOutcomeCallable; + typedef std::future UpdateSessionOutcomeCallable; + typedef std::future UpdateStepOutcomeCallable; + typedef std::future UpdateStorageProfileOutcomeCallable; + typedef std::future UpdateTaskOutcomeCallable; + typedef std::future UpdateWorkerOutcomeCallable; + typedef std::future UpdateWorkerScheduleOutcomeCallable; + /* End of service model Outcome callable definitions */ + } // namespace Model + + class DeadlineClient; + + /* Service model async handlers definitions */ + typedef std::function&) > AssociateMemberToFarmResponseReceivedHandler; + typedef std::function&) > AssociateMemberToFleetResponseReceivedHandler; + typedef std::function&) > AssociateMemberToJobResponseReceivedHandler; + typedef std::function&) > AssociateMemberToQueueResponseReceivedHandler; + typedef std::function&) > AssumeFleetRoleForReadResponseReceivedHandler; + typedef std::function&) > AssumeFleetRoleForWorkerResponseReceivedHandler; + typedef std::function&) > AssumeQueueRoleForReadResponseReceivedHandler; + typedef std::function&) > AssumeQueueRoleForUserResponseReceivedHandler; + typedef std::function&) > AssumeQueueRoleForWorkerResponseReceivedHandler; + typedef std::function&) > BatchGetJobEntityResponseReceivedHandler; + typedef std::function&) > CopyJobTemplateResponseReceivedHandler; + typedef std::function&) > CreateBudgetResponseReceivedHandler; + typedef std::function&) > CreateFarmResponseReceivedHandler; + typedef std::function&) > CreateFleetResponseReceivedHandler; + typedef std::function&) > CreateJobResponseReceivedHandler; + typedef std::function&) > CreateLicenseEndpointResponseReceivedHandler; + typedef std::function&) > CreateMonitorResponseReceivedHandler; + typedef std::function&) > CreateQueueResponseReceivedHandler; + typedef std::function&) > CreateQueueEnvironmentResponseReceivedHandler; + typedef std::function&) > CreateQueueFleetAssociationResponseReceivedHandler; + typedef std::function&) > CreateStorageProfileResponseReceivedHandler; + typedef std::function&) > CreateWorkerResponseReceivedHandler; + typedef std::function&) > DeleteBudgetResponseReceivedHandler; + typedef std::function&) > DeleteFarmResponseReceivedHandler; + typedef std::function&) > DeleteFleetResponseReceivedHandler; + typedef std::function&) > DeleteLicenseEndpointResponseReceivedHandler; + typedef std::function&) > DeleteMeteredProductResponseReceivedHandler; + typedef std::function&) > DeleteMonitorResponseReceivedHandler; + typedef std::function&) > DeleteQueueResponseReceivedHandler; + typedef std::function&) > DeleteQueueEnvironmentResponseReceivedHandler; + typedef std::function&) > DeleteQueueFleetAssociationResponseReceivedHandler; + typedef std::function&) > DeleteStorageProfileResponseReceivedHandler; + typedef std::function&) > DeleteWorkerResponseReceivedHandler; + typedef std::function&) > DisassociateMemberFromFarmResponseReceivedHandler; + typedef std::function&) > DisassociateMemberFromFleetResponseReceivedHandler; + typedef std::function&) > DisassociateMemberFromJobResponseReceivedHandler; + typedef std::function&) > DisassociateMemberFromQueueResponseReceivedHandler; + typedef std::function&) > GetBudgetResponseReceivedHandler; + typedef std::function&) > GetFarmResponseReceivedHandler; + typedef std::function&) > GetFleetResponseReceivedHandler; + typedef std::function&) > GetJobResponseReceivedHandler; + typedef std::function&) > GetLicenseEndpointResponseReceivedHandler; + typedef std::function&) > GetMonitorResponseReceivedHandler; + typedef std::function&) > GetQueueResponseReceivedHandler; + typedef std::function&) > GetQueueEnvironmentResponseReceivedHandler; + typedef std::function&) > GetQueueFleetAssociationResponseReceivedHandler; + typedef std::function&) > GetSessionResponseReceivedHandler; + typedef std::function&) > GetSessionActionResponseReceivedHandler; + typedef std::function&) > GetSessionsStatisticsAggregationResponseReceivedHandler; + typedef std::function&) > GetStepResponseReceivedHandler; + typedef std::function&) > GetStorageProfileResponseReceivedHandler; + typedef std::function&) > GetStorageProfileForQueueResponseReceivedHandler; + typedef std::function&) > GetTaskResponseReceivedHandler; + typedef std::function&) > GetWorkerResponseReceivedHandler; + typedef std::function&) > ListAvailableMeteredProductsResponseReceivedHandler; + typedef std::function&) > ListBudgetsResponseReceivedHandler; + typedef std::function&) > ListFarmMembersResponseReceivedHandler; + typedef std::function&) > ListFarmsResponseReceivedHandler; + typedef std::function&) > ListFleetMembersResponseReceivedHandler; + typedef std::function&) > ListFleetsResponseReceivedHandler; + typedef std::function&) > ListJobMembersResponseReceivedHandler; + typedef std::function&) > ListJobsResponseReceivedHandler; + typedef std::function&) > ListLicenseEndpointsResponseReceivedHandler; + typedef std::function&) > ListMeteredProductsResponseReceivedHandler; + typedef std::function&) > ListMonitorsResponseReceivedHandler; + typedef std::function&) > ListQueueEnvironmentsResponseReceivedHandler; + typedef std::function&) > ListQueueFleetAssociationsResponseReceivedHandler; + typedef std::function&) > ListQueueMembersResponseReceivedHandler; + typedef std::function&) > ListQueuesResponseReceivedHandler; + typedef std::function&) > ListSessionActionsResponseReceivedHandler; + typedef std::function&) > ListSessionsResponseReceivedHandler; + typedef std::function&) > ListSessionsForWorkerResponseReceivedHandler; + typedef std::function&) > ListStepConsumersResponseReceivedHandler; + typedef std::function&) > ListStepDependenciesResponseReceivedHandler; + typedef std::function&) > ListStepsResponseReceivedHandler; + typedef std::function&) > ListStorageProfilesResponseReceivedHandler; + typedef std::function&) > ListStorageProfilesForQueueResponseReceivedHandler; + typedef std::function&) > ListTagsForResourceResponseReceivedHandler; + typedef std::function&) > ListTasksResponseReceivedHandler; + typedef std::function&) > ListWorkersResponseReceivedHandler; + typedef std::function&) > PutMeteredProductResponseReceivedHandler; + typedef std::function&) > SearchJobsResponseReceivedHandler; + typedef std::function&) > SearchStepsResponseReceivedHandler; + typedef std::function&) > SearchTasksResponseReceivedHandler; + typedef std::function&) > SearchWorkersResponseReceivedHandler; + typedef std::function&) > StartSessionsStatisticsAggregationResponseReceivedHandler; + typedef std::function&) > TagResourceResponseReceivedHandler; + typedef std::function&) > UntagResourceResponseReceivedHandler; + typedef std::function&) > UpdateBudgetResponseReceivedHandler; + typedef std::function&) > UpdateFarmResponseReceivedHandler; + typedef std::function&) > UpdateFleetResponseReceivedHandler; + typedef std::function&) > UpdateJobResponseReceivedHandler; + typedef std::function&) > UpdateMonitorResponseReceivedHandler; + typedef std::function&) > UpdateQueueResponseReceivedHandler; + typedef std::function&) > UpdateQueueEnvironmentResponseReceivedHandler; + typedef std::function&) > UpdateQueueFleetAssociationResponseReceivedHandler; + typedef std::function&) > UpdateSessionResponseReceivedHandler; + typedef std::function&) > UpdateStepResponseReceivedHandler; + typedef std::function&) > UpdateStorageProfileResponseReceivedHandler; + typedef std::function&) > UpdateTaskResponseReceivedHandler; + typedef std::function&) > UpdateWorkerResponseReceivedHandler; + typedef std::function&) > UpdateWorkerScheduleResponseReceivedHandler; + /* End of service model async handlers definitions */ + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/Deadline_EXPORTS.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/Deadline_EXPORTS.h new file mode 100644 index 00000000000..dc6b95e8329 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/Deadline_EXPORTS.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once + +#ifdef _MSC_VER + //disable windows complaining about max template size. + #pragma warning (disable : 4503) +#endif // _MSC_VER + +#if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32) + #ifdef _MSC_VER + #pragma warning(disable : 4251) + #endif // _MSC_VER + + #ifdef USE_IMPORT_EXPORT + #ifdef AWS_DEADLINE_EXPORTS + #define AWS_DEADLINE_API __declspec(dllexport) + #else + #define AWS_DEADLINE_API __declspec(dllimport) + #endif /* AWS_DEADLINE_EXPORTS */ + #define AWS_DEADLINE_EXTERN + #else + #define AWS_DEADLINE_API + #define AWS_DEADLINE_EXTERN extern + #endif // USE_IMPORT_EXPORT +#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) + #define AWS_DEADLINE_API + #define AWS_DEADLINE_EXTERN extern +#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AcceleratorCountRange.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AcceleratorCountRange.h new file mode 100644 index 00000000000..cec7fd53e97 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AcceleratorCountRange.h @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The range for the GPU fleet acceleration.

See Also:

AWS + * API Reference

+ */ + class AcceleratorCountRange + { + public: + AWS_DEADLINE_API AcceleratorCountRange(); + AWS_DEADLINE_API AcceleratorCountRange(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API AcceleratorCountRange& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The maximum GPU for the accelerator.

+ */ + inline int GetMax() const{ return m_max; } + + /** + *

The maximum GPU for the accelerator.

+ */ + inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } + + /** + *

The maximum GPU for the accelerator.

+ */ + inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; } + + /** + *

The maximum GPU for the accelerator.

+ */ + inline AcceleratorCountRange& WithMax(int value) { SetMax(value); return *this;} + + + /** + *

The minimum GPU for the accelerator.

+ */ + inline int GetMin() const{ return m_min; } + + /** + *

The minimum GPU for the accelerator.

+ */ + inline bool MinHasBeenSet() const { return m_minHasBeenSet; } + + /** + *

The minimum GPU for the accelerator.

+ */ + inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; } + + /** + *

The minimum GPU for the accelerator.

+ */ + inline AcceleratorCountRange& WithMin(int value) { SetMin(value); return *this;} + + private: + + int m_max; + bool m_maxHasBeenSet = false; + + int m_min; + bool m_minHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AcceleratorTotalMemoryMiBRange.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AcceleratorTotalMemoryMiBRange.h new file mode 100644 index 00000000000..b36097189dd --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AcceleratorTotalMemoryMiBRange.h @@ -0,0 +1,91 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The range for memory, in MiB, to use for the accelerator.

See + * Also:

AWS + * API Reference

+ */ + class AcceleratorTotalMemoryMiBRange + { + public: + AWS_DEADLINE_API AcceleratorTotalMemoryMiBRange(); + AWS_DEADLINE_API AcceleratorTotalMemoryMiBRange(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API AcceleratorTotalMemoryMiBRange& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The maximum amount of memory to use for the accelerator, measured in MiB.

+ */ + inline int GetMax() const{ return m_max; } + + /** + *

The maximum amount of memory to use for the accelerator, measured in MiB.

+ */ + inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } + + /** + *

The maximum amount of memory to use for the accelerator, measured in MiB.

+ */ + inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; } + + /** + *

The maximum amount of memory to use for the accelerator, measured in MiB.

+ */ + inline AcceleratorTotalMemoryMiBRange& WithMax(int value) { SetMax(value); return *this;} + + + /** + *

The minimum amount of memory to use for the accelerator, measured in MiB.

+ */ + inline int GetMin() const{ return m_min; } + + /** + *

The minimum amount of memory to use for the accelerator, measured in MiB.

+ */ + inline bool MinHasBeenSet() const { return m_minHasBeenSet; } + + /** + *

The minimum amount of memory to use for the accelerator, measured in MiB.

+ */ + inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; } + + /** + *

The minimum amount of memory to use for the accelerator, measured in MiB.

+ */ + inline AcceleratorTotalMemoryMiBRange& WithMin(int value) { SetMin(value); return *this;} + + private: + + int m_max; + bool m_maxHasBeenSet = false; + + int m_min; + bool m_minHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AcceleratorType.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AcceleratorType.h new file mode 100644 index 00000000000..0d15a75dac3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AcceleratorType.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class AcceleratorType + { + NOT_SET, + gpu + }; + +namespace AcceleratorTypeMapper +{ +AWS_DEADLINE_API AcceleratorType GetAcceleratorTypeForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForAcceleratorType(AcceleratorType value); +} // namespace AcceleratorTypeMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AccessDeniedException.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AccessDeniedException.h new file mode 100644 index 00000000000..962b765b88a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AccessDeniedException.h @@ -0,0 +1,143 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

You don't have permission to perform the action.

See Also:

+ * AWS + * API Reference

+ */ + class AccessDeniedException + { + public: + AWS_DEADLINE_API AccessDeniedException(); + AWS_DEADLINE_API AccessDeniedException(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API AccessDeniedException& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline const Aws::Map& GetContext() const{ return m_context; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline void SetContext(const Aws::Map& value) { m_contextHasBeenSet = true; m_context = value; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline void SetContext(Aws::Map&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline AccessDeniedException& WithContext(const Aws::Map& value) { SetContext(value); return *this;} + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline AccessDeniedException& WithContext(Aws::Map&& value) { SetContext(std::move(value)); return *this;} + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline AccessDeniedException& AddContext(const Aws::String& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline AccessDeniedException& AddContext(Aws::String&& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline AccessDeniedException& AddContext(const Aws::String& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline AccessDeniedException& AddContext(Aws::String&& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline AccessDeniedException& AddContext(const char* key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline AccessDeniedException& AddContext(Aws::String&& key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline AccessDeniedException& AddContext(const char* key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + + + + inline const Aws::String& GetMessage() const{ return m_message; } + + + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + + + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + + + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + + + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + + + inline AccessDeniedException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + + + inline AccessDeniedException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + + + inline AccessDeniedException& WithMessage(const char* value) { SetMessage(value); return *this;} + + private: + + Aws::Map m_context; + bool m_contextHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedEnvironmentEnterSessionActionDefinition.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedEnvironmentEnterSessionActionDefinition.h new file mode 100644 index 00000000000..78a00150892 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedEnvironmentEnterSessionActionDefinition.h @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The assigned starting environment for a worker during session.

See + * Also:

AWS + * API Reference

+ */ + class AssignedEnvironmentEnterSessionActionDefinition + { + public: + AWS_DEADLINE_API AssignedEnvironmentEnterSessionActionDefinition(); + AWS_DEADLINE_API AssignedEnvironmentEnterSessionActionDefinition(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API AssignedEnvironmentEnterSessionActionDefinition& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The environment ID of the assigned environment at the start of a session.

+ */ + inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } + + /** + *

The environment ID of the assigned environment at the start of a session.

+ */ + inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } + + /** + *

The environment ID of the assigned environment at the start of a session.

+ */ + inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } + + /** + *

The environment ID of the assigned environment at the start of a session.

+ */ + inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } + + /** + *

The environment ID of the assigned environment at the start of a session.

+ */ + inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } + + /** + *

The environment ID of the assigned environment at the start of a session.

+ */ + inline AssignedEnvironmentEnterSessionActionDefinition& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} + + /** + *

The environment ID of the assigned environment at the start of a session.

+ */ + inline AssignedEnvironmentEnterSessionActionDefinition& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} + + /** + *

The environment ID of the assigned environment at the start of a session.

+ */ + inline AssignedEnvironmentEnterSessionActionDefinition& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} + + private: + + Aws::String m_environmentId; + bool m_environmentIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedEnvironmentExitSessionActionDefinition.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedEnvironmentExitSessionActionDefinition.h new file mode 100644 index 00000000000..9e82724a2f1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedEnvironmentExitSessionActionDefinition.h @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The assigned environment when a worker exits a session.

See + * Also:

AWS + * API Reference

+ */ + class AssignedEnvironmentExitSessionActionDefinition + { + public: + AWS_DEADLINE_API AssignedEnvironmentExitSessionActionDefinition(); + AWS_DEADLINE_API AssignedEnvironmentExitSessionActionDefinition(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API AssignedEnvironmentExitSessionActionDefinition& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The environment ID of the assigned environment when exiting a session.

+ */ + inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } + + /** + *

The environment ID of the assigned environment when exiting a session.

+ */ + inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } + + /** + *

The environment ID of the assigned environment when exiting a session.

+ */ + inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } + + /** + *

The environment ID of the assigned environment when exiting a session.

+ */ + inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } + + /** + *

The environment ID of the assigned environment when exiting a session.

+ */ + inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } + + /** + *

The environment ID of the assigned environment when exiting a session.

+ */ + inline AssignedEnvironmentExitSessionActionDefinition& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} + + /** + *

The environment ID of the assigned environment when exiting a session.

+ */ + inline AssignedEnvironmentExitSessionActionDefinition& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} + + /** + *

The environment ID of the assigned environment when exiting a session.

+ */ + inline AssignedEnvironmentExitSessionActionDefinition& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} + + private: + + Aws::String m_environmentId; + bool m_environmentIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedSession.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedSession.h new file mode 100644 index 00000000000..abd7393aba7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedSession.h @@ -0,0 +1,213 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The assigned session for the worker.

See Also:

AWS + * API Reference

+ */ + class AssignedSession + { + public: + AWS_DEADLINE_API AssignedSession(); + AWS_DEADLINE_API AssignedSession(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API AssignedSession& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The job ID for the assigned session.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID for the assigned session.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID for the assigned session.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID for the assigned session.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID for the assigned session.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID for the assigned session.

+ */ + inline AssignedSession& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID for the assigned session.

+ */ + inline AssignedSession& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID for the assigned session.

+ */ + inline AssignedSession& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The log configuration for the worker's assigned session.

+ */ + inline const LogConfiguration& GetLogConfiguration() const{ return m_logConfiguration; } + + /** + *

The log configuration for the worker's assigned session.

+ */ + inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; } + + /** + *

The log configuration for the worker's assigned session.

+ */ + inline void SetLogConfiguration(const LogConfiguration& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = value; } + + /** + *

The log configuration for the worker's assigned session.

+ */ + inline void SetLogConfiguration(LogConfiguration&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::move(value); } + + /** + *

The log configuration for the worker's assigned session.

+ */ + inline AssignedSession& WithLogConfiguration(const LogConfiguration& value) { SetLogConfiguration(value); return *this;} + + /** + *

The log configuration for the worker's assigned session.

+ */ + inline AssignedSession& WithLogConfiguration(LogConfiguration&& value) { SetLogConfiguration(std::move(value)); return *this;} + + + /** + *

The queue ID of the assigned session.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID of the assigned session.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID of the assigned session.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID of the assigned session.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID of the assigned session.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID of the assigned session.

+ */ + inline AssignedSession& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID of the assigned session.

+ */ + inline AssignedSession& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID of the assigned session.

+ */ + inline AssignedSession& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The session actions to apply to the assigned session.

+ */ + inline const Aws::Vector& GetSessionActions() const{ return m_sessionActions; } + + /** + *

The session actions to apply to the assigned session.

+ */ + inline bool SessionActionsHasBeenSet() const { return m_sessionActionsHasBeenSet; } + + /** + *

The session actions to apply to the assigned session.

+ */ + inline void SetSessionActions(const Aws::Vector& value) { m_sessionActionsHasBeenSet = true; m_sessionActions = value; } + + /** + *

The session actions to apply to the assigned session.

+ */ + inline void SetSessionActions(Aws::Vector&& value) { m_sessionActionsHasBeenSet = true; m_sessionActions = std::move(value); } + + /** + *

The session actions to apply to the assigned session.

+ */ + inline AssignedSession& WithSessionActions(const Aws::Vector& value) { SetSessionActions(value); return *this;} + + /** + *

The session actions to apply to the assigned session.

+ */ + inline AssignedSession& WithSessionActions(Aws::Vector&& value) { SetSessionActions(std::move(value)); return *this;} + + /** + *

The session actions to apply to the assigned session.

+ */ + inline AssignedSession& AddSessionActions(const AssignedSessionAction& value) { m_sessionActionsHasBeenSet = true; m_sessionActions.push_back(value); return *this; } + + /** + *

The session actions to apply to the assigned session.

+ */ + inline AssignedSession& AddSessionActions(AssignedSessionAction&& value) { m_sessionActionsHasBeenSet = true; m_sessionActions.push_back(std::move(value)); return *this; } + + private: + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + LogConfiguration m_logConfiguration; + bool m_logConfigurationHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::Vector m_sessionActions; + bool m_sessionActionsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedSessionAction.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedSessionAction.h new file mode 100644 index 00000000000..81fb59927b7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedSessionAction.h @@ -0,0 +1,124 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The action for a session defined by the session action ID.

See + * Also:

AWS + * API Reference

+ */ + class AssignedSessionAction + { + public: + AWS_DEADLINE_API AssignedSessionAction(); + AWS_DEADLINE_API AssignedSessionAction(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API AssignedSessionAction& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The definition of the assigned session action.

+ */ + inline const AssignedSessionActionDefinition& GetDefinition() const{ return m_definition; } + + /** + *

The definition of the assigned session action.

+ */ + inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; } + + /** + *

The definition of the assigned session action.

+ */ + inline void SetDefinition(const AssignedSessionActionDefinition& value) { m_definitionHasBeenSet = true; m_definition = value; } + + /** + *

The definition of the assigned session action.

+ */ + inline void SetDefinition(AssignedSessionActionDefinition&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); } + + /** + *

The definition of the assigned session action.

+ */ + inline AssignedSessionAction& WithDefinition(const AssignedSessionActionDefinition& value) { SetDefinition(value); return *this;} + + /** + *

The definition of the assigned session action.

+ */ + inline AssignedSessionAction& WithDefinition(AssignedSessionActionDefinition&& value) { SetDefinition(std::move(value)); return *this;} + + + /** + *

The session action ID for the assigned session.

+ */ + inline const Aws::String& GetSessionActionId() const{ return m_sessionActionId; } + + /** + *

The session action ID for the assigned session.

+ */ + inline bool SessionActionIdHasBeenSet() const { return m_sessionActionIdHasBeenSet; } + + /** + *

The session action ID for the assigned session.

+ */ + inline void SetSessionActionId(const Aws::String& value) { m_sessionActionIdHasBeenSet = true; m_sessionActionId = value; } + + /** + *

The session action ID for the assigned session.

+ */ + inline void SetSessionActionId(Aws::String&& value) { m_sessionActionIdHasBeenSet = true; m_sessionActionId = std::move(value); } + + /** + *

The session action ID for the assigned session.

+ */ + inline void SetSessionActionId(const char* value) { m_sessionActionIdHasBeenSet = true; m_sessionActionId.assign(value); } + + /** + *

The session action ID for the assigned session.

+ */ + inline AssignedSessionAction& WithSessionActionId(const Aws::String& value) { SetSessionActionId(value); return *this;} + + /** + *

The session action ID for the assigned session.

+ */ + inline AssignedSessionAction& WithSessionActionId(Aws::String&& value) { SetSessionActionId(std::move(value)); return *this;} + + /** + *

The session action ID for the assigned session.

+ */ + inline AssignedSessionAction& WithSessionActionId(const char* value) { SetSessionActionId(value); return *this;} + + private: + + AssignedSessionActionDefinition m_definition; + bool m_definitionHasBeenSet = false; + + Aws::String m_sessionActionId; + bool m_sessionActionIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedSessionActionDefinition.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedSessionActionDefinition.h new file mode 100644 index 00000000000..0f013649f94 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedSessionActionDefinition.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The definition of the assigned session action.

See Also:

AWS + * API Reference

+ */ + class AssignedSessionActionDefinition + { + public: + AWS_DEADLINE_API AssignedSessionActionDefinition(); + AWS_DEADLINE_API AssignedSessionActionDefinition(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API AssignedSessionActionDefinition& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The environment a session starts on.

+ */ + inline const AssignedEnvironmentEnterSessionActionDefinition& GetEnvEnter() const{ return m_envEnter; } + + /** + *

The environment a session starts on.

+ */ + inline bool EnvEnterHasBeenSet() const { return m_envEnterHasBeenSet; } + + /** + *

The environment a session starts on.

+ */ + inline void SetEnvEnter(const AssignedEnvironmentEnterSessionActionDefinition& value) { m_envEnterHasBeenSet = true; m_envEnter = value; } + + /** + *

The environment a session starts on.

+ */ + inline void SetEnvEnter(AssignedEnvironmentEnterSessionActionDefinition&& value) { m_envEnterHasBeenSet = true; m_envEnter = std::move(value); } + + /** + *

The environment a session starts on.

+ */ + inline AssignedSessionActionDefinition& WithEnvEnter(const AssignedEnvironmentEnterSessionActionDefinition& value) { SetEnvEnter(value); return *this;} + + /** + *

The environment a session starts on.

+ */ + inline AssignedSessionActionDefinition& WithEnvEnter(AssignedEnvironmentEnterSessionActionDefinition&& value) { SetEnvEnter(std::move(value)); return *this;} + + + /** + *

The environment a session exits from.

+ */ + inline const AssignedEnvironmentExitSessionActionDefinition& GetEnvExit() const{ return m_envExit; } + + /** + *

The environment a session exits from.

+ */ + inline bool EnvExitHasBeenSet() const { return m_envExitHasBeenSet; } + + /** + *

The environment a session exits from.

+ */ + inline void SetEnvExit(const AssignedEnvironmentExitSessionActionDefinition& value) { m_envExitHasBeenSet = true; m_envExit = value; } + + /** + *

The environment a session exits from.

+ */ + inline void SetEnvExit(AssignedEnvironmentExitSessionActionDefinition&& value) { m_envExitHasBeenSet = true; m_envExit = std::move(value); } + + /** + *

The environment a session exits from.

+ */ + inline AssignedSessionActionDefinition& WithEnvExit(const AssignedEnvironmentExitSessionActionDefinition& value) { SetEnvExit(value); return *this;} + + /** + *

The environment a session exits from.

+ */ + inline AssignedSessionActionDefinition& WithEnvExit(AssignedEnvironmentExitSessionActionDefinition&& value) { SetEnvExit(std::move(value)); return *this;} + + + /** + *

The job attachment to sync with an assigned session action.

+ */ + inline const AssignedSyncInputJobAttachmentsSessionActionDefinition& GetSyncInputJobAttachments() const{ return m_syncInputJobAttachments; } + + /** + *

The job attachment to sync with an assigned session action.

+ */ + inline bool SyncInputJobAttachmentsHasBeenSet() const { return m_syncInputJobAttachmentsHasBeenSet; } + + /** + *

The job attachment to sync with an assigned session action.

+ */ + inline void SetSyncInputJobAttachments(const AssignedSyncInputJobAttachmentsSessionActionDefinition& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = value; } + + /** + *

The job attachment to sync with an assigned session action.

+ */ + inline void SetSyncInputJobAttachments(AssignedSyncInputJobAttachmentsSessionActionDefinition&& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = std::move(value); } + + /** + *

The job attachment to sync with an assigned session action.

+ */ + inline AssignedSessionActionDefinition& WithSyncInputJobAttachments(const AssignedSyncInputJobAttachmentsSessionActionDefinition& value) { SetSyncInputJobAttachments(value); return *this;} + + /** + *

The job attachment to sync with an assigned session action.

+ */ + inline AssignedSessionActionDefinition& WithSyncInputJobAttachments(AssignedSyncInputJobAttachmentsSessionActionDefinition&& value) { SetSyncInputJobAttachments(std::move(value)); return *this;} + + + /** + *

The task run.

+ */ + inline const AssignedTaskRunSessionActionDefinition& GetTaskRun() const{ return m_taskRun; } + + /** + *

The task run.

+ */ + inline bool TaskRunHasBeenSet() const { return m_taskRunHasBeenSet; } + + /** + *

The task run.

+ */ + inline void SetTaskRun(const AssignedTaskRunSessionActionDefinition& value) { m_taskRunHasBeenSet = true; m_taskRun = value; } + + /** + *

The task run.

+ */ + inline void SetTaskRun(AssignedTaskRunSessionActionDefinition&& value) { m_taskRunHasBeenSet = true; m_taskRun = std::move(value); } + + /** + *

The task run.

+ */ + inline AssignedSessionActionDefinition& WithTaskRun(const AssignedTaskRunSessionActionDefinition& value) { SetTaskRun(value); return *this;} + + /** + *

The task run.

+ */ + inline AssignedSessionActionDefinition& WithTaskRun(AssignedTaskRunSessionActionDefinition&& value) { SetTaskRun(std::move(value)); return *this;} + + private: + + AssignedEnvironmentEnterSessionActionDefinition m_envEnter; + bool m_envEnterHasBeenSet = false; + + AssignedEnvironmentExitSessionActionDefinition m_envExit; + bool m_envExitHasBeenSet = false; + + AssignedSyncInputJobAttachmentsSessionActionDefinition m_syncInputJobAttachments; + bool m_syncInputJobAttachmentsHasBeenSet = false; + + AssignedTaskRunSessionActionDefinition m_taskRun; + bool m_taskRunHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedSyncInputJobAttachmentsSessionActionDefinition.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedSyncInputJobAttachmentsSessionActionDefinition.h new file mode 100644 index 00000000000..157464cc81d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedSyncInputJobAttachmentsSessionActionDefinition.h @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details for an assigned session action as it relates to a job + * attachment.

See Also:

AWS + * API Reference

+ */ + class AssignedSyncInputJobAttachmentsSessionActionDefinition + { + public: + AWS_DEADLINE_API AssignedSyncInputJobAttachmentsSessionActionDefinition(); + AWS_DEADLINE_API AssignedSyncInputJobAttachmentsSessionActionDefinition(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API AssignedSyncInputJobAttachmentsSessionActionDefinition& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The step ID.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID.

+ */ + inline AssignedSyncInputJobAttachmentsSessionActionDefinition& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID.

+ */ + inline AssignedSyncInputJobAttachmentsSessionActionDefinition& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID.

+ */ + inline AssignedSyncInputJobAttachmentsSessionActionDefinition& WithStepId(const char* value) { SetStepId(value); return *this;} + + private: + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedTaskRunSessionActionDefinition.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedTaskRunSessionActionDefinition.h new file mode 100644 index 00000000000..a57727a20c1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssignedTaskRunSessionActionDefinition.h @@ -0,0 +1,199 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The specific task, step, and parameters to include.

See Also:

+ * AWS + * API Reference

+ */ + class AssignedTaskRunSessionActionDefinition + { + public: + AWS_DEADLINE_API AssignedTaskRunSessionActionDefinition(); + AWS_DEADLINE_API AssignedTaskRunSessionActionDefinition(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API AssignedTaskRunSessionActionDefinition& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The parameters to include.

+ */ + inline const Aws::Map& GetParameters() const{ return m_parameters; } + + /** + *

The parameters to include.

+ */ + inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } + + /** + *

The parameters to include.

+ */ + inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } + + /** + *

The parameters to include.

+ */ + inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } + + /** + *

The parameters to include.

+ */ + inline AssignedTaskRunSessionActionDefinition& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} + + /** + *

The parameters to include.

+ */ + inline AssignedTaskRunSessionActionDefinition& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} + + /** + *

The parameters to include.

+ */ + inline AssignedTaskRunSessionActionDefinition& AddParameters(const Aws::String& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + + /** + *

The parameters to include.

+ */ + inline AssignedTaskRunSessionActionDefinition& AddParameters(Aws::String&& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } + + /** + *

The parameters to include.

+ */ + inline AssignedTaskRunSessionActionDefinition& AddParameters(const Aws::String& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The parameters to include.

+ */ + inline AssignedTaskRunSessionActionDefinition& AddParameters(Aws::String&& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The parameters to include.

+ */ + inline AssignedTaskRunSessionActionDefinition& AddParameters(const char* key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The parameters to include.

+ */ + inline AssignedTaskRunSessionActionDefinition& AddParameters(const char* key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + + + /** + *

The step ID.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID.

+ */ + inline AssignedTaskRunSessionActionDefinition& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID.

+ */ + inline AssignedTaskRunSessionActionDefinition& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID.

+ */ + inline AssignedTaskRunSessionActionDefinition& WithStepId(const char* value) { SetStepId(value); return *this;} + + + /** + *

The task ID.

+ */ + inline const Aws::String& GetTaskId() const{ return m_taskId; } + + /** + *

The task ID.

+ */ + inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } + + /** + *

The task ID.

+ */ + inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } + + /** + *

The task ID.

+ */ + inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } + + /** + *

The task ID.

+ */ + inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } + + /** + *

The task ID.

+ */ + inline AssignedTaskRunSessionActionDefinition& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} + + /** + *

The task ID.

+ */ + inline AssignedTaskRunSessionActionDefinition& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} + + /** + *

The task ID.

+ */ + inline AssignedTaskRunSessionActionDefinition& WithTaskId(const char* value) { SetTaskId(value); return *this;} + + private: + + Aws::Map m_parameters; + bool m_parametersHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + + Aws::String m_taskId; + bool m_taskIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToFarmRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToFarmRequest.h new file mode 100644 index 00000000000..b381317d433 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToFarmRequest.h @@ -0,0 +1,241 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class AssociateMemberToFarmRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API AssociateMemberToFarmRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "AssociateMemberToFarm"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The ID of the farm to associate with the member.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The ID of the farm to associate with the member.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The ID of the farm to associate with the member.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The ID of the farm to associate with the member.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The ID of the farm to associate with the member.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The ID of the farm to associate with the member.

+ */ + inline AssociateMemberToFarmRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The ID of the farm to associate with the member.

+ */ + inline AssociateMemberToFarmRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The ID of the farm to associate with the member.

+ */ + inline AssociateMemberToFarmRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The identity store ID of the member to associate with the farm.

+ */ + inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } + + /** + *

The identity store ID of the member to associate with the farm.

+ */ + inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } + + /** + *

The identity store ID of the member to associate with the farm.

+ */ + inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } + + /** + *

The identity store ID of the member to associate with the farm.

+ */ + inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } + + /** + *

The identity store ID of the member to associate with the farm.

+ */ + inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } + + /** + *

The identity store ID of the member to associate with the farm.

+ */ + inline AssociateMemberToFarmRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} + + /** + *

The identity store ID of the member to associate with the farm.

+ */ + inline AssociateMemberToFarmRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} + + /** + *

The identity store ID of the member to associate with the farm.

+ */ + inline AssociateMemberToFarmRequest& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} + + + /** + *

The principal's membership level for the associated farm.

+ */ + inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } + + /** + *

The principal's membership level for the associated farm.

+ */ + inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } + + /** + *

The principal's membership level for the associated farm.

+ */ + inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } + + /** + *

The principal's membership level for the associated farm.

+ */ + inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } + + /** + *

The principal's membership level for the associated farm.

+ */ + inline AssociateMemberToFarmRequest& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} + + /** + *

The principal's membership level for the associated farm.

+ */ + inline AssociateMemberToFarmRequest& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} + + + /** + *

The member's principal ID to associate with the farm.

+ */ + inline const Aws::String& GetPrincipalId() const{ return m_principalId; } + + /** + *

The member's principal ID to associate with the farm.

+ */ + inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } + + /** + *

The member's principal ID to associate with the farm.

+ */ + inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } + + /** + *

The member's principal ID to associate with the farm.

+ */ + inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } + + /** + *

The member's principal ID to associate with the farm.

+ */ + inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } + + /** + *

The member's principal ID to associate with the farm.

+ */ + inline AssociateMemberToFarmRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} + + /** + *

The member's principal ID to associate with the farm.

+ */ + inline AssociateMemberToFarmRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} + + /** + *

The member's principal ID to associate with the farm.

+ */ + inline AssociateMemberToFarmRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} + + + /** + *

The principal type of the member to associate with the farm.

+ */ + inline const PrincipalType& GetPrincipalType() const{ return m_principalType; } + + /** + *

The principal type of the member to associate with the farm.

+ */ + inline bool PrincipalTypeHasBeenSet() const { return m_principalTypeHasBeenSet; } + + /** + *

The principal type of the member to associate with the farm.

+ */ + inline void SetPrincipalType(const PrincipalType& value) { m_principalTypeHasBeenSet = true; m_principalType = value; } + + /** + *

The principal type of the member to associate with the farm.

+ */ + inline void SetPrincipalType(PrincipalType&& value) { m_principalTypeHasBeenSet = true; m_principalType = std::move(value); } + + /** + *

The principal type of the member to associate with the farm.

+ */ + inline AssociateMemberToFarmRequest& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;} + + /** + *

The principal type of the member to associate with the farm.

+ */ + inline AssociateMemberToFarmRequest& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_identityStoreId; + bool m_identityStoreIdHasBeenSet = false; + + MembershipLevel m_membershipLevel; + bool m_membershipLevelHasBeenSet = false; + + Aws::String m_principalId; + bool m_principalIdHasBeenSet = false; + + PrincipalType m_principalType; + bool m_principalTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToFarmResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToFarmResult.h new file mode 100644 index 00000000000..10cce5d857b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToFarmResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class AssociateMemberToFarmResult + { + public: + AWS_DEADLINE_API AssociateMemberToFarmResult(); + AWS_DEADLINE_API AssociateMemberToFarmResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API AssociateMemberToFarmResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline AssociateMemberToFarmResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline AssociateMemberToFarmResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline AssociateMemberToFarmResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToFleetRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToFleetRequest.h new file mode 100644 index 00000000000..50db9157b18 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToFleetRequest.h @@ -0,0 +1,285 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class AssociateMemberToFleetRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API AssociateMemberToFleetRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "AssociateMemberToFleet"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the fleet to associate with the member.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the fleet to associate with the member.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the fleet to associate with the member.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the fleet to associate with the member.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the fleet to associate with the member.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the fleet to associate with the member.

+ */ + inline AssociateMemberToFleetRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the fleet to associate with the member.

+ */ + inline AssociateMemberToFleetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the fleet to associate with the member.

+ */ + inline AssociateMemberToFleetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The ID of the fleet to associate with a member.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The ID of the fleet to associate with a member.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The ID of the fleet to associate with a member.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The ID of the fleet to associate with a member.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The ID of the fleet to associate with a member.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The ID of the fleet to associate with a member.

+ */ + inline AssociateMemberToFleetRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The ID of the fleet to associate with a member.

+ */ + inline AssociateMemberToFleetRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The ID of the fleet to associate with a member.

+ */ + inline AssociateMemberToFleetRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The member's identity store ID to associate with the fleet.

+ */ + inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } + + /** + *

The member's identity store ID to associate with the fleet.

+ */ + inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } + + /** + *

The member's identity store ID to associate with the fleet.

+ */ + inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } + + /** + *

The member's identity store ID to associate with the fleet.

+ */ + inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } + + /** + *

The member's identity store ID to associate with the fleet.

+ */ + inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } + + /** + *

The member's identity store ID to associate with the fleet.

+ */ + inline AssociateMemberToFleetRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} + + /** + *

The member's identity store ID to associate with the fleet.

+ */ + inline AssociateMemberToFleetRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} + + /** + *

The member's identity store ID to associate with the fleet.

+ */ + inline AssociateMemberToFleetRequest& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} + + + /** + *

The principal's membership level for the associated fleet.

+ */ + inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } + + /** + *

The principal's membership level for the associated fleet.

+ */ + inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } + + /** + *

The principal's membership level for the associated fleet.

+ */ + inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } + + /** + *

The principal's membership level for the associated fleet.

+ */ + inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } + + /** + *

The principal's membership level for the associated fleet.

+ */ + inline AssociateMemberToFleetRequest& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} + + /** + *

The principal's membership level for the associated fleet.

+ */ + inline AssociateMemberToFleetRequest& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} + + + /** + *

The member's principal ID to associate with a fleet.

+ */ + inline const Aws::String& GetPrincipalId() const{ return m_principalId; } + + /** + *

The member's principal ID to associate with a fleet.

+ */ + inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } + + /** + *

The member's principal ID to associate with a fleet.

+ */ + inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } + + /** + *

The member's principal ID to associate with a fleet.

+ */ + inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } + + /** + *

The member's principal ID to associate with a fleet.

+ */ + inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } + + /** + *

The member's principal ID to associate with a fleet.

+ */ + inline AssociateMemberToFleetRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} + + /** + *

The member's principal ID to associate with a fleet.

+ */ + inline AssociateMemberToFleetRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} + + /** + *

The member's principal ID to associate with a fleet.

+ */ + inline AssociateMemberToFleetRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} + + + /** + *

The member's principal type to associate with the fleet.

+ */ + inline const PrincipalType& GetPrincipalType() const{ return m_principalType; } + + /** + *

The member's principal type to associate with the fleet.

+ */ + inline bool PrincipalTypeHasBeenSet() const { return m_principalTypeHasBeenSet; } + + /** + *

The member's principal type to associate with the fleet.

+ */ + inline void SetPrincipalType(const PrincipalType& value) { m_principalTypeHasBeenSet = true; m_principalType = value; } + + /** + *

The member's principal type to associate with the fleet.

+ */ + inline void SetPrincipalType(PrincipalType&& value) { m_principalTypeHasBeenSet = true; m_principalType = std::move(value); } + + /** + *

The member's principal type to associate with the fleet.

+ */ + inline AssociateMemberToFleetRequest& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;} + + /** + *

The member's principal type to associate with the fleet.

+ */ + inline AssociateMemberToFleetRequest& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + Aws::String m_identityStoreId; + bool m_identityStoreIdHasBeenSet = false; + + MembershipLevel m_membershipLevel; + bool m_membershipLevelHasBeenSet = false; + + Aws::String m_principalId; + bool m_principalIdHasBeenSet = false; + + PrincipalType m_principalType; + bool m_principalTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToFleetResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToFleetResult.h new file mode 100644 index 00000000000..57f82b20740 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToFleetResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class AssociateMemberToFleetResult + { + public: + AWS_DEADLINE_API AssociateMemberToFleetResult(); + AWS_DEADLINE_API AssociateMemberToFleetResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API AssociateMemberToFleetResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline AssociateMemberToFleetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline AssociateMemberToFleetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline AssociateMemberToFleetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToJobRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToJobRequest.h new file mode 100644 index 00000000000..cedc0cba90d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToJobRequest.h @@ -0,0 +1,329 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class AssociateMemberToJobRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API AssociateMemberToJobRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "AssociateMemberToJob"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the job to associate with the member.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the job to associate with the member.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the job to associate with the member.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the job to associate with the member.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the job to associate with the member.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the job to associate with the member.

+ */ + inline AssociateMemberToJobRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the job to associate with the member.

+ */ + inline AssociateMemberToJobRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the job to associate with the member.

+ */ + inline AssociateMemberToJobRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The member's identity store ID to associate with the job.

+ */ + inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } + + /** + *

The member's identity store ID to associate with the job.

+ */ + inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } + + /** + *

The member's identity store ID to associate with the job.

+ */ + inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } + + /** + *

The member's identity store ID to associate with the job.

+ */ + inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } + + /** + *

The member's identity store ID to associate with the job.

+ */ + inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } + + /** + *

The member's identity store ID to associate with the job.

+ */ + inline AssociateMemberToJobRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} + + /** + *

The member's identity store ID to associate with the job.

+ */ + inline AssociateMemberToJobRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} + + /** + *

The member's identity store ID to associate with the job.

+ */ + inline AssociateMemberToJobRequest& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} + + + /** + *

The job ID to associate with the member.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID to associate with the member.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID to associate with the member.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID to associate with the member.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID to associate with the member.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID to associate with the member.

+ */ + inline AssociateMemberToJobRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID to associate with the member.

+ */ + inline AssociateMemberToJobRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID to associate with the member.

+ */ + inline AssociateMemberToJobRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The principal's membership level for the associated job.

+ */ + inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } + + /** + *

The principal's membership level for the associated job.

+ */ + inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } + + /** + *

The principal's membership level for the associated job.

+ */ + inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } + + /** + *

The principal's membership level for the associated job.

+ */ + inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } + + /** + *

The principal's membership level for the associated job.

+ */ + inline AssociateMemberToJobRequest& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} + + /** + *

The principal's membership level for the associated job.

+ */ + inline AssociateMemberToJobRequest& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} + + + /** + *

The member's principal ID to associate with the job.

+ */ + inline const Aws::String& GetPrincipalId() const{ return m_principalId; } + + /** + *

The member's principal ID to associate with the job.

+ */ + inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } + + /** + *

The member's principal ID to associate with the job.

+ */ + inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } + + /** + *

The member's principal ID to associate with the job.

+ */ + inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } + + /** + *

The member's principal ID to associate with the job.

+ */ + inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } + + /** + *

The member's principal ID to associate with the job.

+ */ + inline AssociateMemberToJobRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} + + /** + *

The member's principal ID to associate with the job.

+ */ + inline AssociateMemberToJobRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} + + /** + *

The member's principal ID to associate with the job.

+ */ + inline AssociateMemberToJobRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} + + + /** + *

The member's principal type to associate with the job.

+ */ + inline const PrincipalType& GetPrincipalType() const{ return m_principalType; } + + /** + *

The member's principal type to associate with the job.

+ */ + inline bool PrincipalTypeHasBeenSet() const { return m_principalTypeHasBeenSet; } + + /** + *

The member's principal type to associate with the job.

+ */ + inline void SetPrincipalType(const PrincipalType& value) { m_principalTypeHasBeenSet = true; m_principalType = value; } + + /** + *

The member's principal type to associate with the job.

+ */ + inline void SetPrincipalType(PrincipalType&& value) { m_principalTypeHasBeenSet = true; m_principalType = std::move(value); } + + /** + *

The member's principal type to associate with the job.

+ */ + inline AssociateMemberToJobRequest& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;} + + /** + *

The member's principal type to associate with the job.

+ */ + inline AssociateMemberToJobRequest& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;} + + + /** + *

The queue ID to associate to the member.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID to associate to the member.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID to associate to the member.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID to associate to the member.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID to associate to the member.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID to associate to the member.

+ */ + inline AssociateMemberToJobRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID to associate to the member.

+ */ + inline AssociateMemberToJobRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID to associate to the member.

+ */ + inline AssociateMemberToJobRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_identityStoreId; + bool m_identityStoreIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + MembershipLevel m_membershipLevel; + bool m_membershipLevelHasBeenSet = false; + + Aws::String m_principalId; + bool m_principalIdHasBeenSet = false; + + PrincipalType m_principalType; + bool m_principalTypeHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToJobResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToJobResult.h new file mode 100644 index 00000000000..5f73ae7d4d4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToJobResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class AssociateMemberToJobResult + { + public: + AWS_DEADLINE_API AssociateMemberToJobResult(); + AWS_DEADLINE_API AssociateMemberToJobResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API AssociateMemberToJobResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline AssociateMemberToJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline AssociateMemberToJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline AssociateMemberToJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToQueueRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToQueueRequest.h new file mode 100644 index 00000000000..5e9abbf78a6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToQueueRequest.h @@ -0,0 +1,285 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class AssociateMemberToQueueRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API AssociateMemberToQueueRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "AssociateMemberToQueue"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the queue to associate with the member.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the queue to associate with the member.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the queue to associate with the member.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the queue to associate with the member.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the queue to associate with the member.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the queue to associate with the member.

+ */ + inline AssociateMemberToQueueRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the queue to associate with the member.

+ */ + inline AssociateMemberToQueueRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the queue to associate with the member.

+ */ + inline AssociateMemberToQueueRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The member's identity store ID to associate with the queue.

+ */ + inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } + + /** + *

The member's identity store ID to associate with the queue.

+ */ + inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } + + /** + *

The member's identity store ID to associate with the queue.

+ */ + inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } + + /** + *

The member's identity store ID to associate with the queue.

+ */ + inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } + + /** + *

The member's identity store ID to associate with the queue.

+ */ + inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } + + /** + *

The member's identity store ID to associate with the queue.

+ */ + inline AssociateMemberToQueueRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} + + /** + *

The member's identity store ID to associate with the queue.

+ */ + inline AssociateMemberToQueueRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} + + /** + *

The member's identity store ID to associate with the queue.

+ */ + inline AssociateMemberToQueueRequest& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} + + + /** + *

The principal's membership level for the associated queue.

+ */ + inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } + + /** + *

The principal's membership level for the associated queue.

+ */ + inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } + + /** + *

The principal's membership level for the associated queue.

+ */ + inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } + + /** + *

The principal's membership level for the associated queue.

+ */ + inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } + + /** + *

The principal's membership level for the associated queue.

+ */ + inline AssociateMemberToQueueRequest& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} + + /** + *

The principal's membership level for the associated queue.

+ */ + inline AssociateMemberToQueueRequest& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} + + + /** + *

The member's principal ID to associate with the queue.

+ */ + inline const Aws::String& GetPrincipalId() const{ return m_principalId; } + + /** + *

The member's principal ID to associate with the queue.

+ */ + inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } + + /** + *

The member's principal ID to associate with the queue.

+ */ + inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } + + /** + *

The member's principal ID to associate with the queue.

+ */ + inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } + + /** + *

The member's principal ID to associate with the queue.

+ */ + inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } + + /** + *

The member's principal ID to associate with the queue.

+ */ + inline AssociateMemberToQueueRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} + + /** + *

The member's principal ID to associate with the queue.

+ */ + inline AssociateMemberToQueueRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} + + /** + *

The member's principal ID to associate with the queue.

+ */ + inline AssociateMemberToQueueRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} + + + /** + *

The member's principal type to associate with the queue.

+ */ + inline const PrincipalType& GetPrincipalType() const{ return m_principalType; } + + /** + *

The member's principal type to associate with the queue.

+ */ + inline bool PrincipalTypeHasBeenSet() const { return m_principalTypeHasBeenSet; } + + /** + *

The member's principal type to associate with the queue.

+ */ + inline void SetPrincipalType(const PrincipalType& value) { m_principalTypeHasBeenSet = true; m_principalType = value; } + + /** + *

The member's principal type to associate with the queue.

+ */ + inline void SetPrincipalType(PrincipalType&& value) { m_principalTypeHasBeenSet = true; m_principalType = std::move(value); } + + /** + *

The member's principal type to associate with the queue.

+ */ + inline AssociateMemberToQueueRequest& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;} + + /** + *

The member's principal type to associate with the queue.

+ */ + inline AssociateMemberToQueueRequest& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;} + + + /** + *

The ID of the queue to associate to the member.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The ID of the queue to associate to the member.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The ID of the queue to associate to the member.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The ID of the queue to associate to the member.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The ID of the queue to associate to the member.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The ID of the queue to associate to the member.

+ */ + inline AssociateMemberToQueueRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The ID of the queue to associate to the member.

+ */ + inline AssociateMemberToQueueRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The ID of the queue to associate to the member.

+ */ + inline AssociateMemberToQueueRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_identityStoreId; + bool m_identityStoreIdHasBeenSet = false; + + MembershipLevel m_membershipLevel; + bool m_membershipLevelHasBeenSet = false; + + Aws::String m_principalId; + bool m_principalIdHasBeenSet = false; + + PrincipalType m_principalType; + bool m_principalTypeHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToQueueResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToQueueResult.h new file mode 100644 index 00000000000..b97ba5c53b8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssociateMemberToQueueResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class AssociateMemberToQueueResult + { + public: + AWS_DEADLINE_API AssociateMemberToQueueResult(); + AWS_DEADLINE_API AssociateMemberToQueueResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API AssociateMemberToQueueResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline AssociateMemberToQueueResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline AssociateMemberToQueueResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline AssociateMemberToQueueResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeFleetRoleForReadRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeFleetRoleForReadRequest.h new file mode 100644 index 00000000000..62e1ffb987d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeFleetRoleForReadRequest.h @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class AssumeFleetRoleForReadRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API AssumeFleetRoleForReadRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "AssumeFleetRoleForRead"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID for the fleet's farm.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the fleet's farm.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the fleet's farm.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the fleet's farm.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the fleet's farm.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the fleet's farm.

+ */ + inline AssumeFleetRoleForReadRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the fleet's farm.

+ */ + inline AssumeFleetRoleForReadRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the fleet's farm.

+ */ + inline AssumeFleetRoleForReadRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID.

+ */ + inline AssumeFleetRoleForReadRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID.

+ */ + inline AssumeFleetRoleForReadRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID.

+ */ + inline AssumeFleetRoleForReadRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeFleetRoleForReadResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeFleetRoleForReadResult.h new file mode 100644 index 00000000000..44217d256d4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeFleetRoleForReadResult.h @@ -0,0 +1,92 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class AssumeFleetRoleForReadResult + { + public: + AWS_DEADLINE_API AssumeFleetRoleForReadResult(); + AWS_DEADLINE_API AssumeFleetRoleForReadResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API AssumeFleetRoleForReadResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The credentials for the fleet role.

+ */ + inline const AwsCredentials& GetCredentials() const{ return m_credentials; } + + /** + *

The credentials for the fleet role.

+ */ + inline void SetCredentials(const AwsCredentials& value) { m_credentials = value; } + + /** + *

The credentials for the fleet role.

+ */ + inline void SetCredentials(AwsCredentials&& value) { m_credentials = std::move(value); } + + /** + *

The credentials for the fleet role.

+ */ + inline AssumeFleetRoleForReadResult& WithCredentials(const AwsCredentials& value) { SetCredentials(value); return *this;} + + /** + *

The credentials for the fleet role.

+ */ + inline AssumeFleetRoleForReadResult& WithCredentials(AwsCredentials&& value) { SetCredentials(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline AssumeFleetRoleForReadResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline AssumeFleetRoleForReadResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline AssumeFleetRoleForReadResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + AwsCredentials m_credentials; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeFleetRoleForWorkerRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeFleetRoleForWorkerRequest.h new file mode 100644 index 00000000000..42512095a90 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeFleetRoleForWorkerRequest.h @@ -0,0 +1,171 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class AssumeFleetRoleForWorkerRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API AssumeFleetRoleForWorkerRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "AssumeFleetRoleForWorker"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID for the fleet's farm.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the fleet's farm.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the fleet's farm.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the fleet's farm.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the fleet's farm.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the fleet's farm.

+ */ + inline AssumeFleetRoleForWorkerRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the fleet's farm.

+ */ + inline AssumeFleetRoleForWorkerRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the fleet's farm.

+ */ + inline AssumeFleetRoleForWorkerRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID that contains the worker.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID that contains the worker.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID that contains the worker.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID that contains the worker.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID that contains the worker.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID that contains the worker.

+ */ + inline AssumeFleetRoleForWorkerRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID that contains the worker.

+ */ + inline AssumeFleetRoleForWorkerRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID that contains the worker.

+ */ + inline AssumeFleetRoleForWorkerRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The ID of the worker assuming the fleet role.

+ */ + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + + /** + *

The ID of the worker assuming the fleet role.

+ */ + inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } + + /** + *

The ID of the worker assuming the fleet role.

+ */ + inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } + + /** + *

The ID of the worker assuming the fleet role.

+ */ + inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } + + /** + *

The ID of the worker assuming the fleet role.

+ */ + inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } + + /** + *

The ID of the worker assuming the fleet role.

+ */ + inline AssumeFleetRoleForWorkerRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + + /** + *

The ID of the worker assuming the fleet role.

+ */ + inline AssumeFleetRoleForWorkerRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + + /** + *

The ID of the worker assuming the fleet role.

+ */ + inline AssumeFleetRoleForWorkerRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + Aws::String m_workerId; + bool m_workerIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeFleetRoleForWorkerResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeFleetRoleForWorkerResult.h new file mode 100644 index 00000000000..18a9dfac1fa --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeFleetRoleForWorkerResult.h @@ -0,0 +1,92 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class AssumeFleetRoleForWorkerResult + { + public: + AWS_DEADLINE_API AssumeFleetRoleForWorkerResult(); + AWS_DEADLINE_API AssumeFleetRoleForWorkerResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API AssumeFleetRoleForWorkerResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The credentials for the worker.

+ */ + inline const AwsCredentials& GetCredentials() const{ return m_credentials; } + + /** + *

The credentials for the worker.

+ */ + inline void SetCredentials(const AwsCredentials& value) { m_credentials = value; } + + /** + *

The credentials for the worker.

+ */ + inline void SetCredentials(AwsCredentials&& value) { m_credentials = std::move(value); } + + /** + *

The credentials for the worker.

+ */ + inline AssumeFleetRoleForWorkerResult& WithCredentials(const AwsCredentials& value) { SetCredentials(value); return *this;} + + /** + *

The credentials for the worker.

+ */ + inline AssumeFleetRoleForWorkerResult& WithCredentials(AwsCredentials&& value) { SetCredentials(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline AssumeFleetRoleForWorkerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline AssumeFleetRoleForWorkerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline AssumeFleetRoleForWorkerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + AwsCredentials m_credentials; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForReadRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForReadRequest.h new file mode 100644 index 00000000000..74a3d462427 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForReadRequest.h @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class AssumeQueueRoleForReadRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API AssumeQueueRoleForReadRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "AssumeQueueRoleForRead"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the farm containing the queue.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm containing the queue.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm containing the queue.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm containing the queue.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm containing the queue.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm containing the queue.

+ */ + inline AssumeQueueRoleForReadRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm containing the queue.

+ */ + inline AssumeQueueRoleForReadRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm containing the queue.

+ */ + inline AssumeQueueRoleForReadRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The queue ID.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID.

+ */ + inline AssumeQueueRoleForReadRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID.

+ */ + inline AssumeQueueRoleForReadRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID.

+ */ + inline AssumeQueueRoleForReadRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForReadResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForReadResult.h new file mode 100644 index 00000000000..fe0abba6810 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForReadResult.h @@ -0,0 +1,92 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class AssumeQueueRoleForReadResult + { + public: + AWS_DEADLINE_API AssumeQueueRoleForReadResult(); + AWS_DEADLINE_API AssumeQueueRoleForReadResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API AssumeQueueRoleForReadResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The credentials for the queue role.

+ */ + inline const AwsCredentials& GetCredentials() const{ return m_credentials; } + + /** + *

The credentials for the queue role.

+ */ + inline void SetCredentials(const AwsCredentials& value) { m_credentials = value; } + + /** + *

The credentials for the queue role.

+ */ + inline void SetCredentials(AwsCredentials&& value) { m_credentials = std::move(value); } + + /** + *

The credentials for the queue role.

+ */ + inline AssumeQueueRoleForReadResult& WithCredentials(const AwsCredentials& value) { SetCredentials(value); return *this;} + + /** + *

The credentials for the queue role.

+ */ + inline AssumeQueueRoleForReadResult& WithCredentials(AwsCredentials&& value) { SetCredentials(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline AssumeQueueRoleForReadResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline AssumeQueueRoleForReadResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline AssumeQueueRoleForReadResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + AwsCredentials m_credentials; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForUserRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForUserRequest.h new file mode 100644 index 00000000000..576d65ea4c1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForUserRequest.h @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class AssumeQueueRoleForUserRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API AssumeQueueRoleForUserRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "AssumeQueueRoleForUser"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the queue that the user assumes the role for.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the queue that the user assumes the role for.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the queue that the user assumes the role for.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the queue that the user assumes the role for.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the queue that the user assumes the role for.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the queue that the user assumes the role for.

+ */ + inline AssumeQueueRoleForUserRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the queue that the user assumes the role for.

+ */ + inline AssumeQueueRoleForUserRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the queue that the user assumes the role for.

+ */ + inline AssumeQueueRoleForUserRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The queue ID of the queue that the user assumes the role for.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID of the queue that the user assumes the role for.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID of the queue that the user assumes the role for.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID of the queue that the user assumes the role for.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID of the queue that the user assumes the role for.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID of the queue that the user assumes the role for.

+ */ + inline AssumeQueueRoleForUserRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID of the queue that the user assumes the role for.

+ */ + inline AssumeQueueRoleForUserRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID of the queue that the user assumes the role for.

+ */ + inline AssumeQueueRoleForUserRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForUserResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForUserResult.h new file mode 100644 index 00000000000..f2f279a8b78 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForUserResult.h @@ -0,0 +1,92 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class AssumeQueueRoleForUserResult + { + public: + AWS_DEADLINE_API AssumeQueueRoleForUserResult(); + AWS_DEADLINE_API AssumeQueueRoleForUserResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API AssumeQueueRoleForUserResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The credentials for the queue role that a user has access to.

+ */ + inline const AwsCredentials& GetCredentials() const{ return m_credentials; } + + /** + *

The credentials for the queue role that a user has access to.

+ */ + inline void SetCredentials(const AwsCredentials& value) { m_credentials = value; } + + /** + *

The credentials for the queue role that a user has access to.

+ */ + inline void SetCredentials(AwsCredentials&& value) { m_credentials = std::move(value); } + + /** + *

The credentials for the queue role that a user has access to.

+ */ + inline AssumeQueueRoleForUserResult& WithCredentials(const AwsCredentials& value) { SetCredentials(value); return *this;} + + /** + *

The credentials for the queue role that a user has access to.

+ */ + inline AssumeQueueRoleForUserResult& WithCredentials(AwsCredentials&& value) { SetCredentials(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline AssumeQueueRoleForUserResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline AssumeQueueRoleForUserResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline AssumeQueueRoleForUserResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + AwsCredentials m_credentials; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForWorkerRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForWorkerRequest.h new file mode 100644 index 00000000000..34a33f022ea --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForWorkerRequest.h @@ -0,0 +1,221 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class AssumeQueueRoleForWorkerRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API AssumeQueueRoleForWorkerRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "AssumeQueueRoleForWorker"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID of the worker assuming the queue role.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the worker assuming the queue role.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the worker assuming the queue role.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the worker assuming the queue role.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the worker assuming the queue role.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the worker assuming the queue role.

+ */ + inline AssumeQueueRoleForWorkerRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the worker assuming the queue role.

+ */ + inline AssumeQueueRoleForWorkerRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the worker assuming the queue role.

+ */ + inline AssumeQueueRoleForWorkerRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID of the worker assuming the queue role.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID of the worker assuming the queue role.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID of the worker assuming the queue role.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID of the worker assuming the queue role.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID of the worker assuming the queue role.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID of the worker assuming the queue role.

+ */ + inline AssumeQueueRoleForWorkerRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID of the worker assuming the queue role.

+ */ + inline AssumeQueueRoleForWorkerRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID of the worker assuming the queue role.

+ */ + inline AssumeQueueRoleForWorkerRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The queue ID of the worker assuming the queue role.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID of the worker assuming the queue role.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID of the worker assuming the queue role.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID of the worker assuming the queue role.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID of the worker assuming the queue role.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID of the worker assuming the queue role.

+ */ + inline AssumeQueueRoleForWorkerRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID of the worker assuming the queue role.

+ */ + inline AssumeQueueRoleForWorkerRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID of the worker assuming the queue role.

+ */ + inline AssumeQueueRoleForWorkerRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The worker ID of the worker assuming the queue role.

+ */ + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + + /** + *

The worker ID of the worker assuming the queue role.

+ */ + inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } + + /** + *

The worker ID of the worker assuming the queue role.

+ */ + inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } + + /** + *

The worker ID of the worker assuming the queue role.

+ */ + inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } + + /** + *

The worker ID of the worker assuming the queue role.

+ */ + inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } + + /** + *

The worker ID of the worker assuming the queue role.

+ */ + inline AssumeQueueRoleForWorkerRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + + /** + *

The worker ID of the worker assuming the queue role.

+ */ + inline AssumeQueueRoleForWorkerRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + + /** + *

The worker ID of the worker assuming the queue role.

+ */ + inline AssumeQueueRoleForWorkerRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_workerId; + bool m_workerIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForWorkerResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForWorkerResult.h new file mode 100644 index 00000000000..d70332cffc3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AssumeQueueRoleForWorkerResult.h @@ -0,0 +1,97 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class AssumeQueueRoleForWorkerResult + { + public: + AWS_DEADLINE_API AssumeQueueRoleForWorkerResult(); + AWS_DEADLINE_API AssumeQueueRoleForWorkerResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API AssumeQueueRoleForWorkerResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The Amazon Web Services credentials for the role that the worker is + * assuming.

+ */ + inline const AwsCredentials& GetCredentials() const{ return m_credentials; } + + /** + *

The Amazon Web Services credentials for the role that the worker is + * assuming.

+ */ + inline void SetCredentials(const AwsCredentials& value) { m_credentials = value; } + + /** + *

The Amazon Web Services credentials for the role that the worker is + * assuming.

+ */ + inline void SetCredentials(AwsCredentials&& value) { m_credentials = std::move(value); } + + /** + *

The Amazon Web Services credentials for the role that the worker is + * assuming.

+ */ + inline AssumeQueueRoleForWorkerResult& WithCredentials(const AwsCredentials& value) { SetCredentials(value); return *this;} + + /** + *

The Amazon Web Services credentials for the role that the worker is + * assuming.

+ */ + inline AssumeQueueRoleForWorkerResult& WithCredentials(AwsCredentials&& value) { SetCredentials(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline AssumeQueueRoleForWorkerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline AssumeQueueRoleForWorkerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline AssumeQueueRoleForWorkerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + AwsCredentials m_credentials; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Attachments.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Attachments.h new file mode 100644 index 00000000000..abd35f6ca0d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Attachments.h @@ -0,0 +1,124 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The attachments for jobs.

See Also:

AWS + * API Reference

+ */ + class Attachments + { + public: + AWS_DEADLINE_API Attachments(); + AWS_DEADLINE_API Attachments(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Attachments& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The file system.

+ */ + inline const JobAttachmentsFileSystem& GetFileSystem() const{ return m_fileSystem; } + + /** + *

The file system.

+ */ + inline bool FileSystemHasBeenSet() const { return m_fileSystemHasBeenSet; } + + /** + *

The file system.

+ */ + inline void SetFileSystem(const JobAttachmentsFileSystem& value) { m_fileSystemHasBeenSet = true; m_fileSystem = value; } + + /** + *

The file system.

+ */ + inline void SetFileSystem(JobAttachmentsFileSystem&& value) { m_fileSystemHasBeenSet = true; m_fileSystem = std::move(value); } + + /** + *

The file system.

+ */ + inline Attachments& WithFileSystem(const JobAttachmentsFileSystem& value) { SetFileSystem(value); return *this;} + + /** + *

The file system.

+ */ + inline Attachments& WithFileSystem(JobAttachmentsFileSystem&& value) { SetFileSystem(std::move(value)); return *this;} + + + /** + *

A list of manifests which describe job attachment configurations.

+ */ + inline const Aws::Vector& GetManifests() const{ return m_manifests; } + + /** + *

A list of manifests which describe job attachment configurations.

+ */ + inline bool ManifestsHasBeenSet() const { return m_manifestsHasBeenSet; } + + /** + *

A list of manifests which describe job attachment configurations.

+ */ + inline void SetManifests(const Aws::Vector& value) { m_manifestsHasBeenSet = true; m_manifests = value; } + + /** + *

A list of manifests which describe job attachment configurations.

+ */ + inline void SetManifests(Aws::Vector&& value) { m_manifestsHasBeenSet = true; m_manifests = std::move(value); } + + /** + *

A list of manifests which describe job attachment configurations.

+ */ + inline Attachments& WithManifests(const Aws::Vector& value) { SetManifests(value); return *this;} + + /** + *

A list of manifests which describe job attachment configurations.

+ */ + inline Attachments& WithManifests(Aws::Vector&& value) { SetManifests(std::move(value)); return *this;} + + /** + *

A list of manifests which describe job attachment configurations.

+ */ + inline Attachments& AddManifests(const ManifestProperties& value) { m_manifestsHasBeenSet = true; m_manifests.push_back(value); return *this; } + + /** + *

A list of manifests which describe job attachment configurations.

+ */ + inline Attachments& AddManifests(ManifestProperties&& value) { m_manifestsHasBeenSet = true; m_manifests.push_back(std::move(value)); return *this; } + + private: + + JobAttachmentsFileSystem m_fileSystem; + bool m_fileSystemHasBeenSet = false; + + Aws::Vector m_manifests; + bool m_manifestsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AutoScalingMode.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AutoScalingMode.h new file mode 100644 index 00000000000..395f0c7519a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AutoScalingMode.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class AutoScalingMode + { + NOT_SET, + NO_SCALING, + EVENT_BASED_AUTO_SCALING + }; + +namespace AutoScalingModeMapper +{ +AWS_DEADLINE_API AutoScalingMode GetAutoScalingModeForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForAutoScalingMode(AutoScalingMode value); +} // namespace AutoScalingModeMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AutoScalingStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AutoScalingStatus.h new file mode 100644 index 00000000000..c2e127c3399 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AutoScalingStatus.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class AutoScalingStatus + { + NOT_SET, + GROWING, + STEADY, + SHRINKING + }; + +namespace AutoScalingStatusMapper +{ +AWS_DEADLINE_API AutoScalingStatus GetAutoScalingStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForAutoScalingStatus(AutoScalingStatus value); +} // namespace AutoScalingStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AwsCredentials.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AwsCredentials.h new file mode 100644 index 00000000000..331c18d7e78 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/AwsCredentials.h @@ -0,0 +1,211 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The Identity and Access Management credentials.

See Also:

AWS + * API Reference

+ */ + class AwsCredentials + { + public: + AWS_DEADLINE_API AwsCredentials(); + AWS_DEADLINE_API AwsCredentials(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API AwsCredentials& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The IAM access key ID.

+ */ + inline const Aws::String& GetAccessKeyId() const{ return m_accessKeyId; } + + /** + *

The IAM access key ID.

+ */ + inline bool AccessKeyIdHasBeenSet() const { return m_accessKeyIdHasBeenSet; } + + /** + *

The IAM access key ID.

+ */ + inline void SetAccessKeyId(const Aws::String& value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId = value; } + + /** + *

The IAM access key ID.

+ */ + inline void SetAccessKeyId(Aws::String&& value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId = std::move(value); } + + /** + *

The IAM access key ID.

+ */ + inline void SetAccessKeyId(const char* value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId.assign(value); } + + /** + *

The IAM access key ID.

+ */ + inline AwsCredentials& WithAccessKeyId(const Aws::String& value) { SetAccessKeyId(value); return *this;} + + /** + *

The IAM access key ID.

+ */ + inline AwsCredentials& WithAccessKeyId(Aws::String&& value) { SetAccessKeyId(std::move(value)); return *this;} + + /** + *

The IAM access key ID.

+ */ + inline AwsCredentials& WithAccessKeyId(const char* value) { SetAccessKeyId(value); return *this;} + + + /** + *

The expiration date and time of the IAM credentials.

+ */ + inline const Aws::Utils::DateTime& GetExpiration() const{ return m_expiration; } + + /** + *

The expiration date and time of the IAM credentials.

+ */ + inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; } + + /** + *

The expiration date and time of the IAM credentials.

+ */ + inline void SetExpiration(const Aws::Utils::DateTime& value) { m_expirationHasBeenSet = true; m_expiration = value; } + + /** + *

The expiration date and time of the IAM credentials.

+ */ + inline void SetExpiration(Aws::Utils::DateTime&& value) { m_expirationHasBeenSet = true; m_expiration = std::move(value); } + + /** + *

The expiration date and time of the IAM credentials.

+ */ + inline AwsCredentials& WithExpiration(const Aws::Utils::DateTime& value) { SetExpiration(value); return *this;} + + /** + *

The expiration date and time of the IAM credentials.

+ */ + inline AwsCredentials& WithExpiration(Aws::Utils::DateTime&& value) { SetExpiration(std::move(value)); return *this;} + + + /** + *

The IAM secret access key.

+ */ + inline const Aws::String& GetSecretAccessKey() const{ return m_secretAccessKey; } + + /** + *

The IAM secret access key.

+ */ + inline bool SecretAccessKeyHasBeenSet() const { return m_secretAccessKeyHasBeenSet; } + + /** + *

The IAM secret access key.

+ */ + inline void SetSecretAccessKey(const Aws::String& value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey = value; } + + /** + *

The IAM secret access key.

+ */ + inline void SetSecretAccessKey(Aws::String&& value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey = std::move(value); } + + /** + *

The IAM secret access key.

+ */ + inline void SetSecretAccessKey(const char* value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey.assign(value); } + + /** + *

The IAM secret access key.

+ */ + inline AwsCredentials& WithSecretAccessKey(const Aws::String& value) { SetSecretAccessKey(value); return *this;} + + /** + *

The IAM secret access key.

+ */ + inline AwsCredentials& WithSecretAccessKey(Aws::String&& value) { SetSecretAccessKey(std::move(value)); return *this;} + + /** + *

The IAM secret access key.

+ */ + inline AwsCredentials& WithSecretAccessKey(const char* value) { SetSecretAccessKey(value); return *this;} + + + /** + *

The IAM session token

+ */ + inline const Aws::String& GetSessionToken() const{ return m_sessionToken; } + + /** + *

The IAM session token

+ */ + inline bool SessionTokenHasBeenSet() const { return m_sessionTokenHasBeenSet; } + + /** + *

The IAM session token

+ */ + inline void SetSessionToken(const Aws::String& value) { m_sessionTokenHasBeenSet = true; m_sessionToken = value; } + + /** + *

The IAM session token

+ */ + inline void SetSessionToken(Aws::String&& value) { m_sessionTokenHasBeenSet = true; m_sessionToken = std::move(value); } + + /** + *

The IAM session token

+ */ + inline void SetSessionToken(const char* value) { m_sessionTokenHasBeenSet = true; m_sessionToken.assign(value); } + + /** + *

The IAM session token

+ */ + inline AwsCredentials& WithSessionToken(const Aws::String& value) { SetSessionToken(value); return *this;} + + /** + *

The IAM session token

+ */ + inline AwsCredentials& WithSessionToken(Aws::String&& value) { SetSessionToken(std::move(value)); return *this;} + + /** + *

The IAM session token

+ */ + inline AwsCredentials& WithSessionToken(const char* value) { SetSessionToken(value); return *this;} + + private: + + Aws::String m_accessKeyId; + bool m_accessKeyIdHasBeenSet = false; + + Aws::Utils::DateTime m_expiration; + bool m_expirationHasBeenSet = false; + + Aws::String m_secretAccessKey; + bool m_secretAccessKeyHasBeenSet = false; + + Aws::String m_sessionToken; + bool m_sessionTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BatchGetJobEntityRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BatchGetJobEntityRequest.h new file mode 100644 index 00000000000..b133e545f2e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BatchGetJobEntityRequest.h @@ -0,0 +1,233 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class BatchGetJobEntityRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API BatchGetJobEntityRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "BatchGetJobEntity"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the worker that's fetching job details. The worker must have + * an assignment on a job to fetch job details.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the worker that's fetching job details. The worker must have + * an assignment on a job to fetch job details.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the worker that's fetching job details. The worker must have + * an assignment on a job to fetch job details.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the worker that's fetching job details. The worker must have + * an assignment on a job to fetch job details.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the worker that's fetching job details. The worker must have + * an assignment on a job to fetch job details.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the worker that's fetching job details. The worker must have + * an assignment on a job to fetch job details.

+ */ + inline BatchGetJobEntityRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the worker that's fetching job details. The worker must have + * an assignment on a job to fetch job details.

+ */ + inline BatchGetJobEntityRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the worker that's fetching job details. The worker must have + * an assignment on a job to fetch job details.

+ */ + inline BatchGetJobEntityRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID of the worker that's fetching job details. The worker must have + * an assignment on a job to fetch job details.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID of the worker that's fetching job details. The worker must have + * an assignment on a job to fetch job details.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID of the worker that's fetching job details. The worker must have + * an assignment on a job to fetch job details.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID of the worker that's fetching job details. The worker must have + * an assignment on a job to fetch job details.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID of the worker that's fetching job details. The worker must have + * an assignment on a job to fetch job details.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID of the worker that's fetching job details. The worker must have + * an assignment on a job to fetch job details.

+ */ + inline BatchGetJobEntityRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID of the worker that's fetching job details. The worker must have + * an assignment on a job to fetch job details.

+ */ + inline BatchGetJobEntityRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID of the worker that's fetching job details. The worker must have + * an assignment on a job to fetch job details.

+ */ + inline BatchGetJobEntityRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The job identifiers to include within the job entity batch details.

+ */ + inline const Aws::Vector& GetIdentifiers() const{ return m_identifiers; } + + /** + *

The job identifiers to include within the job entity batch details.

+ */ + inline bool IdentifiersHasBeenSet() const { return m_identifiersHasBeenSet; } + + /** + *

The job identifiers to include within the job entity batch details.

+ */ + inline void SetIdentifiers(const Aws::Vector& value) { m_identifiersHasBeenSet = true; m_identifiers = value; } + + /** + *

The job identifiers to include within the job entity batch details.

+ */ + inline void SetIdentifiers(Aws::Vector&& value) { m_identifiersHasBeenSet = true; m_identifiers = std::move(value); } + + /** + *

The job identifiers to include within the job entity batch details.

+ */ + inline BatchGetJobEntityRequest& WithIdentifiers(const Aws::Vector& value) { SetIdentifiers(value); return *this;} + + /** + *

The job identifiers to include within the job entity batch details.

+ */ + inline BatchGetJobEntityRequest& WithIdentifiers(Aws::Vector&& value) { SetIdentifiers(std::move(value)); return *this;} + + /** + *

The job identifiers to include within the job entity batch details.

+ */ + inline BatchGetJobEntityRequest& AddIdentifiers(const JobEntityIdentifiersUnion& value) { m_identifiersHasBeenSet = true; m_identifiers.push_back(value); return *this; } + + /** + *

The job identifiers to include within the job entity batch details.

+ */ + inline BatchGetJobEntityRequest& AddIdentifiers(JobEntityIdentifiersUnion&& value) { m_identifiersHasBeenSet = true; m_identifiers.push_back(std::move(value)); return *this; } + + + /** + *

The worker ID of the worker containing the job details to get.

+ */ + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + + /** + *

The worker ID of the worker containing the job details to get.

+ */ + inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } + + /** + *

The worker ID of the worker containing the job details to get.

+ */ + inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } + + /** + *

The worker ID of the worker containing the job details to get.

+ */ + inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } + + /** + *

The worker ID of the worker containing the job details to get.

+ */ + inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } + + /** + *

The worker ID of the worker containing the job details to get.

+ */ + inline BatchGetJobEntityRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + + /** + *

The worker ID of the worker containing the job details to get.

+ */ + inline BatchGetJobEntityRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + + /** + *

The worker ID of the worker containing the job details to get.

+ */ + inline BatchGetJobEntityRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + Aws::Vector m_identifiers; + bool m_identifiersHasBeenSet = false; + + Aws::String m_workerId; + bool m_workerIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BatchGetJobEntityResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BatchGetJobEntityResult.h new file mode 100644 index 00000000000..5e6bac857bc --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BatchGetJobEntityResult.h @@ -0,0 +1,142 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class BatchGetJobEntityResult + { + public: + AWS_DEADLINE_API BatchGetJobEntityResult(); + AWS_DEADLINE_API BatchGetJobEntityResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API BatchGetJobEntityResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

A list of the job entities, or details, in the batch.

+ */ + inline const Aws::Vector& GetEntities() const{ return m_entities; } + + /** + *

A list of the job entities, or details, in the batch.

+ */ + inline void SetEntities(const Aws::Vector& value) { m_entities = value; } + + /** + *

A list of the job entities, or details, in the batch.

+ */ + inline void SetEntities(Aws::Vector&& value) { m_entities = std::move(value); } + + /** + *

A list of the job entities, or details, in the batch.

+ */ + inline BatchGetJobEntityResult& WithEntities(const Aws::Vector& value) { SetEntities(value); return *this;} + + /** + *

A list of the job entities, or details, in the batch.

+ */ + inline BatchGetJobEntityResult& WithEntities(Aws::Vector&& value) { SetEntities(std::move(value)); return *this;} + + /** + *

A list of the job entities, or details, in the batch.

+ */ + inline BatchGetJobEntityResult& AddEntities(const JobEntity& value) { m_entities.push_back(value); return *this; } + + /** + *

A list of the job entities, or details, in the batch.

+ */ + inline BatchGetJobEntityResult& AddEntities(JobEntity&& value) { m_entities.push_back(std::move(value)); return *this; } + + + /** + *

A list of errors from the job error logs for the batch.

+ */ + inline const Aws::Vector& GetErrors() const{ return m_errors; } + + /** + *

A list of errors from the job error logs for the batch.

+ */ + inline void SetErrors(const Aws::Vector& value) { m_errors = value; } + + /** + *

A list of errors from the job error logs for the batch.

+ */ + inline void SetErrors(Aws::Vector&& value) { m_errors = std::move(value); } + + /** + *

A list of errors from the job error logs for the batch.

+ */ + inline BatchGetJobEntityResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} + + /** + *

A list of errors from the job error logs for the batch.

+ */ + inline BatchGetJobEntityResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} + + /** + *

A list of errors from the job error logs for the batch.

+ */ + inline BatchGetJobEntityResult& AddErrors(const GetJobEntityError& value) { m_errors.push_back(value); return *this; } + + /** + *

A list of errors from the job error logs for the batch.

+ */ + inline BatchGetJobEntityResult& AddErrors(GetJobEntityError&& value) { m_errors.push_back(std::move(value)); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline BatchGetJobEntityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline BatchGetJobEntityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline BatchGetJobEntityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_entities; + + Aws::Vector m_errors; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetActionToAdd.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetActionToAdd.h new file mode 100644 index 00000000000..7fcb50f7b0c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetActionToAdd.h @@ -0,0 +1,147 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The budget action to add.

See Also:

AWS + * API Reference

+ */ + class BudgetActionToAdd + { + public: + AWS_DEADLINE_API BudgetActionToAdd(); + AWS_DEADLINE_API BudgetActionToAdd(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API BudgetActionToAdd& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

A description for the budget action to add.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

A description for the budget action to add.

+ */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *

A description for the budget action to add.

+ */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *

A description for the budget action to add.

+ */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *

A description for the budget action to add.

+ */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *

A description for the budget action to add.

+ */ + inline BudgetActionToAdd& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

A description for the budget action to add.

+ */ + inline BudgetActionToAdd& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

A description for the budget action to add.

+ */ + inline BudgetActionToAdd& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

The percentage threshold for the budget action to add.

+ */ + inline double GetThresholdPercentage() const{ return m_thresholdPercentage; } + + /** + *

The percentage threshold for the budget action to add.

+ */ + inline bool ThresholdPercentageHasBeenSet() const { return m_thresholdPercentageHasBeenSet; } + + /** + *

The percentage threshold for the budget action to add.

+ */ + inline void SetThresholdPercentage(double value) { m_thresholdPercentageHasBeenSet = true; m_thresholdPercentage = value; } + + /** + *

The percentage threshold for the budget action to add.

+ */ + inline BudgetActionToAdd& WithThresholdPercentage(double value) { SetThresholdPercentage(value); return *this;} + + + /** + *

The type of budget action to add.

+ */ + inline const BudgetActionType& GetType() const{ return m_type; } + + /** + *

The type of budget action to add.

+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *

The type of budget action to add.

+ */ + inline void SetType(const BudgetActionType& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *

The type of budget action to add.

+ */ + inline void SetType(BudgetActionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *

The type of budget action to add.

+ */ + inline BudgetActionToAdd& WithType(const BudgetActionType& value) { SetType(value); return *this;} + + /** + *

The type of budget action to add.

+ */ + inline BudgetActionToAdd& WithType(BudgetActionType&& value) { SetType(std::move(value)); return *this;} + + private: + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + double m_thresholdPercentage; + bool m_thresholdPercentageHasBeenSet = false; + + BudgetActionType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetActionToRemove.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetActionToRemove.h new file mode 100644 index 00000000000..127ecb9932d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetActionToRemove.h @@ -0,0 +1,102 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The budget action to remove.

See Also:

AWS + * API Reference

+ */ + class BudgetActionToRemove + { + public: + AWS_DEADLINE_API BudgetActionToRemove(); + AWS_DEADLINE_API BudgetActionToRemove(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API BudgetActionToRemove& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The percentage threshold for the budget action to remove.

+ */ + inline double GetThresholdPercentage() const{ return m_thresholdPercentage; } + + /** + *

The percentage threshold for the budget action to remove.

+ */ + inline bool ThresholdPercentageHasBeenSet() const { return m_thresholdPercentageHasBeenSet; } + + /** + *

The percentage threshold for the budget action to remove.

+ */ + inline void SetThresholdPercentage(double value) { m_thresholdPercentageHasBeenSet = true; m_thresholdPercentage = value; } + + /** + *

The percentage threshold for the budget action to remove.

+ */ + inline BudgetActionToRemove& WithThresholdPercentage(double value) { SetThresholdPercentage(value); return *this;} + + + /** + *

The type of budget action to remove.

+ */ + inline const BudgetActionType& GetType() const{ return m_type; } + + /** + *

The type of budget action to remove.

+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *

The type of budget action to remove.

+ */ + inline void SetType(const BudgetActionType& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *

The type of budget action to remove.

+ */ + inline void SetType(BudgetActionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *

The type of budget action to remove.

+ */ + inline BudgetActionToRemove& WithType(const BudgetActionType& value) { SetType(value); return *this;} + + /** + *

The type of budget action to remove.

+ */ + inline BudgetActionToRemove& WithType(BudgetActionType&& value) { SetType(std::move(value)); return *this;} + + private: + + double m_thresholdPercentage; + bool m_thresholdPercentageHasBeenSet = false; + + BudgetActionType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetActionType.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetActionType.h new file mode 100644 index 00000000000..367ef98c927 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetActionType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class BudgetActionType + { + NOT_SET, + STOP_SCHEDULING_AND_COMPLETE_TASKS, + STOP_SCHEDULING_AND_CANCEL_TASKS + }; + +namespace BudgetActionTypeMapper +{ +AWS_DEADLINE_API BudgetActionType GetBudgetActionTypeForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForBudgetActionType(BudgetActionType value); +} // namespace BudgetActionTypeMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetSchedule.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetSchedule.h new file mode 100644 index 00000000000..aab7b66d4e3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetSchedule.h @@ -0,0 +1,78 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The start and end time of the budget.

See Also:

AWS + * API Reference

+ */ + class BudgetSchedule + { + public: + AWS_DEADLINE_API BudgetSchedule(); + AWS_DEADLINE_API BudgetSchedule(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API BudgetSchedule& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The fixed start and end time of the budget's schedule.

+ */ + inline const FixedBudgetSchedule& GetFixed() const{ return m_fixed; } + + /** + *

The fixed start and end time of the budget's schedule.

+ */ + inline bool FixedHasBeenSet() const { return m_fixedHasBeenSet; } + + /** + *

The fixed start and end time of the budget's schedule.

+ */ + inline void SetFixed(const FixedBudgetSchedule& value) { m_fixedHasBeenSet = true; m_fixed = value; } + + /** + *

The fixed start and end time of the budget's schedule.

+ */ + inline void SetFixed(FixedBudgetSchedule&& value) { m_fixedHasBeenSet = true; m_fixed = std::move(value); } + + /** + *

The fixed start and end time of the budget's schedule.

+ */ + inline BudgetSchedule& WithFixed(const FixedBudgetSchedule& value) { SetFixed(value); return *this;} + + /** + *

The fixed start and end time of the budget's schedule.

+ */ + inline BudgetSchedule& WithFixed(FixedBudgetSchedule&& value) { SetFixed(std::move(value)); return *this;} + + private: + + FixedBudgetSchedule m_fixed; + bool m_fixedHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetStatus.h new file mode 100644 index 00000000000..d7b568023a9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetStatus.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class BudgetStatus + { + NOT_SET, + ACTIVE, + INACTIVE + }; + +namespace BudgetStatusMapper +{ +AWS_DEADLINE_API BudgetStatus GetBudgetStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForBudgetStatus(BudgetStatus value); +} // namespace BudgetStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetSummary.h new file mode 100644 index 00000000000..439717a9fc8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/BudgetSummary.h @@ -0,0 +1,480 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The budget summary.

See Also:

AWS + * API Reference

+ */ + class BudgetSummary + { + public: + AWS_DEADLINE_API BudgetSummary(); + AWS_DEADLINE_API BudgetSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API BudgetSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The approximate dollar limit of the budget.

+ */ + inline double GetApproximateDollarLimit() const{ return m_approximateDollarLimit; } + + /** + *

The approximate dollar limit of the budget.

+ */ + inline bool ApproximateDollarLimitHasBeenSet() const { return m_approximateDollarLimitHasBeenSet; } + + /** + *

The approximate dollar limit of the budget.

+ */ + inline void SetApproximateDollarLimit(double value) { m_approximateDollarLimitHasBeenSet = true; m_approximateDollarLimit = value; } + + /** + *

The approximate dollar limit of the budget.

+ */ + inline BudgetSummary& WithApproximateDollarLimit(double value) { SetApproximateDollarLimit(value); return *this;} + + + /** + *

The budget ID.

+ */ + inline const Aws::String& GetBudgetId() const{ return m_budgetId; } + + /** + *

The budget ID.

+ */ + inline bool BudgetIdHasBeenSet() const { return m_budgetIdHasBeenSet; } + + /** + *

The budget ID.

+ */ + inline void SetBudgetId(const Aws::String& value) { m_budgetIdHasBeenSet = true; m_budgetId = value; } + + /** + *

The budget ID.

+ */ + inline void SetBudgetId(Aws::String&& value) { m_budgetIdHasBeenSet = true; m_budgetId = std::move(value); } + + /** + *

The budget ID.

+ */ + inline void SetBudgetId(const char* value) { m_budgetIdHasBeenSet = true; m_budgetId.assign(value); } + + /** + *

The budget ID.

+ */ + inline BudgetSummary& WithBudgetId(const Aws::String& value) { SetBudgetId(value); return *this;} + + /** + *

The budget ID.

+ */ + inline BudgetSummary& WithBudgetId(Aws::String&& value) { SetBudgetId(std::move(value)); return *this;} + + /** + *

The budget ID.

+ */ + inline BudgetSummary& WithBudgetId(const char* value) { SetBudgetId(value); return *this;} + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline BudgetSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline BudgetSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline BudgetSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline BudgetSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline BudgetSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The description of the budget summary.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

The description of the budget summary.

+ */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *

The description of the budget summary.

+ */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *

The description of the budget summary.

+ */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *

The description of the budget summary.

+ */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *

The description of the budget summary.

+ */ + inline BudgetSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

The description of the budget summary.

+ */ + inline BudgetSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

The description of the budget summary.

+ */ + inline BudgetSummary& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

The display name of the budget summary to update.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the budget summary to update.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The display name of the budget summary to update.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The display name of the budget summary to update.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The display name of the budget summary to update.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The display name of the budget summary to update.

+ */ + inline BudgetSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the budget summary to update.

+ */ + inline BudgetSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the budget summary to update.

+ */ + inline BudgetSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The status of the budget.

  • ACTIVE–The budget is + * being evaluated.

  • INACTIVE–The budget is + * inactive. This can include Expired, Canceled, or deleted Deleted statuses.

    + *
+ */ + inline const BudgetStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the budget.

  • ACTIVE–The budget is + * being evaluated.

  • INACTIVE–The budget is + * inactive. This can include Expired, Canceled, or deleted Deleted statuses.

    + *
+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The status of the budget.

  • ACTIVE–The budget is + * being evaluated.

  • INACTIVE–The budget is + * inactive. This can include Expired, Canceled, or deleted Deleted statuses.

    + *
+ */ + inline void SetStatus(const BudgetStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The status of the budget.

  • ACTIVE–The budget is + * being evaluated.

  • INACTIVE–The budget is + * inactive. This can include Expired, Canceled, or deleted Deleted statuses.

    + *
+ */ + inline void SetStatus(BudgetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The status of the budget.

  • ACTIVE–The budget is + * being evaluated.

  • INACTIVE–The budget is + * inactive. This can include Expired, Canceled, or deleted Deleted statuses.

    + *
+ */ + inline BudgetSummary& WithStatus(const BudgetStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the budget.

  • ACTIVE–The budget is + * being evaluated.

  • INACTIVE–The budget is + * inactive. This can include Expired, Canceled, or deleted Deleted statuses.

    + *
+ */ + inline BudgetSummary& WithStatus(BudgetStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline BudgetSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline BudgetSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline BudgetSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline BudgetSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline BudgetSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + /** + *

The resource used to track expenditure in the budget.

+ */ + inline const UsageTrackingResource& GetUsageTrackingResource() const{ return m_usageTrackingResource; } + + /** + *

The resource used to track expenditure in the budget.

+ */ + inline bool UsageTrackingResourceHasBeenSet() const { return m_usageTrackingResourceHasBeenSet; } + + /** + *

The resource used to track expenditure in the budget.

+ */ + inline void SetUsageTrackingResource(const UsageTrackingResource& value) { m_usageTrackingResourceHasBeenSet = true; m_usageTrackingResource = value; } + + /** + *

The resource used to track expenditure in the budget.

+ */ + inline void SetUsageTrackingResource(UsageTrackingResource&& value) { m_usageTrackingResourceHasBeenSet = true; m_usageTrackingResource = std::move(value); } + + /** + *

The resource used to track expenditure in the budget.

+ */ + inline BudgetSummary& WithUsageTrackingResource(const UsageTrackingResource& value) { SetUsageTrackingResource(value); return *this;} + + /** + *

The resource used to track expenditure in the budget.

+ */ + inline BudgetSummary& WithUsageTrackingResource(UsageTrackingResource&& value) { SetUsageTrackingResource(std::move(value)); return *this;} + + + /** + *

The consumed usage for the budget.

+ */ + inline const ConsumedUsages& GetUsages() const{ return m_usages; } + + /** + *

The consumed usage for the budget.

+ */ + inline bool UsagesHasBeenSet() const { return m_usagesHasBeenSet; } + + /** + *

The consumed usage for the budget.

+ */ + inline void SetUsages(const ConsumedUsages& value) { m_usagesHasBeenSet = true; m_usages = value; } + + /** + *

The consumed usage for the budget.

+ */ + inline void SetUsages(ConsumedUsages&& value) { m_usagesHasBeenSet = true; m_usages = std::move(value); } + + /** + *

The consumed usage for the budget.

+ */ + inline BudgetSummary& WithUsages(const ConsumedUsages& value) { SetUsages(value); return *this;} + + /** + *

The consumed usage for the budget.

+ */ + inline BudgetSummary& WithUsages(ConsumedUsages&& value) { SetUsages(std::move(value)); return *this;} + + private: + + double m_approximateDollarLimit; + bool m_approximateDollarLimitHasBeenSet = false; + + Aws::String m_budgetId; + bool m_budgetIdHasBeenSet = false; + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + BudgetStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::Utils::DateTime m_updatedAt; + bool m_updatedAtHasBeenSet = false; + + Aws::String m_updatedBy; + bool m_updatedByHasBeenSet = false; + + UsageTrackingResource m_usageTrackingResource; + bool m_usageTrackingResourceHasBeenSet = false; + + ConsumedUsages m_usages; + bool m_usagesHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ComparisonOperator.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ComparisonOperator.h new file mode 100644 index 00000000000..2d65186b576 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ComparisonOperator.h @@ -0,0 +1,35 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class ComparisonOperator + { + NOT_SET, + EQUAL, + NOT_EQUAL, + GREATER_THAN_EQUAL_TO, + GREATER_THAN, + LESS_THAN_EQUAL_TO, + LESS_THAN + }; + +namespace ComparisonOperatorMapper +{ +AWS_DEADLINE_API ComparisonOperator GetComparisonOperatorForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForComparisonOperator(ComparisonOperator value); +} // namespace ComparisonOperatorMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CompletedStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CompletedStatus.h new file mode 100644 index 00000000000..96b9867b648 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CompletedStatus.h @@ -0,0 +1,34 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class CompletedStatus + { + NOT_SET, + SUCCEEDED, + FAILED, + INTERRUPTED, + CANCELED, + NEVER_ATTEMPTED + }; + +namespace CompletedStatusMapper +{ +AWS_DEADLINE_API CompletedStatus GetCompletedStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForCompletedStatus(CompletedStatus value); +} // namespace CompletedStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ConflictException.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ConflictException.h new file mode 100644 index 00000000000..9a6268926d9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ConflictException.h @@ -0,0 +1,267 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Your request has conflicting operations. This can occur if you're trying to + * perform more than one operation on the same resource at the same + * time.

See Also:

AWS + * API Reference

+ */ + class ConflictException + { + public: + AWS_DEADLINE_API ConflictException(); + AWS_DEADLINE_API ConflictException(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API ConflictException& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline const Aws::Map& GetContext() const{ return m_context; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline void SetContext(const Aws::Map& value) { m_contextHasBeenSet = true; m_context = value; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline void SetContext(Aws::Map&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ConflictException& WithContext(const Aws::Map& value) { SetContext(value); return *this;} + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ConflictException& WithContext(Aws::Map&& value) { SetContext(std::move(value)); return *this;} + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ConflictException& AddContext(const Aws::String& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ConflictException& AddContext(Aws::String&& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ConflictException& AddContext(const Aws::String& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ConflictException& AddContext(Aws::String&& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ConflictException& AddContext(const char* key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ConflictException& AddContext(Aws::String&& key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ConflictException& AddContext(const char* key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + + + + inline const Aws::String& GetMessage() const{ return m_message; } + + + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + + + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + + + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + + + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + + + inline ConflictException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + + + inline ConflictException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + + + inline ConflictException& WithMessage(const char* value) { SetMessage(value); return *this;} + + + /** + *

A description of the error.

+ */ + inline const ConflictExceptionReason& GetReason() const{ return m_reason; } + + /** + *

A description of the error.

+ */ + inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } + + /** + *

A description of the error.

+ */ + inline void SetReason(const ConflictExceptionReason& value) { m_reasonHasBeenSet = true; m_reason = value; } + + /** + *

A description of the error.

+ */ + inline void SetReason(ConflictExceptionReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } + + /** + *

A description of the error.

+ */ + inline ConflictException& WithReason(const ConflictExceptionReason& value) { SetReason(value); return *this;} + + /** + *

A description of the error.

+ */ + inline ConflictException& WithReason(ConflictExceptionReason&& value) { SetReason(std::move(value)); return *this;} + + + /** + *

The identifier of the resource in use.

+ */ + inline const Aws::String& GetResourceId() const{ return m_resourceId; } + + /** + *

The identifier of the resource in use.

+ */ + inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } + + /** + *

The identifier of the resource in use.

+ */ + inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } + + /** + *

The identifier of the resource in use.

+ */ + inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } + + /** + *

The identifier of the resource in use.

+ */ + inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } + + /** + *

The identifier of the resource in use.

+ */ + inline ConflictException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} + + /** + *

The identifier of the resource in use.

+ */ + inline ConflictException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} + + /** + *

The identifier of the resource in use.

+ */ + inline ConflictException& WithResourceId(const char* value) { SetResourceId(value); return *this;} + + + /** + *

The type of the resource in use.

+ */ + inline const Aws::String& GetResourceType() const{ return m_resourceType; } + + /** + *

The type of the resource in use.

+ */ + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + + /** + *

The type of the resource in use.

+ */ + inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + + /** + *

The type of the resource in use.

+ */ + inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + + /** + *

The type of the resource in use.

+ */ + inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } + + /** + *

The type of the resource in use.

+ */ + inline ConflictException& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} + + /** + *

The type of the resource in use.

+ */ + inline ConflictException& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} + + /** + *

The type of the resource in use.

+ */ + inline ConflictException& WithResourceType(const char* value) { SetResourceType(value); return *this;} + + private: + + Aws::Map m_context; + bool m_contextHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + ConflictExceptionReason m_reason; + bool m_reasonHasBeenSet = false; + + Aws::String m_resourceId; + bool m_resourceIdHasBeenSet = false; + + Aws::String m_resourceType; + bool m_resourceTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ConflictExceptionReason.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ConflictExceptionReason.h new file mode 100644 index 00000000000..e7b1d7bf7ba --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ConflictExceptionReason.h @@ -0,0 +1,34 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class ConflictExceptionReason + { + NOT_SET, + CONFLICT_EXCEPTION, + CONCURRENT_MODIFICATION, + RESOURCE_ALREADY_EXISTS, + RESOURCE_IN_USE, + STATUS_CONFLICT + }; + +namespace ConflictExceptionReasonMapper +{ +AWS_DEADLINE_API ConflictExceptionReason GetConflictExceptionReasonForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForConflictExceptionReason(ConflictExceptionReason value); +} // namespace ConflictExceptionReasonMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ConsumedUsages.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ConsumedUsages.h new file mode 100644 index 00000000000..204cf1e22eb --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ConsumedUsages.h @@ -0,0 +1,66 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The consumed usage for the resource.

See Also:

AWS + * API Reference

+ */ + class ConsumedUsages + { + public: + AWS_DEADLINE_API ConsumedUsages(); + AWS_DEADLINE_API ConsumedUsages(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API ConsumedUsages& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The amount of the budget consumed.

+ */ + inline double GetApproximateDollarUsage() const{ return m_approximateDollarUsage; } + + /** + *

The amount of the budget consumed.

+ */ + inline bool ApproximateDollarUsageHasBeenSet() const { return m_approximateDollarUsageHasBeenSet; } + + /** + *

The amount of the budget consumed.

+ */ + inline void SetApproximateDollarUsage(double value) { m_approximateDollarUsageHasBeenSet = true; m_approximateDollarUsage = value; } + + /** + *

The amount of the budget consumed.

+ */ + inline ConsumedUsages& WithApproximateDollarUsage(double value) { SetApproximateDollarUsage(value); return *this;} + + private: + + double m_approximateDollarUsage; + bool m_approximateDollarUsageHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CopyJobTemplateRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CopyJobTemplateRequest.h new file mode 100644 index 00000000000..7768f478db2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CopyJobTemplateRequest.h @@ -0,0 +1,212 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class CopyJobTemplateRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API CopyJobTemplateRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CopyJobTemplate"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID to copy.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID to copy.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID to copy.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID to copy.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID to copy.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID to copy.

+ */ + inline CopyJobTemplateRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID to copy.

+ */ + inline CopyJobTemplateRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID to copy.

+ */ + inline CopyJobTemplateRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID to copy.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID to copy.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID to copy.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID to copy.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID to copy.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID to copy.

+ */ + inline CopyJobTemplateRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID to copy.

+ */ + inline CopyJobTemplateRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID to copy.

+ */ + inline CopyJobTemplateRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The queue ID to copy.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID to copy.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID to copy.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID to copy.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID to copy.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID to copy.

+ */ + inline CopyJobTemplateRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID to copy.

+ */ + inline CopyJobTemplateRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID to copy.

+ */ + inline CopyJobTemplateRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The Amazon S3 bucket name and key where you would like to add a copy of the + * job template.

+ */ + inline const S3Location& GetTargetS3Location() const{ return m_targetS3Location; } + + /** + *

The Amazon S3 bucket name and key where you would like to add a copy of the + * job template.

+ */ + inline bool TargetS3LocationHasBeenSet() const { return m_targetS3LocationHasBeenSet; } + + /** + *

The Amazon S3 bucket name and key where you would like to add a copy of the + * job template.

+ */ + inline void SetTargetS3Location(const S3Location& value) { m_targetS3LocationHasBeenSet = true; m_targetS3Location = value; } + + /** + *

The Amazon S3 bucket name and key where you would like to add a copy of the + * job template.

+ */ + inline void SetTargetS3Location(S3Location&& value) { m_targetS3LocationHasBeenSet = true; m_targetS3Location = std::move(value); } + + /** + *

The Amazon S3 bucket name and key where you would like to add a copy of the + * job template.

+ */ + inline CopyJobTemplateRequest& WithTargetS3Location(const S3Location& value) { SetTargetS3Location(value); return *this;} + + /** + *

The Amazon S3 bucket name and key where you would like to add a copy of the + * job template.

+ */ + inline CopyJobTemplateRequest& WithTargetS3Location(S3Location&& value) { SetTargetS3Location(std::move(value)); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + S3Location m_targetS3Location; + bool m_targetS3LocationHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CopyJobTemplateResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CopyJobTemplateResult.h new file mode 100644 index 00000000000..e691c702fb5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CopyJobTemplateResult.h @@ -0,0 +1,97 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class CopyJobTemplateResult + { + public: + AWS_DEADLINE_API CopyJobTemplateResult(); + AWS_DEADLINE_API CopyJobTemplateResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API CopyJobTemplateResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The format of the job template, either JSON or + * YAML.

+ */ + inline const JobTemplateType& GetTemplateType() const{ return m_templateType; } + + /** + *

The format of the job template, either JSON or + * YAML.

+ */ + inline void SetTemplateType(const JobTemplateType& value) { m_templateType = value; } + + /** + *

The format of the job template, either JSON or + * YAML.

+ */ + inline void SetTemplateType(JobTemplateType&& value) { m_templateType = std::move(value); } + + /** + *

The format of the job template, either JSON or + * YAML.

+ */ + inline CopyJobTemplateResult& WithTemplateType(const JobTemplateType& value) { SetTemplateType(value); return *this;} + + /** + *

The format of the job template, either JSON or + * YAML.

+ */ + inline CopyJobTemplateResult& WithTemplateType(JobTemplateType&& value) { SetTemplateType(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline CopyJobTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CopyJobTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CopyJobTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + JobTemplateType m_templateType; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CpuArchitectureType.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CpuArchitectureType.h new file mode 100644 index 00000000000..af0c0907a3b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CpuArchitectureType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class CpuArchitectureType + { + NOT_SET, + x86_64, + arm64 + }; + +namespace CpuArchitectureTypeMapper +{ +AWS_DEADLINE_API CpuArchitectureType GetCpuArchitectureTypeForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForCpuArchitectureType(CpuArchitectureType value); +} // namespace CpuArchitectureTypeMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateBudgetRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateBudgetRequest.h new file mode 100644 index 00000000000..1d75bbf63b6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateBudgetRequest.h @@ -0,0 +1,366 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class CreateBudgetRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API CreateBudgetRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreateBudget"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The budget actions to specify what happens when the budget runs out.

+ */ + inline const Aws::Vector& GetActions() const{ return m_actions; } + + /** + *

The budget actions to specify what happens when the budget runs out.

+ */ + inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; } + + /** + *

The budget actions to specify what happens when the budget runs out.

+ */ + inline void SetActions(const Aws::Vector& value) { m_actionsHasBeenSet = true; m_actions = value; } + + /** + *

The budget actions to specify what happens when the budget runs out.

+ */ + inline void SetActions(Aws::Vector&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); } + + /** + *

The budget actions to specify what happens when the budget runs out.

+ */ + inline CreateBudgetRequest& WithActions(const Aws::Vector& value) { SetActions(value); return *this;} + + /** + *

The budget actions to specify what happens when the budget runs out.

+ */ + inline CreateBudgetRequest& WithActions(Aws::Vector&& value) { SetActions(std::move(value)); return *this;} + + /** + *

The budget actions to specify what happens when the budget runs out.

+ */ + inline CreateBudgetRequest& AddActions(const BudgetActionToAdd& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; } + + /** + *

The budget actions to specify what happens when the budget runs out.

+ */ + inline CreateBudgetRequest& AddActions(BudgetActionToAdd&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; } + + + /** + *

The dollar limit based on consumed usage.

+ */ + inline double GetApproximateDollarLimit() const{ return m_approximateDollarLimit; } + + /** + *

The dollar limit based on consumed usage.

+ */ + inline bool ApproximateDollarLimitHasBeenSet() const { return m_approximateDollarLimitHasBeenSet; } + + /** + *

The dollar limit based on consumed usage.

+ */ + inline void SetApproximateDollarLimit(double value) { m_approximateDollarLimitHasBeenSet = true; m_approximateDollarLimit = value; } + + /** + *

The dollar limit based on consumed usage.

+ */ + inline CreateBudgetRequest& WithApproximateDollarLimit(double value) { SetApproximateDollarLimit(value); return *this;} + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateBudgetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateBudgetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateBudgetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The description of the budget.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

The description of the budget.

+ */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *

The description of the budget.

+ */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *

The description of the budget.

+ */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *

The description of the budget.

+ */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *

The description of the budget.

+ */ + inline CreateBudgetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

The description of the budget.

+ */ + inline CreateBudgetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

The description of the budget.

+ */ + inline CreateBudgetRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

The display name of the budget.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the budget.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The display name of the budget.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The display name of the budget.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The display name of the budget.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The display name of the budget.

+ */ + inline CreateBudgetRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the budget.

+ */ + inline CreateBudgetRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the budget.

+ */ + inline CreateBudgetRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The farm ID to include in this budget.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID to include in this budget.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID to include in this budget.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID to include in this budget.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID to include in this budget.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID to include in this budget.

+ */ + inline CreateBudgetRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID to include in this budget.

+ */ + inline CreateBudgetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID to include in this budget.

+ */ + inline CreateBudgetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The schedule to associate with this budget.

+ */ + inline const BudgetSchedule& GetSchedule() const{ return m_schedule; } + + /** + *

The schedule to associate with this budget.

+ */ + inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; } + + /** + *

The schedule to associate with this budget.

+ */ + inline void SetSchedule(const BudgetSchedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; } + + /** + *

The schedule to associate with this budget.

+ */ + inline void SetSchedule(BudgetSchedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); } + + /** + *

The schedule to associate with this budget.

+ */ + inline CreateBudgetRequest& WithSchedule(const BudgetSchedule& value) { SetSchedule(value); return *this;} + + /** + *

The schedule to associate with this budget.

+ */ + inline CreateBudgetRequest& WithSchedule(BudgetSchedule&& value) { SetSchedule(std::move(value)); return *this;} + + + /** + *

The queue ID provided to this budget to track usage.

+ */ + inline const UsageTrackingResource& GetUsageTrackingResource() const{ return m_usageTrackingResource; } + + /** + *

The queue ID provided to this budget to track usage.

+ */ + inline bool UsageTrackingResourceHasBeenSet() const { return m_usageTrackingResourceHasBeenSet; } + + /** + *

The queue ID provided to this budget to track usage.

+ */ + inline void SetUsageTrackingResource(const UsageTrackingResource& value) { m_usageTrackingResourceHasBeenSet = true; m_usageTrackingResource = value; } + + /** + *

The queue ID provided to this budget to track usage.

+ */ + inline void SetUsageTrackingResource(UsageTrackingResource&& value) { m_usageTrackingResourceHasBeenSet = true; m_usageTrackingResource = std::move(value); } + + /** + *

The queue ID provided to this budget to track usage.

+ */ + inline CreateBudgetRequest& WithUsageTrackingResource(const UsageTrackingResource& value) { SetUsageTrackingResource(value); return *this;} + + /** + *

The queue ID provided to this budget to track usage.

+ */ + inline CreateBudgetRequest& WithUsageTrackingResource(UsageTrackingResource&& value) { SetUsageTrackingResource(std::move(value)); return *this;} + + private: + + Aws::Vector m_actions; + bool m_actionsHasBeenSet = false; + + double m_approximateDollarLimit; + bool m_approximateDollarLimitHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + BudgetSchedule m_schedule; + bool m_scheduleHasBeenSet = false; + + UsageTrackingResource m_usageTrackingResource; + bool m_usageTrackingResourceHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateBudgetResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateBudgetResult.h new file mode 100644 index 00000000000..4b653ff3643 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateBudgetResult.h @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class CreateBudgetResult + { + public: + AWS_DEADLINE_API CreateBudgetResult(); + AWS_DEADLINE_API CreateBudgetResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API CreateBudgetResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The budget ID.

+ */ + inline const Aws::String& GetBudgetId() const{ return m_budgetId; } + + /** + *

The budget ID.

+ */ + inline void SetBudgetId(const Aws::String& value) { m_budgetId = value; } + + /** + *

The budget ID.

+ */ + inline void SetBudgetId(Aws::String&& value) { m_budgetId = std::move(value); } + + /** + *

The budget ID.

+ */ + inline void SetBudgetId(const char* value) { m_budgetId.assign(value); } + + /** + *

The budget ID.

+ */ + inline CreateBudgetResult& WithBudgetId(const Aws::String& value) { SetBudgetId(value); return *this;} + + /** + *

The budget ID.

+ */ + inline CreateBudgetResult& WithBudgetId(Aws::String&& value) { SetBudgetId(std::move(value)); return *this;} + + /** + *

The budget ID.

+ */ + inline CreateBudgetResult& WithBudgetId(const char* value) { SetBudgetId(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline CreateBudgetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CreateBudgetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CreateBudgetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_budgetId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateFarmRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateFarmRequest.h new file mode 100644 index 00000000000..af68e1a9fa1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateFarmRequest.h @@ -0,0 +1,309 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class CreateFarmRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API CreateFarmRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreateFarm"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateFarmRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateFarmRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateFarmRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The description of the farm.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

The description of the farm.

+ */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *

The description of the farm.

+ */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *

The description of the farm.

+ */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *

The description of the farm.

+ */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *

The description of the farm.

+ */ + inline CreateFarmRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

The description of the farm.

+ */ + inline CreateFarmRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

The description of the farm.

+ */ + inline CreateFarmRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

The display name of the farm.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the farm.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The display name of the farm.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The display name of the farm.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The display name of the farm.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The display name of the farm.

+ */ + inline CreateFarmRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the farm.

+ */ + inline CreateFarmRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the farm.

+ */ + inline CreateFarmRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The ARN of the KMS key to use on the farm.

+ */ + inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } + + /** + *

The ARN of the KMS key to use on the farm.

+ */ + inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } + + /** + *

The ARN of the KMS key to use on the farm.

+ */ + inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; } + + /** + *

The ARN of the KMS key to use on the farm.

+ */ + inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); } + + /** + *

The ARN of the KMS key to use on the farm.

+ */ + inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); } + + /** + *

The ARN of the KMS key to use on the farm.

+ */ + inline CreateFarmRequest& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} + + /** + *

The ARN of the KMS key to use on the farm.

+ */ + inline CreateFarmRequest& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} + + /** + *

The ARN of the KMS key to use on the farm.

+ */ + inline CreateFarmRequest& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} + + + /** + *

The tags to add to your farm. Each tag consists of a tag key and a tag value. + * Tag keys and values are both required, but tag values can be empty strings.

+ */ + inline const Aws::Map& GetTags() const{ return m_tags; } + + /** + *

The tags to add to your farm. Each tag consists of a tag key and a tag value. + * Tag keys and values are both required, but tag values can be empty strings.

+ */ + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + + /** + *

The tags to add to your farm. Each tag consists of a tag key and a tag value. + * Tag keys and values are both required, but tag values can be empty strings.

+ */ + inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } + + /** + *

The tags to add to your farm. Each tag consists of a tag key and a tag value. + * Tag keys and values are both required, but tag values can be empty strings.

+ */ + inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + + /** + *

The tags to add to your farm. Each tag consists of a tag key and a tag value. + * Tag keys and values are both required, but tag values can be empty strings.

+ */ + inline CreateFarmRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + + /** + *

The tags to add to your farm. Each tag consists of a tag key and a tag value. + * Tag keys and values are both required, but tag values can be empty strings.

+ */ + inline CreateFarmRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + + /** + *

The tags to add to your farm. Each tag consists of a tag key and a tag value. + * Tag keys and values are both required, but tag values can be empty strings.

+ */ + inline CreateFarmRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + /** + *

The tags to add to your farm. Each tag consists of a tag key and a tag value. + * Tag keys and values are both required, but tag values can be empty strings.

+ */ + inline CreateFarmRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *

The tags to add to your farm. Each tag consists of a tag key and a tag value. + * Tag keys and values are both required, but tag values can be empty strings.

+ */ + inline CreateFarmRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

The tags to add to your farm. Each tag consists of a tag key and a tag value. + * Tag keys and values are both required, but tag values can be empty strings.

+ */ + inline CreateFarmRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The tags to add to your farm. Each tag consists of a tag key and a tag value. + * Tag keys and values are both required, but tag values can be empty strings.

+ */ + inline CreateFarmRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

The tags to add to your farm. Each tag consists of a tag key and a tag value. + * Tag keys and values are both required, but tag values can be empty strings.

+ */ + inline CreateFarmRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *

The tags to add to your farm. Each tag consists of a tag key and a tag value. + * Tag keys and values are both required, but tag values can be empty strings.

+ */ + inline CreateFarmRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + private: + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_kmsKeyArn; + bool m_kmsKeyArnHasBeenSet = false; + + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateFarmResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateFarmResult.h new file mode 100644 index 00000000000..2baa7b6d165 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateFarmResult.h @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class CreateFarmResult + { + public: + AWS_DEADLINE_API CreateFarmResult(); + AWS_DEADLINE_API CreateFarmResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API CreateFarmResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The farm ID.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmId = value; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmId = std::move(value); } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const char* value) { m_farmId.assign(value); } + + /** + *

The farm ID.

+ */ + inline CreateFarmResult& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID.

+ */ + inline CreateFarmResult& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID.

+ */ + inline CreateFarmResult& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline CreateFarmResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CreateFarmResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CreateFarmResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_farmId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateFleetRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateFleetRequest.h new file mode 100644 index 00000000000..d68cd7e3f6f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateFleetRequest.h @@ -0,0 +1,448 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class CreateFleetRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API CreateFleetRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreateFleet"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateFleetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateFleetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateFleetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The configuration settings for the fleet. Customer managed fleets are + * self-managed. Service managed Amazon EC2 fleets are managed by Deadline + * Cloud.

+ */ + inline const FleetConfiguration& GetConfiguration() const{ return m_configuration; } + + /** + *

The configuration settings for the fleet. Customer managed fleets are + * self-managed. Service managed Amazon EC2 fleets are managed by Deadline + * Cloud.

+ */ + inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } + + /** + *

The configuration settings for the fleet. Customer managed fleets are + * self-managed. Service managed Amazon EC2 fleets are managed by Deadline + * Cloud.

+ */ + inline void SetConfiguration(const FleetConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } + + /** + *

The configuration settings for the fleet. Customer managed fleets are + * self-managed. Service managed Amazon EC2 fleets are managed by Deadline + * Cloud.

+ */ + inline void SetConfiguration(FleetConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } + + /** + *

The configuration settings for the fleet. Customer managed fleets are + * self-managed. Service managed Amazon EC2 fleets are managed by Deadline + * Cloud.

+ */ + inline CreateFleetRequest& WithConfiguration(const FleetConfiguration& value) { SetConfiguration(value); return *this;} + + /** + *

The configuration settings for the fleet. Customer managed fleets are + * self-managed. Service managed Amazon EC2 fleets are managed by Deadline + * Cloud.

+ */ + inline CreateFleetRequest& WithConfiguration(FleetConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} + + + /** + *

The description of the fleet.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

The description of the fleet.

+ */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *

The description of the fleet.

+ */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *

The description of the fleet.

+ */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *

The description of the fleet.

+ */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *

The description of the fleet.

+ */ + inline CreateFleetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

The description of the fleet.

+ */ + inline CreateFleetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

The description of the fleet.

+ */ + inline CreateFleetRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

The display name of the fleet.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the fleet.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The display name of the fleet.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The display name of the fleet.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The display name of the fleet.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The display name of the fleet.

+ */ + inline CreateFleetRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the fleet.

+ */ + inline CreateFleetRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the fleet.

+ */ + inline CreateFleetRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The farm ID of the farm to connect to the fleet.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm to connect to the fleet.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm to connect to the fleet.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm to connect to the fleet.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm to connect to the fleet.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm to connect to the fleet.

+ */ + inline CreateFleetRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm to connect to the fleet.

+ */ + inline CreateFleetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm to connect to the fleet.

+ */ + inline CreateFleetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The maximum number of workers for the fleet.

+ */ + inline int GetMaxWorkerCount() const{ return m_maxWorkerCount; } + + /** + *

The maximum number of workers for the fleet.

+ */ + inline bool MaxWorkerCountHasBeenSet() const { return m_maxWorkerCountHasBeenSet; } + + /** + *

The maximum number of workers for the fleet.

+ */ + inline void SetMaxWorkerCount(int value) { m_maxWorkerCountHasBeenSet = true; m_maxWorkerCount = value; } + + /** + *

The maximum number of workers for the fleet.

+ */ + inline CreateFleetRequest& WithMaxWorkerCount(int value) { SetMaxWorkerCount(value); return *this;} + + + /** + *

The minimum number of workers for the fleet.

+ */ + inline int GetMinWorkerCount() const{ return m_minWorkerCount; } + + /** + *

The minimum number of workers for the fleet.

+ */ + inline bool MinWorkerCountHasBeenSet() const { return m_minWorkerCountHasBeenSet; } + + /** + *

The minimum number of workers for the fleet.

+ */ + inline void SetMinWorkerCount(int value) { m_minWorkerCountHasBeenSet = true; m_minWorkerCount = value; } + + /** + *

The minimum number of workers for the fleet.

+ */ + inline CreateFleetRequest& WithMinWorkerCount(int value) { SetMinWorkerCount(value); return *this;} + + + /** + *

The IAM role ARN for the role that the fleet's workers will use.

+ */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + + /** + *

The IAM role ARN for the role that the fleet's workers will use.

+ */ + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + + /** + *

The IAM role ARN for the role that the fleet's workers will use.

+ */ + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + + /** + *

The IAM role ARN for the role that the fleet's workers will use.

+ */ + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + + /** + *

The IAM role ARN for the role that the fleet's workers will use.

+ */ + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + + /** + *

The IAM role ARN for the role that the fleet's workers will use.

+ */ + inline CreateFleetRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + + /** + *

The IAM role ARN for the role that the fleet's workers will use.

+ */ + inline CreateFleetRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + + /** + *

The IAM role ARN for the role that the fleet's workers will use.

+ */ + inline CreateFleetRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline const Aws::Map& GetTags() const{ return m_tags; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateFleetRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateFleetRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateFleetRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateFleetRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateFleetRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateFleetRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateFleetRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateFleetRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateFleetRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + private: + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + FleetConfiguration m_configuration; + bool m_configurationHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + int m_maxWorkerCount; + bool m_maxWorkerCountHasBeenSet = false; + + int m_minWorkerCount; + bool m_minWorkerCountHasBeenSet = false; + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; + + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateFleetResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateFleetResult.h new file mode 100644 index 00000000000..094b30b6c53 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateFleetResult.h @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class CreateFleetResult + { + public: + AWS_DEADLINE_API CreateFleetResult(); + AWS_DEADLINE_API CreateFleetResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API CreateFleetResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The fleet ID.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetId = value; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const char* value) { m_fleetId.assign(value); } + + /** + *

The fleet ID.

+ */ + inline CreateFleetResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID.

+ */ + inline CreateFleetResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID.

+ */ + inline CreateFleetResult& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline CreateFleetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CreateFleetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CreateFleetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_fleetId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateJobRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateJobRequest.h new file mode 100644 index 00000000000..efd39ab83b8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateJobRequest.h @@ -0,0 +1,539 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class CreateJobRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API CreateJobRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreateJob"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The attachments for the job. Attach files required for the job to run to a + * render job.

+ */ + inline const Attachments& GetAttachments() const{ return m_attachments; } + + /** + *

The attachments for the job. Attach files required for the job to run to a + * render job.

+ */ + inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; } + + /** + *

The attachments for the job. Attach files required for the job to run to a + * render job.

+ */ + inline void SetAttachments(const Attachments& value) { m_attachmentsHasBeenSet = true; m_attachments = value; } + + /** + *

The attachments for the job. Attach files required for the job to run to a + * render job.

+ */ + inline void SetAttachments(Attachments&& value) { m_attachmentsHasBeenSet = true; m_attachments = std::move(value); } + + /** + *

The attachments for the job. Attach files required for the job to run to a + * render job.

+ */ + inline CreateJobRequest& WithAttachments(const Attachments& value) { SetAttachments(value); return *this;} + + /** + *

The attachments for the job. Attach files required for the job to run to a + * render job.

+ */ + inline CreateJobRequest& WithAttachments(Attachments&& value) { SetAttachments(std::move(value)); return *this;} + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The farm ID of the farm to connect to the job.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm to connect to the job.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm to connect to the job.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm to connect to the job.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm to connect to the job.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm to connect to the job.

+ */ + inline CreateJobRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm to connect to the job.

+ */ + inline CreateJobRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm to connect to the job.

+ */ + inline CreateJobRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline int GetMaxFailedTasksCount() const{ return m_maxFailedTasksCount; } + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline bool MaxFailedTasksCountHasBeenSet() const { return m_maxFailedTasksCountHasBeenSet; } + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline void SetMaxFailedTasksCount(int value) { m_maxFailedTasksCountHasBeenSet = true; m_maxFailedTasksCount = value; } + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline CreateJobRequest& WithMaxFailedTasksCount(int value) { SetMaxFailedTasksCount(value); return *this;} + + + /** + *

The maximum number of retries for a job.

+ */ + inline int GetMaxRetriesPerTask() const{ return m_maxRetriesPerTask; } + + /** + *

The maximum number of retries for a job.

+ */ + inline bool MaxRetriesPerTaskHasBeenSet() const { return m_maxRetriesPerTaskHasBeenSet; } + + /** + *

The maximum number of retries for a job.

+ */ + inline void SetMaxRetriesPerTask(int value) { m_maxRetriesPerTaskHasBeenSet = true; m_maxRetriesPerTask = value; } + + /** + *

The maximum number of retries for a job.

+ */ + inline CreateJobRequest& WithMaxRetriesPerTask(int value) { SetMaxRetriesPerTask(value); return *this;} + + + /** + *

The parameters for the job.

+ */ + inline const Aws::Map& GetParameters() const{ return m_parameters; } + + /** + *

The parameters for the job.

+ */ + inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } + + /** + *

The parameters for the job.

+ */ + inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } + + /** + *

The parameters for the job.

+ */ + inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } + + /** + *

The parameters for the job.

+ */ + inline CreateJobRequest& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} + + /** + *

The parameters for the job.

+ */ + inline CreateJobRequest& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} + + /** + *

The parameters for the job.

+ */ + inline CreateJobRequest& AddParameters(const Aws::String& key, const JobParameter& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + + /** + *

The parameters for the job.

+ */ + inline CreateJobRequest& AddParameters(Aws::String&& key, const JobParameter& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } + + /** + *

The parameters for the job.

+ */ + inline CreateJobRequest& AddParameters(const Aws::String& key, JobParameter&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The parameters for the job.

+ */ + inline CreateJobRequest& AddParameters(Aws::String&& key, JobParameter&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The parameters for the job.

+ */ + inline CreateJobRequest& AddParameters(const char* key, JobParameter&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The parameters for the job.

+ */ + inline CreateJobRequest& AddParameters(const char* key, const JobParameter& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + + + /** + *

The priority of the job on a scale of 1 to 100. The highest priority is + * 1.

+ */ + inline int GetPriority() const{ return m_priority; } + + /** + *

The priority of the job on a scale of 1 to 100. The highest priority is + * 1.

+ */ + inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } + + /** + *

The priority of the job on a scale of 1 to 100. The highest priority is + * 1.

+ */ + inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } + + /** + *

The priority of the job on a scale of 1 to 100. The highest priority is + * 1.

+ */ + inline CreateJobRequest& WithPriority(int value) { SetPriority(value); return *this;} + + + /** + *

The ID of the queue that the job is submitted to.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The ID of the queue that the job is submitted to.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The ID of the queue that the job is submitted to.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The ID of the queue that the job is submitted to.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The ID of the queue that the job is submitted to.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The ID of the queue that the job is submitted to.

+ */ + inline CreateJobRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The ID of the queue that the job is submitted to.

+ */ + inline CreateJobRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The ID of the queue that the job is submitted to.

+ */ + inline CreateJobRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The storage profile ID for the storage profile to connect to the job.

+ */ + inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } + + /** + *

The storage profile ID for the storage profile to connect to the job.

+ */ + inline bool StorageProfileIdHasBeenSet() const { return m_storageProfileIdHasBeenSet; } + + /** + *

The storage profile ID for the storage profile to connect to the job.

+ */ + inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = value; } + + /** + *

The storage profile ID for the storage profile to connect to the job.

+ */ + inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = std::move(value); } + + /** + *

The storage profile ID for the storage profile to connect to the job.

+ */ + inline void SetStorageProfileId(const char* value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId.assign(value); } + + /** + *

The storage profile ID for the storage profile to connect to the job.

+ */ + inline CreateJobRequest& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} + + /** + *

The storage profile ID for the storage profile to connect to the job.

+ */ + inline CreateJobRequest& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} + + /** + *

The storage profile ID for the storage profile to connect to the job.

+ */ + inline CreateJobRequest& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} + + + /** + *

The initial status of the job's tasks when they are created. Tasks that are + * created with a SUSPENDED status will not run until you update their + * status.

+ */ + inline const CreateJobTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } + + /** + *

The initial status of the job's tasks when they are created. Tasks that are + * created with a SUSPENDED status will not run until you update their + * status.

+ */ + inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } + + /** + *

The initial status of the job's tasks when they are created. Tasks that are + * created with a SUSPENDED status will not run until you update their + * status.

+ */ + inline void SetTargetTaskRunStatus(const CreateJobTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; } + + /** + *

The initial status of the job's tasks when they are created. Tasks that are + * created with a SUSPENDED status will not run until you update their + * status.

+ */ + inline void SetTargetTaskRunStatus(CreateJobTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); } + + /** + *

The initial status of the job's tasks when they are created. Tasks that are + * created with a SUSPENDED status will not run until you update their + * status.

+ */ + inline CreateJobRequest& WithTargetTaskRunStatus(const CreateJobTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} + + /** + *

The initial status of the job's tasks when they are created. Tasks that are + * created with a SUSPENDED status will not run until you update their + * status.

+ */ + inline CreateJobRequest& WithTargetTaskRunStatus(CreateJobTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + + + /** + *

The job template to use for this job.

+ */ + inline const Aws::String& GetTemplate() const{ return m_template; } + + /** + *

The job template to use for this job.

+ */ + inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } + + /** + *

The job template to use for this job.

+ */ + inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; } + + /** + *

The job template to use for this job.

+ */ + inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); } + + /** + *

The job template to use for this job.

+ */ + inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); } + + /** + *

The job template to use for this job.

+ */ + inline CreateJobRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;} + + /** + *

The job template to use for this job.

+ */ + inline CreateJobRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;} + + /** + *

The job template to use for this job.

+ */ + inline CreateJobRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;} + + + /** + *

The file type for the job template.

+ */ + inline const JobTemplateType& GetTemplateType() const{ return m_templateType; } + + /** + *

The file type for the job template.

+ */ + inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; } + + /** + *

The file type for the job template.

+ */ + inline void SetTemplateType(const JobTemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; } + + /** + *

The file type for the job template.

+ */ + inline void SetTemplateType(JobTemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); } + + /** + *

The file type for the job template.

+ */ + inline CreateJobRequest& WithTemplateType(const JobTemplateType& value) { SetTemplateType(value); return *this;} + + /** + *

The file type for the job template.

+ */ + inline CreateJobRequest& WithTemplateType(JobTemplateType&& value) { SetTemplateType(std::move(value)); return *this;} + + private: + + Attachments m_attachments; + bool m_attachmentsHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + int m_maxFailedTasksCount; + bool m_maxFailedTasksCountHasBeenSet = false; + + int m_maxRetriesPerTask; + bool m_maxRetriesPerTaskHasBeenSet = false; + + Aws::Map m_parameters; + bool m_parametersHasBeenSet = false; + + int m_priority; + bool m_priorityHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_storageProfileId; + bool m_storageProfileIdHasBeenSet = false; + + CreateJobTargetTaskRunStatus m_targetTaskRunStatus; + bool m_targetTaskRunStatusHasBeenSet = false; + + Aws::String m_template; + bool m_templateHasBeenSet = false; + + JobTemplateType m_templateType; + bool m_templateTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateJobResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateJobResult.h new file mode 100644 index 00000000000..d2380d3a800 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateJobResult.h @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class CreateJobResult + { + public: + AWS_DEADLINE_API CreateJobResult(); + AWS_DEADLINE_API CreateJobResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API CreateJobResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline CreateJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline CreateJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline CreateJobResult& WithJobId(const char* value) { SetJobId(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline CreateJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CreateJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CreateJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_jobId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateJobTargetTaskRunStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateJobTargetTaskRunStatus.h new file mode 100644 index 00000000000..1bdeec0f89d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateJobTargetTaskRunStatus.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class CreateJobTargetTaskRunStatus + { + NOT_SET, + READY, + SUSPENDED + }; + +namespace CreateJobTargetTaskRunStatusMapper +{ +AWS_DEADLINE_API CreateJobTargetTaskRunStatus GetCreateJobTargetTaskRunStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForCreateJobTargetTaskRunStatus(CreateJobTargetTaskRunStatus value); +} // namespace CreateJobTargetTaskRunStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateLicenseEndpointRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateLicenseEndpointRequest.h new file mode 100644 index 00000000000..f11c30ce326 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateLicenseEndpointRequest.h @@ -0,0 +1,320 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class CreateLicenseEndpointRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API CreateLicenseEndpointRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreateLicenseEndpoint"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateLicenseEndpointRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateLicenseEndpointRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateLicenseEndpointRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The security group IDs.

+ */ + inline const Aws::Vector& GetSecurityGroupIds() const{ return m_securityGroupIds; } + + /** + *

The security group IDs.

+ */ + inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } + + /** + *

The security group IDs.

+ */ + inline void SetSecurityGroupIds(const Aws::Vector& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; } + + /** + *

The security group IDs.

+ */ + inline void SetSecurityGroupIds(Aws::Vector&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); } + + /** + *

The security group IDs.

+ */ + inline CreateLicenseEndpointRequest& WithSecurityGroupIds(const Aws::Vector& value) { SetSecurityGroupIds(value); return *this;} + + /** + *

The security group IDs.

+ */ + inline CreateLicenseEndpointRequest& WithSecurityGroupIds(Aws::Vector&& value) { SetSecurityGroupIds(std::move(value)); return *this;} + + /** + *

The security group IDs.

+ */ + inline CreateLicenseEndpointRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } + + /** + *

The security group IDs.

+ */ + inline CreateLicenseEndpointRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } + + /** + *

The security group IDs.

+ */ + inline CreateLicenseEndpointRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } + + + /** + *

The subnet IDs.

+ */ + inline const Aws::Vector& GetSubnetIds() const{ return m_subnetIds; } + + /** + *

The subnet IDs.

+ */ + inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } + + /** + *

The subnet IDs.

+ */ + inline void SetSubnetIds(const Aws::Vector& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; } + + /** + *

The subnet IDs.

+ */ + inline void SetSubnetIds(Aws::Vector&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); } + + /** + *

The subnet IDs.

+ */ + inline CreateLicenseEndpointRequest& WithSubnetIds(const Aws::Vector& value) { SetSubnetIds(value); return *this;} + + /** + *

The subnet IDs.

+ */ + inline CreateLicenseEndpointRequest& WithSubnetIds(Aws::Vector&& value) { SetSubnetIds(std::move(value)); return *this;} + + /** + *

The subnet IDs.

+ */ + inline CreateLicenseEndpointRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } + + /** + *

The subnet IDs.

+ */ + inline CreateLicenseEndpointRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } + + /** + *

The subnet IDs.

+ */ + inline CreateLicenseEndpointRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } + + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline const Aws::Map& GetTags() const{ return m_tags; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateLicenseEndpointRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateLicenseEndpointRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateLicenseEndpointRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateLicenseEndpointRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateLicenseEndpointRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateLicenseEndpointRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateLicenseEndpointRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateLicenseEndpointRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateLicenseEndpointRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + + /** + *

The VPC (virtual private cloud) ID to use with the license endpoint.

+ */ + inline const Aws::String& GetVpcId() const{ return m_vpcId; } + + /** + *

The VPC (virtual private cloud) ID to use with the license endpoint.

+ */ + inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } + + /** + *

The VPC (virtual private cloud) ID to use with the license endpoint.

+ */ + inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } + + /** + *

The VPC (virtual private cloud) ID to use with the license endpoint.

+ */ + inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } + + /** + *

The VPC (virtual private cloud) ID to use with the license endpoint.

+ */ + inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } + + /** + *

The VPC (virtual private cloud) ID to use with the license endpoint.

+ */ + inline CreateLicenseEndpointRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} + + /** + *

The VPC (virtual private cloud) ID to use with the license endpoint.

+ */ + inline CreateLicenseEndpointRequest& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} + + /** + *

The VPC (virtual private cloud) ID to use with the license endpoint.

+ */ + inline CreateLicenseEndpointRequest& WithVpcId(const char* value) { SetVpcId(value); return *this;} + + private: + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::Vector m_securityGroupIds; + bool m_securityGroupIdsHasBeenSet = false; + + Aws::Vector m_subnetIds; + bool m_subnetIdsHasBeenSet = false; + + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + + Aws::String m_vpcId; + bool m_vpcIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateLicenseEndpointResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateLicenseEndpointResult.h new file mode 100644 index 00000000000..3fcdb053d0e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateLicenseEndpointResult.h @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class CreateLicenseEndpointResult + { + public: + AWS_DEADLINE_API CreateLicenseEndpointResult(); + AWS_DEADLINE_API CreateLicenseEndpointResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API CreateLicenseEndpointResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The license endpoint ID.

+ */ + inline const Aws::String& GetLicenseEndpointId() const{ return m_licenseEndpointId; } + + /** + *

The license endpoint ID.

+ */ + inline void SetLicenseEndpointId(const Aws::String& value) { m_licenseEndpointId = value; } + + /** + *

The license endpoint ID.

+ */ + inline void SetLicenseEndpointId(Aws::String&& value) { m_licenseEndpointId = std::move(value); } + + /** + *

The license endpoint ID.

+ */ + inline void SetLicenseEndpointId(const char* value) { m_licenseEndpointId.assign(value); } + + /** + *

The license endpoint ID.

+ */ + inline CreateLicenseEndpointResult& WithLicenseEndpointId(const Aws::String& value) { SetLicenseEndpointId(value); return *this;} + + /** + *

The license endpoint ID.

+ */ + inline CreateLicenseEndpointResult& WithLicenseEndpointId(Aws::String&& value) { SetLicenseEndpointId(std::move(value)); return *this;} + + /** + *

The license endpoint ID.

+ */ + inline CreateLicenseEndpointResult& WithLicenseEndpointId(const char* value) { SetLicenseEndpointId(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline CreateLicenseEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CreateLicenseEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CreateLicenseEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_licenseEndpointId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateMonitorRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateMonitorRequest.h new file mode 100644 index 00000000000..ff18477e347 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateMonitorRequest.h @@ -0,0 +1,310 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class CreateMonitorRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API CreateMonitorRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreateMonitor"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateMonitorRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateMonitorRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateMonitorRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The name that you give the monitor that is displayed in the Deadline Cloud + * console.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The name that you give the monitor that is displayed in the Deadline Cloud + * console.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The name that you give the monitor that is displayed in the Deadline Cloud + * console.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The name that you give the monitor that is displayed in the Deadline Cloud + * console.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The name that you give the monitor that is displayed in the Deadline Cloud + * console.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The name that you give the monitor that is displayed in the Deadline Cloud + * console.

+ */ + inline CreateMonitorRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The name that you give the monitor that is displayed in the Deadline Cloud + * console.

+ */ + inline CreateMonitorRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The name that you give the monitor that is displayed in the Deadline Cloud + * console.

+ */ + inline CreateMonitorRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance that + * authenticates monitor users.

+ */ + inline const Aws::String& GetIdentityCenterInstanceArn() const{ return m_identityCenterInstanceArn; } + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance that + * authenticates monitor users.

+ */ + inline bool IdentityCenterInstanceArnHasBeenSet() const { return m_identityCenterInstanceArnHasBeenSet; } + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance that + * authenticates monitor users.

+ */ + inline void SetIdentityCenterInstanceArn(const Aws::String& value) { m_identityCenterInstanceArnHasBeenSet = true; m_identityCenterInstanceArn = value; } + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance that + * authenticates monitor users.

+ */ + inline void SetIdentityCenterInstanceArn(Aws::String&& value) { m_identityCenterInstanceArnHasBeenSet = true; m_identityCenterInstanceArn = std::move(value); } + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance that + * authenticates monitor users.

+ */ + inline void SetIdentityCenterInstanceArn(const char* value) { m_identityCenterInstanceArnHasBeenSet = true; m_identityCenterInstanceArn.assign(value); } + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance that + * authenticates monitor users.

+ */ + inline CreateMonitorRequest& WithIdentityCenterInstanceArn(const Aws::String& value) { SetIdentityCenterInstanceArn(value); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance that + * authenticates monitor users.

+ */ + inline CreateMonitorRequest& WithIdentityCenterInstanceArn(Aws::String&& value) { SetIdentityCenterInstanceArn(std::move(value)); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance that + * authenticates monitor users.

+ */ + inline CreateMonitorRequest& WithIdentityCenterInstanceArn(const char* value) { SetIdentityCenterInstanceArn(value); return *this;} + + + /** + *

The Amazon Resource Name (ARN) of the IAM role that the monitor uses to + * connect to Deadline Cloud. Every user that signs in to the monitor using IAM + * Identity Center uses this role to access Deadline Cloud resources.

+ */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + + /** + *

The Amazon Resource Name (ARN) of the IAM role that the monitor uses to + * connect to Deadline Cloud. Every user that signs in to the monitor using IAM + * Identity Center uses this role to access Deadline Cloud resources.

+ */ + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + + /** + *

The Amazon Resource Name (ARN) of the IAM role that the monitor uses to + * connect to Deadline Cloud. Every user that signs in to the monitor using IAM + * Identity Center uses this role to access Deadline Cloud resources.

+ */ + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + + /** + *

The Amazon Resource Name (ARN) of the IAM role that the monitor uses to + * connect to Deadline Cloud. Every user that signs in to the monitor using IAM + * Identity Center uses this role to access Deadline Cloud resources.

+ */ + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + + /** + *

The Amazon Resource Name (ARN) of the IAM role that the monitor uses to + * connect to Deadline Cloud. Every user that signs in to the monitor using IAM + * Identity Center uses this role to access Deadline Cloud resources.

+ */ + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + + /** + *

The Amazon Resource Name (ARN) of the IAM role that the monitor uses to + * connect to Deadline Cloud. Every user that signs in to the monitor using IAM + * Identity Center uses this role to access Deadline Cloud resources.

+ */ + inline CreateMonitorRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the IAM role that the monitor uses to + * connect to Deadline Cloud. Every user that signs in to the monitor using IAM + * Identity Center uses this role to access Deadline Cloud resources.

+ */ + inline CreateMonitorRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the IAM role that the monitor uses to + * connect to Deadline Cloud. Every user that signs in to the monitor using IAM + * Identity Center uses this role to access Deadline Cloud resources.

+ */ + inline CreateMonitorRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + + + /** + *

The subdomain to use when creating the monitor URL. The full URL of the + * monitor is subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline const Aws::String& GetSubdomain() const{ return m_subdomain; } + + /** + *

The subdomain to use when creating the monitor URL. The full URL of the + * monitor is subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline bool SubdomainHasBeenSet() const { return m_subdomainHasBeenSet; } + + /** + *

The subdomain to use when creating the monitor URL. The full URL of the + * monitor is subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline void SetSubdomain(const Aws::String& value) { m_subdomainHasBeenSet = true; m_subdomain = value; } + + /** + *

The subdomain to use when creating the monitor URL. The full URL of the + * monitor is subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline void SetSubdomain(Aws::String&& value) { m_subdomainHasBeenSet = true; m_subdomain = std::move(value); } + + /** + *

The subdomain to use when creating the monitor URL. The full URL of the + * monitor is subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline void SetSubdomain(const char* value) { m_subdomainHasBeenSet = true; m_subdomain.assign(value); } + + /** + *

The subdomain to use when creating the monitor URL. The full URL of the + * monitor is subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline CreateMonitorRequest& WithSubdomain(const Aws::String& value) { SetSubdomain(value); return *this;} + + /** + *

The subdomain to use when creating the monitor URL. The full URL of the + * monitor is subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline CreateMonitorRequest& WithSubdomain(Aws::String&& value) { SetSubdomain(std::move(value)); return *this;} + + /** + *

The subdomain to use when creating the monitor URL. The full URL of the + * monitor is subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline CreateMonitorRequest& WithSubdomain(const char* value) { SetSubdomain(value); return *this;} + + private: + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_identityCenterInstanceArn; + bool m_identityCenterInstanceArnHasBeenSet = false; + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; + + Aws::String m_subdomain; + bool m_subdomainHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateMonitorResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateMonitorResult.h new file mode 100644 index 00000000000..0b2324f0df6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateMonitorResult.h @@ -0,0 +1,146 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class CreateMonitorResult + { + public: + AWS_DEADLINE_API CreateMonitorResult(); + AWS_DEADLINE_API CreateMonitorResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API CreateMonitorResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The Amazon Resource Name (ARN) that IAM Identity Center assigns to the + * monitor.

+ */ + inline const Aws::String& GetIdentityCenterApplicationArn() const{ return m_identityCenterApplicationArn; } + + /** + *

The Amazon Resource Name (ARN) that IAM Identity Center assigns to the + * monitor.

+ */ + inline void SetIdentityCenterApplicationArn(const Aws::String& value) { m_identityCenterApplicationArn = value; } + + /** + *

The Amazon Resource Name (ARN) that IAM Identity Center assigns to the + * monitor.

+ */ + inline void SetIdentityCenterApplicationArn(Aws::String&& value) { m_identityCenterApplicationArn = std::move(value); } + + /** + *

The Amazon Resource Name (ARN) that IAM Identity Center assigns to the + * monitor.

+ */ + inline void SetIdentityCenterApplicationArn(const char* value) { m_identityCenterApplicationArn.assign(value); } + + /** + *

The Amazon Resource Name (ARN) that IAM Identity Center assigns to the + * monitor.

+ */ + inline CreateMonitorResult& WithIdentityCenterApplicationArn(const Aws::String& value) { SetIdentityCenterApplicationArn(value); return *this;} + + /** + *

The Amazon Resource Name (ARN) that IAM Identity Center assigns to the + * monitor.

+ */ + inline CreateMonitorResult& WithIdentityCenterApplicationArn(Aws::String&& value) { SetIdentityCenterApplicationArn(std::move(value)); return *this;} + + /** + *

The Amazon Resource Name (ARN) that IAM Identity Center assigns to the + * monitor.

+ */ + inline CreateMonitorResult& WithIdentityCenterApplicationArn(const char* value) { SetIdentityCenterApplicationArn(value); return *this;} + + + /** + *

The unique identifier of the monitor.

+ */ + inline const Aws::String& GetMonitorId() const{ return m_monitorId; } + + /** + *

The unique identifier of the monitor.

+ */ + inline void SetMonitorId(const Aws::String& value) { m_monitorId = value; } + + /** + *

The unique identifier of the monitor.

+ */ + inline void SetMonitorId(Aws::String&& value) { m_monitorId = std::move(value); } + + /** + *

The unique identifier of the monitor.

+ */ + inline void SetMonitorId(const char* value) { m_monitorId.assign(value); } + + /** + *

The unique identifier of the monitor.

+ */ + inline CreateMonitorResult& WithMonitorId(const Aws::String& value) { SetMonitorId(value); return *this;} + + /** + *

The unique identifier of the monitor.

+ */ + inline CreateMonitorResult& WithMonitorId(Aws::String&& value) { SetMonitorId(std::move(value)); return *this;} + + /** + *

The unique identifier of the monitor.

+ */ + inline CreateMonitorResult& WithMonitorId(const char* value) { SetMonitorId(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline CreateMonitorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CreateMonitorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CreateMonitorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_identityCenterApplicationArn; + + Aws::String m_monitorId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueEnvironmentRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueEnvironmentRequest.h new file mode 100644 index 00000000000..414479281a9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueEnvironmentRequest.h @@ -0,0 +1,293 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class CreateQueueEnvironmentRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API CreateQueueEnvironmentRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreateQueueEnvironment"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateQueueEnvironmentRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateQueueEnvironmentRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateQueueEnvironmentRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The farm ID of the farm to connect to the environment.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm to connect to the environment.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm to connect to the environment.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm to connect to the environment.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm to connect to the environment.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm to connect to the environment.

+ */ + inline CreateQueueEnvironmentRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm to connect to the environment.

+ */ + inline CreateQueueEnvironmentRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm to connect to the environment.

+ */ + inline CreateQueueEnvironmentRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

Sets the priority of the environments in the queue from 0 to 10,000, where 0 + * is the highest priority. If two environments share the same priority value, the + * environment created first takes higher priority.

+ */ + inline int GetPriority() const{ return m_priority; } + + /** + *

Sets the priority of the environments in the queue from 0 to 10,000, where 0 + * is the highest priority. If two environments share the same priority value, the + * environment created first takes higher priority.

+ */ + inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } + + /** + *

Sets the priority of the environments in the queue from 0 to 10,000, where 0 + * is the highest priority. If two environments share the same priority value, the + * environment created first takes higher priority.

+ */ + inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } + + /** + *

Sets the priority of the environments in the queue from 0 to 10,000, where 0 + * is the highest priority. If two environments share the same priority value, the + * environment created first takes higher priority.

+ */ + inline CreateQueueEnvironmentRequest& WithPriority(int value) { SetPriority(value); return *this;} + + + /** + *

The queue ID to connect the queue and environment.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID to connect the queue and environment.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID to connect the queue and environment.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID to connect the queue and environment.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID to connect the queue and environment.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID to connect the queue and environment.

+ */ + inline CreateQueueEnvironmentRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID to connect the queue and environment.

+ */ + inline CreateQueueEnvironmentRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID to connect the queue and environment.

+ */ + inline CreateQueueEnvironmentRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The environment template to use in the queue.

+ */ + inline const Aws::String& GetTemplate() const{ return m_template; } + + /** + *

The environment template to use in the queue.

+ */ + inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } + + /** + *

The environment template to use in the queue.

+ */ + inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; } + + /** + *

The environment template to use in the queue.

+ */ + inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); } + + /** + *

The environment template to use in the queue.

+ */ + inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); } + + /** + *

The environment template to use in the queue.

+ */ + inline CreateQueueEnvironmentRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;} + + /** + *

The environment template to use in the queue.

+ */ + inline CreateQueueEnvironmentRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;} + + /** + *

The environment template to use in the queue.

+ */ + inline CreateQueueEnvironmentRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;} + + + /** + *

The template's file type, JSON or YAML.

+ */ + inline const EnvironmentTemplateType& GetTemplateType() const{ return m_templateType; } + + /** + *

The template's file type, JSON or YAML.

+ */ + inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; } + + /** + *

The template's file type, JSON or YAML.

+ */ + inline void SetTemplateType(const EnvironmentTemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; } + + /** + *

The template's file type, JSON or YAML.

+ */ + inline void SetTemplateType(EnvironmentTemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); } + + /** + *

The template's file type, JSON or YAML.

+ */ + inline CreateQueueEnvironmentRequest& WithTemplateType(const EnvironmentTemplateType& value) { SetTemplateType(value); return *this;} + + /** + *

The template's file type, JSON or YAML.

+ */ + inline CreateQueueEnvironmentRequest& WithTemplateType(EnvironmentTemplateType&& value) { SetTemplateType(std::move(value)); return *this;} + + private: + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + int m_priority; + bool m_priorityHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_template; + bool m_templateHasBeenSet = false; + + EnvironmentTemplateType m_templateType; + bool m_templateTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueEnvironmentResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueEnvironmentResult.h new file mode 100644 index 00000000000..0912e2082b0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueEnvironmentResult.h @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class CreateQueueEnvironmentResult + { + public: + AWS_DEADLINE_API CreateQueueEnvironmentResult(); + AWS_DEADLINE_API CreateQueueEnvironmentResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API CreateQueueEnvironmentResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The queue environment ID.

+ */ + inline const Aws::String& GetQueueEnvironmentId() const{ return m_queueEnvironmentId; } + + /** + *

The queue environment ID.

+ */ + inline void SetQueueEnvironmentId(const Aws::String& value) { m_queueEnvironmentId = value; } + + /** + *

The queue environment ID.

+ */ + inline void SetQueueEnvironmentId(Aws::String&& value) { m_queueEnvironmentId = std::move(value); } + + /** + *

The queue environment ID.

+ */ + inline void SetQueueEnvironmentId(const char* value) { m_queueEnvironmentId.assign(value); } + + /** + *

The queue environment ID.

+ */ + inline CreateQueueEnvironmentResult& WithQueueEnvironmentId(const Aws::String& value) { SetQueueEnvironmentId(value); return *this;} + + /** + *

The queue environment ID.

+ */ + inline CreateQueueEnvironmentResult& WithQueueEnvironmentId(Aws::String&& value) { SetQueueEnvironmentId(std::move(value)); return *this;} + + /** + *

The queue environment ID.

+ */ + inline CreateQueueEnvironmentResult& WithQueueEnvironmentId(const char* value) { SetQueueEnvironmentId(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline CreateQueueEnvironmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CreateQueueEnvironmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CreateQueueEnvironmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_queueEnvironmentId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueFleetAssociationRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueFleetAssociationRequest.h new file mode 100644 index 00000000000..bc12ea88b7b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueFleetAssociationRequest.h @@ -0,0 +1,171 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class CreateQueueFleetAssociationRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API CreateQueueFleetAssociationRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreateQueueFleetAssociation"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The ID of the farm that the queue and fleet belong to.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The ID of the farm that the queue and fleet belong to.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The ID of the farm that the queue and fleet belong to.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The ID of the farm that the queue and fleet belong to.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The ID of the farm that the queue and fleet belong to.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The ID of the farm that the queue and fleet belong to.

+ */ + inline CreateQueueFleetAssociationRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The ID of the farm that the queue and fleet belong to.

+ */ + inline CreateQueueFleetAssociationRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The ID of the farm that the queue and fleet belong to.

+ */ + inline CreateQueueFleetAssociationRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID.

+ */ + inline CreateQueueFleetAssociationRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID.

+ */ + inline CreateQueueFleetAssociationRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID.

+ */ + inline CreateQueueFleetAssociationRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The queue ID.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID.

+ */ + inline CreateQueueFleetAssociationRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID.

+ */ + inline CreateQueueFleetAssociationRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID.

+ */ + inline CreateQueueFleetAssociationRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueFleetAssociationResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueFleetAssociationResult.h new file mode 100644 index 00000000000..0edec1789d5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueFleetAssociationResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class CreateQueueFleetAssociationResult + { + public: + AWS_DEADLINE_API CreateQueueFleetAssociationResult(); + AWS_DEADLINE_API CreateQueueFleetAssociationResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API CreateQueueFleetAssociationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline CreateQueueFleetAssociationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CreateQueueFleetAssociationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CreateQueueFleetAssociationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueRequest.h new file mode 100644 index 00000000000..674a5889b93 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueRequest.h @@ -0,0 +1,563 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class CreateQueueRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API CreateQueueRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreateQueue"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The storage profile IDs to include in the queue.

+ */ + inline const Aws::Vector& GetAllowedStorageProfileIds() const{ return m_allowedStorageProfileIds; } + + /** + *

The storage profile IDs to include in the queue.

+ */ + inline bool AllowedStorageProfileIdsHasBeenSet() const { return m_allowedStorageProfileIdsHasBeenSet; } + + /** + *

The storage profile IDs to include in the queue.

+ */ + inline void SetAllowedStorageProfileIds(const Aws::Vector& value) { m_allowedStorageProfileIdsHasBeenSet = true; m_allowedStorageProfileIds = value; } + + /** + *

The storage profile IDs to include in the queue.

+ */ + inline void SetAllowedStorageProfileIds(Aws::Vector&& value) { m_allowedStorageProfileIdsHasBeenSet = true; m_allowedStorageProfileIds = std::move(value); } + + /** + *

The storage profile IDs to include in the queue.

+ */ + inline CreateQueueRequest& WithAllowedStorageProfileIds(const Aws::Vector& value) { SetAllowedStorageProfileIds(value); return *this;} + + /** + *

The storage profile IDs to include in the queue.

+ */ + inline CreateQueueRequest& WithAllowedStorageProfileIds(Aws::Vector&& value) { SetAllowedStorageProfileIds(std::move(value)); return *this;} + + /** + *

The storage profile IDs to include in the queue.

+ */ + inline CreateQueueRequest& AddAllowedStorageProfileIds(const Aws::String& value) { m_allowedStorageProfileIdsHasBeenSet = true; m_allowedStorageProfileIds.push_back(value); return *this; } + + /** + *

The storage profile IDs to include in the queue.

+ */ + inline CreateQueueRequest& AddAllowedStorageProfileIds(Aws::String&& value) { m_allowedStorageProfileIdsHasBeenSet = true; m_allowedStorageProfileIds.push_back(std::move(value)); return *this; } + + /** + *

The storage profile IDs to include in the queue.

+ */ + inline CreateQueueRequest& AddAllowedStorageProfileIds(const char* value) { m_allowedStorageProfileIdsHasBeenSet = true; m_allowedStorageProfileIds.push_back(value); return *this; } + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateQueueRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateQueueRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateQueueRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The default action to take on a queue if a budget isn't configured.

+ */ + inline const DefaultQueueBudgetAction& GetDefaultBudgetAction() const{ return m_defaultBudgetAction; } + + /** + *

The default action to take on a queue if a budget isn't configured.

+ */ + inline bool DefaultBudgetActionHasBeenSet() const { return m_defaultBudgetActionHasBeenSet; } + + /** + *

The default action to take on a queue if a budget isn't configured.

+ */ + inline void SetDefaultBudgetAction(const DefaultQueueBudgetAction& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = value; } + + /** + *

The default action to take on a queue if a budget isn't configured.

+ */ + inline void SetDefaultBudgetAction(DefaultQueueBudgetAction&& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = std::move(value); } + + /** + *

The default action to take on a queue if a budget isn't configured.

+ */ + inline CreateQueueRequest& WithDefaultBudgetAction(const DefaultQueueBudgetAction& value) { SetDefaultBudgetAction(value); return *this;} + + /** + *

The default action to take on a queue if a budget isn't configured.

+ */ + inline CreateQueueRequest& WithDefaultBudgetAction(DefaultQueueBudgetAction&& value) { SetDefaultBudgetAction(std::move(value)); return *this;} + + + /** + *

The description of the queue.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

The description of the queue.

+ */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *

The description of the queue.

+ */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *

The description of the queue.

+ */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *

The description of the queue.

+ */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *

The description of the queue.

+ */ + inline CreateQueueRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

The description of the queue.

+ */ + inline CreateQueueRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

The description of the queue.

+ */ + inline CreateQueueRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

The display name of the queue.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the queue.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The display name of the queue.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The display name of the queue.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The display name of the queue.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The display name of the queue.

+ */ + inline CreateQueueRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the queue.

+ */ + inline CreateQueueRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the queue.

+ */ + inline CreateQueueRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The farm ID of the farm to connect to the queue.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm to connect to the queue.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm to connect to the queue.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm to connect to the queue.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm to connect to the queue.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm to connect to the queue.

+ */ + inline CreateQueueRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm to connect to the queue.

+ */ + inline CreateQueueRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm to connect to the queue.

+ */ + inline CreateQueueRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job attachment settings for the queue. These are the Amazon S3 bucket + * name and the Amazon S3 prefix.

+ */ + inline const JobAttachmentSettings& GetJobAttachmentSettings() const{ return m_jobAttachmentSettings; } + + /** + *

The job attachment settings for the queue. These are the Amazon S3 bucket + * name and the Amazon S3 prefix.

+ */ + inline bool JobAttachmentSettingsHasBeenSet() const { return m_jobAttachmentSettingsHasBeenSet; } + + /** + *

The job attachment settings for the queue. These are the Amazon S3 bucket + * name and the Amazon S3 prefix.

+ */ + inline void SetJobAttachmentSettings(const JobAttachmentSettings& value) { m_jobAttachmentSettingsHasBeenSet = true; m_jobAttachmentSettings = value; } + + /** + *

The job attachment settings for the queue. These are the Amazon S3 bucket + * name and the Amazon S3 prefix.

+ */ + inline void SetJobAttachmentSettings(JobAttachmentSettings&& value) { m_jobAttachmentSettingsHasBeenSet = true; m_jobAttachmentSettings = std::move(value); } + + /** + *

The job attachment settings for the queue. These are the Amazon S3 bucket + * name and the Amazon S3 prefix.

+ */ + inline CreateQueueRequest& WithJobAttachmentSettings(const JobAttachmentSettings& value) { SetJobAttachmentSettings(value); return *this;} + + /** + *

The job attachment settings for the queue. These are the Amazon S3 bucket + * name and the Amazon S3 prefix.

+ */ + inline CreateQueueRequest& WithJobAttachmentSettings(JobAttachmentSettings&& value) { SetJobAttachmentSettings(std::move(value)); return *this;} + + + /** + *

The jobs in the queue run as the specified POSIX user.

+ */ + inline const JobRunAsUser& GetJobRunAsUser() const{ return m_jobRunAsUser; } + + /** + *

The jobs in the queue run as the specified POSIX user.

+ */ + inline bool JobRunAsUserHasBeenSet() const { return m_jobRunAsUserHasBeenSet; } + + /** + *

The jobs in the queue run as the specified POSIX user.

+ */ + inline void SetJobRunAsUser(const JobRunAsUser& value) { m_jobRunAsUserHasBeenSet = true; m_jobRunAsUser = value; } + + /** + *

The jobs in the queue run as the specified POSIX user.

+ */ + inline void SetJobRunAsUser(JobRunAsUser&& value) { m_jobRunAsUserHasBeenSet = true; m_jobRunAsUser = std::move(value); } + + /** + *

The jobs in the queue run as the specified POSIX user.

+ */ + inline CreateQueueRequest& WithJobRunAsUser(const JobRunAsUser& value) { SetJobRunAsUser(value); return *this;} + + /** + *

The jobs in the queue run as the specified POSIX user.

+ */ + inline CreateQueueRequest& WithJobRunAsUser(JobRunAsUser&& value) { SetJobRunAsUser(std::move(value)); return *this;} + + + /** + *

The file system location name to include in the queue.

+ */ + inline const Aws::Vector& GetRequiredFileSystemLocationNames() const{ return m_requiredFileSystemLocationNames; } + + /** + *

The file system location name to include in the queue.

+ */ + inline bool RequiredFileSystemLocationNamesHasBeenSet() const { return m_requiredFileSystemLocationNamesHasBeenSet; } + + /** + *

The file system location name to include in the queue.

+ */ + inline void SetRequiredFileSystemLocationNames(const Aws::Vector& value) { m_requiredFileSystemLocationNamesHasBeenSet = true; m_requiredFileSystemLocationNames = value; } + + /** + *

The file system location name to include in the queue.

+ */ + inline void SetRequiredFileSystemLocationNames(Aws::Vector&& value) { m_requiredFileSystemLocationNamesHasBeenSet = true; m_requiredFileSystemLocationNames = std::move(value); } + + /** + *

The file system location name to include in the queue.

+ */ + inline CreateQueueRequest& WithRequiredFileSystemLocationNames(const Aws::Vector& value) { SetRequiredFileSystemLocationNames(value); return *this;} + + /** + *

The file system location name to include in the queue.

+ */ + inline CreateQueueRequest& WithRequiredFileSystemLocationNames(Aws::Vector&& value) { SetRequiredFileSystemLocationNames(std::move(value)); return *this;} + + /** + *

The file system location name to include in the queue.

+ */ + inline CreateQueueRequest& AddRequiredFileSystemLocationNames(const Aws::String& value) { m_requiredFileSystemLocationNamesHasBeenSet = true; m_requiredFileSystemLocationNames.push_back(value); return *this; } + + /** + *

The file system location name to include in the queue.

+ */ + inline CreateQueueRequest& AddRequiredFileSystemLocationNames(Aws::String&& value) { m_requiredFileSystemLocationNamesHasBeenSet = true; m_requiredFileSystemLocationNames.push_back(std::move(value)); return *this; } + + /** + *

The file system location name to include in the queue.

+ */ + inline CreateQueueRequest& AddRequiredFileSystemLocationNames(const char* value) { m_requiredFileSystemLocationNamesHasBeenSet = true; m_requiredFileSystemLocationNames.push_back(value); return *this; } + + + /** + *

The IAM role ARN that workers will use while running jobs for this queue.

+ */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + + /** + *

The IAM role ARN that workers will use while running jobs for this queue.

+ */ + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + + /** + *

The IAM role ARN that workers will use while running jobs for this queue.

+ */ + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + + /** + *

The IAM role ARN that workers will use while running jobs for this queue.

+ */ + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + + /** + *

The IAM role ARN that workers will use while running jobs for this queue.

+ */ + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + + /** + *

The IAM role ARN that workers will use while running jobs for this queue.

+ */ + inline CreateQueueRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + + /** + *

The IAM role ARN that workers will use while running jobs for this queue.

+ */ + inline CreateQueueRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + + /** + *

The IAM role ARN that workers will use while running jobs for this queue.

+ */ + inline CreateQueueRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline const Aws::Map& GetTags() const{ return m_tags; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateQueueRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateQueueRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateQueueRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateQueueRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateQueueRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateQueueRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateQueueRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateQueueRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline CreateQueueRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + private: + + Aws::Vector m_allowedStorageProfileIds; + bool m_allowedStorageProfileIdsHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + DefaultQueueBudgetAction m_defaultBudgetAction; + bool m_defaultBudgetActionHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + JobAttachmentSettings m_jobAttachmentSettings; + bool m_jobAttachmentSettingsHasBeenSet = false; + + JobRunAsUser m_jobRunAsUser; + bool m_jobRunAsUserHasBeenSet = false; + + Aws::Vector m_requiredFileSystemLocationNames; + bool m_requiredFileSystemLocationNamesHasBeenSet = false; + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; + + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueResult.h new file mode 100644 index 00000000000..2a5a7830472 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateQueueResult.h @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class CreateQueueResult + { + public: + AWS_DEADLINE_API CreateQueueResult(); + AWS_DEADLINE_API CreateQueueResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API CreateQueueResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The queue ID.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueId = value; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueId = std::move(value); } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const char* value) { m_queueId.assign(value); } + + /** + *

The queue ID.

+ */ + inline CreateQueueResult& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID.

+ */ + inline CreateQueueResult& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID.

+ */ + inline CreateQueueResult& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline CreateQueueResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CreateQueueResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CreateQueueResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_queueId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateStorageProfileRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateStorageProfileRequest.h new file mode 100644 index 00000000000..e1cd5b99abb --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateStorageProfileRequest.h @@ -0,0 +1,263 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class CreateStorageProfileRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API CreateStorageProfileRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreateStorageProfile"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateStorageProfileRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateStorageProfileRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateStorageProfileRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The display name of the storage profile.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the storage profile.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The display name of the storage profile.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The display name of the storage profile.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The display name of the storage profile.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The display name of the storage profile.

+ */ + inline CreateStorageProfileRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the storage profile.

+ */ + inline CreateStorageProfileRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the storage profile.

+ */ + inline CreateStorageProfileRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The farm ID of the farm to connect to the storage profile.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm to connect to the storage profile.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm to connect to the storage profile.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm to connect to the storage profile.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm to connect to the storage profile.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm to connect to the storage profile.

+ */ + inline CreateStorageProfileRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm to connect to the storage profile.

+ */ + inline CreateStorageProfileRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm to connect to the storage profile.

+ */ + inline CreateStorageProfileRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

File system paths to include in the storage profile.

+ */ + inline const Aws::Vector& GetFileSystemLocations() const{ return m_fileSystemLocations; } + + /** + *

File system paths to include in the storage profile.

+ */ + inline bool FileSystemLocationsHasBeenSet() const { return m_fileSystemLocationsHasBeenSet; } + + /** + *

File system paths to include in the storage profile.

+ */ + inline void SetFileSystemLocations(const Aws::Vector& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations = value; } + + /** + *

File system paths to include in the storage profile.

+ */ + inline void SetFileSystemLocations(Aws::Vector&& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations = std::move(value); } + + /** + *

File system paths to include in the storage profile.

+ */ + inline CreateStorageProfileRequest& WithFileSystemLocations(const Aws::Vector& value) { SetFileSystemLocations(value); return *this;} + + /** + *

File system paths to include in the storage profile.

+ */ + inline CreateStorageProfileRequest& WithFileSystemLocations(Aws::Vector&& value) { SetFileSystemLocations(std::move(value)); return *this;} + + /** + *

File system paths to include in the storage profile.

+ */ + inline CreateStorageProfileRequest& AddFileSystemLocations(const FileSystemLocation& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations.push_back(value); return *this; } + + /** + *

File system paths to include in the storage profile.

+ */ + inline CreateStorageProfileRequest& AddFileSystemLocations(FileSystemLocation&& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations.push_back(std::move(value)); return *this; } + + + /** + *

The type of operating system (OS) for the storage profile.

+ */ + inline const StorageProfileOperatingSystemFamily& GetOsFamily() const{ return m_osFamily; } + + /** + *

The type of operating system (OS) for the storage profile.

+ */ + inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; } + + /** + *

The type of operating system (OS) for the storage profile.

+ */ + inline void SetOsFamily(const StorageProfileOperatingSystemFamily& value) { m_osFamilyHasBeenSet = true; m_osFamily = value; } + + /** + *

The type of operating system (OS) for the storage profile.

+ */ + inline void SetOsFamily(StorageProfileOperatingSystemFamily&& value) { m_osFamilyHasBeenSet = true; m_osFamily = std::move(value); } + + /** + *

The type of operating system (OS) for the storage profile.

+ */ + inline CreateStorageProfileRequest& WithOsFamily(const StorageProfileOperatingSystemFamily& value) { SetOsFamily(value); return *this;} + + /** + *

The type of operating system (OS) for the storage profile.

+ */ + inline CreateStorageProfileRequest& WithOsFamily(StorageProfileOperatingSystemFamily&& value) { SetOsFamily(std::move(value)); return *this;} + + private: + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::Vector m_fileSystemLocations; + bool m_fileSystemLocationsHasBeenSet = false; + + StorageProfileOperatingSystemFamily m_osFamily; + bool m_osFamilyHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateStorageProfileResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateStorageProfileResult.h new file mode 100644 index 00000000000..098e8c0d8db --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateStorageProfileResult.h @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class CreateStorageProfileResult + { + public: + AWS_DEADLINE_API CreateStorageProfileResult(); + AWS_DEADLINE_API CreateStorageProfileResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API CreateStorageProfileResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The storage profile ID.

+ */ + inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileId = value; } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileId = std::move(value); } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(const char* value) { m_storageProfileId.assign(value); } + + /** + *

The storage profile ID.

+ */ + inline CreateStorageProfileResult& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} + + /** + *

The storage profile ID.

+ */ + inline CreateStorageProfileResult& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} + + /** + *

The storage profile ID.

+ */ + inline CreateStorageProfileResult& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline CreateStorageProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CreateStorageProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CreateStorageProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_storageProfileId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateWorkerRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateWorkerRequest.h new file mode 100644 index 00000000000..a86622cd548 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateWorkerRequest.h @@ -0,0 +1,217 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class CreateWorkerRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API CreateWorkerRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreateWorker"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateWorkerRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateWorkerRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline CreateWorkerRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The farm ID of the farm to connect to the worker.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm to connect to the worker.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm to connect to the worker.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm to connect to the worker.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm to connect to the worker.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm to connect to the worker.

+ */ + inline CreateWorkerRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm to connect to the worker.

+ */ + inline CreateWorkerRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm to connect to the worker.

+ */ + inline CreateWorkerRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID to connect to the worker.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID to connect to the worker.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID to connect to the worker.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID to connect to the worker.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID to connect to the worker.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID to connect to the worker.

+ */ + inline CreateWorkerRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID to connect to the worker.

+ */ + inline CreateWorkerRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID to connect to the worker.

+ */ + inline CreateWorkerRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The IP address and host name of the worker.

+ */ + inline const HostPropertiesRequest& GetHostProperties() const{ return m_hostProperties; } + + /** + *

The IP address and host name of the worker.

+ */ + inline bool HostPropertiesHasBeenSet() const { return m_hostPropertiesHasBeenSet; } + + /** + *

The IP address and host name of the worker.

+ */ + inline void SetHostProperties(const HostPropertiesRequest& value) { m_hostPropertiesHasBeenSet = true; m_hostProperties = value; } + + /** + *

The IP address and host name of the worker.

+ */ + inline void SetHostProperties(HostPropertiesRequest&& value) { m_hostPropertiesHasBeenSet = true; m_hostProperties = std::move(value); } + + /** + *

The IP address and host name of the worker.

+ */ + inline CreateWorkerRequest& WithHostProperties(const HostPropertiesRequest& value) { SetHostProperties(value); return *this;} + + /** + *

The IP address and host name of the worker.

+ */ + inline CreateWorkerRequest& WithHostProperties(HostPropertiesRequest&& value) { SetHostProperties(std::move(value)); return *this;} + + private: + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + HostPropertiesRequest m_hostProperties; + bool m_hostPropertiesHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateWorkerResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateWorkerResult.h new file mode 100644 index 00000000000..db0cfc8e7aa --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CreateWorkerResult.h @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class CreateWorkerResult + { + public: + AWS_DEADLINE_API CreateWorkerResult(); + AWS_DEADLINE_API CreateWorkerResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API CreateWorkerResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The worker ID.

+ */ + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(const Aws::String& value) { m_workerId = value; } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(Aws::String&& value) { m_workerId = std::move(value); } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(const char* value) { m_workerId.assign(value); } + + /** + *

The worker ID.

+ */ + inline CreateWorkerResult& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + + /** + *

The worker ID.

+ */ + inline CreateWorkerResult& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + + /** + *

The worker ID.

+ */ + inline CreateWorkerResult& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline CreateWorkerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CreateWorkerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CreateWorkerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_workerId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CustomerManagedFleetConfiguration.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CustomerManagedFleetConfiguration.h new file mode 100644 index 00000000000..e7780e155a6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CustomerManagedFleetConfiguration.h @@ -0,0 +1,159 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a customer managed fleet configuration.

See + * Also:

AWS + * API Reference

+ */ + class CustomerManagedFleetConfiguration + { + public: + AWS_DEADLINE_API CustomerManagedFleetConfiguration(); + AWS_DEADLINE_API CustomerManagedFleetConfiguration(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API CustomerManagedFleetConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The Auto Scaling mode for the customer managed fleet configuration.

+ */ + inline const AutoScalingMode& GetMode() const{ return m_mode; } + + /** + *

The Auto Scaling mode for the customer managed fleet configuration.

+ */ + inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; } + + /** + *

The Auto Scaling mode for the customer managed fleet configuration.

+ */ + inline void SetMode(const AutoScalingMode& value) { m_modeHasBeenSet = true; m_mode = value; } + + /** + *

The Auto Scaling mode for the customer managed fleet configuration.

+ */ + inline void SetMode(AutoScalingMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); } + + /** + *

The Auto Scaling mode for the customer managed fleet configuration.

+ */ + inline CustomerManagedFleetConfiguration& WithMode(const AutoScalingMode& value) { SetMode(value); return *this;} + + /** + *

The Auto Scaling mode for the customer managed fleet configuration.

+ */ + inline CustomerManagedFleetConfiguration& WithMode(AutoScalingMode&& value) { SetMode(std::move(value)); return *this;} + + + /** + *

The storage profile ID.

+ */ + inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } + + /** + *

The storage profile ID.

+ */ + inline bool StorageProfileIdHasBeenSet() const { return m_storageProfileIdHasBeenSet; } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = value; } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = std::move(value); } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(const char* value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId.assign(value); } + + /** + *

The storage profile ID.

+ */ + inline CustomerManagedFleetConfiguration& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} + + /** + *

The storage profile ID.

+ */ + inline CustomerManagedFleetConfiguration& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} + + /** + *

The storage profile ID.

+ */ + inline CustomerManagedFleetConfiguration& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} + + + /** + *

The worker capabilities for a customer managed fleet configuration.

+ */ + inline const CustomerManagedWorkerCapabilities& GetWorkerCapabilities() const{ return m_workerCapabilities; } + + /** + *

The worker capabilities for a customer managed fleet configuration.

+ */ + inline bool WorkerCapabilitiesHasBeenSet() const { return m_workerCapabilitiesHasBeenSet; } + + /** + *

The worker capabilities for a customer managed fleet configuration.

+ */ + inline void SetWorkerCapabilities(const CustomerManagedWorkerCapabilities& value) { m_workerCapabilitiesHasBeenSet = true; m_workerCapabilities = value; } + + /** + *

The worker capabilities for a customer managed fleet configuration.

+ */ + inline void SetWorkerCapabilities(CustomerManagedWorkerCapabilities&& value) { m_workerCapabilitiesHasBeenSet = true; m_workerCapabilities = std::move(value); } + + /** + *

The worker capabilities for a customer managed fleet configuration.

+ */ + inline CustomerManagedFleetConfiguration& WithWorkerCapabilities(const CustomerManagedWorkerCapabilities& value) { SetWorkerCapabilities(value); return *this;} + + /** + *

The worker capabilities for a customer managed fleet configuration.

+ */ + inline CustomerManagedFleetConfiguration& WithWorkerCapabilities(CustomerManagedWorkerCapabilities&& value) { SetWorkerCapabilities(std::move(value)); return *this;} + + private: + + AutoScalingMode m_mode; + bool m_modeHasBeenSet = false; + + Aws::String m_storageProfileId; + bool m_storageProfileIdHasBeenSet = false; + + CustomerManagedWorkerCapabilities m_workerCapabilities; + bool m_workerCapabilitiesHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CustomerManagedFleetOperatingSystemFamily.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CustomerManagedFleetOperatingSystemFamily.h new file mode 100644 index 00000000000..649295190d1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CustomerManagedFleetOperatingSystemFamily.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class CustomerManagedFleetOperatingSystemFamily + { + NOT_SET, + WINDOWS, + LINUX, + MACOS + }; + +namespace CustomerManagedFleetOperatingSystemFamilyMapper +{ +AWS_DEADLINE_API CustomerManagedFleetOperatingSystemFamily GetCustomerManagedFleetOperatingSystemFamilyForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForCustomerManagedFleetOperatingSystemFamily(CustomerManagedFleetOperatingSystemFamily value); +} // namespace CustomerManagedFleetOperatingSystemFamilyMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CustomerManagedWorkerCapabilities.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CustomerManagedWorkerCapabilities.h new file mode 100644 index 00000000000..bbbba5082a9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/CustomerManagedWorkerCapabilities.h @@ -0,0 +1,390 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The worker capabilities for a customer managed workflow.

See + * Also:

AWS + * API Reference

+ */ + class CustomerManagedWorkerCapabilities + { + public: + AWS_DEADLINE_API CustomerManagedWorkerCapabilities(); + AWS_DEADLINE_API CustomerManagedWorkerCapabilities(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API CustomerManagedWorkerCapabilities& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The range of the accelerator.

+ */ + inline const AcceleratorCountRange& GetAcceleratorCount() const{ return m_acceleratorCount; } + + /** + *

The range of the accelerator.

+ */ + inline bool AcceleratorCountHasBeenSet() const { return m_acceleratorCountHasBeenSet; } + + /** + *

The range of the accelerator.

+ */ + inline void SetAcceleratorCount(const AcceleratorCountRange& value) { m_acceleratorCountHasBeenSet = true; m_acceleratorCount = value; } + + /** + *

The range of the accelerator.

+ */ + inline void SetAcceleratorCount(AcceleratorCountRange&& value) { m_acceleratorCountHasBeenSet = true; m_acceleratorCount = std::move(value); } + + /** + *

The range of the accelerator.

+ */ + inline CustomerManagedWorkerCapabilities& WithAcceleratorCount(const AcceleratorCountRange& value) { SetAcceleratorCount(value); return *this;} + + /** + *

The range of the accelerator.

+ */ + inline CustomerManagedWorkerCapabilities& WithAcceleratorCount(AcceleratorCountRange&& value) { SetAcceleratorCount(std::move(value)); return *this;} + + + /** + *

The total memory (MiB) for the customer managed worker capabilities.

+ */ + inline const AcceleratorTotalMemoryMiBRange& GetAcceleratorTotalMemoryMiB() const{ return m_acceleratorTotalMemoryMiB; } + + /** + *

The total memory (MiB) for the customer managed worker capabilities.

+ */ + inline bool AcceleratorTotalMemoryMiBHasBeenSet() const { return m_acceleratorTotalMemoryMiBHasBeenSet; } + + /** + *

The total memory (MiB) for the customer managed worker capabilities.

+ */ + inline void SetAcceleratorTotalMemoryMiB(const AcceleratorTotalMemoryMiBRange& value) { m_acceleratorTotalMemoryMiBHasBeenSet = true; m_acceleratorTotalMemoryMiB = value; } + + /** + *

The total memory (MiB) for the customer managed worker capabilities.

+ */ + inline void SetAcceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRange&& value) { m_acceleratorTotalMemoryMiBHasBeenSet = true; m_acceleratorTotalMemoryMiB = std::move(value); } + + /** + *

The total memory (MiB) for the customer managed worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& WithAcceleratorTotalMemoryMiB(const AcceleratorTotalMemoryMiBRange& value) { SetAcceleratorTotalMemoryMiB(value); return *this;} + + /** + *

The total memory (MiB) for the customer managed worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& WithAcceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRange&& value) { SetAcceleratorTotalMemoryMiB(std::move(value)); return *this;} + + + /** + *

The accelerator types for the customer managed worker capabilities.

+ */ + inline const Aws::Vector& GetAcceleratorTypes() const{ return m_acceleratorTypes; } + + /** + *

The accelerator types for the customer managed worker capabilities.

+ */ + inline bool AcceleratorTypesHasBeenSet() const { return m_acceleratorTypesHasBeenSet; } + + /** + *

The accelerator types for the customer managed worker capabilities.

+ */ + inline void SetAcceleratorTypes(const Aws::Vector& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes = value; } + + /** + *

The accelerator types for the customer managed worker capabilities.

+ */ + inline void SetAcceleratorTypes(Aws::Vector&& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes = std::move(value); } + + /** + *

The accelerator types for the customer managed worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& WithAcceleratorTypes(const Aws::Vector& value) { SetAcceleratorTypes(value); return *this;} + + /** + *

The accelerator types for the customer managed worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& WithAcceleratorTypes(Aws::Vector&& value) { SetAcceleratorTypes(std::move(value)); return *this;} + + /** + *

The accelerator types for the customer managed worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& AddAcceleratorTypes(const AcceleratorType& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(value); return *this; } + + /** + *

The accelerator types for the customer managed worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& AddAcceleratorTypes(AcceleratorType&& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(std::move(value)); return *this; } + + + /** + *

The CPU architecture type for the customer managed worker capabilities.

+ */ + inline const CpuArchitectureType& GetCpuArchitectureType() const{ return m_cpuArchitectureType; } + + /** + *

The CPU architecture type for the customer managed worker capabilities.

+ */ + inline bool CpuArchitectureTypeHasBeenSet() const { return m_cpuArchitectureTypeHasBeenSet; } + + /** + *

The CPU architecture type for the customer managed worker capabilities.

+ */ + inline void SetCpuArchitectureType(const CpuArchitectureType& value) { m_cpuArchitectureTypeHasBeenSet = true; m_cpuArchitectureType = value; } + + /** + *

The CPU architecture type for the customer managed worker capabilities.

+ */ + inline void SetCpuArchitectureType(CpuArchitectureType&& value) { m_cpuArchitectureTypeHasBeenSet = true; m_cpuArchitectureType = std::move(value); } + + /** + *

The CPU architecture type for the customer managed worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& WithCpuArchitectureType(const CpuArchitectureType& value) { SetCpuArchitectureType(value); return *this;} + + /** + *

The CPU architecture type for the customer managed worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& WithCpuArchitectureType(CpuArchitectureType&& value) { SetCpuArchitectureType(std::move(value)); return *this;} + + + /** + *

Custom requirement ranges for customer managed worker capabilities.

+ */ + inline const Aws::Vector& GetCustomAmounts() const{ return m_customAmounts; } + + /** + *

Custom requirement ranges for customer managed worker capabilities.

+ */ + inline bool CustomAmountsHasBeenSet() const { return m_customAmountsHasBeenSet; } + + /** + *

Custom requirement ranges for customer managed worker capabilities.

+ */ + inline void SetCustomAmounts(const Aws::Vector& value) { m_customAmountsHasBeenSet = true; m_customAmounts = value; } + + /** + *

Custom requirement ranges for customer managed worker capabilities.

+ */ + inline void SetCustomAmounts(Aws::Vector&& value) { m_customAmountsHasBeenSet = true; m_customAmounts = std::move(value); } + + /** + *

Custom requirement ranges for customer managed worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& WithCustomAmounts(const Aws::Vector& value) { SetCustomAmounts(value); return *this;} + + /** + *

Custom requirement ranges for customer managed worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& WithCustomAmounts(Aws::Vector&& value) { SetCustomAmounts(std::move(value)); return *this;} + + /** + *

Custom requirement ranges for customer managed worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& AddCustomAmounts(const FleetAmountCapability& value) { m_customAmountsHasBeenSet = true; m_customAmounts.push_back(value); return *this; } + + /** + *

Custom requirement ranges for customer managed worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& AddCustomAmounts(FleetAmountCapability&& value) { m_customAmountsHasBeenSet = true; m_customAmounts.push_back(std::move(value)); return *this; } + + + /** + *

Custom attributes for the customer manged worker capabilities.

+ */ + inline const Aws::Vector& GetCustomAttributes() const{ return m_customAttributes; } + + /** + *

Custom attributes for the customer manged worker capabilities.

+ */ + inline bool CustomAttributesHasBeenSet() const { return m_customAttributesHasBeenSet; } + + /** + *

Custom attributes for the customer manged worker capabilities.

+ */ + inline void SetCustomAttributes(const Aws::Vector& value) { m_customAttributesHasBeenSet = true; m_customAttributes = value; } + + /** + *

Custom attributes for the customer manged worker capabilities.

+ */ + inline void SetCustomAttributes(Aws::Vector&& value) { m_customAttributesHasBeenSet = true; m_customAttributes = std::move(value); } + + /** + *

Custom attributes for the customer manged worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& WithCustomAttributes(const Aws::Vector& value) { SetCustomAttributes(value); return *this;} + + /** + *

Custom attributes for the customer manged worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& WithCustomAttributes(Aws::Vector&& value) { SetCustomAttributes(std::move(value)); return *this;} + + /** + *

Custom attributes for the customer manged worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& AddCustomAttributes(const FleetAttributeCapability& value) { m_customAttributesHasBeenSet = true; m_customAttributes.push_back(value); return *this; } + + /** + *

Custom attributes for the customer manged worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& AddCustomAttributes(FleetAttributeCapability&& value) { m_customAttributesHasBeenSet = true; m_customAttributes.push_back(std::move(value)); return *this; } + + + /** + *

The memory (MiB).

+ */ + inline const MemoryMiBRange& GetMemoryMiB() const{ return m_memoryMiB; } + + /** + *

The memory (MiB).

+ */ + inline bool MemoryMiBHasBeenSet() const { return m_memoryMiBHasBeenSet; } + + /** + *

The memory (MiB).

+ */ + inline void SetMemoryMiB(const MemoryMiBRange& value) { m_memoryMiBHasBeenSet = true; m_memoryMiB = value; } + + /** + *

The memory (MiB).

+ */ + inline void SetMemoryMiB(MemoryMiBRange&& value) { m_memoryMiBHasBeenSet = true; m_memoryMiB = std::move(value); } + + /** + *

The memory (MiB).

+ */ + inline CustomerManagedWorkerCapabilities& WithMemoryMiB(const MemoryMiBRange& value) { SetMemoryMiB(value); return *this;} + + /** + *

The memory (MiB).

+ */ + inline CustomerManagedWorkerCapabilities& WithMemoryMiB(MemoryMiBRange&& value) { SetMemoryMiB(std::move(value)); return *this;} + + + /** + *

The operating system (OS) family.

+ */ + inline const CustomerManagedFleetOperatingSystemFamily& GetOsFamily() const{ return m_osFamily; } + + /** + *

The operating system (OS) family.

+ */ + inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; } + + /** + *

The operating system (OS) family.

+ */ + inline void SetOsFamily(const CustomerManagedFleetOperatingSystemFamily& value) { m_osFamilyHasBeenSet = true; m_osFamily = value; } + + /** + *

The operating system (OS) family.

+ */ + inline void SetOsFamily(CustomerManagedFleetOperatingSystemFamily&& value) { m_osFamilyHasBeenSet = true; m_osFamily = std::move(value); } + + /** + *

The operating system (OS) family.

+ */ + inline CustomerManagedWorkerCapabilities& WithOsFamily(const CustomerManagedFleetOperatingSystemFamily& value) { SetOsFamily(value); return *this;} + + /** + *

The operating system (OS) family.

+ */ + inline CustomerManagedWorkerCapabilities& WithOsFamily(CustomerManagedFleetOperatingSystemFamily&& value) { SetOsFamily(std::move(value)); return *this;} + + + /** + *

The vCPU count for the customer manged worker capabilities.

+ */ + inline const VCpuCountRange& GetVCpuCount() const{ return m_vCpuCount; } + + /** + *

The vCPU count for the customer manged worker capabilities.

+ */ + inline bool VCpuCountHasBeenSet() const { return m_vCpuCountHasBeenSet; } + + /** + *

The vCPU count for the customer manged worker capabilities.

+ */ + inline void SetVCpuCount(const VCpuCountRange& value) { m_vCpuCountHasBeenSet = true; m_vCpuCount = value; } + + /** + *

The vCPU count for the customer manged worker capabilities.

+ */ + inline void SetVCpuCount(VCpuCountRange&& value) { m_vCpuCountHasBeenSet = true; m_vCpuCount = std::move(value); } + + /** + *

The vCPU count for the customer manged worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& WithVCpuCount(const VCpuCountRange& value) { SetVCpuCount(value); return *this;} + + /** + *

The vCPU count for the customer manged worker capabilities.

+ */ + inline CustomerManagedWorkerCapabilities& WithVCpuCount(VCpuCountRange&& value) { SetVCpuCount(std::move(value)); return *this;} + + private: + + AcceleratorCountRange m_acceleratorCount; + bool m_acceleratorCountHasBeenSet = false; + + AcceleratorTotalMemoryMiBRange m_acceleratorTotalMemoryMiB; + bool m_acceleratorTotalMemoryMiBHasBeenSet = false; + + Aws::Vector m_acceleratorTypes; + bool m_acceleratorTypesHasBeenSet = false; + + CpuArchitectureType m_cpuArchitectureType; + bool m_cpuArchitectureTypeHasBeenSet = false; + + Aws::Vector m_customAmounts; + bool m_customAmountsHasBeenSet = false; + + Aws::Vector m_customAttributes; + bool m_customAttributesHasBeenSet = false; + + MemoryMiBRange m_memoryMiB; + bool m_memoryMiBHasBeenSet = false; + + CustomerManagedFleetOperatingSystemFamily m_osFamily; + bool m_osFamilyHasBeenSet = false; + + VCpuCountRange m_vCpuCount; + bool m_vCpuCountHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DateTimeFilterExpression.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DateTimeFilterExpression.h new file mode 100644 index 00000000000..351387f7662 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DateTimeFilterExpression.h @@ -0,0 +1,158 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The time stamp in date-time format.

See Also:

AWS + * API Reference

+ */ + class DateTimeFilterExpression + { + public: + AWS_DEADLINE_API DateTimeFilterExpression(); + AWS_DEADLINE_API DateTimeFilterExpression(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API DateTimeFilterExpression& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The date and time.

+ */ + inline const Aws::Utils::DateTime& GetDateTime() const{ return m_dateTime; } + + /** + *

The date and time.

+ */ + inline bool DateTimeHasBeenSet() const { return m_dateTimeHasBeenSet; } + + /** + *

The date and time.

+ */ + inline void SetDateTime(const Aws::Utils::DateTime& value) { m_dateTimeHasBeenSet = true; m_dateTime = value; } + + /** + *

The date and time.

+ */ + inline void SetDateTime(Aws::Utils::DateTime&& value) { m_dateTimeHasBeenSet = true; m_dateTime = std::move(value); } + + /** + *

The date and time.

+ */ + inline DateTimeFilterExpression& WithDateTime(const Aws::Utils::DateTime& value) { SetDateTime(value); return *this;} + + /** + *

The date and time.

+ */ + inline DateTimeFilterExpression& WithDateTime(Aws::Utils::DateTime&& value) { SetDateTime(std::move(value)); return *this;} + + + /** + *

The name of the date-time field to filter on.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the date-time field to filter on.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The name of the date-time field to filter on.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the date-time field to filter on.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The name of the date-time field to filter on.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The name of the date-time field to filter on.

+ */ + inline DateTimeFilterExpression& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the date-time field to filter on.

+ */ + inline DateTimeFilterExpression& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The name of the date-time field to filter on.

+ */ + inline DateTimeFilterExpression& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The type of comparison to use to filter the results.

+ */ + inline const ComparisonOperator& GetOperator() const{ return m_operator; } + + /** + *

The type of comparison to use to filter the results.

+ */ + inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; } + + /** + *

The type of comparison to use to filter the results.

+ */ + inline void SetOperator(const ComparisonOperator& value) { m_operatorHasBeenSet = true; m_operator = value; } + + /** + *

The type of comparison to use to filter the results.

+ */ + inline void SetOperator(ComparisonOperator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); } + + /** + *

The type of comparison to use to filter the results.

+ */ + inline DateTimeFilterExpression& WithOperator(const ComparisonOperator& value) { SetOperator(value); return *this;} + + /** + *

The type of comparison to use to filter the results.

+ */ + inline DateTimeFilterExpression& WithOperator(ComparisonOperator&& value) { SetOperator(std::move(value)); return *this;} + + private: + + Aws::Utils::DateTime m_dateTime; + bool m_dateTimeHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + ComparisonOperator m_operator; + bool m_operatorHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DefaultQueueBudgetAction.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DefaultQueueBudgetAction.h new file mode 100644 index 00000000000..519e5ad6591 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DefaultQueueBudgetAction.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class DefaultQueueBudgetAction + { + NOT_SET, + NONE, + STOP_SCHEDULING_AND_COMPLETE_TASKS, + STOP_SCHEDULING_AND_CANCEL_TASKS + }; + +namespace DefaultQueueBudgetActionMapper +{ +AWS_DEADLINE_API DefaultQueueBudgetAction GetDefaultQueueBudgetActionForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForDefaultQueueBudgetAction(DefaultQueueBudgetAction value); +} // namespace DefaultQueueBudgetActionMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteBudgetRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteBudgetRequest.h new file mode 100644 index 00000000000..0999abfe33d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteBudgetRequest.h @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class DeleteBudgetRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API DeleteBudgetRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DeleteBudget"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The budget ID of the budget to delete.

+ */ + inline const Aws::String& GetBudgetId() const{ return m_budgetId; } + + /** + *

The budget ID of the budget to delete.

+ */ + inline bool BudgetIdHasBeenSet() const { return m_budgetIdHasBeenSet; } + + /** + *

The budget ID of the budget to delete.

+ */ + inline void SetBudgetId(const Aws::String& value) { m_budgetIdHasBeenSet = true; m_budgetId = value; } + + /** + *

The budget ID of the budget to delete.

+ */ + inline void SetBudgetId(Aws::String&& value) { m_budgetIdHasBeenSet = true; m_budgetId = std::move(value); } + + /** + *

The budget ID of the budget to delete.

+ */ + inline void SetBudgetId(const char* value) { m_budgetIdHasBeenSet = true; m_budgetId.assign(value); } + + /** + *

The budget ID of the budget to delete.

+ */ + inline DeleteBudgetRequest& WithBudgetId(const Aws::String& value) { SetBudgetId(value); return *this;} + + /** + *

The budget ID of the budget to delete.

+ */ + inline DeleteBudgetRequest& WithBudgetId(Aws::String&& value) { SetBudgetId(std::move(value)); return *this;} + + /** + *

The budget ID of the budget to delete.

+ */ + inline DeleteBudgetRequest& WithBudgetId(const char* value) { SetBudgetId(value); return *this;} + + + /** + *

The farm ID of the farm to remove from the budget.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm to remove from the budget.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm to remove from the budget.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm to remove from the budget.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm to remove from the budget.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm to remove from the budget.

+ */ + inline DeleteBudgetRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm to remove from the budget.

+ */ + inline DeleteBudgetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm to remove from the budget.

+ */ + inline DeleteBudgetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + private: + + Aws::String m_budgetId; + bool m_budgetIdHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteBudgetResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteBudgetResult.h new file mode 100644 index 00000000000..f607f3b6cef --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteBudgetResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class DeleteBudgetResult + { + public: + AWS_DEADLINE_API DeleteBudgetResult(); + AWS_DEADLINE_API DeleteBudgetResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API DeleteBudgetResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DeleteBudgetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DeleteBudgetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DeleteBudgetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteFarmRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteFarmRequest.h new file mode 100644 index 00000000000..52d0b065382 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteFarmRequest.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class DeleteFarmRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API DeleteFarmRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DeleteFarm"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the farm to delete.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm to delete.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm to delete.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm to delete.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm to delete.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm to delete.

+ */ + inline DeleteFarmRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm to delete.

+ */ + inline DeleteFarmRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm to delete.

+ */ + inline DeleteFarmRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteFarmResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteFarmResult.h new file mode 100644 index 00000000000..2fb3a92b87d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteFarmResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class DeleteFarmResult + { + public: + AWS_DEADLINE_API DeleteFarmResult(); + AWS_DEADLINE_API DeleteFarmResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API DeleteFarmResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DeleteFarmResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DeleteFarmResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DeleteFarmResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteFleetRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteFleetRequest.h new file mode 100644 index 00000000000..938caeed267 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteFleetRequest.h @@ -0,0 +1,182 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class DeleteFleetRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API DeleteFleetRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DeleteFleet"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline DeleteFleetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline DeleteFleetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline DeleteFleetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The farm ID of the farm to remove from the fleet.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm to remove from the fleet.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm to remove from the fleet.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm to remove from the fleet.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm to remove from the fleet.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm to remove from the fleet.

+ */ + inline DeleteFleetRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm to remove from the fleet.

+ */ + inline DeleteFleetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm to remove from the fleet.

+ */ + inline DeleteFleetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID of the fleet to delete.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID of the fleet to delete.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID of the fleet to delete.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID of the fleet to delete.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID of the fleet to delete.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID of the fleet to delete.

+ */ + inline DeleteFleetRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID of the fleet to delete.

+ */ + inline DeleteFleetRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID of the fleet to delete.

+ */ + inline DeleteFleetRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + private: + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteFleetResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteFleetResult.h new file mode 100644 index 00000000000..3a395c44be3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteFleetResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class DeleteFleetResult + { + public: + AWS_DEADLINE_API DeleteFleetResult(); + AWS_DEADLINE_API DeleteFleetResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API DeleteFleetResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DeleteFleetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DeleteFleetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DeleteFleetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteLicenseEndpointRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteLicenseEndpointRequest.h new file mode 100644 index 00000000000..4fc56459f58 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteLicenseEndpointRequest.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class DeleteLicenseEndpointRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API DeleteLicenseEndpointRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DeleteLicenseEndpoint"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The license endpoint ID of the license endpoint to delete.

+ */ + inline const Aws::String& GetLicenseEndpointId() const{ return m_licenseEndpointId; } + + /** + *

The license endpoint ID of the license endpoint to delete.

+ */ + inline bool LicenseEndpointIdHasBeenSet() const { return m_licenseEndpointIdHasBeenSet; } + + /** + *

The license endpoint ID of the license endpoint to delete.

+ */ + inline void SetLicenseEndpointId(const Aws::String& value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId = value; } + + /** + *

The license endpoint ID of the license endpoint to delete.

+ */ + inline void SetLicenseEndpointId(Aws::String&& value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId = std::move(value); } + + /** + *

The license endpoint ID of the license endpoint to delete.

+ */ + inline void SetLicenseEndpointId(const char* value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId.assign(value); } + + /** + *

The license endpoint ID of the license endpoint to delete.

+ */ + inline DeleteLicenseEndpointRequest& WithLicenseEndpointId(const Aws::String& value) { SetLicenseEndpointId(value); return *this;} + + /** + *

The license endpoint ID of the license endpoint to delete.

+ */ + inline DeleteLicenseEndpointRequest& WithLicenseEndpointId(Aws::String&& value) { SetLicenseEndpointId(std::move(value)); return *this;} + + /** + *

The license endpoint ID of the license endpoint to delete.

+ */ + inline DeleteLicenseEndpointRequest& WithLicenseEndpointId(const char* value) { SetLicenseEndpointId(value); return *this;} + + private: + + Aws::String m_licenseEndpointId; + bool m_licenseEndpointIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteLicenseEndpointResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteLicenseEndpointResult.h new file mode 100644 index 00000000000..4f693886849 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteLicenseEndpointResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class DeleteLicenseEndpointResult + { + public: + AWS_DEADLINE_API DeleteLicenseEndpointResult(); + AWS_DEADLINE_API DeleteLicenseEndpointResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API DeleteLicenseEndpointResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DeleteLicenseEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DeleteLicenseEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DeleteLicenseEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteMeteredProductRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteMeteredProductRequest.h new file mode 100644 index 00000000000..6ce11cdb667 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteMeteredProductRequest.h @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class DeleteMeteredProductRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API DeleteMeteredProductRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DeleteMeteredProduct"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The ID of the license endpoint from which to remove the metered product.

+ */ + inline const Aws::String& GetLicenseEndpointId() const{ return m_licenseEndpointId; } + + /** + *

The ID of the license endpoint from which to remove the metered product.

+ */ + inline bool LicenseEndpointIdHasBeenSet() const { return m_licenseEndpointIdHasBeenSet; } + + /** + *

The ID of the license endpoint from which to remove the metered product.

+ */ + inline void SetLicenseEndpointId(const Aws::String& value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId = value; } + + /** + *

The ID of the license endpoint from which to remove the metered product.

+ */ + inline void SetLicenseEndpointId(Aws::String&& value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId = std::move(value); } + + /** + *

The ID of the license endpoint from which to remove the metered product.

+ */ + inline void SetLicenseEndpointId(const char* value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId.assign(value); } + + /** + *

The ID of the license endpoint from which to remove the metered product.

+ */ + inline DeleteMeteredProductRequest& WithLicenseEndpointId(const Aws::String& value) { SetLicenseEndpointId(value); return *this;} + + /** + *

The ID of the license endpoint from which to remove the metered product.

+ */ + inline DeleteMeteredProductRequest& WithLicenseEndpointId(Aws::String&& value) { SetLicenseEndpointId(std::move(value)); return *this;} + + /** + *

The ID of the license endpoint from which to remove the metered product.

+ */ + inline DeleteMeteredProductRequest& WithLicenseEndpointId(const char* value) { SetLicenseEndpointId(value); return *this;} + + + /** + *

The product ID to remove from the license endpoint.

+ */ + inline const Aws::String& GetProductId() const{ return m_productId; } + + /** + *

The product ID to remove from the license endpoint.

+ */ + inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; } + + /** + *

The product ID to remove from the license endpoint.

+ */ + inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; } + + /** + *

The product ID to remove from the license endpoint.

+ */ + inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); } + + /** + *

The product ID to remove from the license endpoint.

+ */ + inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); } + + /** + *

The product ID to remove from the license endpoint.

+ */ + inline DeleteMeteredProductRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;} + + /** + *

The product ID to remove from the license endpoint.

+ */ + inline DeleteMeteredProductRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;} + + /** + *

The product ID to remove from the license endpoint.

+ */ + inline DeleteMeteredProductRequest& WithProductId(const char* value) { SetProductId(value); return *this;} + + private: + + Aws::String m_licenseEndpointId; + bool m_licenseEndpointIdHasBeenSet = false; + + Aws::String m_productId; + bool m_productIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteMeteredProductResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteMeteredProductResult.h new file mode 100644 index 00000000000..8e0072ff70e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteMeteredProductResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class DeleteMeteredProductResult + { + public: + AWS_DEADLINE_API DeleteMeteredProductResult(); + AWS_DEADLINE_API DeleteMeteredProductResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API DeleteMeteredProductResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DeleteMeteredProductResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DeleteMeteredProductResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DeleteMeteredProductResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteMonitorRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteMonitorRequest.h new file mode 100644 index 00000000000..9e9663ff840 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteMonitorRequest.h @@ -0,0 +1,99 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class DeleteMonitorRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API DeleteMonitorRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DeleteMonitor"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The unique identifier of the monitor to delete. This ID is returned by the + * CreateMonitor operation, and is included in the response to the + * GetMonitor operation.

+ */ + inline const Aws::String& GetMonitorId() const{ return m_monitorId; } + + /** + *

The unique identifier of the monitor to delete. This ID is returned by the + * CreateMonitor operation, and is included in the response to the + * GetMonitor operation.

+ */ + inline bool MonitorIdHasBeenSet() const { return m_monitorIdHasBeenSet; } + + /** + *

The unique identifier of the monitor to delete. This ID is returned by the + * CreateMonitor operation, and is included in the response to the + * GetMonitor operation.

+ */ + inline void SetMonitorId(const Aws::String& value) { m_monitorIdHasBeenSet = true; m_monitorId = value; } + + /** + *

The unique identifier of the monitor to delete. This ID is returned by the + * CreateMonitor operation, and is included in the response to the + * GetMonitor operation.

+ */ + inline void SetMonitorId(Aws::String&& value) { m_monitorIdHasBeenSet = true; m_monitorId = std::move(value); } + + /** + *

The unique identifier of the monitor to delete. This ID is returned by the + * CreateMonitor operation, and is included in the response to the + * GetMonitor operation.

+ */ + inline void SetMonitorId(const char* value) { m_monitorIdHasBeenSet = true; m_monitorId.assign(value); } + + /** + *

The unique identifier of the monitor to delete. This ID is returned by the + * CreateMonitor operation, and is included in the response to the + * GetMonitor operation.

+ */ + inline DeleteMonitorRequest& WithMonitorId(const Aws::String& value) { SetMonitorId(value); return *this;} + + /** + *

The unique identifier of the monitor to delete. This ID is returned by the + * CreateMonitor operation, and is included in the response to the + * GetMonitor operation.

+ */ + inline DeleteMonitorRequest& WithMonitorId(Aws::String&& value) { SetMonitorId(std::move(value)); return *this;} + + /** + *

The unique identifier of the monitor to delete. This ID is returned by the + * CreateMonitor operation, and is included in the response to the + * GetMonitor operation.

+ */ + inline DeleteMonitorRequest& WithMonitorId(const char* value) { SetMonitorId(value); return *this;} + + private: + + Aws::String m_monitorId; + bool m_monitorIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteMonitorResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteMonitorResult.h new file mode 100644 index 00000000000..03dfea67db2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteMonitorResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class DeleteMonitorResult + { + public: + AWS_DEADLINE_API DeleteMonitorResult(); + AWS_DEADLINE_API DeleteMonitorResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API DeleteMonitorResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DeleteMonitorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DeleteMonitorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DeleteMonitorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueEnvironmentRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueEnvironmentRequest.h new file mode 100644 index 00000000000..5587d198c45 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueEnvironmentRequest.h @@ -0,0 +1,171 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class DeleteQueueEnvironmentRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API DeleteQueueEnvironmentRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DeleteQueueEnvironment"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the farm from which to remove the queue environment.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm from which to remove the queue environment.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm from which to remove the queue environment.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm from which to remove the queue environment.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm from which to remove the queue environment.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm from which to remove the queue environment.

+ */ + inline DeleteQueueEnvironmentRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm from which to remove the queue environment.

+ */ + inline DeleteQueueEnvironmentRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm from which to remove the queue environment.

+ */ + inline DeleteQueueEnvironmentRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The queue environment ID of the queue environment to delete.

+ */ + inline const Aws::String& GetQueueEnvironmentId() const{ return m_queueEnvironmentId; } + + /** + *

The queue environment ID of the queue environment to delete.

+ */ + inline bool QueueEnvironmentIdHasBeenSet() const { return m_queueEnvironmentIdHasBeenSet; } + + /** + *

The queue environment ID of the queue environment to delete.

+ */ + inline void SetQueueEnvironmentId(const Aws::String& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = value; } + + /** + *

The queue environment ID of the queue environment to delete.

+ */ + inline void SetQueueEnvironmentId(Aws::String&& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = std::move(value); } + + /** + *

The queue environment ID of the queue environment to delete.

+ */ + inline void SetQueueEnvironmentId(const char* value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId.assign(value); } + + /** + *

The queue environment ID of the queue environment to delete.

+ */ + inline DeleteQueueEnvironmentRequest& WithQueueEnvironmentId(const Aws::String& value) { SetQueueEnvironmentId(value); return *this;} + + /** + *

The queue environment ID of the queue environment to delete.

+ */ + inline DeleteQueueEnvironmentRequest& WithQueueEnvironmentId(Aws::String&& value) { SetQueueEnvironmentId(std::move(value)); return *this;} + + /** + *

The queue environment ID of the queue environment to delete.

+ */ + inline DeleteQueueEnvironmentRequest& WithQueueEnvironmentId(const char* value) { SetQueueEnvironmentId(value); return *this;} + + + /** + *

The queue ID of the queue environment to delete.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID of the queue environment to delete.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID of the queue environment to delete.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID of the queue environment to delete.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID of the queue environment to delete.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID of the queue environment to delete.

+ */ + inline DeleteQueueEnvironmentRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID of the queue environment to delete.

+ */ + inline DeleteQueueEnvironmentRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID of the queue environment to delete.

+ */ + inline DeleteQueueEnvironmentRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_queueEnvironmentId; + bool m_queueEnvironmentIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueEnvironmentResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueEnvironmentResult.h new file mode 100644 index 00000000000..87af65376b1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueEnvironmentResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class DeleteQueueEnvironmentResult + { + public: + AWS_DEADLINE_API DeleteQueueEnvironmentResult(); + AWS_DEADLINE_API DeleteQueueEnvironmentResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API DeleteQueueEnvironmentResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DeleteQueueEnvironmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DeleteQueueEnvironmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DeleteQueueEnvironmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueFleetAssociationRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueFleetAssociationRequest.h new file mode 100644 index 00000000000..61fa344f054 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueFleetAssociationRequest.h @@ -0,0 +1,171 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class DeleteQueueFleetAssociationRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API DeleteQueueFleetAssociationRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DeleteQueueFleetAssociation"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the farm that holds the queue-fleet association.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm that holds the queue-fleet association.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm that holds the queue-fleet association.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm that holds the queue-fleet association.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm that holds the queue-fleet association.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm that holds the queue-fleet association.

+ */ + inline DeleteQueueFleetAssociationRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm that holds the queue-fleet association.

+ */ + inline DeleteQueueFleetAssociationRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm that holds the queue-fleet association.

+ */ + inline DeleteQueueFleetAssociationRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID of the queue-fleet association.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID of the queue-fleet association.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID of the queue-fleet association.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID of the queue-fleet association.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID of the queue-fleet association.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID of the queue-fleet association.

+ */ + inline DeleteQueueFleetAssociationRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID of the queue-fleet association.

+ */ + inline DeleteQueueFleetAssociationRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID of the queue-fleet association.

+ */ + inline DeleteQueueFleetAssociationRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The queue ID of the queue-fleet association.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID of the queue-fleet association.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID of the queue-fleet association.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID of the queue-fleet association.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID of the queue-fleet association.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID of the queue-fleet association.

+ */ + inline DeleteQueueFleetAssociationRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID of the queue-fleet association.

+ */ + inline DeleteQueueFleetAssociationRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID of the queue-fleet association.

+ */ + inline DeleteQueueFleetAssociationRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueFleetAssociationResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueFleetAssociationResult.h new file mode 100644 index 00000000000..9941f281993 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueFleetAssociationResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class DeleteQueueFleetAssociationResult + { + public: + AWS_DEADLINE_API DeleteQueueFleetAssociationResult(); + AWS_DEADLINE_API DeleteQueueFleetAssociationResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API DeleteQueueFleetAssociationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DeleteQueueFleetAssociationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DeleteQueueFleetAssociationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DeleteQueueFleetAssociationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueRequest.h new file mode 100644 index 00000000000..6664601e2e8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueRequest.h @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class DeleteQueueRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API DeleteQueueRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DeleteQueue"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The ID of the farm from which to remove the queue.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The ID of the farm from which to remove the queue.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The ID of the farm from which to remove the queue.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The ID of the farm from which to remove the queue.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The ID of the farm from which to remove the queue.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The ID of the farm from which to remove the queue.

+ */ + inline DeleteQueueRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The ID of the farm from which to remove the queue.

+ */ + inline DeleteQueueRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The ID of the farm from which to remove the queue.

+ */ + inline DeleteQueueRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The queue ID of the queue to delete.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID of the queue to delete.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID of the queue to delete.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID of the queue to delete.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID of the queue to delete.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID of the queue to delete.

+ */ + inline DeleteQueueRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID of the queue to delete.

+ */ + inline DeleteQueueRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID of the queue to delete.

+ */ + inline DeleteQueueRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueResult.h new file mode 100644 index 00000000000..916e0b3e8b6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteQueueResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class DeleteQueueResult + { + public: + AWS_DEADLINE_API DeleteQueueResult(); + AWS_DEADLINE_API DeleteQueueResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API DeleteQueueResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DeleteQueueResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DeleteQueueResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DeleteQueueResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteStorageProfileRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteStorageProfileRequest.h new file mode 100644 index 00000000000..cec845424fa --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteStorageProfileRequest.h @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class DeleteStorageProfileRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API DeleteStorageProfileRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DeleteStorageProfile"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the farm from which to remove the storage profile.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm from which to remove the storage profile.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm from which to remove the storage profile.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm from which to remove the storage profile.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm from which to remove the storage profile.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm from which to remove the storage profile.

+ */ + inline DeleteStorageProfileRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm from which to remove the storage profile.

+ */ + inline DeleteStorageProfileRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm from which to remove the storage profile.

+ */ + inline DeleteStorageProfileRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The storage profile ID of the storage profile to delete.

+ */ + inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } + + /** + *

The storage profile ID of the storage profile to delete.

+ */ + inline bool StorageProfileIdHasBeenSet() const { return m_storageProfileIdHasBeenSet; } + + /** + *

The storage profile ID of the storage profile to delete.

+ */ + inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = value; } + + /** + *

The storage profile ID of the storage profile to delete.

+ */ + inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = std::move(value); } + + /** + *

The storage profile ID of the storage profile to delete.

+ */ + inline void SetStorageProfileId(const char* value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId.assign(value); } + + /** + *

The storage profile ID of the storage profile to delete.

+ */ + inline DeleteStorageProfileRequest& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} + + /** + *

The storage profile ID of the storage profile to delete.

+ */ + inline DeleteStorageProfileRequest& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} + + /** + *

The storage profile ID of the storage profile to delete.

+ */ + inline DeleteStorageProfileRequest& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_storageProfileId; + bool m_storageProfileIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteStorageProfileResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteStorageProfileResult.h new file mode 100644 index 00000000000..33b1c3b8286 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteStorageProfileResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class DeleteStorageProfileResult + { + public: + AWS_DEADLINE_API DeleteStorageProfileResult(); + AWS_DEADLINE_API DeleteStorageProfileResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API DeleteStorageProfileResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DeleteStorageProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DeleteStorageProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DeleteStorageProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteWorkerRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteWorkerRequest.h new file mode 100644 index 00000000000..e501c4ef92d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteWorkerRequest.h @@ -0,0 +1,171 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class DeleteWorkerRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API DeleteWorkerRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DeleteWorker"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the worker to delete.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the worker to delete.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the worker to delete.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the worker to delete.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the worker to delete.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the worker to delete.

+ */ + inline DeleteWorkerRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the worker to delete.

+ */ + inline DeleteWorkerRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the worker to delete.

+ */ + inline DeleteWorkerRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID of the worker to delete.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID of the worker to delete.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID of the worker to delete.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID of the worker to delete.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID of the worker to delete.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID of the worker to delete.

+ */ + inline DeleteWorkerRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID of the worker to delete.

+ */ + inline DeleteWorkerRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID of the worker to delete.

+ */ + inline DeleteWorkerRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The worker ID of the worker to delete.

+ */ + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + + /** + *

The worker ID of the worker to delete.

+ */ + inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } + + /** + *

The worker ID of the worker to delete.

+ */ + inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } + + /** + *

The worker ID of the worker to delete.

+ */ + inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } + + /** + *

The worker ID of the worker to delete.

+ */ + inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } + + /** + *

The worker ID of the worker to delete.

+ */ + inline DeleteWorkerRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + + /** + *

The worker ID of the worker to delete.

+ */ + inline DeleteWorkerRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + + /** + *

The worker ID of the worker to delete.

+ */ + inline DeleteWorkerRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + Aws::String m_workerId; + bool m_workerIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteWorkerResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteWorkerResult.h new file mode 100644 index 00000000000..34382258ea5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DeleteWorkerResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class DeleteWorkerResult + { + public: + AWS_DEADLINE_API DeleteWorkerResult(); + AWS_DEADLINE_API DeleteWorkerResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API DeleteWorkerResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DeleteWorkerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DeleteWorkerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DeleteWorkerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DependencyConsumerResolutionStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DependencyConsumerResolutionStatus.h new file mode 100644 index 00000000000..5fcce5c106f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DependencyConsumerResolutionStatus.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class DependencyConsumerResolutionStatus + { + NOT_SET, + RESOLVED, + UNRESOLVED + }; + +namespace DependencyConsumerResolutionStatusMapper +{ +AWS_DEADLINE_API DependencyConsumerResolutionStatus GetDependencyConsumerResolutionStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForDependencyConsumerResolutionStatus(DependencyConsumerResolutionStatus value); +} // namespace DependencyConsumerResolutionStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DependencyCounts.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DependencyCounts.h new file mode 100644 index 00000000000..c2b2316fe91 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DependencyCounts.h @@ -0,0 +1,138 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The number of dependencies for the consumer.

See Also:

AWS + * API Reference

+ */ + class DependencyCounts + { + public: + AWS_DEADLINE_API DependencyCounts(); + AWS_DEADLINE_API DependencyCounts(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API DependencyCounts& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The number of consumers resolved.

+ */ + inline int GetConsumersResolved() const{ return m_consumersResolved; } + + /** + *

The number of consumers resolved.

+ */ + inline bool ConsumersResolvedHasBeenSet() const { return m_consumersResolvedHasBeenSet; } + + /** + *

The number of consumers resolved.

+ */ + inline void SetConsumersResolved(int value) { m_consumersResolvedHasBeenSet = true; m_consumersResolved = value; } + + /** + *

The number of consumers resolved.

+ */ + inline DependencyCounts& WithConsumersResolved(int value) { SetConsumersResolved(value); return *this;} + + + /** + *

The number of unresolved consumers.

+ */ + inline int GetConsumersUnresolved() const{ return m_consumersUnresolved; } + + /** + *

The number of unresolved consumers.

+ */ + inline bool ConsumersUnresolvedHasBeenSet() const { return m_consumersUnresolvedHasBeenSet; } + + /** + *

The number of unresolved consumers.

+ */ + inline void SetConsumersUnresolved(int value) { m_consumersUnresolvedHasBeenSet = true; m_consumersUnresolved = value; } + + /** + *

The number of unresolved consumers.

+ */ + inline DependencyCounts& WithConsumersUnresolved(int value) { SetConsumersUnresolved(value); return *this;} + + + /** + *

The number of resolved dependencies.

+ */ + inline int GetDependenciesResolved() const{ return m_dependenciesResolved; } + + /** + *

The number of resolved dependencies.

+ */ + inline bool DependenciesResolvedHasBeenSet() const { return m_dependenciesResolvedHasBeenSet; } + + /** + *

The number of resolved dependencies.

+ */ + inline void SetDependenciesResolved(int value) { m_dependenciesResolvedHasBeenSet = true; m_dependenciesResolved = value; } + + /** + *

The number of resolved dependencies.

+ */ + inline DependencyCounts& WithDependenciesResolved(int value) { SetDependenciesResolved(value); return *this;} + + + /** + *

The number of unresolved dependencies.

+ */ + inline int GetDependenciesUnresolved() const{ return m_dependenciesUnresolved; } + + /** + *

The number of unresolved dependencies.

+ */ + inline bool DependenciesUnresolvedHasBeenSet() const { return m_dependenciesUnresolvedHasBeenSet; } + + /** + *

The number of unresolved dependencies.

+ */ + inline void SetDependenciesUnresolved(int value) { m_dependenciesUnresolvedHasBeenSet = true; m_dependenciesUnresolved = value; } + + /** + *

The number of unresolved dependencies.

+ */ + inline DependencyCounts& WithDependenciesUnresolved(int value) { SetDependenciesUnresolved(value); return *this;} + + private: + + int m_consumersResolved; + bool m_consumersResolvedHasBeenSet = false; + + int m_consumersUnresolved; + bool m_consumersUnresolvedHasBeenSet = false; + + int m_dependenciesResolved; + bool m_dependenciesResolvedHasBeenSet = false; + + int m_dependenciesUnresolved; + bool m_dependenciesUnresolvedHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DesiredWorkerStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DesiredWorkerStatus.h new file mode 100644 index 00000000000..4d72317b925 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DesiredWorkerStatus.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class DesiredWorkerStatus + { + NOT_SET, + STOPPED + }; + +namespace DesiredWorkerStatusMapper +{ +AWS_DEADLINE_API DesiredWorkerStatus GetDesiredWorkerStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForDesiredWorkerStatus(DesiredWorkerStatus value); +} // namespace DesiredWorkerStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromFarmRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromFarmRequest.h new file mode 100644 index 00000000000..8f3158098c5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromFarmRequest.h @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class DisassociateMemberFromFarmRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API DisassociateMemberFromFarmRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DisassociateMemberFromFarm"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the farm to disassociate from the member.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm to disassociate from the member.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm to disassociate from the member.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm to disassociate from the member.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm to disassociate from the member.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm to disassociate from the member.

+ */ + inline DisassociateMemberFromFarmRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm to disassociate from the member.

+ */ + inline DisassociateMemberFromFarmRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm to disassociate from the member.

+ */ + inline DisassociateMemberFromFarmRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

A member's principal ID to disassociate from a farm.

+ */ + inline const Aws::String& GetPrincipalId() const{ return m_principalId; } + + /** + *

A member's principal ID to disassociate from a farm.

+ */ + inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } + + /** + *

A member's principal ID to disassociate from a farm.

+ */ + inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } + + /** + *

A member's principal ID to disassociate from a farm.

+ */ + inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } + + /** + *

A member's principal ID to disassociate from a farm.

+ */ + inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } + + /** + *

A member's principal ID to disassociate from a farm.

+ */ + inline DisassociateMemberFromFarmRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} + + /** + *

A member's principal ID to disassociate from a farm.

+ */ + inline DisassociateMemberFromFarmRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} + + /** + *

A member's principal ID to disassociate from a farm.

+ */ + inline DisassociateMemberFromFarmRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_principalId; + bool m_principalIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromFarmResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromFarmResult.h new file mode 100644 index 00000000000..b06d3d9083c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromFarmResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class DisassociateMemberFromFarmResult + { + public: + AWS_DEADLINE_API DisassociateMemberFromFarmResult(); + AWS_DEADLINE_API DisassociateMemberFromFarmResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API DisassociateMemberFromFarmResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DisassociateMemberFromFarmResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DisassociateMemberFromFarmResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DisassociateMemberFromFarmResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromFleetRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromFleetRequest.h new file mode 100644 index 00000000000..d42cec0f120 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromFleetRequest.h @@ -0,0 +1,171 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class DisassociateMemberFromFleetRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API DisassociateMemberFromFleetRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DisassociateMemberFromFleet"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the fleet to disassociate a member from.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the fleet to disassociate a member from.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the fleet to disassociate a member from.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the fleet to disassociate a member from.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the fleet to disassociate a member from.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the fleet to disassociate a member from.

+ */ + inline DisassociateMemberFromFleetRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the fleet to disassociate a member from.

+ */ + inline DisassociateMemberFromFleetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the fleet to disassociate a member from.

+ */ + inline DisassociateMemberFromFleetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID of the fleet to from which to disassociate a member.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID of the fleet to from which to disassociate a member.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID of the fleet to from which to disassociate a member.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID of the fleet to from which to disassociate a member.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID of the fleet to from which to disassociate a member.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID of the fleet to from which to disassociate a member.

+ */ + inline DisassociateMemberFromFleetRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID of the fleet to from which to disassociate a member.

+ */ + inline DisassociateMemberFromFleetRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID of the fleet to from which to disassociate a member.

+ */ + inline DisassociateMemberFromFleetRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

A member's principal ID to disassociate from a fleet.

+ */ + inline const Aws::String& GetPrincipalId() const{ return m_principalId; } + + /** + *

A member's principal ID to disassociate from a fleet.

+ */ + inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } + + /** + *

A member's principal ID to disassociate from a fleet.

+ */ + inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } + + /** + *

A member's principal ID to disassociate from a fleet.

+ */ + inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } + + /** + *

A member's principal ID to disassociate from a fleet.

+ */ + inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } + + /** + *

A member's principal ID to disassociate from a fleet.

+ */ + inline DisassociateMemberFromFleetRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} + + /** + *

A member's principal ID to disassociate from a fleet.

+ */ + inline DisassociateMemberFromFleetRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} + + /** + *

A member's principal ID to disassociate from a fleet.

+ */ + inline DisassociateMemberFromFleetRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + Aws::String m_principalId; + bool m_principalIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromFleetResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromFleetResult.h new file mode 100644 index 00000000000..b4a50ca7832 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromFleetResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class DisassociateMemberFromFleetResult + { + public: + AWS_DEADLINE_API DisassociateMemberFromFleetResult(); + AWS_DEADLINE_API DisassociateMemberFromFleetResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API DisassociateMemberFromFleetResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DisassociateMemberFromFleetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DisassociateMemberFromFleetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DisassociateMemberFromFleetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromJobRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromJobRequest.h new file mode 100644 index 00000000000..de73fd86608 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromJobRequest.h @@ -0,0 +1,215 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class DisassociateMemberFromJobRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API DisassociateMemberFromJobRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DisassociateMemberFromJob"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID for the job to disassociate from the member.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the job to disassociate from the member.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the job to disassociate from the member.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the job to disassociate from the member.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the job to disassociate from the member.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the job to disassociate from the member.

+ */ + inline DisassociateMemberFromJobRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the job to disassociate from the member.

+ */ + inline DisassociateMemberFromJobRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the job to disassociate from the member.

+ */ + inline DisassociateMemberFromJobRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID to disassociate from a member in a job.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID to disassociate from a member in a job.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID to disassociate from a member in a job.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID to disassociate from a member in a job.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID to disassociate from a member in a job.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID to disassociate from a member in a job.

+ */ + inline DisassociateMemberFromJobRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID to disassociate from a member in a job.

+ */ + inline DisassociateMemberFromJobRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID to disassociate from a member in a job.

+ */ + inline DisassociateMemberFromJobRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

A member's principal ID to disassociate from a job.

+ */ + inline const Aws::String& GetPrincipalId() const{ return m_principalId; } + + /** + *

A member's principal ID to disassociate from a job.

+ */ + inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } + + /** + *

A member's principal ID to disassociate from a job.

+ */ + inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } + + /** + *

A member's principal ID to disassociate from a job.

+ */ + inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } + + /** + *

A member's principal ID to disassociate from a job.

+ */ + inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } + + /** + *

A member's principal ID to disassociate from a job.

+ */ + inline DisassociateMemberFromJobRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} + + /** + *

A member's principal ID to disassociate from a job.

+ */ + inline DisassociateMemberFromJobRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} + + /** + *

A member's principal ID to disassociate from a job.

+ */ + inline DisassociateMemberFromJobRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} + + + /** + *

The queue ID connected to a job for which you're disassociating a member.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID connected to a job for which you're disassociating a member.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID connected to a job for which you're disassociating a member.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID connected to a job for which you're disassociating a member.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID connected to a job for which you're disassociating a member.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID connected to a job for which you're disassociating a member.

+ */ + inline DisassociateMemberFromJobRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID connected to a job for which you're disassociating a member.

+ */ + inline DisassociateMemberFromJobRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID connected to a job for which you're disassociating a member.

+ */ + inline DisassociateMemberFromJobRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_principalId; + bool m_principalIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromJobResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromJobResult.h new file mode 100644 index 00000000000..c0ca5a830bf --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromJobResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class DisassociateMemberFromJobResult + { + public: + AWS_DEADLINE_API DisassociateMemberFromJobResult(); + AWS_DEADLINE_API DisassociateMemberFromJobResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API DisassociateMemberFromJobResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DisassociateMemberFromJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DisassociateMemberFromJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DisassociateMemberFromJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromQueueRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromQueueRequest.h new file mode 100644 index 00000000000..9a5c1964b99 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromQueueRequest.h @@ -0,0 +1,171 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class DisassociateMemberFromQueueRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API DisassociateMemberFromQueueRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DisassociateMemberFromQueue"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID for the queue to disassociate from a member.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the queue to disassociate from a member.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the queue to disassociate from a member.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the queue to disassociate from a member.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the queue to disassociate from a member.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the queue to disassociate from a member.

+ */ + inline DisassociateMemberFromQueueRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the queue to disassociate from a member.

+ */ + inline DisassociateMemberFromQueueRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the queue to disassociate from a member.

+ */ + inline DisassociateMemberFromQueueRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

A member's principal ID to disassociate from a queue.

+ */ + inline const Aws::String& GetPrincipalId() const{ return m_principalId; } + + /** + *

A member's principal ID to disassociate from a queue.

+ */ + inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } + + /** + *

A member's principal ID to disassociate from a queue.

+ */ + inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } + + /** + *

A member's principal ID to disassociate from a queue.

+ */ + inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } + + /** + *

A member's principal ID to disassociate from a queue.

+ */ + inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } + + /** + *

A member's principal ID to disassociate from a queue.

+ */ + inline DisassociateMemberFromQueueRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} + + /** + *

A member's principal ID to disassociate from a queue.

+ */ + inline DisassociateMemberFromQueueRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} + + /** + *

A member's principal ID to disassociate from a queue.

+ */ + inline DisassociateMemberFromQueueRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} + + + /** + *

The queue ID of the queue in which you're disassociating from a member.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID of the queue in which you're disassociating from a member.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID of the queue in which you're disassociating from a member.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID of the queue in which you're disassociating from a member.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID of the queue in which you're disassociating from a member.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID of the queue in which you're disassociating from a member.

+ */ + inline DisassociateMemberFromQueueRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID of the queue in which you're disassociating from a member.

+ */ + inline DisassociateMemberFromQueueRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID of the queue in which you're disassociating from a member.

+ */ + inline DisassociateMemberFromQueueRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_principalId; + bool m_principalIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromQueueResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromQueueResult.h new file mode 100644 index 00000000000..891118bd81d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/DisassociateMemberFromQueueResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class DisassociateMemberFromQueueResult + { + public: + AWS_DEADLINE_API DisassociateMemberFromQueueResult(); + AWS_DEADLINE_API DisassociateMemberFromQueueResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API DisassociateMemberFromQueueResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DisassociateMemberFromQueueResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DisassociateMemberFromQueueResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DisassociateMemberFromQueueResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Ec2EbsVolume.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Ec2EbsVolume.h new file mode 100644 index 00000000000..67e2b019bed --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Ec2EbsVolume.h @@ -0,0 +1,114 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Specifies the EBS volume.

See Also:

AWS + * API Reference

+ */ + class Ec2EbsVolume + { + public: + AWS_DEADLINE_API Ec2EbsVolume(); + AWS_DEADLINE_API Ec2EbsVolume(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Ec2EbsVolume& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The IOPS per volume.

+ */ + inline int GetIops() const{ return m_iops; } + + /** + *

The IOPS per volume.

+ */ + inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; } + + /** + *

The IOPS per volume.

+ */ + inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; } + + /** + *

The IOPS per volume.

+ */ + inline Ec2EbsVolume& WithIops(int value) { SetIops(value); return *this;} + + + /** + *

The EBS volume size in GiB.

+ */ + inline int GetSizeGiB() const{ return m_sizeGiB; } + + /** + *

The EBS volume size in GiB.

+ */ + inline bool SizeGiBHasBeenSet() const { return m_sizeGiBHasBeenSet; } + + /** + *

The EBS volume size in GiB.

+ */ + inline void SetSizeGiB(int value) { m_sizeGiBHasBeenSet = true; m_sizeGiB = value; } + + /** + *

The EBS volume size in GiB.

+ */ + inline Ec2EbsVolume& WithSizeGiB(int value) { SetSizeGiB(value); return *this;} + + + /** + *

The throughput per volume in MiB.

+ */ + inline int GetThroughputMiB() const{ return m_throughputMiB; } + + /** + *

The throughput per volume in MiB.

+ */ + inline bool ThroughputMiBHasBeenSet() const { return m_throughputMiBHasBeenSet; } + + /** + *

The throughput per volume in MiB.

+ */ + inline void SetThroughputMiB(int value) { m_throughputMiBHasBeenSet = true; m_throughputMiB = value; } + + /** + *

The throughput per volume in MiB.

+ */ + inline Ec2EbsVolume& WithThroughputMiB(int value) { SetThroughputMiB(value); return *this;} + + private: + + int m_iops; + bool m_iopsHasBeenSet = false; + + int m_sizeGiB; + bool m_sizeGiBHasBeenSet = false; + + int m_throughputMiB; + bool m_throughputMiBHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Ec2MarketType.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Ec2MarketType.h new file mode 100644 index 00000000000..14857304990 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Ec2MarketType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class Ec2MarketType + { + NOT_SET, + on_demand, + spot + }; + +namespace Ec2MarketTypeMapper +{ +AWS_DEADLINE_API Ec2MarketType GetEc2MarketTypeForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForEc2MarketType(Ec2MarketType value); +} // namespace Ec2MarketTypeMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentDetailsEntity.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentDetailsEntity.h new file mode 100644 index 00000000000..bcbb6778df0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentDetailsEntity.h @@ -0,0 +1,211 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a specified environment.

See Also:

AWS + * API Reference

+ */ + class EnvironmentDetailsEntity + { + public: + AWS_DEADLINE_API EnvironmentDetailsEntity(); + AWS_DEADLINE_API EnvironmentDetailsEntity(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API EnvironmentDetailsEntity& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The environment ID.

+ */ + inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } + + /** + *

The environment ID.

+ */ + inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } + + /** + *

The environment ID.

+ */ + inline EnvironmentDetailsEntity& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} + + /** + *

The environment ID.

+ */ + inline EnvironmentDetailsEntity& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} + + /** + *

The environment ID.

+ */ + inline EnvironmentDetailsEntity& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline EnvironmentDetailsEntity& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline EnvironmentDetailsEntity& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline EnvironmentDetailsEntity& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The schema version in the environment.

+ */ + inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; } + + /** + *

The schema version in the environment.

+ */ + inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; } + + /** + *

The schema version in the environment.

+ */ + inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; } + + /** + *

The schema version in the environment.

+ */ + inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); } + + /** + *

The schema version in the environment.

+ */ + inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); } + + /** + *

The schema version in the environment.

+ */ + inline EnvironmentDetailsEntity& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;} + + /** + *

The schema version in the environment.

+ */ + inline EnvironmentDetailsEntity& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;} + + /** + *

The schema version in the environment.

+ */ + inline EnvironmentDetailsEntity& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;} + + + /** + *

The template used for the environment.

+ */ + inline Aws::Utils::DocumentView GetTemplate() const{ return m_template; } + + /** + *

The template used for the environment.

+ */ + inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } + + /** + *

The template used for the environment.

+ */ + inline void SetTemplate(const Aws::Utils::Document& value) { m_templateHasBeenSet = true; m_template = value; } + + /** + *

The template used for the environment.

+ */ + inline void SetTemplate(Aws::Utils::Document&& value) { m_templateHasBeenSet = true; m_template = std::move(value); } + + /** + *

The template used for the environment.

+ */ + inline EnvironmentDetailsEntity& WithTemplate(const Aws::Utils::Document& value) { SetTemplate(value); return *this;} + + /** + *

The template used for the environment.

+ */ + inline EnvironmentDetailsEntity& WithTemplate(Aws::Utils::Document&& value) { SetTemplate(std::move(value)); return *this;} + + private: + + Aws::String m_environmentId; + bool m_environmentIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_schemaVersion; + bool m_schemaVersionHasBeenSet = false; + + Aws::Utils::Document m_template; + bool m_templateHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentDetailsError.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentDetailsError.h new file mode 100644 index 00000000000..03b292d5d02 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentDetailsError.h @@ -0,0 +1,211 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The error details for the environment.

See Also:

AWS + * API Reference

+ */ + class EnvironmentDetailsError + { + public: + AWS_DEADLINE_API EnvironmentDetailsError(); + AWS_DEADLINE_API EnvironmentDetailsError(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API EnvironmentDetailsError& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The error code.

+ */ + inline const JobEntityErrorCode& GetCode() const{ return m_code; } + + /** + *

The error code.

+ */ + inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } + + /** + *

The error code.

+ */ + inline void SetCode(const JobEntityErrorCode& value) { m_codeHasBeenSet = true; m_code = value; } + + /** + *

The error code.

+ */ + inline void SetCode(JobEntityErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } + + /** + *

The error code.

+ */ + inline EnvironmentDetailsError& WithCode(const JobEntityErrorCode& value) { SetCode(value); return *this;} + + /** + *

The error code.

+ */ + inline EnvironmentDetailsError& WithCode(JobEntityErrorCode&& value) { SetCode(std::move(value)); return *this;} + + + /** + *

The environment ID.

+ */ + inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } + + /** + *

The environment ID.

+ */ + inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } + + /** + *

The environment ID.

+ */ + inline EnvironmentDetailsError& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} + + /** + *

The environment ID.

+ */ + inline EnvironmentDetailsError& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} + + /** + *

The environment ID.

+ */ + inline EnvironmentDetailsError& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline EnvironmentDetailsError& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline EnvironmentDetailsError& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline EnvironmentDetailsError& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The error message detailing the error's cause.

+ */ + inline const Aws::String& GetMessage() const{ return m_message; } + + /** + *

The error message detailing the error's cause.

+ */ + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + + /** + *

The error message detailing the error's cause.

+ */ + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + + /** + *

The error message detailing the error's cause.

+ */ + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + + /** + *

The error message detailing the error's cause.

+ */ + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + + /** + *

The error message detailing the error's cause.

+ */ + inline EnvironmentDetailsError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + + /** + *

The error message detailing the error's cause.

+ */ + inline EnvironmentDetailsError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + + /** + *

The error message detailing the error's cause.

+ */ + inline EnvironmentDetailsError& WithMessage(const char* value) { SetMessage(value); return *this;} + + private: + + JobEntityErrorCode m_code; + bool m_codeHasBeenSet = false; + + Aws::String m_environmentId; + bool m_environmentIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentDetailsIdentifiers.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentDetailsIdentifiers.h new file mode 100644 index 00000000000..0043dac805c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentDetailsIdentifiers.h @@ -0,0 +1,132 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The IDs of the job and environment.

See Also:

AWS + * API Reference

+ */ + class EnvironmentDetailsIdentifiers + { + public: + AWS_DEADLINE_API EnvironmentDetailsIdentifiers(); + AWS_DEADLINE_API EnvironmentDetailsIdentifiers(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API EnvironmentDetailsIdentifiers& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The environment ID.

+ */ + inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } + + /** + *

The environment ID.

+ */ + inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } + + /** + *

The environment ID.

+ */ + inline EnvironmentDetailsIdentifiers& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} + + /** + *

The environment ID.

+ */ + inline EnvironmentDetailsIdentifiers& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} + + /** + *

The environment ID.

+ */ + inline EnvironmentDetailsIdentifiers& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline EnvironmentDetailsIdentifiers& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline EnvironmentDetailsIdentifiers& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline EnvironmentDetailsIdentifiers& WithJobId(const char* value) { SetJobId(value); return *this;} + + private: + + Aws::String m_environmentId; + bool m_environmentIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentEnterSessionActionDefinition.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentEnterSessionActionDefinition.h new file mode 100644 index 00000000000..92cde76879b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentEnterSessionActionDefinition.h @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The environment ID to use to enter a session action.

See Also:

+ * AWS + * API Reference

+ */ + class EnvironmentEnterSessionActionDefinition + { + public: + AWS_DEADLINE_API EnvironmentEnterSessionActionDefinition(); + AWS_DEADLINE_API EnvironmentEnterSessionActionDefinition(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API EnvironmentEnterSessionActionDefinition& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The environment ID.

+ */ + inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } + + /** + *

The environment ID.

+ */ + inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } + + /** + *

The environment ID.

+ */ + inline EnvironmentEnterSessionActionDefinition& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} + + /** + *

The environment ID.

+ */ + inline EnvironmentEnterSessionActionDefinition& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} + + /** + *

The environment ID.

+ */ + inline EnvironmentEnterSessionActionDefinition& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} + + private: + + Aws::String m_environmentId; + bool m_environmentIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentEnterSessionActionDefinitionSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentEnterSessionActionDefinitionSummary.h new file mode 100644 index 00000000000..120ea307cdc --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentEnterSessionActionDefinitionSummary.h @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Defines the environment a session action enters in.

See Also:

+ * AWS + * API Reference

+ */ + class EnvironmentEnterSessionActionDefinitionSummary + { + public: + AWS_DEADLINE_API EnvironmentEnterSessionActionDefinitionSummary(); + AWS_DEADLINE_API EnvironmentEnterSessionActionDefinitionSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API EnvironmentEnterSessionActionDefinitionSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The environment ID.

+ */ + inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } + + /** + *

The environment ID.

+ */ + inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } + + /** + *

The environment ID.

+ */ + inline EnvironmentEnterSessionActionDefinitionSummary& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} + + /** + *

The environment ID.

+ */ + inline EnvironmentEnterSessionActionDefinitionSummary& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} + + /** + *

The environment ID.

+ */ + inline EnvironmentEnterSessionActionDefinitionSummary& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} + + private: + + Aws::String m_environmentId; + bool m_environmentIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentExitSessionActionDefinition.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentExitSessionActionDefinition.h new file mode 100644 index 00000000000..6145c7d88c0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentExitSessionActionDefinition.h @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Defines the environment a session action exits from.

See Also:

+ * AWS + * API Reference

+ */ + class EnvironmentExitSessionActionDefinition + { + public: + AWS_DEADLINE_API EnvironmentExitSessionActionDefinition(); + AWS_DEADLINE_API EnvironmentExitSessionActionDefinition(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API EnvironmentExitSessionActionDefinition& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The environment ID.

+ */ + inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } + + /** + *

The environment ID.

+ */ + inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } + + /** + *

The environment ID.

+ */ + inline EnvironmentExitSessionActionDefinition& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} + + /** + *

The environment ID.

+ */ + inline EnvironmentExitSessionActionDefinition& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} + + /** + *

The environment ID.

+ */ + inline EnvironmentExitSessionActionDefinition& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} + + private: + + Aws::String m_environmentId; + bool m_environmentIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentExitSessionActionDefinitionSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentExitSessionActionDefinitionSummary.h new file mode 100644 index 00000000000..2483486438f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentExitSessionActionDefinitionSummary.h @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

A summary of the environment details for which a session action to + * exits.

See Also:

AWS + * API Reference

+ */ + class EnvironmentExitSessionActionDefinitionSummary + { + public: + AWS_DEADLINE_API EnvironmentExitSessionActionDefinitionSummary(); + AWS_DEADLINE_API EnvironmentExitSessionActionDefinitionSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API EnvironmentExitSessionActionDefinitionSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The environment ID.

+ */ + inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } + + /** + *

The environment ID.

+ */ + inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } + + /** + *

The environment ID.

+ */ + inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } + + /** + *

The environment ID.

+ */ + inline EnvironmentExitSessionActionDefinitionSummary& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} + + /** + *

The environment ID.

+ */ + inline EnvironmentExitSessionActionDefinitionSummary& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} + + /** + *

The environment ID.

+ */ + inline EnvironmentExitSessionActionDefinitionSummary& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} + + private: + + Aws::String m_environmentId; + bool m_environmentIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentTemplateType.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentTemplateType.h new file mode 100644 index 00000000000..811018f68c3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/EnvironmentTemplateType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class EnvironmentTemplateType + { + NOT_SET, + JSON, + YAML + }; + +namespace EnvironmentTemplateTypeMapper +{ +AWS_DEADLINE_API EnvironmentTemplateType GetEnvironmentTemplateTypeForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForEnvironmentTemplateType(EnvironmentTemplateType value); +} // namespace EnvironmentTemplateTypeMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FarmMember.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FarmMember.h new file mode 100644 index 00000000000..089d221acd7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FarmMember.h @@ -0,0 +1,246 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The member of a farm.

See Also:

AWS + * API Reference

+ */ + class FarmMember + { + public: + AWS_DEADLINE_API FarmMember(); + AWS_DEADLINE_API FarmMember(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API FarmMember& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The farm ID of the farm member.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm member.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm member.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm member.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm member.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm member.

+ */ + inline FarmMember& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm member.

+ */ + inline FarmMember& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm member.

+ */ + inline FarmMember& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The identity store ID of the farm member.

+ */ + inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } + + /** + *

The identity store ID of the farm member.

+ */ + inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } + + /** + *

The identity store ID of the farm member.

+ */ + inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } + + /** + *

The identity store ID of the farm member.

+ */ + inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } + + /** + *

The identity store ID of the farm member.

+ */ + inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } + + /** + *

The identity store ID of the farm member.

+ */ + inline FarmMember& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} + + /** + *

The identity store ID of the farm member.

+ */ + inline FarmMember& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} + + /** + *

The identity store ID of the farm member.

+ */ + inline FarmMember& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} + + + /** + *

The farm member's membership level.

+ */ + inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } + + /** + *

The farm member's membership level.

+ */ + inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } + + /** + *

The farm member's membership level.

+ */ + inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } + + /** + *

The farm member's membership level.

+ */ + inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } + + /** + *

The farm member's membership level.

+ */ + inline FarmMember& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} + + /** + *

The farm member's membership level.

+ */ + inline FarmMember& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} + + + /** + *

The principal ID of the farm member.

+ */ + inline const Aws::String& GetPrincipalId() const{ return m_principalId; } + + /** + *

The principal ID of the farm member.

+ */ + inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } + + /** + *

The principal ID of the farm member.

+ */ + inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } + + /** + *

The principal ID of the farm member.

+ */ + inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } + + /** + *

The principal ID of the farm member.

+ */ + inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } + + /** + *

The principal ID of the farm member.

+ */ + inline FarmMember& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} + + /** + *

The principal ID of the farm member.

+ */ + inline FarmMember& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} + + /** + *

The principal ID of the farm member.

+ */ + inline FarmMember& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} + + + /** + *

The principal type of the farm member.

+ */ + inline const PrincipalType& GetPrincipalType() const{ return m_principalType; } + + /** + *

The principal type of the farm member.

+ */ + inline bool PrincipalTypeHasBeenSet() const { return m_principalTypeHasBeenSet; } + + /** + *

The principal type of the farm member.

+ */ + inline void SetPrincipalType(const PrincipalType& value) { m_principalTypeHasBeenSet = true; m_principalType = value; } + + /** + *

The principal type of the farm member.

+ */ + inline void SetPrincipalType(PrincipalType&& value) { m_principalTypeHasBeenSet = true; m_principalType = std::move(value); } + + /** + *

The principal type of the farm member.

+ */ + inline FarmMember& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;} + + /** + *

The principal type of the farm member.

+ */ + inline FarmMember& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_identityStoreId; + bool m_identityStoreIdHasBeenSet = false; + + MembershipLevel m_membershipLevel; + bool m_membershipLevelHasBeenSet = false; + + Aws::String m_principalId; + bool m_principalIdHasBeenSet = false; + + PrincipalType m_principalType; + bool m_principalTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FarmSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FarmSummary.h new file mode 100644 index 00000000000..c6193ad7701 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FarmSummary.h @@ -0,0 +1,333 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The summary of details for a farm.

See Also:

AWS + * API Reference

+ */ + class FarmSummary + { + public: + AWS_DEADLINE_API FarmSummary(); + AWS_DEADLINE_API FarmSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API FarmSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline FarmSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline FarmSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline FarmSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline FarmSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline FarmSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The display name of the farm.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the farm.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The display name of the farm.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The display name of the farm.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The display name of the farm.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The display name of the farm.

+ */ + inline FarmSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the farm.

+ */ + inline FarmSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the farm.

+ */ + inline FarmSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The farm ID.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID.

+ */ + inline FarmSummary& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID.

+ */ + inline FarmSummary& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID.

+ */ + inline FarmSummary& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The ARN for the KMS key.

+ */ + inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } + + /** + *

The ARN for the KMS key.

+ */ + inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } + + /** + *

The ARN for the KMS key.

+ */ + inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; } + + /** + *

The ARN for the KMS key.

+ */ + inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); } + + /** + *

The ARN for the KMS key.

+ */ + inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); } + + /** + *

The ARN for the KMS key.

+ */ + inline FarmSummary& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} + + /** + *

The ARN for the KMS key.

+ */ + inline FarmSummary& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} + + /** + *

The ARN for the KMS key.

+ */ + inline FarmSummary& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline FarmSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline FarmSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline FarmSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline FarmSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline FarmSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_kmsKeyArn; + bool m_kmsKeyArnHasBeenSet = false; + + Aws::Utils::DateTime m_updatedAt; + bool m_updatedAtHasBeenSet = false; + + Aws::String m_updatedBy; + bool m_updatedByHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FieldSortExpression.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FieldSortExpression.h new file mode 100644 index 00000000000..c7a6abc1f26 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FieldSortExpression.h @@ -0,0 +1,123 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The field sorting order and name of the field.

See Also:

AWS + * API Reference

+ */ + class FieldSortExpression + { + public: + AWS_DEADLINE_API FieldSortExpression(); + AWS_DEADLINE_API FieldSortExpression(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API FieldSortExpression& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The name of the field.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the field.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The name of the field.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the field.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The name of the field.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The name of the field.

+ */ + inline FieldSortExpression& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the field.

+ */ + inline FieldSortExpression& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The name of the field.

+ */ + inline FieldSortExpression& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The sort order for the field.

+ */ + inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } + + /** + *

The sort order for the field.

+ */ + inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } + + /** + *

The sort order for the field.

+ */ + inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } + + /** + *

The sort order for the field.

+ */ + inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } + + /** + *

The sort order for the field.

+ */ + inline FieldSortExpression& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} + + /** + *

The sort order for the field.

+ */ + inline FieldSortExpression& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} + + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + SortOrder m_sortOrder; + bool m_sortOrderHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FileSystemLocation.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FileSystemLocation.h new file mode 100644 index 00000000000..ed0a9562c7e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FileSystemLocation.h @@ -0,0 +1,168 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of the file system location for the resource.

See + * Also:

AWS + * API Reference

+ */ + class FileSystemLocation + { + public: + AWS_DEADLINE_API FileSystemLocation(); + AWS_DEADLINE_API FileSystemLocation(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API FileSystemLocation& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The location name.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The location name.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The location name.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The location name.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The location name.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The location name.

+ */ + inline FileSystemLocation& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The location name.

+ */ + inline FileSystemLocation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The location name.

+ */ + inline FileSystemLocation& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The file path.

+ */ + inline const Aws::String& GetPath() const{ return m_path; } + + /** + *

The file path.

+ */ + inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } + + /** + *

The file path.

+ */ + inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } + + /** + *

The file path.

+ */ + inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } + + /** + *

The file path.

+ */ + inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } + + /** + *

The file path.

+ */ + inline FileSystemLocation& WithPath(const Aws::String& value) { SetPath(value); return *this;} + + /** + *

The file path.

+ */ + inline FileSystemLocation& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} + + /** + *

The file path.

+ */ + inline FileSystemLocation& WithPath(const char* value) { SetPath(value); return *this;} + + + /** + *

The type of file.

+ */ + inline const FileSystemLocationType& GetType() const{ return m_type; } + + /** + *

The type of file.

+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *

The type of file.

+ */ + inline void SetType(const FileSystemLocationType& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *

The type of file.

+ */ + inline void SetType(FileSystemLocationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *

The type of file.

+ */ + inline FileSystemLocation& WithType(const FileSystemLocationType& value) { SetType(value); return *this;} + + /** + *

The type of file.

+ */ + inline FileSystemLocation& WithType(FileSystemLocationType&& value) { SetType(std::move(value)); return *this;} + + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_path; + bool m_pathHasBeenSet = false; + + FileSystemLocationType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FileSystemLocationType.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FileSystemLocationType.h new file mode 100644 index 00000000000..d19dfe8c7de --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FileSystemLocationType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class FileSystemLocationType + { + NOT_SET, + SHARED, + LOCAL + }; + +namespace FileSystemLocationTypeMapper +{ +AWS_DEADLINE_API FileSystemLocationType GetFileSystemLocationTypeForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForFileSystemLocationType(FileSystemLocationType value); +} // namespace FileSystemLocationTypeMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FixedBudgetSchedule.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FixedBudgetSchedule.h new file mode 100644 index 00000000000..1c913d44510 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FixedBudgetSchedule.h @@ -0,0 +1,112 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a fixed budget schedule.

See Also:

AWS + * API Reference

+ */ + class FixedBudgetSchedule + { + public: + AWS_DEADLINE_API FixedBudgetSchedule(); + AWS_DEADLINE_API FixedBudgetSchedule(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API FixedBudgetSchedule& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

When the budget ends.

+ */ + inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } + + /** + *

When the budget ends.

+ */ + inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } + + /** + *

When the budget ends.

+ */ + inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } + + /** + *

When the budget ends.

+ */ + inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } + + /** + *

When the budget ends.

+ */ + inline FixedBudgetSchedule& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} + + /** + *

When the budget ends.

+ */ + inline FixedBudgetSchedule& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} + + + /** + *

When the budget starts.

+ */ + inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } + + /** + *

When the budget starts.

+ */ + inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } + + /** + *

When the budget starts.

+ */ + inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } + + /** + *

When the budget starts.

+ */ + inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } + + /** + *

When the budget starts.

+ */ + inline FixedBudgetSchedule& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} + + /** + *

When the budget starts.

+ */ + inline FixedBudgetSchedule& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} + + private: + + Aws::Utils::DateTime m_endTime; + bool m_endTimeHasBeenSet = false; + + Aws::Utils::DateTime m_startTime; + bool m_startTimeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetAmountCapability.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetAmountCapability.h new file mode 100644 index 00000000000..7e2b1027f1f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetAmountCapability.h @@ -0,0 +1,136 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The fleet amount and attribute capabilities.

See Also:

AWS + * API Reference

+ */ + class FleetAmountCapability + { + public: + AWS_DEADLINE_API FleetAmountCapability(); + AWS_DEADLINE_API FleetAmountCapability(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API FleetAmountCapability& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The maximum amount of the fleet worker capability.

+ */ + inline double GetMax() const{ return m_max; } + + /** + *

The maximum amount of the fleet worker capability.

+ */ + inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } + + /** + *

The maximum amount of the fleet worker capability.

+ */ + inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; } + + /** + *

The maximum amount of the fleet worker capability.

+ */ + inline FleetAmountCapability& WithMax(double value) { SetMax(value); return *this;} + + + /** + *

The minimum amount of fleet worker capability.

+ */ + inline double GetMin() const{ return m_min; } + + /** + *

The minimum amount of fleet worker capability.

+ */ + inline bool MinHasBeenSet() const { return m_minHasBeenSet; } + + /** + *

The minimum amount of fleet worker capability.

+ */ + inline void SetMin(double value) { m_minHasBeenSet = true; m_min = value; } + + /** + *

The minimum amount of fleet worker capability.

+ */ + inline FleetAmountCapability& WithMin(double value) { SetMin(value); return *this;} + + + /** + *

The name of the fleet capability.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the fleet capability.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The name of the fleet capability.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the fleet capability.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The name of the fleet capability.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The name of the fleet capability.

+ */ + inline FleetAmountCapability& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the fleet capability.

+ */ + inline FleetAmountCapability& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The name of the fleet capability.

+ */ + inline FleetAmountCapability& WithName(const char* value) { SetName(value); return *this;} + + private: + + double m_max; + bool m_maxHasBeenSet = false; + + double m_min; + bool m_minHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetAttributeCapability.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetAttributeCapability.h new file mode 100644 index 00000000000..c5855d5f565 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetAttributeCapability.h @@ -0,0 +1,139 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Defines the fleet's capability name, minimum, and maximum.

See + * Also:

AWS + * API Reference

+ */ + class FleetAttributeCapability + { + public: + AWS_DEADLINE_API FleetAttributeCapability(); + AWS_DEADLINE_API FleetAttributeCapability(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API FleetAttributeCapability& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The name of the fleet attribute capability for the worker.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the fleet attribute capability for the worker.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The name of the fleet attribute capability for the worker.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the fleet attribute capability for the worker.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The name of the fleet attribute capability for the worker.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The name of the fleet attribute capability for the worker.

+ */ + inline FleetAttributeCapability& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the fleet attribute capability for the worker.

+ */ + inline FleetAttributeCapability& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The name of the fleet attribute capability for the worker.

+ */ + inline FleetAttributeCapability& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The number of fleet attribute capabilities.

+ */ + inline const Aws::Vector& GetValues() const{ return m_values; } + + /** + *

The number of fleet attribute capabilities.

+ */ + inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } + + /** + *

The number of fleet attribute capabilities.

+ */ + inline void SetValues(const Aws::Vector& value) { m_valuesHasBeenSet = true; m_values = value; } + + /** + *

The number of fleet attribute capabilities.

+ */ + inline void SetValues(Aws::Vector&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); } + + /** + *

The number of fleet attribute capabilities.

+ */ + inline FleetAttributeCapability& WithValues(const Aws::Vector& value) { SetValues(value); return *this;} + + /** + *

The number of fleet attribute capabilities.

+ */ + inline FleetAttributeCapability& WithValues(Aws::Vector&& value) { SetValues(std::move(value)); return *this;} + + /** + *

The number of fleet attribute capabilities.

+ */ + inline FleetAttributeCapability& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } + + /** + *

The number of fleet attribute capabilities.

+ */ + inline FleetAttributeCapability& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } + + /** + *

The number of fleet attribute capabilities.

+ */ + inline FleetAttributeCapability& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } + + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::Vector m_values; + bool m_valuesHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetCapabilities.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetCapabilities.h new file mode 100644 index 00000000000..bdfc62fa0a4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetCapabilities.h @@ -0,0 +1,134 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The amounts and attributes of fleets.

See Also:

AWS + * API Reference

+ */ + class FleetCapabilities + { + public: + AWS_DEADLINE_API FleetCapabilities(); + AWS_DEADLINE_API FleetCapabilities(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API FleetCapabilities& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

Amount capabilities of the fleet.

+ */ + inline const Aws::Vector& GetAmounts() const{ return m_amounts; } + + /** + *

Amount capabilities of the fleet.

+ */ + inline bool AmountsHasBeenSet() const { return m_amountsHasBeenSet; } + + /** + *

Amount capabilities of the fleet.

+ */ + inline void SetAmounts(const Aws::Vector& value) { m_amountsHasBeenSet = true; m_amounts = value; } + + /** + *

Amount capabilities of the fleet.

+ */ + inline void SetAmounts(Aws::Vector&& value) { m_amountsHasBeenSet = true; m_amounts = std::move(value); } + + /** + *

Amount capabilities of the fleet.

+ */ + inline FleetCapabilities& WithAmounts(const Aws::Vector& value) { SetAmounts(value); return *this;} + + /** + *

Amount capabilities of the fleet.

+ */ + inline FleetCapabilities& WithAmounts(Aws::Vector&& value) { SetAmounts(std::move(value)); return *this;} + + /** + *

Amount capabilities of the fleet.

+ */ + inline FleetCapabilities& AddAmounts(const FleetAmountCapability& value) { m_amountsHasBeenSet = true; m_amounts.push_back(value); return *this; } + + /** + *

Amount capabilities of the fleet.

+ */ + inline FleetCapabilities& AddAmounts(FleetAmountCapability&& value) { m_amountsHasBeenSet = true; m_amounts.push_back(std::move(value)); return *this; } + + + /** + *

Attribute capabilities of the fleet.

+ */ + inline const Aws::Vector& GetAttributes() const{ return m_attributes; } + + /** + *

Attribute capabilities of the fleet.

+ */ + inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } + + /** + *

Attribute capabilities of the fleet.

+ */ + inline void SetAttributes(const Aws::Vector& value) { m_attributesHasBeenSet = true; m_attributes = value; } + + /** + *

Attribute capabilities of the fleet.

+ */ + inline void SetAttributes(Aws::Vector&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } + + /** + *

Attribute capabilities of the fleet.

+ */ + inline FleetCapabilities& WithAttributes(const Aws::Vector& value) { SetAttributes(value); return *this;} + + /** + *

Attribute capabilities of the fleet.

+ */ + inline FleetCapabilities& WithAttributes(Aws::Vector&& value) { SetAttributes(std::move(value)); return *this;} + + /** + *

Attribute capabilities of the fleet.

+ */ + inline FleetCapabilities& AddAttributes(const FleetAttributeCapability& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; } + + /** + *

Attribute capabilities of the fleet.

+ */ + inline FleetCapabilities& AddAttributes(FleetAttributeCapability&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; } + + private: + + Aws::Vector m_amounts; + bool m_amountsHasBeenSet = false; + + Aws::Vector m_attributes; + bool m_attributesHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetConfiguration.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetConfiguration.h new file mode 100644 index 00000000000..bcb72a515d6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetConfiguration.h @@ -0,0 +1,113 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Fleet configuration details.

See Also:

AWS + * API Reference

+ */ + class FleetConfiguration + { + public: + AWS_DEADLINE_API FleetConfiguration(); + AWS_DEADLINE_API FleetConfiguration(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API FleetConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The customer managed fleets within a fleet configuration.

+ */ + inline const CustomerManagedFleetConfiguration& GetCustomerManaged() const{ return m_customerManaged; } + + /** + *

The customer managed fleets within a fleet configuration.

+ */ + inline bool CustomerManagedHasBeenSet() const { return m_customerManagedHasBeenSet; } + + /** + *

The customer managed fleets within a fleet configuration.

+ */ + inline void SetCustomerManaged(const CustomerManagedFleetConfiguration& value) { m_customerManagedHasBeenSet = true; m_customerManaged = value; } + + /** + *

The customer managed fleets within a fleet configuration.

+ */ + inline void SetCustomerManaged(CustomerManagedFleetConfiguration&& value) { m_customerManagedHasBeenSet = true; m_customerManaged = std::move(value); } + + /** + *

The customer managed fleets within a fleet configuration.

+ */ + inline FleetConfiguration& WithCustomerManaged(const CustomerManagedFleetConfiguration& value) { SetCustomerManaged(value); return *this;} + + /** + *

The customer managed fleets within a fleet configuration.

+ */ + inline FleetConfiguration& WithCustomerManaged(CustomerManagedFleetConfiguration&& value) { SetCustomerManaged(std::move(value)); return *this;} + + + /** + *

The service managed Amazon EC2 instances for a fleet configuration.

+ */ + inline const ServiceManagedEc2FleetConfiguration& GetServiceManagedEc2() const{ return m_serviceManagedEc2; } + + /** + *

The service managed Amazon EC2 instances for a fleet configuration.

+ */ + inline bool ServiceManagedEc2HasBeenSet() const { return m_serviceManagedEc2HasBeenSet; } + + /** + *

The service managed Amazon EC2 instances for a fleet configuration.

+ */ + inline void SetServiceManagedEc2(const ServiceManagedEc2FleetConfiguration& value) { m_serviceManagedEc2HasBeenSet = true; m_serviceManagedEc2 = value; } + + /** + *

The service managed Amazon EC2 instances for a fleet configuration.

+ */ + inline void SetServiceManagedEc2(ServiceManagedEc2FleetConfiguration&& value) { m_serviceManagedEc2HasBeenSet = true; m_serviceManagedEc2 = std::move(value); } + + /** + *

The service managed Amazon EC2 instances for a fleet configuration.

+ */ + inline FleetConfiguration& WithServiceManagedEc2(const ServiceManagedEc2FleetConfiguration& value) { SetServiceManagedEc2(value); return *this;} + + /** + *

The service managed Amazon EC2 instances for a fleet configuration.

+ */ + inline FleetConfiguration& WithServiceManagedEc2(ServiceManagedEc2FleetConfiguration&& value) { SetServiceManagedEc2(std::move(value)); return *this;} + + private: + + CustomerManagedFleetConfiguration m_customerManaged; + bool m_customerManagedHasBeenSet = false; + + ServiceManagedEc2FleetConfiguration m_serviceManagedEc2; + bool m_serviceManagedEc2HasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetMember.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetMember.h new file mode 100644 index 00000000000..faf034a1078 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetMember.h @@ -0,0 +1,290 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The fleet member.

See Also:

AWS + * API Reference

+ */ + class FleetMember + { + public: + AWS_DEADLINE_API FleetMember(); + AWS_DEADLINE_API FleetMember(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API FleetMember& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The farm ID.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID.

+ */ + inline FleetMember& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID.

+ */ + inline FleetMember& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID.

+ */ + inline FleetMember& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID.

+ */ + inline FleetMember& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID.

+ */ + inline FleetMember& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID.

+ */ + inline FleetMember& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The identity store ID.

+ */ + inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } + + /** + *

The identity store ID.

+ */ + inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } + + /** + *

The identity store ID.

+ */ + inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } + + /** + *

The identity store ID.

+ */ + inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } + + /** + *

The identity store ID.

+ */ + inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } + + /** + *

The identity store ID.

+ */ + inline FleetMember& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} + + /** + *

The identity store ID.

+ */ + inline FleetMember& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} + + /** + *

The identity store ID.

+ */ + inline FleetMember& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} + + + /** + *

The fleet member's membership level.

+ */ + inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } + + /** + *

The fleet member's membership level.

+ */ + inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } + + /** + *

The fleet member's membership level.

+ */ + inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } + + /** + *

The fleet member's membership level.

+ */ + inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } + + /** + *

The fleet member's membership level.

+ */ + inline FleetMember& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} + + /** + *

The fleet member's membership level.

+ */ + inline FleetMember& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} + + + /** + *

The principal ID of the fleet member.

+ */ + inline const Aws::String& GetPrincipalId() const{ return m_principalId; } + + /** + *

The principal ID of the fleet member.

+ */ + inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } + + /** + *

The principal ID of the fleet member.

+ */ + inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } + + /** + *

The principal ID of the fleet member.

+ */ + inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } + + /** + *

The principal ID of the fleet member.

+ */ + inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } + + /** + *

The principal ID of the fleet member.

+ */ + inline FleetMember& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} + + /** + *

The principal ID of the fleet member.

+ */ + inline FleetMember& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} + + /** + *

The principal ID of the fleet member.

+ */ + inline FleetMember& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} + + + /** + *

The principal type of the fleet member.

+ */ + inline const PrincipalType& GetPrincipalType() const{ return m_principalType; } + + /** + *

The principal type of the fleet member.

+ */ + inline bool PrincipalTypeHasBeenSet() const { return m_principalTypeHasBeenSet; } + + /** + *

The principal type of the fleet member.

+ */ + inline void SetPrincipalType(const PrincipalType& value) { m_principalTypeHasBeenSet = true; m_principalType = value; } + + /** + *

The principal type of the fleet member.

+ */ + inline void SetPrincipalType(PrincipalType&& value) { m_principalTypeHasBeenSet = true; m_principalType = std::move(value); } + + /** + *

The principal type of the fleet member.

+ */ + inline FleetMember& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;} + + /** + *

The principal type of the fleet member.

+ */ + inline FleetMember& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + Aws::String m_identityStoreId; + bool m_identityStoreIdHasBeenSet = false; + + MembershipLevel m_membershipLevel; + bool m_membershipLevelHasBeenSet = false; + + Aws::String m_principalId; + bool m_principalIdHasBeenSet = false; + + PrincipalType m_principalType; + bool m_principalTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetStatus.h new file mode 100644 index 00000000000..051b4d67e01 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetStatus.h @@ -0,0 +1,34 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class FleetStatus + { + NOT_SET, + ACTIVE, + CREATE_IN_PROGRESS, + UPDATE_IN_PROGRESS, + CREATE_FAILED, + UPDATE_FAILED + }; + +namespace FleetStatusMapper +{ +AWS_DEADLINE_API FleetStatus GetFleetStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForFleetStatus(FleetStatus value); +} // namespace FleetStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetSummary.h new file mode 100644 index 00000000000..d9a6b8f43cf --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/FleetSummary.h @@ -0,0 +1,534 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a fleet.

See Also:

AWS + * API Reference

+ */ + class FleetSummary + { + public: + AWS_DEADLINE_API FleetSummary(); + AWS_DEADLINE_API FleetSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API FleetSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The Auto Scaling status of a fleet.

+ */ + inline const AutoScalingStatus& GetAutoScalingStatus() const{ return m_autoScalingStatus; } + + /** + *

The Auto Scaling status of a fleet.

+ */ + inline bool AutoScalingStatusHasBeenSet() const { return m_autoScalingStatusHasBeenSet; } + + /** + *

The Auto Scaling status of a fleet.

+ */ + inline void SetAutoScalingStatus(const AutoScalingStatus& value) { m_autoScalingStatusHasBeenSet = true; m_autoScalingStatus = value; } + + /** + *

The Auto Scaling status of a fleet.

+ */ + inline void SetAutoScalingStatus(AutoScalingStatus&& value) { m_autoScalingStatusHasBeenSet = true; m_autoScalingStatus = std::move(value); } + + /** + *

The Auto Scaling status of a fleet.

+ */ + inline FleetSummary& WithAutoScalingStatus(const AutoScalingStatus& value) { SetAutoScalingStatus(value); return *this;} + + /** + *

The Auto Scaling status of a fleet.

+ */ + inline FleetSummary& WithAutoScalingStatus(AutoScalingStatus&& value) { SetAutoScalingStatus(std::move(value)); return *this;} + + + /** + *

The configuration details for the fleet.

+ */ + inline const FleetConfiguration& GetConfiguration() const{ return m_configuration; } + + /** + *

The configuration details for the fleet.

+ */ + inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } + + /** + *

The configuration details for the fleet.

+ */ + inline void SetConfiguration(const FleetConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } + + /** + *

The configuration details for the fleet.

+ */ + inline void SetConfiguration(FleetConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } + + /** + *

The configuration details for the fleet.

+ */ + inline FleetSummary& WithConfiguration(const FleetConfiguration& value) { SetConfiguration(value); return *this;} + + /** + *

The configuration details for the fleet.

+ */ + inline FleetSummary& WithConfiguration(FleetConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline FleetSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline FleetSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline FleetSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline FleetSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline FleetSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The display name of the fleet summary to update.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the fleet summary to update.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The display name of the fleet summary to update.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The display name of the fleet summary to update.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The display name of the fleet summary to update.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The display name of the fleet summary to update.

+ */ + inline FleetSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the fleet summary to update.

+ */ + inline FleetSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the fleet summary to update.

+ */ + inline FleetSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The farm ID.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID.

+ */ + inline FleetSummary& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID.

+ */ + inline FleetSummary& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID.

+ */ + inline FleetSummary& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID.

+ */ + inline FleetSummary& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID.

+ */ + inline FleetSummary& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID.

+ */ + inline FleetSummary& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The maximum number of workers specified in the fleet.

+ */ + inline int GetMaxWorkerCount() const{ return m_maxWorkerCount; } + + /** + *

The maximum number of workers specified in the fleet.

+ */ + inline bool MaxWorkerCountHasBeenSet() const { return m_maxWorkerCountHasBeenSet; } + + /** + *

The maximum number of workers specified in the fleet.

+ */ + inline void SetMaxWorkerCount(int value) { m_maxWorkerCountHasBeenSet = true; m_maxWorkerCount = value; } + + /** + *

The maximum number of workers specified in the fleet.

+ */ + inline FleetSummary& WithMaxWorkerCount(int value) { SetMaxWorkerCount(value); return *this;} + + + /** + *

The minimum number of workers in the fleet.

+ */ + inline int GetMinWorkerCount() const{ return m_minWorkerCount; } + + /** + *

The minimum number of workers in the fleet.

+ */ + inline bool MinWorkerCountHasBeenSet() const { return m_minWorkerCountHasBeenSet; } + + /** + *

The minimum number of workers in the fleet.

+ */ + inline void SetMinWorkerCount(int value) { m_minWorkerCountHasBeenSet = true; m_minWorkerCount = value; } + + /** + *

The minimum number of workers in the fleet.

+ */ + inline FleetSummary& WithMinWorkerCount(int value) { SetMinWorkerCount(value); return *this;} + + + /** + *

The status of the fleet.

+ */ + inline const FleetStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the fleet.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The status of the fleet.

+ */ + inline void SetStatus(const FleetStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The status of the fleet.

+ */ + inline void SetStatus(FleetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The status of the fleet.

+ */ + inline FleetSummary& WithStatus(const FleetStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the fleet.

+ */ + inline FleetSummary& WithStatus(FleetStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The target number of workers in a fleet.

+ */ + inline int GetTargetWorkerCount() const{ return m_targetWorkerCount; } + + /** + *

The target number of workers in a fleet.

+ */ + inline bool TargetWorkerCountHasBeenSet() const { return m_targetWorkerCountHasBeenSet; } + + /** + *

The target number of workers in a fleet.

+ */ + inline void SetTargetWorkerCount(int value) { m_targetWorkerCountHasBeenSet = true; m_targetWorkerCount = value; } + + /** + *

The target number of workers in a fleet.

+ */ + inline FleetSummary& WithTargetWorkerCount(int value) { SetTargetWorkerCount(value); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline FleetSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline FleetSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline FleetSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline FleetSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline FleetSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + /** + *

The number of workers in the fleet summary.

+ */ + inline int GetWorkerCount() const{ return m_workerCount; } + + /** + *

The number of workers in the fleet summary.

+ */ + inline bool WorkerCountHasBeenSet() const { return m_workerCountHasBeenSet; } + + /** + *

The number of workers in the fleet summary.

+ */ + inline void SetWorkerCount(int value) { m_workerCountHasBeenSet = true; m_workerCount = value; } + + /** + *

The number of workers in the fleet summary.

+ */ + inline FleetSummary& WithWorkerCount(int value) { SetWorkerCount(value); return *this;} + + private: + + AutoScalingStatus m_autoScalingStatus; + bool m_autoScalingStatusHasBeenSet = false; + + FleetConfiguration m_configuration; + bool m_configurationHasBeenSet = false; + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + int m_maxWorkerCount; + bool m_maxWorkerCountHasBeenSet = false; + + int m_minWorkerCount; + bool m_minWorkerCountHasBeenSet = false; + + FleetStatus m_status; + bool m_statusHasBeenSet = false; + + int m_targetWorkerCount; + bool m_targetWorkerCountHasBeenSet = false; + + Aws::Utils::DateTime m_updatedAt; + bool m_updatedAtHasBeenSet = false; + + Aws::String m_updatedBy; + bool m_updatedByHasBeenSet = false; + + int m_workerCount; + bool m_workerCountHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetBudgetRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetBudgetRequest.h new file mode 100644 index 00000000000..9c65629441b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetBudgetRequest.h @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class GetBudgetRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API GetBudgetRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetBudget"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The budget ID.

+ */ + inline const Aws::String& GetBudgetId() const{ return m_budgetId; } + + /** + *

The budget ID.

+ */ + inline bool BudgetIdHasBeenSet() const { return m_budgetIdHasBeenSet; } + + /** + *

The budget ID.

+ */ + inline void SetBudgetId(const Aws::String& value) { m_budgetIdHasBeenSet = true; m_budgetId = value; } + + /** + *

The budget ID.

+ */ + inline void SetBudgetId(Aws::String&& value) { m_budgetIdHasBeenSet = true; m_budgetId = std::move(value); } + + /** + *

The budget ID.

+ */ + inline void SetBudgetId(const char* value) { m_budgetIdHasBeenSet = true; m_budgetId.assign(value); } + + /** + *

The budget ID.

+ */ + inline GetBudgetRequest& WithBudgetId(const Aws::String& value) { SetBudgetId(value); return *this;} + + /** + *

The budget ID.

+ */ + inline GetBudgetRequest& WithBudgetId(Aws::String&& value) { SetBudgetId(std::move(value)); return *this;} + + /** + *

The budget ID.

+ */ + inline GetBudgetRequest& WithBudgetId(const char* value) { SetBudgetId(value); return *this;} + + + /** + *

The farm ID of the farm connected to the budget.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm connected to the budget.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm connected to the budget.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm connected to the budget.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm connected to the budget.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm connected to the budget.

+ */ + inline GetBudgetRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm connected to the budget.

+ */ + inline GetBudgetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm connected to the budget.

+ */ + inline GetBudgetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + private: + + Aws::String m_budgetId; + bool m_budgetIdHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetBudgetResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetBudgetResult.h new file mode 100644 index 00000000000..ddb2c3fdc49 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetBudgetResult.h @@ -0,0 +1,522 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class GetBudgetResult + { + public: + AWS_DEADLINE_API GetBudgetResult(); + AWS_DEADLINE_API GetBudgetResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API GetBudgetResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The budget actions for the budget.

+ */ + inline const Aws::Vector& GetActions() const{ return m_actions; } + + /** + *

The budget actions for the budget.

+ */ + inline void SetActions(const Aws::Vector& value) { m_actions = value; } + + /** + *

The budget actions for the budget.

+ */ + inline void SetActions(Aws::Vector&& value) { m_actions = std::move(value); } + + /** + *

The budget actions for the budget.

+ */ + inline GetBudgetResult& WithActions(const Aws::Vector& value) { SetActions(value); return *this;} + + /** + *

The budget actions for the budget.

+ */ + inline GetBudgetResult& WithActions(Aws::Vector&& value) { SetActions(std::move(value)); return *this;} + + /** + *

The budget actions for the budget.

+ */ + inline GetBudgetResult& AddActions(const ResponseBudgetAction& value) { m_actions.push_back(value); return *this; } + + /** + *

The budget actions for the budget.

+ */ + inline GetBudgetResult& AddActions(ResponseBudgetAction&& value) { m_actions.push_back(std::move(value)); return *this; } + + + /** + *

The consumed usage limit for the budget.

+ */ + inline double GetApproximateDollarLimit() const{ return m_approximateDollarLimit; } + + /** + *

The consumed usage limit for the budget.

+ */ + inline void SetApproximateDollarLimit(double value) { m_approximateDollarLimit = value; } + + /** + *

The consumed usage limit for the budget.

+ */ + inline GetBudgetResult& WithApproximateDollarLimit(double value) { SetApproximateDollarLimit(value); return *this;} + + + /** + *

The budget ID.

+ */ + inline const Aws::String& GetBudgetId() const{ return m_budgetId; } + + /** + *

The budget ID.

+ */ + inline void SetBudgetId(const Aws::String& value) { m_budgetId = value; } + + /** + *

The budget ID.

+ */ + inline void SetBudgetId(Aws::String&& value) { m_budgetId = std::move(value); } + + /** + *

The budget ID.

+ */ + inline void SetBudgetId(const char* value) { m_budgetId.assign(value); } + + /** + *

The budget ID.

+ */ + inline GetBudgetResult& WithBudgetId(const Aws::String& value) { SetBudgetId(value); return *this;} + + /** + *

The budget ID.

+ */ + inline GetBudgetResult& WithBudgetId(Aws::String&& value) { SetBudgetId(std::move(value)); return *this;} + + /** + *

The budget ID.

+ */ + inline GetBudgetResult& WithBudgetId(const char* value) { SetBudgetId(value); return *this;} + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline GetBudgetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline GetBudgetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline GetBudgetResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetBudgetResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetBudgetResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The description of the budget.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

The description of the budget.

+ */ + inline void SetDescription(const Aws::String& value) { m_description = value; } + + /** + *

The description of the budget.

+ */ + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + + /** + *

The description of the budget.

+ */ + inline void SetDescription(const char* value) { m_description.assign(value); } + + /** + *

The description of the budget.

+ */ + inline GetBudgetResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

The description of the budget.

+ */ + inline GetBudgetResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

The description of the budget.

+ */ + inline GetBudgetResult& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

The display name of the budget.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the budget.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } + + /** + *

The display name of the budget.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } + + /** + *

The display name of the budget.

+ */ + inline void SetDisplayName(const char* value) { m_displayName.assign(value); } + + /** + *

The display name of the budget.

+ */ + inline GetBudgetResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the budget.

+ */ + inline GetBudgetResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the budget.

+ */ + inline GetBudgetResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The date and time the queue stopped.

+ */ + inline const Aws::Utils::DateTime& GetQueueStoppedAt() const{ return m_queueStoppedAt; } + + /** + *

The date and time the queue stopped.

+ */ + inline void SetQueueStoppedAt(const Aws::Utils::DateTime& value) { m_queueStoppedAt = value; } + + /** + *

The date and time the queue stopped.

+ */ + inline void SetQueueStoppedAt(Aws::Utils::DateTime&& value) { m_queueStoppedAt = std::move(value); } + + /** + *

The date and time the queue stopped.

+ */ + inline GetBudgetResult& WithQueueStoppedAt(const Aws::Utils::DateTime& value) { SetQueueStoppedAt(value); return *this;} + + /** + *

The date and time the queue stopped.

+ */ + inline GetBudgetResult& WithQueueStoppedAt(Aws::Utils::DateTime&& value) { SetQueueStoppedAt(std::move(value)); return *this;} + + + /** + *

The budget schedule.

+ */ + inline const BudgetSchedule& GetSchedule() const{ return m_schedule; } + + /** + *

The budget schedule.

+ */ + inline void SetSchedule(const BudgetSchedule& value) { m_schedule = value; } + + /** + *

The budget schedule.

+ */ + inline void SetSchedule(BudgetSchedule&& value) { m_schedule = std::move(value); } + + /** + *

The budget schedule.

+ */ + inline GetBudgetResult& WithSchedule(const BudgetSchedule& value) { SetSchedule(value); return *this;} + + /** + *

The budget schedule.

+ */ + inline GetBudgetResult& WithSchedule(BudgetSchedule&& value) { SetSchedule(std::move(value)); return *this;} + + + /** + *

The status of the budget.

  • ACTIVE–Get a budget + * being evaluated.

  • INACTIVE–Get an inactive + * budget. This can include expired, canceled, or deleted statuses.

+ */ + inline const BudgetStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the budget.

  • ACTIVE–Get a budget + * being evaluated.

  • INACTIVE–Get an inactive + * budget. This can include expired, canceled, or deleted statuses.

+ */ + inline void SetStatus(const BudgetStatus& value) { m_status = value; } + + /** + *

The status of the budget.

  • ACTIVE–Get a budget + * being evaluated.

  • INACTIVE–Get an inactive + * budget. This can include expired, canceled, or deleted statuses.

+ */ + inline void SetStatus(BudgetStatus&& value) { m_status = std::move(value); } + + /** + *

The status of the budget.

  • ACTIVE–Get a budget + * being evaluated.

  • INACTIVE–Get an inactive + * budget. This can include expired, canceled, or deleted statuses.

+ */ + inline GetBudgetResult& WithStatus(const BudgetStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the budget.

  • ACTIVE–Get a budget + * being evaluated.

  • INACTIVE–Get an inactive + * budget. This can include expired, canceled, or deleted statuses.

+ */ + inline GetBudgetResult& WithStatus(BudgetStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline GetBudgetResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline GetBudgetResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline GetBudgetResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetBudgetResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetBudgetResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + /** + *

The resource that the budget is tracking usage for.

+ */ + inline const UsageTrackingResource& GetUsageTrackingResource() const{ return m_usageTrackingResource; } + + /** + *

The resource that the budget is tracking usage for.

+ */ + inline void SetUsageTrackingResource(const UsageTrackingResource& value) { m_usageTrackingResource = value; } + + /** + *

The resource that the budget is tracking usage for.

+ */ + inline void SetUsageTrackingResource(UsageTrackingResource&& value) { m_usageTrackingResource = std::move(value); } + + /** + *

The resource that the budget is tracking usage for.

+ */ + inline GetBudgetResult& WithUsageTrackingResource(const UsageTrackingResource& value) { SetUsageTrackingResource(value); return *this;} + + /** + *

The resource that the budget is tracking usage for.

+ */ + inline GetBudgetResult& WithUsageTrackingResource(UsageTrackingResource&& value) { SetUsageTrackingResource(std::move(value)); return *this;} + + + /** + *

The usages of the budget.

+ */ + inline const ConsumedUsages& GetUsages() const{ return m_usages; } + + /** + *

The usages of the budget.

+ */ + inline void SetUsages(const ConsumedUsages& value) { m_usages = value; } + + /** + *

The usages of the budget.

+ */ + inline void SetUsages(ConsumedUsages&& value) { m_usages = std::move(value); } + + /** + *

The usages of the budget.

+ */ + inline GetBudgetResult& WithUsages(const ConsumedUsages& value) { SetUsages(value); return *this;} + + /** + *

The usages of the budget.

+ */ + inline GetBudgetResult& WithUsages(ConsumedUsages&& value) { SetUsages(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetBudgetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetBudgetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetBudgetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_actions; + + double m_approximateDollarLimit; + + Aws::String m_budgetId; + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_description; + + Aws::String m_displayName; + + Aws::Utils::DateTime m_queueStoppedAt; + + BudgetSchedule m_schedule; + + BudgetStatus m_status; + + Aws::Utils::DateTime m_updatedAt; + + Aws::String m_updatedBy; + + UsageTrackingResource m_usageTrackingResource; + + ConsumedUsages m_usages; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetFarmRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetFarmRequest.h new file mode 100644 index 00000000000..8da22a5593a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetFarmRequest.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class GetFarmRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API GetFarmRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetFarm"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the farm.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm.

+ */ + inline GetFarmRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm.

+ */ + inline GetFarmRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm.

+ */ + inline GetFarmRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetFarmResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetFarmResult.h new file mode 100644 index 00000000000..95901a58910 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetFarmResult.h @@ -0,0 +1,348 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class GetFarmResult + { + public: + AWS_DEADLINE_API GetFarmResult(); + AWS_DEADLINE_API GetFarmResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API GetFarmResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline GetFarmResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline GetFarmResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline GetFarmResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetFarmResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetFarmResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The description of the farm.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

The description of the farm.

+ */ + inline void SetDescription(const Aws::String& value) { m_description = value; } + + /** + *

The description of the farm.

+ */ + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + + /** + *

The description of the farm.

+ */ + inline void SetDescription(const char* value) { m_description.assign(value); } + + /** + *

The description of the farm.

+ */ + inline GetFarmResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

The description of the farm.

+ */ + inline GetFarmResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

The description of the farm.

+ */ + inline GetFarmResult& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

The display name of the farm.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the farm.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } + + /** + *

The display name of the farm.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } + + /** + *

The display name of the farm.

+ */ + inline void SetDisplayName(const char* value) { m_displayName.assign(value); } + + /** + *

The display name of the farm.

+ */ + inline GetFarmResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the farm.

+ */ + inline GetFarmResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the farm.

+ */ + inline GetFarmResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The farm ID of the farm to get.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm to get.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmId = value; } + + /** + *

The farm ID of the farm to get.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmId = std::move(value); } + + /** + *

The farm ID of the farm to get.

+ */ + inline void SetFarmId(const char* value) { m_farmId.assign(value); } + + /** + *

The farm ID of the farm to get.

+ */ + inline GetFarmResult& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm to get.

+ */ + inline GetFarmResult& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm to get.

+ */ + inline GetFarmResult& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The ARN of the KMS key used on the farm.

+ */ + inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } + + /** + *

The ARN of the KMS key used on the farm.

+ */ + inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArn = value; } + + /** + *

The ARN of the KMS key used on the farm.

+ */ + inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArn = std::move(value); } + + /** + *

The ARN of the KMS key used on the farm.

+ */ + inline void SetKmsKeyArn(const char* value) { m_kmsKeyArn.assign(value); } + + /** + *

The ARN of the KMS key used on the farm.

+ */ + inline GetFarmResult& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} + + /** + *

The ARN of the KMS key used on the farm.

+ */ + inline GetFarmResult& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} + + /** + *

The ARN of the KMS key used on the farm.

+ */ + inline GetFarmResult& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline GetFarmResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline GetFarmResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline GetFarmResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetFarmResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetFarmResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetFarmResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetFarmResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetFarmResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_description; + + Aws::String m_displayName; + + Aws::String m_farmId; + + Aws::String m_kmsKeyArn; + + Aws::Utils::DateTime m_updatedAt; + + Aws::String m_updatedBy; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetFleetRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetFleetRequest.h new file mode 100644 index 00000000000..322779511c8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetFleetRequest.h @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class GetFleetRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API GetFleetRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetFleet"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the farm in the fleet.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm in the fleet.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm in the fleet.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm in the fleet.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm in the fleet.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm in the fleet.

+ */ + inline GetFleetRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm in the fleet.

+ */ + inline GetFleetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm in the fleet.

+ */ + inline GetFleetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID of the fleet to get.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID of the fleet to get.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID of the fleet to get.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID of the fleet to get.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID of the fleet to get.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID of the fleet to get.

+ */ + inline GetFleetRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID of the fleet to get.

+ */ + inline GetFleetRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID of the fleet to get.

+ */ + inline GetFleetRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetFleetResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetFleetResult.h new file mode 100644 index 00000000000..719e6f0da16 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetFleetResult.h @@ -0,0 +1,584 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class GetFleetResult + { + public: + AWS_DEADLINE_API GetFleetResult(); + AWS_DEADLINE_API GetFleetResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API GetFleetResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The Auto Scaling status of the fleet. Either GROWING, + * STEADY, or SHRINKING.

+ */ + inline const AutoScalingStatus& GetAutoScalingStatus() const{ return m_autoScalingStatus; } + + /** + *

The Auto Scaling status of the fleet. Either GROWING, + * STEADY, or SHRINKING.

+ */ + inline void SetAutoScalingStatus(const AutoScalingStatus& value) { m_autoScalingStatus = value; } + + /** + *

The Auto Scaling status of the fleet. Either GROWING, + * STEADY, or SHRINKING.

+ */ + inline void SetAutoScalingStatus(AutoScalingStatus&& value) { m_autoScalingStatus = std::move(value); } + + /** + *

The Auto Scaling status of the fleet. Either GROWING, + * STEADY, or SHRINKING.

+ */ + inline GetFleetResult& WithAutoScalingStatus(const AutoScalingStatus& value) { SetAutoScalingStatus(value); return *this;} + + /** + *

The Auto Scaling status of the fleet. Either GROWING, + * STEADY, or SHRINKING.

+ */ + inline GetFleetResult& WithAutoScalingStatus(AutoScalingStatus&& value) { SetAutoScalingStatus(std::move(value)); return *this;} + + + /** + *

Outlines what the fleet is capable of for minimums, maximums, and naming, in + * addition to attribute names and values.

+ */ + inline const FleetCapabilities& GetCapabilities() const{ return m_capabilities; } + + /** + *

Outlines what the fleet is capable of for minimums, maximums, and naming, in + * addition to attribute names and values.

+ */ + inline void SetCapabilities(const FleetCapabilities& value) { m_capabilities = value; } + + /** + *

Outlines what the fleet is capable of for minimums, maximums, and naming, in + * addition to attribute names and values.

+ */ + inline void SetCapabilities(FleetCapabilities&& value) { m_capabilities = std::move(value); } + + /** + *

Outlines what the fleet is capable of for minimums, maximums, and naming, in + * addition to attribute names and values.

+ */ + inline GetFleetResult& WithCapabilities(const FleetCapabilities& value) { SetCapabilities(value); return *this;} + + /** + *

Outlines what the fleet is capable of for minimums, maximums, and naming, in + * addition to attribute names and values.

+ */ + inline GetFleetResult& WithCapabilities(FleetCapabilities&& value) { SetCapabilities(std::move(value)); return *this;} + + + /** + *

The configuration setting for the fleet.

+ */ + inline const FleetConfiguration& GetConfiguration() const{ return m_configuration; } + + /** + *

The configuration setting for the fleet.

+ */ + inline void SetConfiguration(const FleetConfiguration& value) { m_configuration = value; } + + /** + *

The configuration setting for the fleet.

+ */ + inline void SetConfiguration(FleetConfiguration&& value) { m_configuration = std::move(value); } + + /** + *

The configuration setting for the fleet.

+ */ + inline GetFleetResult& WithConfiguration(const FleetConfiguration& value) { SetConfiguration(value); return *this;} + + /** + *

The configuration setting for the fleet.

+ */ + inline GetFleetResult& WithConfiguration(FleetConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline GetFleetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline GetFleetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline GetFleetResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetFleetResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetFleetResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The description of the fleet.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

The description of the fleet.

+ */ + inline void SetDescription(const Aws::String& value) { m_description = value; } + + /** + *

The description of the fleet.

+ */ + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + + /** + *

The description of the fleet.

+ */ + inline void SetDescription(const char* value) { m_description.assign(value); } + + /** + *

The description of the fleet.

+ */ + inline GetFleetResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

The description of the fleet.

+ */ + inline GetFleetResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

The description of the fleet.

+ */ + inline GetFleetResult& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

The display name of the fleet.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the fleet.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } + + /** + *

The display name of the fleet.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } + + /** + *

The display name of the fleet.

+ */ + inline void SetDisplayName(const char* value) { m_displayName.assign(value); } + + /** + *

The display name of the fleet.

+ */ + inline GetFleetResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the fleet.

+ */ + inline GetFleetResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the fleet.

+ */ + inline GetFleetResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The farm ID of the farm in the fleet.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm in the fleet.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmId = value; } + + /** + *

The farm ID of the farm in the fleet.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmId = std::move(value); } + + /** + *

The farm ID of the farm in the fleet.

+ */ + inline void SetFarmId(const char* value) { m_farmId.assign(value); } + + /** + *

The farm ID of the farm in the fleet.

+ */ + inline GetFleetResult& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm in the fleet.

+ */ + inline GetFleetResult& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm in the fleet.

+ */ + inline GetFleetResult& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetId = value; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const char* value) { m_fleetId.assign(value); } + + /** + *

The fleet ID.

+ */ + inline GetFleetResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID.

+ */ + inline GetFleetResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID.

+ */ + inline GetFleetResult& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The maximum number of workers specified in the fleet.

+ */ + inline int GetMaxWorkerCount() const{ return m_maxWorkerCount; } + + /** + *

The maximum number of workers specified in the fleet.

+ */ + inline void SetMaxWorkerCount(int value) { m_maxWorkerCount = value; } + + /** + *

The maximum number of workers specified in the fleet.

+ */ + inline GetFleetResult& WithMaxWorkerCount(int value) { SetMaxWorkerCount(value); return *this;} + + + /** + *

The minimum number of workers specified in the fleet.

+ */ + inline int GetMinWorkerCount() const{ return m_minWorkerCount; } + + /** + *

The minimum number of workers specified in the fleet.

+ */ + inline void SetMinWorkerCount(int value) { m_minWorkerCount = value; } + + /** + *

The minimum number of workers specified in the fleet.

+ */ + inline GetFleetResult& WithMinWorkerCount(int value) { SetMinWorkerCount(value); return *this;} + + + /** + *

The IAM role ARN.

+ */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + + /** + *

The IAM role ARN.

+ */ + inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; } + + /** + *

The IAM role ARN.

+ */ + inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); } + + /** + *

The IAM role ARN.

+ */ + inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } + + /** + *

The IAM role ARN.

+ */ + inline GetFleetResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + + /** + *

The IAM role ARN.

+ */ + inline GetFleetResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + + /** + *

The IAM role ARN.

+ */ + inline GetFleetResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + + + /** + *

The Auto Scaling status of the fleet.

+ */ + inline const FleetStatus& GetStatus() const{ return m_status; } + + /** + *

The Auto Scaling status of the fleet.

+ */ + inline void SetStatus(const FleetStatus& value) { m_status = value; } + + /** + *

The Auto Scaling status of the fleet.

+ */ + inline void SetStatus(FleetStatus&& value) { m_status = std::move(value); } + + /** + *

The Auto Scaling status of the fleet.

+ */ + inline GetFleetResult& WithStatus(const FleetStatus& value) { SetStatus(value); return *this;} + + /** + *

The Auto Scaling status of the fleet.

+ */ + inline GetFleetResult& WithStatus(FleetStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The number of target workers in the fleet.

+ */ + inline int GetTargetWorkerCount() const{ return m_targetWorkerCount; } + + /** + *

The number of target workers in the fleet.

+ */ + inline void SetTargetWorkerCount(int value) { m_targetWorkerCount = value; } + + /** + *

The number of target workers in the fleet.

+ */ + inline GetFleetResult& WithTargetWorkerCount(int value) { SetTargetWorkerCount(value); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline GetFleetResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline GetFleetResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline GetFleetResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetFleetResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetFleetResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + /** + *

The number of workers in the fleet.

+ */ + inline int GetWorkerCount() const{ return m_workerCount; } + + /** + *

The number of workers in the fleet.

+ */ + inline void SetWorkerCount(int value) { m_workerCount = value; } + + /** + *

The number of workers in the fleet.

+ */ + inline GetFleetResult& WithWorkerCount(int value) { SetWorkerCount(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetFleetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetFleetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetFleetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + AutoScalingStatus m_autoScalingStatus; + + FleetCapabilities m_capabilities; + + FleetConfiguration m_configuration; + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_description; + + Aws::String m_displayName; + + Aws::String m_farmId; + + Aws::String m_fleetId; + + int m_maxWorkerCount; + + int m_minWorkerCount; + + Aws::String m_roleArn; + + FleetStatus m_status; + + int m_targetWorkerCount; + + Aws::Utils::DateTime m_updatedAt; + + Aws::String m_updatedBy; + + int m_workerCount; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetJobEntityError.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetJobEntityError.h new file mode 100644 index 00000000000..ee8f2c7005a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetJobEntityError.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The error for the job entity.

See Also:

AWS + * API Reference

+ */ + class GetJobEntityError + { + public: + AWS_DEADLINE_API GetJobEntityError(); + AWS_DEADLINE_API GetJobEntityError(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API GetJobEntityError& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The environment details for the failed job entity.

+ */ + inline const EnvironmentDetailsError& GetEnvironmentDetails() const{ return m_environmentDetails; } + + /** + *

The environment details for the failed job entity.

+ */ + inline bool EnvironmentDetailsHasBeenSet() const { return m_environmentDetailsHasBeenSet; } + + /** + *

The environment details for the failed job entity.

+ */ + inline void SetEnvironmentDetails(const EnvironmentDetailsError& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = value; } + + /** + *

The environment details for the failed job entity.

+ */ + inline void SetEnvironmentDetails(EnvironmentDetailsError&& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = std::move(value); } + + /** + *

The environment details for the failed job entity.

+ */ + inline GetJobEntityError& WithEnvironmentDetails(const EnvironmentDetailsError& value) { SetEnvironmentDetails(value); return *this;} + + /** + *

The environment details for the failed job entity.

+ */ + inline GetJobEntityError& WithEnvironmentDetails(EnvironmentDetailsError&& value) { SetEnvironmentDetails(std::move(value)); return *this;} + + + /** + *

The job attachment details for the failed job entity.

+ */ + inline const JobAttachmentDetailsError& GetJobAttachmentDetails() const{ return m_jobAttachmentDetails; } + + /** + *

The job attachment details for the failed job entity.

+ */ + inline bool JobAttachmentDetailsHasBeenSet() const { return m_jobAttachmentDetailsHasBeenSet; } + + /** + *

The job attachment details for the failed job entity.

+ */ + inline void SetJobAttachmentDetails(const JobAttachmentDetailsError& value) { m_jobAttachmentDetailsHasBeenSet = true; m_jobAttachmentDetails = value; } + + /** + *

The job attachment details for the failed job entity.

+ */ + inline void SetJobAttachmentDetails(JobAttachmentDetailsError&& value) { m_jobAttachmentDetailsHasBeenSet = true; m_jobAttachmentDetails = std::move(value); } + + /** + *

The job attachment details for the failed job entity.

+ */ + inline GetJobEntityError& WithJobAttachmentDetails(const JobAttachmentDetailsError& value) { SetJobAttachmentDetails(value); return *this;} + + /** + *

The job attachment details for the failed job entity.

+ */ + inline GetJobEntityError& WithJobAttachmentDetails(JobAttachmentDetailsError&& value) { SetJobAttachmentDetails(std::move(value)); return *this;} + + + /** + *

The job details for the failed job entity.

+ */ + inline const JobDetailsError& GetJobDetails() const{ return m_jobDetails; } + + /** + *

The job details for the failed job entity.

+ */ + inline bool JobDetailsHasBeenSet() const { return m_jobDetailsHasBeenSet; } + + /** + *

The job details for the failed job entity.

+ */ + inline void SetJobDetails(const JobDetailsError& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = value; } + + /** + *

The job details for the failed job entity.

+ */ + inline void SetJobDetails(JobDetailsError&& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = std::move(value); } + + /** + *

The job details for the failed job entity.

+ */ + inline GetJobEntityError& WithJobDetails(const JobDetailsError& value) { SetJobDetails(value); return *this;} + + /** + *

The job details for the failed job entity.

+ */ + inline GetJobEntityError& WithJobDetails(JobDetailsError&& value) { SetJobDetails(std::move(value)); return *this;} + + + /** + *

The step details for the failed job entity.

+ */ + inline const StepDetailsError& GetStepDetails() const{ return m_stepDetails; } + + /** + *

The step details for the failed job entity.

+ */ + inline bool StepDetailsHasBeenSet() const { return m_stepDetailsHasBeenSet; } + + /** + *

The step details for the failed job entity.

+ */ + inline void SetStepDetails(const StepDetailsError& value) { m_stepDetailsHasBeenSet = true; m_stepDetails = value; } + + /** + *

The step details for the failed job entity.

+ */ + inline void SetStepDetails(StepDetailsError&& value) { m_stepDetailsHasBeenSet = true; m_stepDetails = std::move(value); } + + /** + *

The step details for the failed job entity.

+ */ + inline GetJobEntityError& WithStepDetails(const StepDetailsError& value) { SetStepDetails(value); return *this;} + + /** + *

The step details for the failed job entity.

+ */ + inline GetJobEntityError& WithStepDetails(StepDetailsError&& value) { SetStepDetails(std::move(value)); return *this;} + + private: + + EnvironmentDetailsError m_environmentDetails; + bool m_environmentDetailsHasBeenSet = false; + + JobAttachmentDetailsError m_jobAttachmentDetails; + bool m_jobAttachmentDetailsHasBeenSet = false; + + JobDetailsError m_jobDetails; + bool m_jobDetailsHasBeenSet = false; + + StepDetailsError m_stepDetails; + bool m_stepDetailsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetJobRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetJobRequest.h new file mode 100644 index 00000000000..4cae380f6e1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetJobRequest.h @@ -0,0 +1,171 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class GetJobRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API GetJobRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetJob"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the farm in the job.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm in the job.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm in the job.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm in the job.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm in the job.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm in the job.

+ */ + inline GetJobRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm in the job.

+ */ + inline GetJobRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm in the job.

+ */ + inline GetJobRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline GetJobRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline GetJobRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline GetJobRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The queue ID associated with the job.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID associated with the job.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID associated with the job.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID associated with the job.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID associated with the job.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID associated with the job.

+ */ + inline GetJobRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID associated with the job.

+ */ + inline GetJobRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID associated with the job.

+ */ + inline GetJobRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetJobResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetJobResult.h new file mode 100644 index 00000000000..cf8333d351a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetJobResult.h @@ -0,0 +1,713 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class GetJobResult + { + public: + AWS_DEADLINE_API GetJobResult(); + AWS_DEADLINE_API GetJobResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API GetJobResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The attachments for the job.

+ */ + inline const Attachments& GetAttachments() const{ return m_attachments; } + + /** + *

The attachments for the job.

+ */ + inline void SetAttachments(const Attachments& value) { m_attachments = value; } + + /** + *

The attachments for the job.

+ */ + inline void SetAttachments(Attachments&& value) { m_attachments = std::move(value); } + + /** + *

The attachments for the job.

+ */ + inline GetJobResult& WithAttachments(const Attachments& value) { SetAttachments(value); return *this;} + + /** + *

The attachments for the job.

+ */ + inline GetJobResult& WithAttachments(Attachments&& value) { SetAttachments(std::move(value)); return *this;} + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline GetJobResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline GetJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline GetJobResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetJobResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetJobResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The description of the job.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

The description of the job.

+ */ + inline void SetDescription(const Aws::String& value) { m_description = value; } + + /** + *

The description of the job.

+ */ + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + + /** + *

The description of the job.

+ */ + inline void SetDescription(const char* value) { m_description.assign(value); } + + /** + *

The description of the job.

+ */ + inline GetJobResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

The description of the job.

+ */ + inline GetJobResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

The description of the job.

+ */ + inline GetJobResult& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

The date and time the resource ended running.

+ */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); } + + /** + *

The date and time the resource ended running.

+ */ + inline GetJobResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + + /** + *

The date and time the resource ended running.

+ */ + inline GetJobResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline GetJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline GetJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline GetJobResult& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The life cycle status for the job.

+ */ + inline const JobLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } + + /** + *

The life cycle status for the job.

+ */ + inline void SetLifecycleStatus(const JobLifecycleStatus& value) { m_lifecycleStatus = value; } + + /** + *

The life cycle status for the job.

+ */ + inline void SetLifecycleStatus(JobLifecycleStatus&& value) { m_lifecycleStatus = std::move(value); } + + /** + *

The life cycle status for the job.

+ */ + inline GetJobResult& WithLifecycleStatus(const JobLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} + + /** + *

The life cycle status for the job.

+ */ + inline GetJobResult& WithLifecycleStatus(JobLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} + + + /** + *

A message that communicates the status of the life cycle for the job.

+ */ + inline const Aws::String& GetLifecycleStatusMessage() const{ return m_lifecycleStatusMessage; } + + /** + *

A message that communicates the status of the life cycle for the job.

+ */ + inline void SetLifecycleStatusMessage(const Aws::String& value) { m_lifecycleStatusMessage = value; } + + /** + *

A message that communicates the status of the life cycle for the job.

+ */ + inline void SetLifecycleStatusMessage(Aws::String&& value) { m_lifecycleStatusMessage = std::move(value); } + + /** + *

A message that communicates the status of the life cycle for the job.

+ */ + inline void SetLifecycleStatusMessage(const char* value) { m_lifecycleStatusMessage.assign(value); } + + /** + *

A message that communicates the status of the life cycle for the job.

+ */ + inline GetJobResult& WithLifecycleStatusMessage(const Aws::String& value) { SetLifecycleStatusMessage(value); return *this;} + + /** + *

A message that communicates the status of the life cycle for the job.

+ */ + inline GetJobResult& WithLifecycleStatusMessage(Aws::String&& value) { SetLifecycleStatusMessage(std::move(value)); return *this;} + + /** + *

A message that communicates the status of the life cycle for the job.

+ */ + inline GetJobResult& WithLifecycleStatusMessage(const char* value) { SetLifecycleStatusMessage(value); return *this;} + + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline int GetMaxFailedTasksCount() const{ return m_maxFailedTasksCount; } + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline void SetMaxFailedTasksCount(int value) { m_maxFailedTasksCount = value; } + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline GetJobResult& WithMaxFailedTasksCount(int value) { SetMaxFailedTasksCount(value); return *this;} + + + /** + *

The maximum number of retries per failed tasks.

+ */ + inline int GetMaxRetriesPerTask() const{ return m_maxRetriesPerTask; } + + /** + *

The maximum number of retries per failed tasks.

+ */ + inline void SetMaxRetriesPerTask(int value) { m_maxRetriesPerTask = value; } + + /** + *

The maximum number of retries per failed tasks.

+ */ + inline GetJobResult& WithMaxRetriesPerTask(int value) { SetMaxRetriesPerTask(value); return *this;} + + + /** + *

The name of the job.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the job.

+ */ + inline void SetName(const Aws::String& value) { m_name = value; } + + /** + *

The name of the job.

+ */ + inline void SetName(Aws::String&& value) { m_name = std::move(value); } + + /** + *

The name of the job.

+ */ + inline void SetName(const char* value) { m_name.assign(value); } + + /** + *

The name of the job.

+ */ + inline GetJobResult& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the job.

+ */ + inline GetJobResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The name of the job.

+ */ + inline GetJobResult& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The parameters for the job.

+ */ + inline const Aws::Map& GetParameters() const{ return m_parameters; } + + /** + *

The parameters for the job.

+ */ + inline void SetParameters(const Aws::Map& value) { m_parameters = value; } + + /** + *

The parameters for the job.

+ */ + inline void SetParameters(Aws::Map&& value) { m_parameters = std::move(value); } + + /** + *

The parameters for the job.

+ */ + inline GetJobResult& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} + + /** + *

The parameters for the job.

+ */ + inline GetJobResult& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} + + /** + *

The parameters for the job.

+ */ + inline GetJobResult& AddParameters(const Aws::String& key, const JobParameter& value) { m_parameters.emplace(key, value); return *this; } + + /** + *

The parameters for the job.

+ */ + inline GetJobResult& AddParameters(Aws::String&& key, const JobParameter& value) { m_parameters.emplace(std::move(key), value); return *this; } + + /** + *

The parameters for the job.

+ */ + inline GetJobResult& AddParameters(const Aws::String& key, JobParameter&& value) { m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The parameters for the job.

+ */ + inline GetJobResult& AddParameters(Aws::String&& key, JobParameter&& value) { m_parameters.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The parameters for the job.

+ */ + inline GetJobResult& AddParameters(const char* key, JobParameter&& value) { m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The parameters for the job.

+ */ + inline GetJobResult& AddParameters(const char* key, const JobParameter& value) { m_parameters.emplace(key, value); return *this; } + + + /** + *

The job priority.

+ */ + inline int GetPriority() const{ return m_priority; } + + /** + *

The job priority.

+ */ + inline void SetPriority(int value) { m_priority = value; } + + /** + *

The job priority.

+ */ + inline GetJobResult& WithPriority(int value) { SetPriority(value); return *this;} + + + /** + *

The date and time the resource started running.

+ */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); } + + /** + *

The date and time the resource started running.

+ */ + inline GetJobResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + + /** + *

The date and time the resource started running.

+ */ + inline GetJobResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + + + /** + *

The storage profile ID associated with the job.

+ */ + inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } + + /** + *

The storage profile ID associated with the job.

+ */ + inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileId = value; } + + /** + *

The storage profile ID associated with the job.

+ */ + inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileId = std::move(value); } + + /** + *

The storage profile ID associated with the job.

+ */ + inline void SetStorageProfileId(const char* value) { m_storageProfileId.assign(value); } + + /** + *

The storage profile ID associated with the job.

+ */ + inline GetJobResult& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} + + /** + *

The storage profile ID associated with the job.

+ */ + inline GetJobResult& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} + + /** + *

The storage profile ID associated with the job.

+ */ + inline GetJobResult& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} + + + /** + *

The task status with which the job started.

+ */ + inline const JobTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } + + /** + *

The task status with which the job started.

+ */ + inline void SetTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { m_targetTaskRunStatus = value; } + + /** + *

The task status with which the job started.

+ */ + inline void SetTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { m_targetTaskRunStatus = std::move(value); } + + /** + *

The task status with which the job started.

+ */ + inline GetJobResult& WithTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} + + /** + *

The task status with which the job started.

+ */ + inline GetJobResult& WithTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + + + /** + *

The task run status for the job.

+ */ + inline const TaskRunStatus& GetTaskRunStatus() const{ return m_taskRunStatus; } + + /** + *

The task run status for the job.

+ */ + inline void SetTaskRunStatus(const TaskRunStatus& value) { m_taskRunStatus = value; } + + /** + *

The task run status for the job.

+ */ + inline void SetTaskRunStatus(TaskRunStatus&& value) { m_taskRunStatus = std::move(value); } + + /** + *

The task run status for the job.

+ */ + inline GetJobResult& WithTaskRunStatus(const TaskRunStatus& value) { SetTaskRunStatus(value); return *this;} + + /** + *

The task run status for the job.

+ */ + inline GetJobResult& WithTaskRunStatus(TaskRunStatus&& value) { SetTaskRunStatus(std::move(value)); return *this;} + + + /** + *

The number of tasks running on the job.

+ */ + inline const Aws::Map& GetTaskRunStatusCounts() const{ return m_taskRunStatusCounts; } + + /** + *

The number of tasks running on the job.

+ */ + inline void SetTaskRunStatusCounts(const Aws::Map& value) { m_taskRunStatusCounts = value; } + + /** + *

The number of tasks running on the job.

+ */ + inline void SetTaskRunStatusCounts(Aws::Map&& value) { m_taskRunStatusCounts = std::move(value); } + + /** + *

The number of tasks running on the job.

+ */ + inline GetJobResult& WithTaskRunStatusCounts(const Aws::Map& value) { SetTaskRunStatusCounts(value); return *this;} + + /** + *

The number of tasks running on the job.

+ */ + inline GetJobResult& WithTaskRunStatusCounts(Aws::Map&& value) { SetTaskRunStatusCounts(std::move(value)); return *this;} + + /** + *

The number of tasks running on the job.

+ */ + inline GetJobResult& AddTaskRunStatusCounts(const TaskRunStatus& key, int value) { m_taskRunStatusCounts.emplace(key, value); return *this; } + + /** + *

The number of tasks running on the job.

+ */ + inline GetJobResult& AddTaskRunStatusCounts(TaskRunStatus&& key, int value) { m_taskRunStatusCounts.emplace(std::move(key), value); return *this; } + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline GetJobResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline GetJobResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline GetJobResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetJobResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetJobResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Attachments m_attachments; + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_description; + + Aws::Utils::DateTime m_endedAt; + + Aws::String m_jobId; + + JobLifecycleStatus m_lifecycleStatus; + + Aws::String m_lifecycleStatusMessage; + + int m_maxFailedTasksCount; + + int m_maxRetriesPerTask; + + Aws::String m_name; + + Aws::Map m_parameters; + + int m_priority; + + Aws::Utils::DateTime m_startedAt; + + Aws::String m_storageProfileId; + + JobTargetTaskRunStatus m_targetTaskRunStatus; + + TaskRunStatus m_taskRunStatus; + + Aws::Map m_taskRunStatusCounts; + + Aws::Utils::DateTime m_updatedAt; + + Aws::String m_updatedBy; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetLicenseEndpointRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetLicenseEndpointRequest.h new file mode 100644 index 00000000000..5a598f091c8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetLicenseEndpointRequest.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class GetLicenseEndpointRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API GetLicenseEndpointRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetLicenseEndpoint"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The license endpoint ID.

+ */ + inline const Aws::String& GetLicenseEndpointId() const{ return m_licenseEndpointId; } + + /** + *

The license endpoint ID.

+ */ + inline bool LicenseEndpointIdHasBeenSet() const { return m_licenseEndpointIdHasBeenSet; } + + /** + *

The license endpoint ID.

+ */ + inline void SetLicenseEndpointId(const Aws::String& value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId = value; } + + /** + *

The license endpoint ID.

+ */ + inline void SetLicenseEndpointId(Aws::String&& value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId = std::move(value); } + + /** + *

The license endpoint ID.

+ */ + inline void SetLicenseEndpointId(const char* value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId.assign(value); } + + /** + *

The license endpoint ID.

+ */ + inline GetLicenseEndpointRequest& WithLicenseEndpointId(const Aws::String& value) { SetLicenseEndpointId(value); return *this;} + + /** + *

The license endpoint ID.

+ */ + inline GetLicenseEndpointRequest& WithLicenseEndpointId(Aws::String&& value) { SetLicenseEndpointId(std::move(value)); return *this;} + + /** + *

The license endpoint ID.

+ */ + inline GetLicenseEndpointRequest& WithLicenseEndpointId(const char* value) { SetLicenseEndpointId(value); return *this;} + + private: + + Aws::String m_licenseEndpointId; + bool m_licenseEndpointIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetLicenseEndpointResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetLicenseEndpointResult.h new file mode 100644 index 00000000000..a7f16af0990 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetLicenseEndpointResult.h @@ -0,0 +1,331 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class GetLicenseEndpointResult + { + public: + AWS_DEADLINE_API GetLicenseEndpointResult(); + AWS_DEADLINE_API GetLicenseEndpointResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API GetLicenseEndpointResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The DNS name.

+ */ + inline const Aws::String& GetDnsName() const{ return m_dnsName; } + + /** + *

The DNS name.

+ */ + inline void SetDnsName(const Aws::String& value) { m_dnsName = value; } + + /** + *

The DNS name.

+ */ + inline void SetDnsName(Aws::String&& value) { m_dnsName = std::move(value); } + + /** + *

The DNS name.

+ */ + inline void SetDnsName(const char* value) { m_dnsName.assign(value); } + + /** + *

The DNS name.

+ */ + inline GetLicenseEndpointResult& WithDnsName(const Aws::String& value) { SetDnsName(value); return *this;} + + /** + *

The DNS name.

+ */ + inline GetLicenseEndpointResult& WithDnsName(Aws::String&& value) { SetDnsName(std::move(value)); return *this;} + + /** + *

The DNS name.

+ */ + inline GetLicenseEndpointResult& WithDnsName(const char* value) { SetDnsName(value); return *this;} + + + /** + *

The license endpoint ID.

+ */ + inline const Aws::String& GetLicenseEndpointId() const{ return m_licenseEndpointId; } + + /** + *

The license endpoint ID.

+ */ + inline void SetLicenseEndpointId(const Aws::String& value) { m_licenseEndpointId = value; } + + /** + *

The license endpoint ID.

+ */ + inline void SetLicenseEndpointId(Aws::String&& value) { m_licenseEndpointId = std::move(value); } + + /** + *

The license endpoint ID.

+ */ + inline void SetLicenseEndpointId(const char* value) { m_licenseEndpointId.assign(value); } + + /** + *

The license endpoint ID.

+ */ + inline GetLicenseEndpointResult& WithLicenseEndpointId(const Aws::String& value) { SetLicenseEndpointId(value); return *this;} + + /** + *

The license endpoint ID.

+ */ + inline GetLicenseEndpointResult& WithLicenseEndpointId(Aws::String&& value) { SetLicenseEndpointId(std::move(value)); return *this;} + + /** + *

The license endpoint ID.

+ */ + inline GetLicenseEndpointResult& WithLicenseEndpointId(const char* value) { SetLicenseEndpointId(value); return *this;} + + + /** + *

The security group IDs for the license endpoint.

+ */ + inline const Aws::Vector& GetSecurityGroupIds() const{ return m_securityGroupIds; } + + /** + *

The security group IDs for the license endpoint.

+ */ + inline void SetSecurityGroupIds(const Aws::Vector& value) { m_securityGroupIds = value; } + + /** + *

The security group IDs for the license endpoint.

+ */ + inline void SetSecurityGroupIds(Aws::Vector&& value) { m_securityGroupIds = std::move(value); } + + /** + *

The security group IDs for the license endpoint.

+ */ + inline GetLicenseEndpointResult& WithSecurityGroupIds(const Aws::Vector& value) { SetSecurityGroupIds(value); return *this;} + + /** + *

The security group IDs for the license endpoint.

+ */ + inline GetLicenseEndpointResult& WithSecurityGroupIds(Aws::Vector&& value) { SetSecurityGroupIds(std::move(value)); return *this;} + + /** + *

The security group IDs for the license endpoint.

+ */ + inline GetLicenseEndpointResult& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIds.push_back(value); return *this; } + + /** + *

The security group IDs for the license endpoint.

+ */ + inline GetLicenseEndpointResult& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIds.push_back(std::move(value)); return *this; } + + /** + *

The security group IDs for the license endpoint.

+ */ + inline GetLicenseEndpointResult& AddSecurityGroupIds(const char* value) { m_securityGroupIds.push_back(value); return *this; } + + + /** + *

The status of the license endpoint.

+ */ + inline const LicenseEndpointStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the license endpoint.

+ */ + inline void SetStatus(const LicenseEndpointStatus& value) { m_status = value; } + + /** + *

The status of the license endpoint.

+ */ + inline void SetStatus(LicenseEndpointStatus&& value) { m_status = std::move(value); } + + /** + *

The status of the license endpoint.

+ */ + inline GetLicenseEndpointResult& WithStatus(const LicenseEndpointStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the license endpoint.

+ */ + inline GetLicenseEndpointResult& WithStatus(LicenseEndpointStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The status message of the license endpoint.

+ */ + inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } + + /** + *

The status message of the license endpoint.

+ */ + inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; } + + /** + *

The status message of the license endpoint.

+ */ + inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); } + + /** + *

The status message of the license endpoint.

+ */ + inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); } + + /** + *

The status message of the license endpoint.

+ */ + inline GetLicenseEndpointResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} + + /** + *

The status message of the license endpoint.

+ */ + inline GetLicenseEndpointResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} + + /** + *

The status message of the license endpoint.

+ */ + inline GetLicenseEndpointResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} + + + /** + *

The subnet IDs.

+ */ + inline const Aws::Vector& GetSubnetIds() const{ return m_subnetIds; } + + /** + *

The subnet IDs.

+ */ + inline void SetSubnetIds(const Aws::Vector& value) { m_subnetIds = value; } + + /** + *

The subnet IDs.

+ */ + inline void SetSubnetIds(Aws::Vector&& value) { m_subnetIds = std::move(value); } + + /** + *

The subnet IDs.

+ */ + inline GetLicenseEndpointResult& WithSubnetIds(const Aws::Vector& value) { SetSubnetIds(value); return *this;} + + /** + *

The subnet IDs.

+ */ + inline GetLicenseEndpointResult& WithSubnetIds(Aws::Vector&& value) { SetSubnetIds(std::move(value)); return *this;} + + /** + *

The subnet IDs.

+ */ + inline GetLicenseEndpointResult& AddSubnetIds(const Aws::String& value) { m_subnetIds.push_back(value); return *this; } + + /** + *

The subnet IDs.

+ */ + inline GetLicenseEndpointResult& AddSubnetIds(Aws::String&& value) { m_subnetIds.push_back(std::move(value)); return *this; } + + /** + *

The subnet IDs.

+ */ + inline GetLicenseEndpointResult& AddSubnetIds(const char* value) { m_subnetIds.push_back(value); return *this; } + + + /** + *

The VCP(virtual private cloud) ID associated with the license endpoint.

+ */ + inline const Aws::String& GetVpcId() const{ return m_vpcId; } + + /** + *

The VCP(virtual private cloud) ID associated with the license endpoint.

+ */ + inline void SetVpcId(const Aws::String& value) { m_vpcId = value; } + + /** + *

The VCP(virtual private cloud) ID associated with the license endpoint.

+ */ + inline void SetVpcId(Aws::String&& value) { m_vpcId = std::move(value); } + + /** + *

The VCP(virtual private cloud) ID associated with the license endpoint.

+ */ + inline void SetVpcId(const char* value) { m_vpcId.assign(value); } + + /** + *

The VCP(virtual private cloud) ID associated with the license endpoint.

+ */ + inline GetLicenseEndpointResult& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} + + /** + *

The VCP(virtual private cloud) ID associated with the license endpoint.

+ */ + inline GetLicenseEndpointResult& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} + + /** + *

The VCP(virtual private cloud) ID associated with the license endpoint.

+ */ + inline GetLicenseEndpointResult& WithVpcId(const char* value) { SetVpcId(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetLicenseEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetLicenseEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetLicenseEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_dnsName; + + Aws::String m_licenseEndpointId; + + Aws::Vector m_securityGroupIds; + + LicenseEndpointStatus m_status; + + Aws::String m_statusMessage; + + Aws::Vector m_subnetIds; + + Aws::String m_vpcId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetMonitorRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetMonitorRequest.h new file mode 100644 index 00000000000..a42c85eedcb --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetMonitorRequest.h @@ -0,0 +1,91 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class GetMonitorRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API GetMonitorRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetMonitor"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The unique identifier for the monitor. This ID is returned by the + * CreateMonitor operation.

+ */ + inline const Aws::String& GetMonitorId() const{ return m_monitorId; } + + /** + *

The unique identifier for the monitor. This ID is returned by the + * CreateMonitor operation.

+ */ + inline bool MonitorIdHasBeenSet() const { return m_monitorIdHasBeenSet; } + + /** + *

The unique identifier for the monitor. This ID is returned by the + * CreateMonitor operation.

+ */ + inline void SetMonitorId(const Aws::String& value) { m_monitorIdHasBeenSet = true; m_monitorId = value; } + + /** + *

The unique identifier for the monitor. This ID is returned by the + * CreateMonitor operation.

+ */ + inline void SetMonitorId(Aws::String&& value) { m_monitorIdHasBeenSet = true; m_monitorId = std::move(value); } + + /** + *

The unique identifier for the monitor. This ID is returned by the + * CreateMonitor operation.

+ */ + inline void SetMonitorId(const char* value) { m_monitorIdHasBeenSet = true; m_monitorId.assign(value); } + + /** + *

The unique identifier for the monitor. This ID is returned by the + * CreateMonitor operation.

+ */ + inline GetMonitorRequest& WithMonitorId(const Aws::String& value) { SetMonitorId(value); return *this;} + + /** + *

The unique identifier for the monitor. This ID is returned by the + * CreateMonitor operation.

+ */ + inline GetMonitorRequest& WithMonitorId(Aws::String&& value) { SetMonitorId(std::move(value)); return *this;} + + /** + *

The unique identifier for the monitor. This ID is returned by the + * CreateMonitor operation.

+ */ + inline GetMonitorRequest& WithMonitorId(const char* value) { SetMonitorId(value); return *this;} + + private: + + Aws::String m_monitorId; + bool m_monitorIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetMonitorResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetMonitorResult.h new file mode 100644 index 00000000000..8a36252c878 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetMonitorResult.h @@ -0,0 +1,502 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class GetMonitorResult + { + public: + AWS_DEADLINE_API GetMonitorResult(); + AWS_DEADLINE_API GetMonitorResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API GetMonitorResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The UNIX timestamp of the date and time that the monitor was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The UNIX timestamp of the date and time that the monitor was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + + /** + *

The UNIX timestamp of the date and time that the monitor was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + + /** + *

The UNIX timestamp of the date and time that the monitor was created.

+ */ + inline GetMonitorResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The UNIX timestamp of the date and time that the monitor was created.

+ */ + inline GetMonitorResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user name of the person that created the monitor.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user name of the person that created the monitor.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + + /** + *

The user name of the person that created the monitor.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + + /** + *

The user name of the person that created the monitor.

+ */ + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + + /** + *

The user name of the person that created the monitor.

+ */ + inline GetMonitorResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user name of the person that created the monitor.

+ */ + inline GetMonitorResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user name of the person that created the monitor.

+ */ + inline GetMonitorResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The name used to identify the monitor on the Deadline Cloud console.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The name used to identify the monitor on the Deadline Cloud console.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } + + /** + *

The name used to identify the monitor on the Deadline Cloud console.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } + + /** + *

The name used to identify the monitor on the Deadline Cloud console.

+ */ + inline void SetDisplayName(const char* value) { m_displayName.assign(value); } + + /** + *

The name used to identify the monitor on the Deadline Cloud console.

+ */ + inline GetMonitorResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The name used to identify the monitor on the Deadline Cloud console.

+ */ + inline GetMonitorResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The name used to identify the monitor on the Deadline Cloud console.

+ */ + inline GetMonitorResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the + * monitor when it was created.

+ */ + inline const Aws::String& GetIdentityCenterApplicationArn() const{ return m_identityCenterApplicationArn; } + + /** + *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the + * monitor when it was created.

+ */ + inline void SetIdentityCenterApplicationArn(const Aws::String& value) { m_identityCenterApplicationArn = value; } + + /** + *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the + * monitor when it was created.

+ */ + inline void SetIdentityCenterApplicationArn(Aws::String&& value) { m_identityCenterApplicationArn = std::move(value); } + + /** + *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the + * monitor when it was created.

+ */ + inline void SetIdentityCenterApplicationArn(const char* value) { m_identityCenterApplicationArn.assign(value); } + + /** + *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the + * monitor when it was created.

+ */ + inline GetMonitorResult& WithIdentityCenterApplicationArn(const Aws::String& value) { SetIdentityCenterApplicationArn(value); return *this;} + + /** + *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the + * monitor when it was created.

+ */ + inline GetMonitorResult& WithIdentityCenterApplicationArn(Aws::String&& value) { SetIdentityCenterApplicationArn(std::move(value)); return *this;} + + /** + *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the + * monitor when it was created.

+ */ + inline GetMonitorResult& WithIdentityCenterApplicationArn(const char* value) { SetIdentityCenterApplicationArn(value); return *this;} + + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance + * responsible for authenticating monitor users.

+ */ + inline const Aws::String& GetIdentityCenterInstanceArn() const{ return m_identityCenterInstanceArn; } + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance + * responsible for authenticating monitor users.

+ */ + inline void SetIdentityCenterInstanceArn(const Aws::String& value) { m_identityCenterInstanceArn = value; } + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance + * responsible for authenticating monitor users.

+ */ + inline void SetIdentityCenterInstanceArn(Aws::String&& value) { m_identityCenterInstanceArn = std::move(value); } + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance + * responsible for authenticating monitor users.

+ */ + inline void SetIdentityCenterInstanceArn(const char* value) { m_identityCenterInstanceArn.assign(value); } + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance + * responsible for authenticating monitor users.

+ */ + inline GetMonitorResult& WithIdentityCenterInstanceArn(const Aws::String& value) { SetIdentityCenterInstanceArn(value); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance + * responsible for authenticating monitor users.

+ */ + inline GetMonitorResult& WithIdentityCenterInstanceArn(Aws::String&& value) { SetIdentityCenterInstanceArn(std::move(value)); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance + * responsible for authenticating monitor users.

+ */ + inline GetMonitorResult& WithIdentityCenterInstanceArn(const char* value) { SetIdentityCenterInstanceArn(value); return *this;} + + + /** + *

The unique identifier for the monitor.

+ */ + inline const Aws::String& GetMonitorId() const{ return m_monitorId; } + + /** + *

The unique identifier for the monitor.

+ */ + inline void SetMonitorId(const Aws::String& value) { m_monitorId = value; } + + /** + *

The unique identifier for the monitor.

+ */ + inline void SetMonitorId(Aws::String&& value) { m_monitorId = std::move(value); } + + /** + *

The unique identifier for the monitor.

+ */ + inline void SetMonitorId(const char* value) { m_monitorId.assign(value); } + + /** + *

The unique identifier for the monitor.

+ */ + inline GetMonitorResult& WithMonitorId(const Aws::String& value) { SetMonitorId(value); return *this;} + + /** + *

The unique identifier for the monitor.

+ */ + inline GetMonitorResult& WithMonitorId(Aws::String&& value) { SetMonitorId(std::move(value)); return *this;} + + /** + *

The unique identifier for the monitor.

+ */ + inline GetMonitorResult& WithMonitorId(const char* value) { SetMonitorId(value); return *this;} + + + /** + *

The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the + * monitor use this role to access Deadline Cloud resources.

+ */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + + /** + *

The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the + * monitor use this role to access Deadline Cloud resources.

+ */ + inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; } + + /** + *

The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the + * monitor use this role to access Deadline Cloud resources.

+ */ + inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); } + + /** + *

The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the + * monitor use this role to access Deadline Cloud resources.

+ */ + inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } + + /** + *

The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the + * monitor use this role to access Deadline Cloud resources.

+ */ + inline GetMonitorResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the + * monitor use this role to access Deadline Cloud resources.

+ */ + inline GetMonitorResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the + * monitor use this role to access Deadline Cloud resources.

+ */ + inline GetMonitorResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + + + /** + *

The subdomain used for the monitor URL. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline const Aws::String& GetSubdomain() const{ return m_subdomain; } + + /** + *

The subdomain used for the monitor URL. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline void SetSubdomain(const Aws::String& value) { m_subdomain = value; } + + /** + *

The subdomain used for the monitor URL. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline void SetSubdomain(Aws::String&& value) { m_subdomain = std::move(value); } + + /** + *

The subdomain used for the monitor URL. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline void SetSubdomain(const char* value) { m_subdomain.assign(value); } + + /** + *

The subdomain used for the monitor URL. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline GetMonitorResult& WithSubdomain(const Aws::String& value) { SetSubdomain(value); return *this;} + + /** + *

The subdomain used for the monitor URL. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline GetMonitorResult& WithSubdomain(Aws::String&& value) { SetSubdomain(std::move(value)); return *this;} + + /** + *

The subdomain used for the monitor URL. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline GetMonitorResult& WithSubdomain(const char* value) { SetSubdomain(value); return *this;} + + + /** + *

The UNIX timestamp of the last date and time that the monitor was + * updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The UNIX timestamp of the last date and time that the monitor was + * updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } + + /** + *

The UNIX timestamp of the last date and time that the monitor was + * updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } + + /** + *

The UNIX timestamp of the last date and time that the monitor was + * updated.

+ */ + inline GetMonitorResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The UNIX timestamp of the last date and time that the monitor was + * updated.

+ */ + inline GetMonitorResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user name of the person that last updated the monitor.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user name of the person that last updated the monitor.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; } + + /** + *

The user name of the person that last updated the monitor.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); } + + /** + *

The user name of the person that last updated the monitor.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); } + + /** + *

The user name of the person that last updated the monitor.

+ */ + inline GetMonitorResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user name of the person that last updated the monitor.

+ */ + inline GetMonitorResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user name of the person that last updated the monitor.

+ */ + inline GetMonitorResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + /** + *

The complete URL of the monitor. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline const Aws::String& GetUrl() const{ return m_url; } + + /** + *

The complete URL of the monitor. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline void SetUrl(const Aws::String& value) { m_url = value; } + + /** + *

The complete URL of the monitor. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline void SetUrl(Aws::String&& value) { m_url = std::move(value); } + + /** + *

The complete URL of the monitor. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline void SetUrl(const char* value) { m_url.assign(value); } + + /** + *

The complete URL of the monitor. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline GetMonitorResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} + + /** + *

The complete URL of the monitor. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline GetMonitorResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} + + /** + *

The complete URL of the monitor. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline GetMonitorResult& WithUrl(const char* value) { SetUrl(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetMonitorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetMonitorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetMonitorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_displayName; + + Aws::String m_identityCenterApplicationArn; + + Aws::String m_identityCenterInstanceArn; + + Aws::String m_monitorId; + + Aws::String m_roleArn; + + Aws::String m_subdomain; + + Aws::Utils::DateTime m_updatedAt; + + Aws::String m_updatedBy; + + Aws::String m_url; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueEnvironmentRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueEnvironmentRequest.h new file mode 100644 index 00000000000..7fcdac95e50 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueEnvironmentRequest.h @@ -0,0 +1,171 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class GetQueueEnvironmentRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API GetQueueEnvironmentRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetQueueEnvironment"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID for the queue environment.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the queue environment.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the queue environment.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the queue environment.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the queue environment.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the queue environment.

+ */ + inline GetQueueEnvironmentRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the queue environment.

+ */ + inline GetQueueEnvironmentRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the queue environment.

+ */ + inline GetQueueEnvironmentRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The queue environment ID.

+ */ + inline const Aws::String& GetQueueEnvironmentId() const{ return m_queueEnvironmentId; } + + /** + *

The queue environment ID.

+ */ + inline bool QueueEnvironmentIdHasBeenSet() const { return m_queueEnvironmentIdHasBeenSet; } + + /** + *

The queue environment ID.

+ */ + inline void SetQueueEnvironmentId(const Aws::String& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = value; } + + /** + *

The queue environment ID.

+ */ + inline void SetQueueEnvironmentId(Aws::String&& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = std::move(value); } + + /** + *

The queue environment ID.

+ */ + inline void SetQueueEnvironmentId(const char* value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId.assign(value); } + + /** + *

The queue environment ID.

+ */ + inline GetQueueEnvironmentRequest& WithQueueEnvironmentId(const Aws::String& value) { SetQueueEnvironmentId(value); return *this;} + + /** + *

The queue environment ID.

+ */ + inline GetQueueEnvironmentRequest& WithQueueEnvironmentId(Aws::String&& value) { SetQueueEnvironmentId(std::move(value)); return *this;} + + /** + *

The queue environment ID.

+ */ + inline GetQueueEnvironmentRequest& WithQueueEnvironmentId(const char* value) { SetQueueEnvironmentId(value); return *this;} + + + /** + *

The queue ID for the queue environment.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID for the queue environment.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID for the queue environment.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID for the queue environment.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID for the queue environment.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID for the queue environment.

+ */ + inline GetQueueEnvironmentRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID for the queue environment.

+ */ + inline GetQueueEnvironmentRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID for the queue environment.

+ */ + inline GetQueueEnvironmentRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_queueEnvironmentId; + bool m_queueEnvironmentIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueEnvironmentResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueEnvironmentResult.h new file mode 100644 index 00000000000..ca1ead76963 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueEnvironmentResult.h @@ -0,0 +1,357 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class GetQueueEnvironmentResult + { + public: + AWS_DEADLINE_API GetQueueEnvironmentResult(); + AWS_DEADLINE_API GetQueueEnvironmentResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API GetQueueEnvironmentResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline GetQueueEnvironmentResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline GetQueueEnvironmentResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.>

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.>

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + + /** + *

The user or system that created this resource.>

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.>

+ */ + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.>

+ */ + inline GetQueueEnvironmentResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.>

+ */ + inline GetQueueEnvironmentResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.>

+ */ + inline GetQueueEnvironmentResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The name of the queue environment.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the queue environment.

+ */ + inline void SetName(const Aws::String& value) { m_name = value; } + + /** + *

The name of the queue environment.

+ */ + inline void SetName(Aws::String&& value) { m_name = std::move(value); } + + /** + *

The name of the queue environment.

+ */ + inline void SetName(const char* value) { m_name.assign(value); } + + /** + *

The name of the queue environment.

+ */ + inline GetQueueEnvironmentResult& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the queue environment.

+ */ + inline GetQueueEnvironmentResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The name of the queue environment.

+ */ + inline GetQueueEnvironmentResult& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The priority of the queue environment.

+ */ + inline int GetPriority() const{ return m_priority; } + + /** + *

The priority of the queue environment.

+ */ + inline void SetPriority(int value) { m_priority = value; } + + /** + *

The priority of the queue environment.

+ */ + inline GetQueueEnvironmentResult& WithPriority(int value) { SetPriority(value); return *this;} + + + /** + *

The queue environment ID.

+ */ + inline const Aws::String& GetQueueEnvironmentId() const{ return m_queueEnvironmentId; } + + /** + *

The queue environment ID.

+ */ + inline void SetQueueEnvironmentId(const Aws::String& value) { m_queueEnvironmentId = value; } + + /** + *

The queue environment ID.

+ */ + inline void SetQueueEnvironmentId(Aws::String&& value) { m_queueEnvironmentId = std::move(value); } + + /** + *

The queue environment ID.

+ */ + inline void SetQueueEnvironmentId(const char* value) { m_queueEnvironmentId.assign(value); } + + /** + *

The queue environment ID.

+ */ + inline GetQueueEnvironmentResult& WithQueueEnvironmentId(const Aws::String& value) { SetQueueEnvironmentId(value); return *this;} + + /** + *

The queue environment ID.

+ */ + inline GetQueueEnvironmentResult& WithQueueEnvironmentId(Aws::String&& value) { SetQueueEnvironmentId(std::move(value)); return *this;} + + /** + *

The queue environment ID.

+ */ + inline GetQueueEnvironmentResult& WithQueueEnvironmentId(const char* value) { SetQueueEnvironmentId(value); return *this;} + + + /** + *

The template for the queue environment.

+ */ + inline const Aws::String& GetTemplate() const{ return m_template; } + + /** + *

The template for the queue environment.

+ */ + inline void SetTemplate(const Aws::String& value) { m_template = value; } + + /** + *

The template for the queue environment.

+ */ + inline void SetTemplate(Aws::String&& value) { m_template = std::move(value); } + + /** + *

The template for the queue environment.

+ */ + inline void SetTemplate(const char* value) { m_template.assign(value); } + + /** + *

The template for the queue environment.

+ */ + inline GetQueueEnvironmentResult& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;} + + /** + *

The template for the queue environment.

+ */ + inline GetQueueEnvironmentResult& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;} + + /** + *

The template for the queue environment.

+ */ + inline GetQueueEnvironmentResult& WithTemplate(const char* value) { SetTemplate(value); return *this;} + + + /** + *

The type of template for the queue environment.

+ */ + inline const EnvironmentTemplateType& GetTemplateType() const{ return m_templateType; } + + /** + *

The type of template for the queue environment.

+ */ + inline void SetTemplateType(const EnvironmentTemplateType& value) { m_templateType = value; } + + /** + *

The type of template for the queue environment.

+ */ + inline void SetTemplateType(EnvironmentTemplateType&& value) { m_templateType = std::move(value); } + + /** + *

The type of template for the queue environment.

+ */ + inline GetQueueEnvironmentResult& WithTemplateType(const EnvironmentTemplateType& value) { SetTemplateType(value); return *this;} + + /** + *

The type of template for the queue environment.

+ */ + inline GetQueueEnvironmentResult& WithTemplateType(EnvironmentTemplateType&& value) { SetTemplateType(std::move(value)); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline GetQueueEnvironmentResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline GetQueueEnvironmentResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline GetQueueEnvironmentResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetQueueEnvironmentResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetQueueEnvironmentResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetQueueEnvironmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetQueueEnvironmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetQueueEnvironmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_name; + + int m_priority; + + Aws::String m_queueEnvironmentId; + + Aws::String m_template; + + EnvironmentTemplateType m_templateType; + + Aws::Utils::DateTime m_updatedAt; + + Aws::String m_updatedBy; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueFleetAssociationRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueFleetAssociationRequest.h new file mode 100644 index 00000000000..0b490cf889a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueFleetAssociationRequest.h @@ -0,0 +1,171 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class GetQueueFleetAssociationRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API GetQueueFleetAssociationRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetQueueFleetAssociation"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the farm that contains the queue-fleet association.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm that contains the queue-fleet association.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm that contains the queue-fleet association.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm that contains the queue-fleet association.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm that contains the queue-fleet association.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm that contains the queue-fleet association.

+ */ + inline GetQueueFleetAssociationRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm that contains the queue-fleet association.

+ */ + inline GetQueueFleetAssociationRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm that contains the queue-fleet association.

+ */ + inline GetQueueFleetAssociationRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID for the queue-fleet association.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID for the queue-fleet association.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID for the queue-fleet association.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID for the queue-fleet association.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID for the queue-fleet association.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID for the queue-fleet association.

+ */ + inline GetQueueFleetAssociationRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID for the queue-fleet association.

+ */ + inline GetQueueFleetAssociationRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID for the queue-fleet association.

+ */ + inline GetQueueFleetAssociationRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The queue ID for the queue-fleet association.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID for the queue-fleet association.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID for the queue-fleet association.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID for the queue-fleet association.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID for the queue-fleet association.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID for the queue-fleet association.

+ */ + inline GetQueueFleetAssociationRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID for the queue-fleet association.

+ */ + inline GetQueueFleetAssociationRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID for the queue-fleet association.

+ */ + inline GetQueueFleetAssociationRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueFleetAssociationResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueFleetAssociationResult.h new file mode 100644 index 00000000000..c0058180295 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueFleetAssociationResult.h @@ -0,0 +1,301 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class GetQueueFleetAssociationResult + { + public: + AWS_DEADLINE_API GetQueueFleetAssociationResult(); + AWS_DEADLINE_API GetQueueFleetAssociationResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API GetQueueFleetAssociationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline GetQueueFleetAssociationResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline GetQueueFleetAssociationResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline GetQueueFleetAssociationResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetQueueFleetAssociationResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetQueueFleetAssociationResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The fleet ID for the queue-fleet association.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID for the queue-fleet association.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetId = value; } + + /** + *

The fleet ID for the queue-fleet association.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); } + + /** + *

The fleet ID for the queue-fleet association.

+ */ + inline void SetFleetId(const char* value) { m_fleetId.assign(value); } + + /** + *

The fleet ID for the queue-fleet association.

+ */ + inline GetQueueFleetAssociationResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID for the queue-fleet association.

+ */ + inline GetQueueFleetAssociationResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID for the queue-fleet association.

+ */ + inline GetQueueFleetAssociationResult& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The queue ID for the queue-fleet association.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID for the queue-fleet association.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueId = value; } + + /** + *

The queue ID for the queue-fleet association.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueId = std::move(value); } + + /** + *

The queue ID for the queue-fleet association.

+ */ + inline void SetQueueId(const char* value) { m_queueId.assign(value); } + + /** + *

The queue ID for the queue-fleet association.

+ */ + inline GetQueueFleetAssociationResult& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID for the queue-fleet association.

+ */ + inline GetQueueFleetAssociationResult& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID for the queue-fleet association.

+ */ + inline GetQueueFleetAssociationResult& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The status of the queue-fleet association.

+ */ + inline const QueueFleetAssociationStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the queue-fleet association.

+ */ + inline void SetStatus(const QueueFleetAssociationStatus& value) { m_status = value; } + + /** + *

The status of the queue-fleet association.

+ */ + inline void SetStatus(QueueFleetAssociationStatus&& value) { m_status = std::move(value); } + + /** + *

The status of the queue-fleet association.

+ */ + inline GetQueueFleetAssociationResult& WithStatus(const QueueFleetAssociationStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the queue-fleet association.

+ */ + inline GetQueueFleetAssociationResult& WithStatus(QueueFleetAssociationStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline GetQueueFleetAssociationResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline GetQueueFleetAssociationResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline GetQueueFleetAssociationResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetQueueFleetAssociationResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetQueueFleetAssociationResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetQueueFleetAssociationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetQueueFleetAssociationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetQueueFleetAssociationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_fleetId; + + Aws::String m_queueId; + + QueueFleetAssociationStatus m_status; + + Aws::Utils::DateTime m_updatedAt; + + Aws::String m_updatedBy; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueRequest.h new file mode 100644 index 00000000000..bb5f3da0c2b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueRequest.h @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class GetQueueRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API GetQueueRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetQueue"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the farm in the queue.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm in the queue.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm in the queue.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm in the queue.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm in the queue.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm in the queue.

+ */ + inline GetQueueRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm in the queue.

+ */ + inline GetQueueRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm in the queue.

+ */ + inline GetQueueRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The queue ID for the queue to retrieve.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID for the queue to retrieve.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID for the queue to retrieve.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID for the queue to retrieve.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID for the queue to retrieve.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID for the queue to retrieve.

+ */ + inline GetQueueRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID for the queue to retrieve.

+ */ + inline GetQueueRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID for the queue to retrieve.

+ */ + inline GetQueueRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueResult.h new file mode 100644 index 00000000000..457abbccea2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetQueueResult.h @@ -0,0 +1,633 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class GetQueueResult + { + public: + AWS_DEADLINE_API GetQueueResult(); + AWS_DEADLINE_API GetQueueResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API GetQueueResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The storage profile IDs for the queue.

+ */ + inline const Aws::Vector& GetAllowedStorageProfileIds() const{ return m_allowedStorageProfileIds; } + + /** + *

The storage profile IDs for the queue.

+ */ + inline void SetAllowedStorageProfileIds(const Aws::Vector& value) { m_allowedStorageProfileIds = value; } + + /** + *

The storage profile IDs for the queue.

+ */ + inline void SetAllowedStorageProfileIds(Aws::Vector&& value) { m_allowedStorageProfileIds = std::move(value); } + + /** + *

The storage profile IDs for the queue.

+ */ + inline GetQueueResult& WithAllowedStorageProfileIds(const Aws::Vector& value) { SetAllowedStorageProfileIds(value); return *this;} + + /** + *

The storage profile IDs for the queue.

+ */ + inline GetQueueResult& WithAllowedStorageProfileIds(Aws::Vector&& value) { SetAllowedStorageProfileIds(std::move(value)); return *this;} + + /** + *

The storage profile IDs for the queue.

+ */ + inline GetQueueResult& AddAllowedStorageProfileIds(const Aws::String& value) { m_allowedStorageProfileIds.push_back(value); return *this; } + + /** + *

The storage profile IDs for the queue.

+ */ + inline GetQueueResult& AddAllowedStorageProfileIds(Aws::String&& value) { m_allowedStorageProfileIds.push_back(std::move(value)); return *this; } + + /** + *

The storage profile IDs for the queue.

+ */ + inline GetQueueResult& AddAllowedStorageProfileIds(const char* value) { m_allowedStorageProfileIds.push_back(value); return *this; } + + + /** + *

The reason the queue was blocked.

+ */ + inline const QueueBlockedReason& GetBlockedReason() const{ return m_blockedReason; } + + /** + *

The reason the queue was blocked.

+ */ + inline void SetBlockedReason(const QueueBlockedReason& value) { m_blockedReason = value; } + + /** + *

The reason the queue was blocked.

+ */ + inline void SetBlockedReason(QueueBlockedReason&& value) { m_blockedReason = std::move(value); } + + /** + *

The reason the queue was blocked.

+ */ + inline GetQueueResult& WithBlockedReason(const QueueBlockedReason& value) { SetBlockedReason(value); return *this;} + + /** + *

The reason the queue was blocked.

+ */ + inline GetQueueResult& WithBlockedReason(QueueBlockedReason&& value) { SetBlockedReason(std::move(value)); return *this;} + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline GetQueueResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline GetQueueResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline GetQueueResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetQueueResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetQueueResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The default action taken on a queue if a budget wasn't configured.

+ */ + inline const DefaultQueueBudgetAction& GetDefaultBudgetAction() const{ return m_defaultBudgetAction; } + + /** + *

The default action taken on a queue if a budget wasn't configured.

+ */ + inline void SetDefaultBudgetAction(const DefaultQueueBudgetAction& value) { m_defaultBudgetAction = value; } + + /** + *

The default action taken on a queue if a budget wasn't configured.

+ */ + inline void SetDefaultBudgetAction(DefaultQueueBudgetAction&& value) { m_defaultBudgetAction = std::move(value); } + + /** + *

The default action taken on a queue if a budget wasn't configured.

+ */ + inline GetQueueResult& WithDefaultBudgetAction(const DefaultQueueBudgetAction& value) { SetDefaultBudgetAction(value); return *this;} + + /** + *

The default action taken on a queue if a budget wasn't configured.

+ */ + inline GetQueueResult& WithDefaultBudgetAction(DefaultQueueBudgetAction&& value) { SetDefaultBudgetAction(std::move(value)); return *this;} + + + /** + *

The description of the queue.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

The description of the queue.

+ */ + inline void SetDescription(const Aws::String& value) { m_description = value; } + + /** + *

The description of the queue.

+ */ + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + + /** + *

The description of the queue.

+ */ + inline void SetDescription(const char* value) { m_description.assign(value); } + + /** + *

The description of the queue.

+ */ + inline GetQueueResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

The description of the queue.

+ */ + inline GetQueueResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

The description of the queue.

+ */ + inline GetQueueResult& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

The display name of the queue.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the queue.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } + + /** + *

The display name of the queue.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } + + /** + *

The display name of the queue.

+ */ + inline void SetDisplayName(const char* value) { m_displayName.assign(value); } + + /** + *

The display name of the queue.

+ */ + inline GetQueueResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the queue.

+ */ + inline GetQueueResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the queue.

+ */ + inline GetQueueResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The farm ID for the queue.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the queue.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmId = value; } + + /** + *

The farm ID for the queue.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmId = std::move(value); } + + /** + *

The farm ID for the queue.

+ */ + inline void SetFarmId(const char* value) { m_farmId.assign(value); } + + /** + *

The farm ID for the queue.

+ */ + inline GetQueueResult& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the queue.

+ */ + inline GetQueueResult& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the queue.

+ */ + inline GetQueueResult& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job attachment settings for the queue.

+ */ + inline const JobAttachmentSettings& GetJobAttachmentSettings() const{ return m_jobAttachmentSettings; } + + /** + *

The job attachment settings for the queue.

+ */ + inline void SetJobAttachmentSettings(const JobAttachmentSettings& value) { m_jobAttachmentSettings = value; } + + /** + *

The job attachment settings for the queue.

+ */ + inline void SetJobAttachmentSettings(JobAttachmentSettings&& value) { m_jobAttachmentSettings = std::move(value); } + + /** + *

The job attachment settings for the queue.

+ */ + inline GetQueueResult& WithJobAttachmentSettings(const JobAttachmentSettings& value) { SetJobAttachmentSettings(value); return *this;} + + /** + *

The job attachment settings for the queue.

+ */ + inline GetQueueResult& WithJobAttachmentSettings(JobAttachmentSettings&& value) { SetJobAttachmentSettings(std::move(value)); return *this;} + + + /** + *

The jobs in the queue ran as this specified POSIX user.

+ */ + inline const JobRunAsUser& GetJobRunAsUser() const{ return m_jobRunAsUser; } + + /** + *

The jobs in the queue ran as this specified POSIX user.

+ */ + inline void SetJobRunAsUser(const JobRunAsUser& value) { m_jobRunAsUser = value; } + + /** + *

The jobs in the queue ran as this specified POSIX user.

+ */ + inline void SetJobRunAsUser(JobRunAsUser&& value) { m_jobRunAsUser = std::move(value); } + + /** + *

The jobs in the queue ran as this specified POSIX user.

+ */ + inline GetQueueResult& WithJobRunAsUser(const JobRunAsUser& value) { SetJobRunAsUser(value); return *this;} + + /** + *

The jobs in the queue ran as this specified POSIX user.

+ */ + inline GetQueueResult& WithJobRunAsUser(JobRunAsUser&& value) { SetJobRunAsUser(std::move(value)); return *this;} + + + /** + *

The queue ID.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueId = value; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueId = std::move(value); } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const char* value) { m_queueId.assign(value); } + + /** + *

The queue ID.

+ */ + inline GetQueueResult& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID.

+ */ + inline GetQueueResult& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID.

+ */ + inline GetQueueResult& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

A list of the required file system location names in the queue.

+ */ + inline const Aws::Vector& GetRequiredFileSystemLocationNames() const{ return m_requiredFileSystemLocationNames; } + + /** + *

A list of the required file system location names in the queue.

+ */ + inline void SetRequiredFileSystemLocationNames(const Aws::Vector& value) { m_requiredFileSystemLocationNames = value; } + + /** + *

A list of the required file system location names in the queue.

+ */ + inline void SetRequiredFileSystemLocationNames(Aws::Vector&& value) { m_requiredFileSystemLocationNames = std::move(value); } + + /** + *

A list of the required file system location names in the queue.

+ */ + inline GetQueueResult& WithRequiredFileSystemLocationNames(const Aws::Vector& value) { SetRequiredFileSystemLocationNames(value); return *this;} + + /** + *

A list of the required file system location names in the queue.

+ */ + inline GetQueueResult& WithRequiredFileSystemLocationNames(Aws::Vector&& value) { SetRequiredFileSystemLocationNames(std::move(value)); return *this;} + + /** + *

A list of the required file system location names in the queue.

+ */ + inline GetQueueResult& AddRequiredFileSystemLocationNames(const Aws::String& value) { m_requiredFileSystemLocationNames.push_back(value); return *this; } + + /** + *

A list of the required file system location names in the queue.

+ */ + inline GetQueueResult& AddRequiredFileSystemLocationNames(Aws::String&& value) { m_requiredFileSystemLocationNames.push_back(std::move(value)); return *this; } + + /** + *

A list of the required file system location names in the queue.

+ */ + inline GetQueueResult& AddRequiredFileSystemLocationNames(const char* value) { m_requiredFileSystemLocationNames.push_back(value); return *this; } + + + /** + *

The IAM role ARN.

+ */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + + /** + *

The IAM role ARN.

+ */ + inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; } + + /** + *

The IAM role ARN.

+ */ + inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); } + + /** + *

The IAM role ARN.

+ */ + inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } + + /** + *

The IAM role ARN.

+ */ + inline GetQueueResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + + /** + *

The IAM role ARN.

+ */ + inline GetQueueResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + + /** + *

The IAM role ARN.

+ */ + inline GetQueueResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + + + /** + *

The status of the queue.

  • ACTIVE–The queue is + * active.

  • SCHEDULING–The queue is scheduling.

    + *
  • SCHEDULING_BLOCKED–The queue scheduling is blocked. + * See the provided reason.

+ */ + inline const QueueStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the queue.

  • ACTIVE–The queue is + * active.

  • SCHEDULING–The queue is scheduling.

    + *
  • SCHEDULING_BLOCKED–The queue scheduling is blocked. + * See the provided reason.

+ */ + inline void SetStatus(const QueueStatus& value) { m_status = value; } + + /** + *

The status of the queue.

  • ACTIVE–The queue is + * active.

  • SCHEDULING–The queue is scheduling.

    + *
  • SCHEDULING_BLOCKED–The queue scheduling is blocked. + * See the provided reason.

+ */ + inline void SetStatus(QueueStatus&& value) { m_status = std::move(value); } + + /** + *

The status of the queue.

  • ACTIVE–The queue is + * active.

  • SCHEDULING–The queue is scheduling.

    + *
  • SCHEDULING_BLOCKED–The queue scheduling is blocked. + * See the provided reason.

+ */ + inline GetQueueResult& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the queue.

  • ACTIVE–The queue is + * active.

  • SCHEDULING–The queue is scheduling.

    + *
  • SCHEDULING_BLOCKED–The queue scheduling is blocked. + * See the provided reason.

+ */ + inline GetQueueResult& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline GetQueueResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline GetQueueResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline GetQueueResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetQueueResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetQueueResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetQueueResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetQueueResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetQueueResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_allowedStorageProfileIds; + + QueueBlockedReason m_blockedReason; + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + DefaultQueueBudgetAction m_defaultBudgetAction; + + Aws::String m_description; + + Aws::String m_displayName; + + Aws::String m_farmId; + + JobAttachmentSettings m_jobAttachmentSettings; + + JobRunAsUser m_jobRunAsUser; + + Aws::String m_queueId; + + Aws::Vector m_requiredFileSystemLocationNames; + + Aws::String m_roleArn; + + QueueStatus m_status; + + Aws::Utils::DateTime m_updatedAt; + + Aws::String m_updatedBy; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionActionRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionActionRequest.h new file mode 100644 index 00000000000..7de75177aad --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionActionRequest.h @@ -0,0 +1,215 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class GetSessionActionRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API GetSessionActionRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetSessionAction"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID for the session action.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the session action.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the session action.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the session action.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the session action.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the session action.

+ */ + inline GetSessionActionRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the session action.

+ */ + inline GetSessionActionRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the session action.

+ */ + inline GetSessionActionRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID for the session.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID for the session.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID for the session.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID for the session.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID for the session.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID for the session.

+ */ + inline GetSessionActionRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID for the session.

+ */ + inline GetSessionActionRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID for the session.

+ */ + inline GetSessionActionRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The queue ID for the session action.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID for the session action.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID for the session action.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID for the session action.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID for the session action.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID for the session action.

+ */ + inline GetSessionActionRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID for the session action.

+ */ + inline GetSessionActionRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID for the session action.

+ */ + inline GetSessionActionRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The session action ID for the session.

+ */ + inline const Aws::String& GetSessionActionId() const{ return m_sessionActionId; } + + /** + *

The session action ID for the session.

+ */ + inline bool SessionActionIdHasBeenSet() const { return m_sessionActionIdHasBeenSet; } + + /** + *

The session action ID for the session.

+ */ + inline void SetSessionActionId(const Aws::String& value) { m_sessionActionIdHasBeenSet = true; m_sessionActionId = value; } + + /** + *

The session action ID for the session.

+ */ + inline void SetSessionActionId(Aws::String&& value) { m_sessionActionIdHasBeenSet = true; m_sessionActionId = std::move(value); } + + /** + *

The session action ID for the session.

+ */ + inline void SetSessionActionId(const char* value) { m_sessionActionIdHasBeenSet = true; m_sessionActionId.assign(value); } + + /** + *

The session action ID for the session.

+ */ + inline GetSessionActionRequest& WithSessionActionId(const Aws::String& value) { SetSessionActionId(value); return *this;} + + /** + *

The session action ID for the session.

+ */ + inline GetSessionActionRequest& WithSessionActionId(Aws::String&& value) { SetSessionActionId(std::move(value)); return *this;} + + /** + *

The session action ID for the session.

+ */ + inline GetSessionActionRequest& WithSessionActionId(const char* value) { SetSessionActionId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_sessionActionId; + bool m_sessionActionIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionActionResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionActionResult.h new file mode 100644 index 00000000000..849f1bc608c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionActionResult.h @@ -0,0 +1,361 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class GetSessionActionResult + { + public: + AWS_DEADLINE_API GetSessionActionResult(); + AWS_DEADLINE_API GetSessionActionResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API GetSessionActionResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The session action definition.

+ */ + inline const SessionActionDefinition& GetDefinition() const{ return m_definition; } + + /** + *

The session action definition.

+ */ + inline void SetDefinition(const SessionActionDefinition& value) { m_definition = value; } + + /** + *

The session action definition.

+ */ + inline void SetDefinition(SessionActionDefinition&& value) { m_definition = std::move(value); } + + /** + *

The session action definition.

+ */ + inline GetSessionActionResult& WithDefinition(const SessionActionDefinition& value) { SetDefinition(value); return *this;} + + /** + *

The session action definition.

+ */ + inline GetSessionActionResult& WithDefinition(SessionActionDefinition&& value) { SetDefinition(std::move(value)); return *this;} + + + /** + *

The date and time the resource ended running.

+ */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); } + + /** + *

The date and time the resource ended running.

+ */ + inline GetSessionActionResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + + /** + *

The date and time the resource ended running.

+ */ + inline GetSessionActionResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + + + /** + *

The exit code to exit the session.

+ */ + inline int GetProcessExitCode() const{ return m_processExitCode; } + + /** + *

The exit code to exit the session.

+ */ + inline void SetProcessExitCode(int value) { m_processExitCode = value; } + + /** + *

The exit code to exit the session.

+ */ + inline GetSessionActionResult& WithProcessExitCode(int value) { SetProcessExitCode(value); return *this;} + + + /** + *

The message that communicates the progress of the session action.

+ */ + inline const Aws::String& GetProgressMessage() const{ return m_progressMessage; } + + /** + *

The message that communicates the progress of the session action.

+ */ + inline void SetProgressMessage(const Aws::String& value) { m_progressMessage = value; } + + /** + *

The message that communicates the progress of the session action.

+ */ + inline void SetProgressMessage(Aws::String&& value) { m_progressMessage = std::move(value); } + + /** + *

The message that communicates the progress of the session action.

+ */ + inline void SetProgressMessage(const char* value) { m_progressMessage.assign(value); } + + /** + *

The message that communicates the progress of the session action.

+ */ + inline GetSessionActionResult& WithProgressMessage(const Aws::String& value) { SetProgressMessage(value); return *this;} + + /** + *

The message that communicates the progress of the session action.

+ */ + inline GetSessionActionResult& WithProgressMessage(Aws::String&& value) { SetProgressMessage(std::move(value)); return *this;} + + /** + *

The message that communicates the progress of the session action.

+ */ + inline GetSessionActionResult& WithProgressMessage(const char* value) { SetProgressMessage(value); return *this;} + + + /** + *

The percentage completed for a session action.

+ */ + inline double GetProgressPercent() const{ return m_progressPercent; } + + /** + *

The percentage completed for a session action.

+ */ + inline void SetProgressPercent(double value) { m_progressPercent = value; } + + /** + *

The percentage completed for a session action.

+ */ + inline GetSessionActionResult& WithProgressPercent(double value) { SetProgressPercent(value); return *this;} + + + /** + *

The session action ID.

+ */ + inline const Aws::String& GetSessionActionId() const{ return m_sessionActionId; } + + /** + *

The session action ID.

+ */ + inline void SetSessionActionId(const Aws::String& value) { m_sessionActionId = value; } + + /** + *

The session action ID.

+ */ + inline void SetSessionActionId(Aws::String&& value) { m_sessionActionId = std::move(value); } + + /** + *

The session action ID.

+ */ + inline void SetSessionActionId(const char* value) { m_sessionActionId.assign(value); } + + /** + *

The session action ID.

+ */ + inline GetSessionActionResult& WithSessionActionId(const Aws::String& value) { SetSessionActionId(value); return *this;} + + /** + *

The session action ID.

+ */ + inline GetSessionActionResult& WithSessionActionId(Aws::String&& value) { SetSessionActionId(std::move(value)); return *this;} + + /** + *

The session action ID.

+ */ + inline GetSessionActionResult& WithSessionActionId(const char* value) { SetSessionActionId(value); return *this;} + + + /** + *

The session ID for the session action.

+ */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + + /** + *

The session ID for the session action.

+ */ + inline void SetSessionId(const Aws::String& value) { m_sessionId = value; } + + /** + *

The session ID for the session action.

+ */ + inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); } + + /** + *

The session ID for the session action.

+ */ + inline void SetSessionId(const char* value) { m_sessionId.assign(value); } + + /** + *

The session ID for the session action.

+ */ + inline GetSessionActionResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + + /** + *

The session ID for the session action.

+ */ + inline GetSessionActionResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + + /** + *

The session ID for the session action.

+ */ + inline GetSessionActionResult& WithSessionId(const char* value) { SetSessionId(value); return *this;} + + + /** + *

The date and time the resource started running.

+ */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); } + + /** + *

The date and time the resource started running.

+ */ + inline GetSessionActionResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + + /** + *

The date and time the resource started running.

+ */ + inline GetSessionActionResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + + + /** + *

The status of the session action.

+ */ + inline const SessionActionStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the session action.

+ */ + inline void SetStatus(const SessionActionStatus& value) { m_status = value; } + + /** + *

The status of the session action.

+ */ + inline void SetStatus(SessionActionStatus&& value) { m_status = std::move(value); } + + /** + *

The status of the session action.

+ */ + inline GetSessionActionResult& WithStatus(const SessionActionStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the session action.

+ */ + inline GetSessionActionResult& WithStatus(SessionActionStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The Linux timestamp of the date and time the session action was last + * updated.

+ */ + inline const Aws::Utils::DateTime& GetWorkerUpdatedAt() const{ return m_workerUpdatedAt; } + + /** + *

The Linux timestamp of the date and time the session action was last + * updated.

+ */ + inline void SetWorkerUpdatedAt(const Aws::Utils::DateTime& value) { m_workerUpdatedAt = value; } + + /** + *

The Linux timestamp of the date and time the session action was last + * updated.

+ */ + inline void SetWorkerUpdatedAt(Aws::Utils::DateTime&& value) { m_workerUpdatedAt = std::move(value); } + + /** + *

The Linux timestamp of the date and time the session action was last + * updated.

+ */ + inline GetSessionActionResult& WithWorkerUpdatedAt(const Aws::Utils::DateTime& value) { SetWorkerUpdatedAt(value); return *this;} + + /** + *

The Linux timestamp of the date and time the session action was last + * updated.

+ */ + inline GetSessionActionResult& WithWorkerUpdatedAt(Aws::Utils::DateTime&& value) { SetWorkerUpdatedAt(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetSessionActionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetSessionActionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetSessionActionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + SessionActionDefinition m_definition; + + Aws::Utils::DateTime m_endedAt; + + int m_processExitCode; + + Aws::String m_progressMessage; + + double m_progressPercent; + + Aws::String m_sessionActionId; + + Aws::String m_sessionId; + + Aws::Utils::DateTime m_startedAt; + + SessionActionStatus m_status; + + Aws::Utils::DateTime m_workerUpdatedAt; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionRequest.h new file mode 100644 index 00000000000..29d955c23c3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionRequest.h @@ -0,0 +1,215 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class GetSessionRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API GetSessionRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetSession"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID for the session.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the session.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the session.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the session.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the session.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the session.

+ */ + inline GetSessionRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the session.

+ */ + inline GetSessionRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the session.

+ */ + inline GetSessionRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID for the session.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID for the session.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID for the session.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID for the session.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID for the session.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID for the session.

+ */ + inline GetSessionRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID for the session.

+ */ + inline GetSessionRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID for the session.

+ */ + inline GetSessionRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The queue ID for the session.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID for the session.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID for the session.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID for the session.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID for the session.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID for the session.

+ */ + inline GetSessionRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID for the session.

+ */ + inline GetSessionRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID for the session.

+ */ + inline GetSessionRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The session ID.

+ */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + + /** + *

The session ID.

+ */ + inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } + + /** + *

The session ID.

+ */ + inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } + + /** + *

The session ID.

+ */ + inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } + + /** + *

The session ID.

+ */ + inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } + + /** + *

The session ID.

+ */ + inline GetSessionRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + + /** + *

The session ID.

+ */ + inline GetSessionRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + + /** + *

The session ID.

+ */ + inline GetSessionRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_sessionId; + bool m_sessionIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionResult.h new file mode 100644 index 00000000000..0f2e879adce --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionResult.h @@ -0,0 +1,444 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class GetSessionResult + { + public: + AWS_DEADLINE_API GetSessionResult(); + AWS_DEADLINE_API GetSessionResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API GetSessionResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The date and time the resource ended running.

+ */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); } + + /** + *

The date and time the resource ended running.

+ */ + inline GetSessionResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + + /** + *

The date and time the resource ended running.

+ */ + inline GetSessionResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + + + /** + *

The fleet ID for the session.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID for the session.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetId = value; } + + /** + *

The fleet ID for the session.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); } + + /** + *

The fleet ID for the session.

+ */ + inline void SetFleetId(const char* value) { m_fleetId.assign(value); } + + /** + *

The fleet ID for the session.

+ */ + inline GetSessionResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID for the session.

+ */ + inline GetSessionResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID for the session.

+ */ + inline GetSessionResult& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

Provides the Amazon EC2 properties of the host.

+ */ + inline const HostPropertiesResponse& GetHostProperties() const{ return m_hostProperties; } + + /** + *

Provides the Amazon EC2 properties of the host.

+ */ + inline void SetHostProperties(const HostPropertiesResponse& value) { m_hostProperties = value; } + + /** + *

Provides the Amazon EC2 properties of the host.

+ */ + inline void SetHostProperties(HostPropertiesResponse&& value) { m_hostProperties = std::move(value); } + + /** + *

Provides the Amazon EC2 properties of the host.

+ */ + inline GetSessionResult& WithHostProperties(const HostPropertiesResponse& value) { SetHostProperties(value); return *this;} + + /** + *

Provides the Amazon EC2 properties of the host.

+ */ + inline GetSessionResult& WithHostProperties(HostPropertiesResponse&& value) { SetHostProperties(std::move(value)); return *this;} + + + /** + *

The life cycle status of the session.

+ */ + inline const SessionLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } + + /** + *

The life cycle status of the session.

+ */ + inline void SetLifecycleStatus(const SessionLifecycleStatus& value) { m_lifecycleStatus = value; } + + /** + *

The life cycle status of the session.

+ */ + inline void SetLifecycleStatus(SessionLifecycleStatus&& value) { m_lifecycleStatus = std::move(value); } + + /** + *

The life cycle status of the session.

+ */ + inline GetSessionResult& WithLifecycleStatus(const SessionLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} + + /** + *

The life cycle status of the session.

+ */ + inline GetSessionResult& WithLifecycleStatus(SessionLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} + + + /** + *

The session log.

+ */ + inline const LogConfiguration& GetLog() const{ return m_log; } + + /** + *

The session log.

+ */ + inline void SetLog(const LogConfiguration& value) { m_log = value; } + + /** + *

The session log.

+ */ + inline void SetLog(LogConfiguration&& value) { m_log = std::move(value); } + + /** + *

The session log.

+ */ + inline GetSessionResult& WithLog(const LogConfiguration& value) { SetLog(value); return *this;} + + /** + *

The session log.

+ */ + inline GetSessionResult& WithLog(LogConfiguration&& value) { SetLog(std::move(value)); return *this;} + + + /** + *

The session ID.

+ */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + + /** + *

The session ID.

+ */ + inline void SetSessionId(const Aws::String& value) { m_sessionId = value; } + + /** + *

The session ID.

+ */ + inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); } + + /** + *

The session ID.

+ */ + inline void SetSessionId(const char* value) { m_sessionId.assign(value); } + + /** + *

The session ID.

+ */ + inline GetSessionResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + + /** + *

The session ID.

+ */ + inline GetSessionResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + + /** + *

The session ID.

+ */ + inline GetSessionResult& WithSessionId(const char* value) { SetSessionId(value); return *this;} + + + /** + *

The date and time the resource started running.

+ */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); } + + /** + *

The date and time the resource started running.

+ */ + inline GetSessionResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + + /** + *

The date and time the resource started running.

+ */ + inline GetSessionResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + + + /** + *

The life cycle status with which the session started.

+ */ + inline const SessionLifecycleTargetStatus& GetTargetLifecycleStatus() const{ return m_targetLifecycleStatus; } + + /** + *

The life cycle status with which the session started.

+ */ + inline void SetTargetLifecycleStatus(const SessionLifecycleTargetStatus& value) { m_targetLifecycleStatus = value; } + + /** + *

The life cycle status with which the session started.

+ */ + inline void SetTargetLifecycleStatus(SessionLifecycleTargetStatus&& value) { m_targetLifecycleStatus = std::move(value); } + + /** + *

The life cycle status with which the session started.

+ */ + inline GetSessionResult& WithTargetLifecycleStatus(const SessionLifecycleTargetStatus& value) { SetTargetLifecycleStatus(value); return *this;} + + /** + *

The life cycle status with which the session started.

+ */ + inline GetSessionResult& WithTargetLifecycleStatus(SessionLifecycleTargetStatus&& value) { SetTargetLifecycleStatus(std::move(value)); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline GetSessionResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline GetSessionResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline GetSessionResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetSessionResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetSessionResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + /** + *

The worker ID for the session.

+ */ + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + + /** + *

The worker ID for the session.

+ */ + inline void SetWorkerId(const Aws::String& value) { m_workerId = value; } + + /** + *

The worker ID for the session.

+ */ + inline void SetWorkerId(Aws::String&& value) { m_workerId = std::move(value); } + + /** + *

The worker ID for the session.

+ */ + inline void SetWorkerId(const char* value) { m_workerId.assign(value); } + + /** + *

The worker ID for the session.

+ */ + inline GetSessionResult& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + + /** + *

The worker ID for the session.

+ */ + inline GetSessionResult& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + + /** + *

The worker ID for the session.

+ */ + inline GetSessionResult& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + + + /** + *

The worker log for the session.

+ */ + inline const LogConfiguration& GetWorkerLog() const{ return m_workerLog; } + + /** + *

The worker log for the session.

+ */ + inline void SetWorkerLog(const LogConfiguration& value) { m_workerLog = value; } + + /** + *

The worker log for the session.

+ */ + inline void SetWorkerLog(LogConfiguration&& value) { m_workerLog = std::move(value); } + + /** + *

The worker log for the session.

+ */ + inline GetSessionResult& WithWorkerLog(const LogConfiguration& value) { SetWorkerLog(value); return *this;} + + /** + *

The worker log for the session.

+ */ + inline GetSessionResult& WithWorkerLog(LogConfiguration&& value) { SetWorkerLog(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetSessionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetSessionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetSessionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Utils::DateTime m_endedAt; + + Aws::String m_fleetId; + + HostPropertiesResponse m_hostProperties; + + SessionLifecycleStatus m_lifecycleStatus; + + LogConfiguration m_log; + + Aws::String m_sessionId; + + Aws::Utils::DateTime m_startedAt; + + SessionLifecycleTargetStatus m_targetLifecycleStatus; + + Aws::Utils::DateTime m_updatedAt; + + Aws::String m_updatedBy; + + Aws::String m_workerId; + + LogConfiguration m_workerLog; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionsStatisticsAggregationRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionsStatisticsAggregationRequest.h new file mode 100644 index 00000000000..23354c3b189 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionsStatisticsAggregationRequest.h @@ -0,0 +1,245 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class GetSessionsStatisticsAggregationRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API GetSessionsStatisticsAggregationRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetSessionsStatisticsAggregation"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The identifier returned by the + * StartSessionsStatisticsAggregation operation that identifies the + * aggregated statistics.

+ */ + inline const Aws::String& GetAggregationId() const{ return m_aggregationId; } + + /** + *

The identifier returned by the + * StartSessionsStatisticsAggregation operation that identifies the + * aggregated statistics.

+ */ + inline bool AggregationIdHasBeenSet() const { return m_aggregationIdHasBeenSet; } + + /** + *

The identifier returned by the + * StartSessionsStatisticsAggregation operation that identifies the + * aggregated statistics.

+ */ + inline void SetAggregationId(const Aws::String& value) { m_aggregationIdHasBeenSet = true; m_aggregationId = value; } + + /** + *

The identifier returned by the + * StartSessionsStatisticsAggregation operation that identifies the + * aggregated statistics.

+ */ + inline void SetAggregationId(Aws::String&& value) { m_aggregationIdHasBeenSet = true; m_aggregationId = std::move(value); } + + /** + *

The identifier returned by the + * StartSessionsStatisticsAggregation operation that identifies the + * aggregated statistics.

+ */ + inline void SetAggregationId(const char* value) { m_aggregationIdHasBeenSet = true; m_aggregationId.assign(value); } + + /** + *

The identifier returned by the + * StartSessionsStatisticsAggregation operation that identifies the + * aggregated statistics.

+ */ + inline GetSessionsStatisticsAggregationRequest& WithAggregationId(const Aws::String& value) { SetAggregationId(value); return *this;} + + /** + *

The identifier returned by the + * StartSessionsStatisticsAggregation operation that identifies the + * aggregated statistics.

+ */ + inline GetSessionsStatisticsAggregationRequest& WithAggregationId(Aws::String&& value) { SetAggregationId(std::move(value)); return *this;} + + /** + *

The identifier returned by the + * StartSessionsStatisticsAggregation operation that identifies the + * aggregated statistics.

+ */ + inline GetSessionsStatisticsAggregationRequest& WithAggregationId(const char* value) { SetAggregationId(value); return *this;} + + + /** + *

The identifier of the farm to include in the statistics. This should be the + * same as the farm ID used in the call to the + * StartSessionsStatisticsAggregation operation.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The identifier of the farm to include in the statistics. This should be the + * same as the farm ID used in the call to the + * StartSessionsStatisticsAggregation operation.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The identifier of the farm to include in the statistics. This should be the + * same as the farm ID used in the call to the + * StartSessionsStatisticsAggregation operation.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The identifier of the farm to include in the statistics. This should be the + * same as the farm ID used in the call to the + * StartSessionsStatisticsAggregation operation.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The identifier of the farm to include in the statistics. This should be the + * same as the farm ID used in the call to the + * StartSessionsStatisticsAggregation operation.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The identifier of the farm to include in the statistics. This should be the + * same as the farm ID used in the call to the + * StartSessionsStatisticsAggregation operation.

+ */ + inline GetSessionsStatisticsAggregationRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The identifier of the farm to include in the statistics. This should be the + * same as the farm ID used in the call to the + * StartSessionsStatisticsAggregation operation.

+ */ + inline GetSessionsStatisticsAggregationRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The identifier of the farm to include in the statistics. This should be the + * same as the farm ID used in the call to the + * StartSessionsStatisticsAggregation operation.

+ */ + inline GetSessionsStatisticsAggregationRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline GetSessionsStatisticsAggregationRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline GetSessionsStatisticsAggregationRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline GetSessionsStatisticsAggregationRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline GetSessionsStatisticsAggregationRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + Aws::String m_aggregationId; + bool m_aggregationIdHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionsStatisticsAggregationResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionsStatisticsAggregationResult.h new file mode 100644 index 00000000000..be2fd06d9e4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetSessionsStatisticsAggregationResult.h @@ -0,0 +1,250 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class GetSessionsStatisticsAggregationResult + { + public: + AWS_DEADLINE_API GetSessionsStatisticsAggregationResult(); + AWS_DEADLINE_API GetSessionsStatisticsAggregationResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API GetSessionsStatisticsAggregationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline GetSessionsStatisticsAggregationResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline GetSessionsStatisticsAggregationResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline GetSessionsStatisticsAggregationResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The statistics for the specified fleets or queues.

+ */ + inline const Aws::Vector& GetStatistics() const{ return m_statistics; } + + /** + *

The statistics for the specified fleets or queues.

+ */ + inline void SetStatistics(const Aws::Vector& value) { m_statistics = value; } + + /** + *

The statistics for the specified fleets or queues.

+ */ + inline void SetStatistics(Aws::Vector&& value) { m_statistics = std::move(value); } + + /** + *

The statistics for the specified fleets or queues.

+ */ + inline GetSessionsStatisticsAggregationResult& WithStatistics(const Aws::Vector& value) { SetStatistics(value); return *this;} + + /** + *

The statistics for the specified fleets or queues.

+ */ + inline GetSessionsStatisticsAggregationResult& WithStatistics(Aws::Vector&& value) { SetStatistics(std::move(value)); return *this;} + + /** + *

The statistics for the specified fleets or queues.

+ */ + inline GetSessionsStatisticsAggregationResult& AddStatistics(const Statistics& value) { m_statistics.push_back(value); return *this; } + + /** + *

The statistics for the specified fleets or queues.

+ */ + inline GetSessionsStatisticsAggregationResult& AddStatistics(Statistics&& value) { m_statistics.push_back(std::move(value)); return *this; } + + + /** + *

The status of the aggregated results.

+ */ + inline const SessionsStatisticsAggregationStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the aggregated results.

+ */ + inline void SetStatus(const SessionsStatisticsAggregationStatus& value) { m_status = value; } + + /** + *

The status of the aggregated results.

+ */ + inline void SetStatus(SessionsStatisticsAggregationStatus&& value) { m_status = std::move(value); } + + /** + *

The status of the aggregated results.

+ */ + inline GetSessionsStatisticsAggregationResult& WithStatus(const SessionsStatisticsAggregationStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the aggregated results.

+ */ + inline GetSessionsStatisticsAggregationResult& WithStatus(SessionsStatisticsAggregationStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

A message that describes the status.

+ */ + inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } + + /** + *

A message that describes the status.

+ */ + inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; } + + /** + *

A message that describes the status.

+ */ + inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); } + + /** + *

A message that describes the status.

+ */ + inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); } + + /** + *

A message that describes the status.

+ */ + inline GetSessionsStatisticsAggregationResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} + + /** + *

A message that describes the status.

+ */ + inline GetSessionsStatisticsAggregationResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} + + /** + *

A message that describes the status.

+ */ + inline GetSessionsStatisticsAggregationResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetSessionsStatisticsAggregationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetSessionsStatisticsAggregationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetSessionsStatisticsAggregationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_nextToken; + + Aws::Vector m_statistics; + + SessionsStatisticsAggregationStatus m_status; + + Aws::String m_statusMessage; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStepRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStepRequest.h new file mode 100644 index 00000000000..4956c5e0a9f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStepRequest.h @@ -0,0 +1,215 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class GetStepRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API GetStepRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetStep"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID for the step.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the step.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the step.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the step.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the step.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the step.

+ */ + inline GetStepRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the step.

+ */ + inline GetStepRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the step.

+ */ + inline GetStepRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID for the step.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID for the step.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID for the step.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID for the step.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID for the step.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID for the step.

+ */ + inline GetStepRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID for the step.

+ */ + inline GetStepRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID for the step.

+ */ + inline GetStepRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The queue ID for the step.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID for the step.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID for the step.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID for the step.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID for the step.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID for the step.

+ */ + inline GetStepRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID for the step.

+ */ + inline GetStepRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID for the step.

+ */ + inline GetStepRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The step ID.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID.

+ */ + inline GetStepRequest& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID.

+ */ + inline GetStepRequest& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID.

+ */ + inline GetStepRequest& WithStepId(const char* value) { SetStepId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStepResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStepResult.h new file mode 100644 index 00000000000..541416c9941 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStepResult.h @@ -0,0 +1,617 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class GetStepResult + { + public: + AWS_DEADLINE_API GetStepResult(); + AWS_DEADLINE_API GetStepResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API GetStepResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline GetStepResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline GetStepResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline GetStepResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetStepResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetStepResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The number of dependencies in the step.

+ */ + inline const DependencyCounts& GetDependencyCounts() const{ return m_dependencyCounts; } + + /** + *

The number of dependencies in the step.

+ */ + inline void SetDependencyCounts(const DependencyCounts& value) { m_dependencyCounts = value; } + + /** + *

The number of dependencies in the step.

+ */ + inline void SetDependencyCounts(DependencyCounts&& value) { m_dependencyCounts = std::move(value); } + + /** + *

The number of dependencies in the step.

+ */ + inline GetStepResult& WithDependencyCounts(const DependencyCounts& value) { SetDependencyCounts(value); return *this;} + + /** + *

The number of dependencies in the step.

+ */ + inline GetStepResult& WithDependencyCounts(DependencyCounts&& value) { SetDependencyCounts(std::move(value)); return *this;} + + + /** + *

The description of the step.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

The description of the step.

+ */ + inline void SetDescription(const Aws::String& value) { m_description = value; } + + /** + *

The description of the step.

+ */ + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + + /** + *

The description of the step.

+ */ + inline void SetDescription(const char* value) { m_description.assign(value); } + + /** + *

The description of the step.

+ */ + inline GetStepResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

The description of the step.

+ */ + inline GetStepResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

The description of the step.

+ */ + inline GetStepResult& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

The date and time the resource ended running.

+ */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); } + + /** + *

The date and time the resource ended running.

+ */ + inline GetStepResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + + /** + *

The date and time the resource ended running.

+ */ + inline GetStepResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + + + /** + *

The life cycle status of the step.

+ */ + inline const StepLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } + + /** + *

The life cycle status of the step.

+ */ + inline void SetLifecycleStatus(const StepLifecycleStatus& value) { m_lifecycleStatus = value; } + + /** + *

The life cycle status of the step.

+ */ + inline void SetLifecycleStatus(StepLifecycleStatus&& value) { m_lifecycleStatus = std::move(value); } + + /** + *

The life cycle status of the step.

+ */ + inline GetStepResult& WithLifecycleStatus(const StepLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} + + /** + *

The life cycle status of the step.

+ */ + inline GetStepResult& WithLifecycleStatus(StepLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} + + + /** + *

A message that describes the lifecycle status of the step.

+ */ + inline const Aws::String& GetLifecycleStatusMessage() const{ return m_lifecycleStatusMessage; } + + /** + *

A message that describes the lifecycle status of the step.

+ */ + inline void SetLifecycleStatusMessage(const Aws::String& value) { m_lifecycleStatusMessage = value; } + + /** + *

A message that describes the lifecycle status of the step.

+ */ + inline void SetLifecycleStatusMessage(Aws::String&& value) { m_lifecycleStatusMessage = std::move(value); } + + /** + *

A message that describes the lifecycle status of the step.

+ */ + inline void SetLifecycleStatusMessage(const char* value) { m_lifecycleStatusMessage.assign(value); } + + /** + *

A message that describes the lifecycle status of the step.

+ */ + inline GetStepResult& WithLifecycleStatusMessage(const Aws::String& value) { SetLifecycleStatusMessage(value); return *this;} + + /** + *

A message that describes the lifecycle status of the step.

+ */ + inline GetStepResult& WithLifecycleStatusMessage(Aws::String&& value) { SetLifecycleStatusMessage(std::move(value)); return *this;} + + /** + *

A message that describes the lifecycle status of the step.

+ */ + inline GetStepResult& WithLifecycleStatusMessage(const char* value) { SetLifecycleStatusMessage(value); return *this;} + + + /** + *

The name of the step.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the step.

+ */ + inline void SetName(const Aws::String& value) { m_name = value; } + + /** + *

The name of the step.

+ */ + inline void SetName(Aws::String&& value) { m_name = std::move(value); } + + /** + *

The name of the step.

+ */ + inline void SetName(const char* value) { m_name.assign(value); } + + /** + *

The name of the step.

+ */ + inline GetStepResult& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the step.

+ */ + inline GetStepResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The name of the step.

+ */ + inline GetStepResult& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

A list of step parameters and the combination expression for the step.

+ */ + inline const ParameterSpace& GetParameterSpace() const{ return m_parameterSpace; } + + /** + *

A list of step parameters and the combination expression for the step.

+ */ + inline void SetParameterSpace(const ParameterSpace& value) { m_parameterSpace = value; } + + /** + *

A list of step parameters and the combination expression for the step.

+ */ + inline void SetParameterSpace(ParameterSpace&& value) { m_parameterSpace = std::move(value); } + + /** + *

A list of step parameters and the combination expression for the step.

+ */ + inline GetStepResult& WithParameterSpace(const ParameterSpace& value) { SetParameterSpace(value); return *this;} + + /** + *

A list of step parameters and the combination expression for the step.

+ */ + inline GetStepResult& WithParameterSpace(ParameterSpace&& value) { SetParameterSpace(std::move(value)); return *this;} + + + /** + *

The required capabilities of the step.

+ */ + inline const StepRequiredCapabilities& GetRequiredCapabilities() const{ return m_requiredCapabilities; } + + /** + *

The required capabilities of the step.

+ */ + inline void SetRequiredCapabilities(const StepRequiredCapabilities& value) { m_requiredCapabilities = value; } + + /** + *

The required capabilities of the step.

+ */ + inline void SetRequiredCapabilities(StepRequiredCapabilities&& value) { m_requiredCapabilities = std::move(value); } + + /** + *

The required capabilities of the step.

+ */ + inline GetStepResult& WithRequiredCapabilities(const StepRequiredCapabilities& value) { SetRequiredCapabilities(value); return *this;} + + /** + *

The required capabilities of the step.

+ */ + inline GetStepResult& WithRequiredCapabilities(StepRequiredCapabilities&& value) { SetRequiredCapabilities(std::move(value)); return *this;} + + + /** + *

The date and time the resource started running.

+ */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); } + + /** + *

The date and time the resource started running.

+ */ + inline GetStepResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + + /** + *

The date and time the resource started running.

+ */ + inline GetStepResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + + + /** + *

The step ID.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepId = value; } + + /** + *

The step ID.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepId = std::move(value); } + + /** + *

The step ID.

+ */ + inline void SetStepId(const char* value) { m_stepId.assign(value); } + + /** + *

The step ID.

+ */ + inline GetStepResult& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID.

+ */ + inline GetStepResult& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID.

+ */ + inline GetStepResult& WithStepId(const char* value) { SetStepId(value); return *this;} + + + /** + *

The task status with which the job started.

+ */ + inline const StepTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } + + /** + *

The task status with which the job started.

+ */ + inline void SetTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { m_targetTaskRunStatus = value; } + + /** + *

The task status with which the job started.

+ */ + inline void SetTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { m_targetTaskRunStatus = std::move(value); } + + /** + *

The task status with which the job started.

+ */ + inline GetStepResult& WithTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} + + /** + *

The task status with which the job started.

+ */ + inline GetStepResult& WithTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + + + /** + *

The task run status for the job.

+ */ + inline const TaskRunStatus& GetTaskRunStatus() const{ return m_taskRunStatus; } + + /** + *

The task run status for the job.

+ */ + inline void SetTaskRunStatus(const TaskRunStatus& value) { m_taskRunStatus = value; } + + /** + *

The task run status for the job.

+ */ + inline void SetTaskRunStatus(TaskRunStatus&& value) { m_taskRunStatus = std::move(value); } + + /** + *

The task run status for the job.

+ */ + inline GetStepResult& WithTaskRunStatus(const TaskRunStatus& value) { SetTaskRunStatus(value); return *this;} + + /** + *

The task run status for the job.

+ */ + inline GetStepResult& WithTaskRunStatus(TaskRunStatus&& value) { SetTaskRunStatus(std::move(value)); return *this;} + + + /** + *

The number of tasks running on the job.

+ */ + inline const Aws::Map& GetTaskRunStatusCounts() const{ return m_taskRunStatusCounts; } + + /** + *

The number of tasks running on the job.

+ */ + inline void SetTaskRunStatusCounts(const Aws::Map& value) { m_taskRunStatusCounts = value; } + + /** + *

The number of tasks running on the job.

+ */ + inline void SetTaskRunStatusCounts(Aws::Map&& value) { m_taskRunStatusCounts = std::move(value); } + + /** + *

The number of tasks running on the job.

+ */ + inline GetStepResult& WithTaskRunStatusCounts(const Aws::Map& value) { SetTaskRunStatusCounts(value); return *this;} + + /** + *

The number of tasks running on the job.

+ */ + inline GetStepResult& WithTaskRunStatusCounts(Aws::Map&& value) { SetTaskRunStatusCounts(std::move(value)); return *this;} + + /** + *

The number of tasks running on the job.

+ */ + inline GetStepResult& AddTaskRunStatusCounts(const TaskRunStatus& key, int value) { m_taskRunStatusCounts.emplace(key, value); return *this; } + + /** + *

The number of tasks running on the job.

+ */ + inline GetStepResult& AddTaskRunStatusCounts(TaskRunStatus&& key, int value) { m_taskRunStatusCounts.emplace(std::move(key), value); return *this; } + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline GetStepResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline GetStepResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline GetStepResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetStepResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetStepResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetStepResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetStepResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetStepResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + DependencyCounts m_dependencyCounts; + + Aws::String m_description; + + Aws::Utils::DateTime m_endedAt; + + StepLifecycleStatus m_lifecycleStatus; + + Aws::String m_lifecycleStatusMessage; + + Aws::String m_name; + + ParameterSpace m_parameterSpace; + + StepRequiredCapabilities m_requiredCapabilities; + + Aws::Utils::DateTime m_startedAt; + + Aws::String m_stepId; + + StepTargetTaskRunStatus m_targetTaskRunStatus; + + TaskRunStatus m_taskRunStatus; + + Aws::Map m_taskRunStatusCounts; + + Aws::Utils::DateTime m_updatedAt; + + Aws::String m_updatedBy; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStorageProfileForQueueRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStorageProfileForQueueRequest.h new file mode 100644 index 00000000000..71338f27693 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStorageProfileForQueueRequest.h @@ -0,0 +1,171 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class GetStorageProfileForQueueRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API GetStorageProfileForQueueRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetStorageProfileForQueue"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID for the queue in storage profile.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the queue in storage profile.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the queue in storage profile.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the queue in storage profile.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the queue in storage profile.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the queue in storage profile.

+ */ + inline GetStorageProfileForQueueRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the queue in storage profile.

+ */ + inline GetStorageProfileForQueueRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the queue in storage profile.

+ */ + inline GetStorageProfileForQueueRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The queue ID the queue in the storage profile.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID the queue in the storage profile.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID the queue in the storage profile.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID the queue in the storage profile.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID the queue in the storage profile.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID the queue in the storage profile.

+ */ + inline GetStorageProfileForQueueRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID the queue in the storage profile.

+ */ + inline GetStorageProfileForQueueRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID the queue in the storage profile.

+ */ + inline GetStorageProfileForQueueRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The storage profile ID for the storage profile in the queue.

+ */ + inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } + + /** + *

The storage profile ID for the storage profile in the queue.

+ */ + inline bool StorageProfileIdHasBeenSet() const { return m_storageProfileIdHasBeenSet; } + + /** + *

The storage profile ID for the storage profile in the queue.

+ */ + inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = value; } + + /** + *

The storage profile ID for the storage profile in the queue.

+ */ + inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = std::move(value); } + + /** + *

The storage profile ID for the storage profile in the queue.

+ */ + inline void SetStorageProfileId(const char* value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId.assign(value); } + + /** + *

The storage profile ID for the storage profile in the queue.

+ */ + inline GetStorageProfileForQueueRequest& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} + + /** + *

The storage profile ID for the storage profile in the queue.

+ */ + inline GetStorageProfileForQueueRequest& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} + + /** + *

The storage profile ID for the storage profile in the queue.

+ */ + inline GetStorageProfileForQueueRequest& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_storageProfileId; + bool m_storageProfileIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStorageProfileForQueueResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStorageProfileForQueueResult.h new file mode 100644 index 00000000000..09fa1843c7d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStorageProfileForQueueResult.h @@ -0,0 +1,208 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class GetStorageProfileForQueueResult + { + public: + AWS_DEADLINE_API GetStorageProfileForQueueResult(); + AWS_DEADLINE_API GetStorageProfileForQueueResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API GetStorageProfileForQueueResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The display name of the storage profile connected to a queue.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the storage profile connected to a queue.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } + + /** + *

The display name of the storage profile connected to a queue.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } + + /** + *

The display name of the storage profile connected to a queue.

+ */ + inline void SetDisplayName(const char* value) { m_displayName.assign(value); } + + /** + *

The display name of the storage profile connected to a queue.

+ */ + inline GetStorageProfileForQueueResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the storage profile connected to a queue.

+ */ + inline GetStorageProfileForQueueResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the storage profile connected to a queue.

+ */ + inline GetStorageProfileForQueueResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The location of the files for the storage profile within the queue.

+ */ + inline const Aws::Vector& GetFileSystemLocations() const{ return m_fileSystemLocations; } + + /** + *

The location of the files for the storage profile within the queue.

+ */ + inline void SetFileSystemLocations(const Aws::Vector& value) { m_fileSystemLocations = value; } + + /** + *

The location of the files for the storage profile within the queue.

+ */ + inline void SetFileSystemLocations(Aws::Vector&& value) { m_fileSystemLocations = std::move(value); } + + /** + *

The location of the files for the storage profile within the queue.

+ */ + inline GetStorageProfileForQueueResult& WithFileSystemLocations(const Aws::Vector& value) { SetFileSystemLocations(value); return *this;} + + /** + *

The location of the files for the storage profile within the queue.

+ */ + inline GetStorageProfileForQueueResult& WithFileSystemLocations(Aws::Vector&& value) { SetFileSystemLocations(std::move(value)); return *this;} + + /** + *

The location of the files for the storage profile within the queue.

+ */ + inline GetStorageProfileForQueueResult& AddFileSystemLocations(const FileSystemLocation& value) { m_fileSystemLocations.push_back(value); return *this; } + + /** + *

The location of the files for the storage profile within the queue.

+ */ + inline GetStorageProfileForQueueResult& AddFileSystemLocations(FileSystemLocation&& value) { m_fileSystemLocations.push_back(std::move(value)); return *this; } + + + /** + *

The operating system of the storage profile in the queue.

+ */ + inline const StorageProfileOperatingSystemFamily& GetOsFamily() const{ return m_osFamily; } + + /** + *

The operating system of the storage profile in the queue.

+ */ + inline void SetOsFamily(const StorageProfileOperatingSystemFamily& value) { m_osFamily = value; } + + /** + *

The operating system of the storage profile in the queue.

+ */ + inline void SetOsFamily(StorageProfileOperatingSystemFamily&& value) { m_osFamily = std::move(value); } + + /** + *

The operating system of the storage profile in the queue.

+ */ + inline GetStorageProfileForQueueResult& WithOsFamily(const StorageProfileOperatingSystemFamily& value) { SetOsFamily(value); return *this;} + + /** + *

The operating system of the storage profile in the queue.

+ */ + inline GetStorageProfileForQueueResult& WithOsFamily(StorageProfileOperatingSystemFamily&& value) { SetOsFamily(std::move(value)); return *this;} + + + /** + *

The storage profile ID.

+ */ + inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileId = value; } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileId = std::move(value); } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(const char* value) { m_storageProfileId.assign(value); } + + /** + *

The storage profile ID.

+ */ + inline GetStorageProfileForQueueResult& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} + + /** + *

The storage profile ID.

+ */ + inline GetStorageProfileForQueueResult& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} + + /** + *

The storage profile ID.

+ */ + inline GetStorageProfileForQueueResult& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetStorageProfileForQueueResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetStorageProfileForQueueResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetStorageProfileForQueueResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_displayName; + + Aws::Vector m_fileSystemLocations; + + StorageProfileOperatingSystemFamily m_osFamily; + + Aws::String m_storageProfileId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStorageProfileRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStorageProfileRequest.h new file mode 100644 index 00000000000..eab29e536d2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStorageProfileRequest.h @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class GetStorageProfileRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API GetStorageProfileRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetStorageProfile"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID for the storage profile.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the storage profile.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the storage profile.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the storage profile.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the storage profile.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the storage profile.

+ */ + inline GetStorageProfileRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the storage profile.

+ */ + inline GetStorageProfileRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the storage profile.

+ */ + inline GetStorageProfileRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The storage profile ID.

+ */ + inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } + + /** + *

The storage profile ID.

+ */ + inline bool StorageProfileIdHasBeenSet() const { return m_storageProfileIdHasBeenSet; } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = value; } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = std::move(value); } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(const char* value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId.assign(value); } + + /** + *

The storage profile ID.

+ */ + inline GetStorageProfileRequest& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} + + /** + *

The storage profile ID.

+ */ + inline GetStorageProfileRequest& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} + + /** + *

The storage profile ID.

+ */ + inline GetStorageProfileRequest& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_storageProfileId; + bool m_storageProfileIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStorageProfileResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStorageProfileResult.h new file mode 100644 index 00000000000..ac567146365 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetStorageProfileResult.h @@ -0,0 +1,341 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class GetStorageProfileResult + { + public: + AWS_DEADLINE_API GetStorageProfileResult(); + AWS_DEADLINE_API GetStorageProfileResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API GetStorageProfileResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline GetStorageProfileResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline GetStorageProfileResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline GetStorageProfileResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetStorageProfileResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetStorageProfileResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The display name of the storage profile.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the storage profile.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } + + /** + *

The display name of the storage profile.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } + + /** + *

The display name of the storage profile.

+ */ + inline void SetDisplayName(const char* value) { m_displayName.assign(value); } + + /** + *

The display name of the storage profile.

+ */ + inline GetStorageProfileResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the storage profile.

+ */ + inline GetStorageProfileResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the storage profile.

+ */ + inline GetStorageProfileResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The location of the files for the storage profile.

+ */ + inline const Aws::Vector& GetFileSystemLocations() const{ return m_fileSystemLocations; } + + /** + *

The location of the files for the storage profile.

+ */ + inline void SetFileSystemLocations(const Aws::Vector& value) { m_fileSystemLocations = value; } + + /** + *

The location of the files for the storage profile.

+ */ + inline void SetFileSystemLocations(Aws::Vector&& value) { m_fileSystemLocations = std::move(value); } + + /** + *

The location of the files for the storage profile.

+ */ + inline GetStorageProfileResult& WithFileSystemLocations(const Aws::Vector& value) { SetFileSystemLocations(value); return *this;} + + /** + *

The location of the files for the storage profile.

+ */ + inline GetStorageProfileResult& WithFileSystemLocations(Aws::Vector&& value) { SetFileSystemLocations(std::move(value)); return *this;} + + /** + *

The location of the files for the storage profile.

+ */ + inline GetStorageProfileResult& AddFileSystemLocations(const FileSystemLocation& value) { m_fileSystemLocations.push_back(value); return *this; } + + /** + *

The location of the files for the storage profile.

+ */ + inline GetStorageProfileResult& AddFileSystemLocations(FileSystemLocation&& value) { m_fileSystemLocations.push_back(std::move(value)); return *this; } + + + /** + *

The operating system (OS) for the storage profile.

+ */ + inline const StorageProfileOperatingSystemFamily& GetOsFamily() const{ return m_osFamily; } + + /** + *

The operating system (OS) for the storage profile.

+ */ + inline void SetOsFamily(const StorageProfileOperatingSystemFamily& value) { m_osFamily = value; } + + /** + *

The operating system (OS) for the storage profile.

+ */ + inline void SetOsFamily(StorageProfileOperatingSystemFamily&& value) { m_osFamily = std::move(value); } + + /** + *

The operating system (OS) for the storage profile.

+ */ + inline GetStorageProfileResult& WithOsFamily(const StorageProfileOperatingSystemFamily& value) { SetOsFamily(value); return *this;} + + /** + *

The operating system (OS) for the storage profile.

+ */ + inline GetStorageProfileResult& WithOsFamily(StorageProfileOperatingSystemFamily&& value) { SetOsFamily(std::move(value)); return *this;} + + + /** + *

The storage profile ID.

+ */ + inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileId = value; } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileId = std::move(value); } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(const char* value) { m_storageProfileId.assign(value); } + + /** + *

The storage profile ID.

+ */ + inline GetStorageProfileResult& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} + + /** + *

The storage profile ID.

+ */ + inline GetStorageProfileResult& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} + + /** + *

The storage profile ID.

+ */ + inline GetStorageProfileResult& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline GetStorageProfileResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline GetStorageProfileResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline GetStorageProfileResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetStorageProfileResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetStorageProfileResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetStorageProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetStorageProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetStorageProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_displayName; + + Aws::Vector m_fileSystemLocations; + + StorageProfileOperatingSystemFamily m_osFamily; + + Aws::String m_storageProfileId; + + Aws::Utils::DateTime m_updatedAt; + + Aws::String m_updatedBy; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetTaskRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetTaskRequest.h new file mode 100644 index 00000000000..b74363f3333 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetTaskRequest.h @@ -0,0 +1,259 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class GetTaskRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API GetTaskRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetTask"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the farm connected to the task.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the farm connected to the task.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the farm connected to the task.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the farm connected to the task.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the farm connected to the task.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the farm connected to the task.

+ */ + inline GetTaskRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the farm connected to the task.

+ */ + inline GetTaskRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the farm connected to the task.

+ */ + inline GetTaskRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID of the job connected to the task.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID of the job connected to the task.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID of the job connected to the task.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID of the job connected to the task.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID of the job connected to the task.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID of the job connected to the task.

+ */ + inline GetTaskRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID of the job connected to the task.

+ */ + inline GetTaskRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID of the job connected to the task.

+ */ + inline GetTaskRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The queue ID for the queue connected to the task.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID for the queue connected to the task.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID for the queue connected to the task.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID for the queue connected to the task.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID for the queue connected to the task.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID for the queue connected to the task.

+ */ + inline GetTaskRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID for the queue connected to the task.

+ */ + inline GetTaskRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID for the queue connected to the task.

+ */ + inline GetTaskRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The step ID for the step connected to the task.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID for the step connected to the task.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID for the step connected to the task.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID for the step connected to the task.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID for the step connected to the task.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID for the step connected to the task.

+ */ + inline GetTaskRequest& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID for the step connected to the task.

+ */ + inline GetTaskRequest& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID for the step connected to the task.

+ */ + inline GetTaskRequest& WithStepId(const char* value) { SetStepId(value); return *this;} + + + /** + *

The task ID.

+ */ + inline const Aws::String& GetTaskId() const{ return m_taskId; } + + /** + *

The task ID.

+ */ + inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } + + /** + *

The task ID.

+ */ + inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } + + /** + *

The task ID.

+ */ + inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } + + /** + *

The task ID.

+ */ + inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } + + /** + *

The task ID.

+ */ + inline GetTaskRequest& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} + + /** + *

The task ID.

+ */ + inline GetTaskRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} + + /** + *

The task ID.

+ */ + inline GetTaskRequest& WithTaskId(const char* value) { SetTaskId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + + Aws::String m_taskId; + bool m_taskIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetTaskResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetTaskResult.h new file mode 100644 index 00000000000..2b82b659d6a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetTaskResult.h @@ -0,0 +1,464 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class GetTaskResult + { + public: + AWS_DEADLINE_API GetTaskResult(); + AWS_DEADLINE_API GetTaskResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API GetTaskResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline GetTaskResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline GetTaskResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline GetTaskResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetTaskResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetTaskResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The date and time the resource ended running.

+ */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); } + + /** + *

The date and time the resource ended running.

+ */ + inline GetTaskResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + + /** + *

The date and time the resource ended running.

+ */ + inline GetTaskResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + + + /** + *

The number of times that the task failed and was retried.

+ */ + inline int GetFailureRetryCount() const{ return m_failureRetryCount; } + + /** + *

The number of times that the task failed and was retried.

+ */ + inline void SetFailureRetryCount(int value) { m_failureRetryCount = value; } + + /** + *

The number of times that the task failed and was retried.

+ */ + inline GetTaskResult& WithFailureRetryCount(int value) { SetFailureRetryCount(value); return *this;} + + + /** + *

The latest session ID for the task.

+ */ + inline const Aws::String& GetLatestSessionActionId() const{ return m_latestSessionActionId; } + + /** + *

The latest session ID for the task.

+ */ + inline void SetLatestSessionActionId(const Aws::String& value) { m_latestSessionActionId = value; } + + /** + *

The latest session ID for the task.

+ */ + inline void SetLatestSessionActionId(Aws::String&& value) { m_latestSessionActionId = std::move(value); } + + /** + *

The latest session ID for the task.

+ */ + inline void SetLatestSessionActionId(const char* value) { m_latestSessionActionId.assign(value); } + + /** + *

The latest session ID for the task.

+ */ + inline GetTaskResult& WithLatestSessionActionId(const Aws::String& value) { SetLatestSessionActionId(value); return *this;} + + /** + *

The latest session ID for the task.

+ */ + inline GetTaskResult& WithLatestSessionActionId(Aws::String&& value) { SetLatestSessionActionId(std::move(value)); return *this;} + + /** + *

The latest session ID for the task.

+ */ + inline GetTaskResult& WithLatestSessionActionId(const char* value) { SetLatestSessionActionId(value); return *this;} + + + /** + *

The parameters for the task.

+ */ + inline const Aws::Map& GetParameters() const{ return m_parameters; } + + /** + *

The parameters for the task.

+ */ + inline void SetParameters(const Aws::Map& value) { m_parameters = value; } + + /** + *

The parameters for the task.

+ */ + inline void SetParameters(Aws::Map&& value) { m_parameters = std::move(value); } + + /** + *

The parameters for the task.

+ */ + inline GetTaskResult& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} + + /** + *

The parameters for the task.

+ */ + inline GetTaskResult& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} + + /** + *

The parameters for the task.

+ */ + inline GetTaskResult& AddParameters(const Aws::String& key, const TaskParameterValue& value) { m_parameters.emplace(key, value); return *this; } + + /** + *

The parameters for the task.

+ */ + inline GetTaskResult& AddParameters(Aws::String&& key, const TaskParameterValue& value) { m_parameters.emplace(std::move(key), value); return *this; } + + /** + *

The parameters for the task.

+ */ + inline GetTaskResult& AddParameters(const Aws::String& key, TaskParameterValue&& value) { m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The parameters for the task.

+ */ + inline GetTaskResult& AddParameters(Aws::String&& key, TaskParameterValue&& value) { m_parameters.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The parameters for the task.

+ */ + inline GetTaskResult& AddParameters(const char* key, TaskParameterValue&& value) { m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The parameters for the task.

+ */ + inline GetTaskResult& AddParameters(const char* key, const TaskParameterValue& value) { m_parameters.emplace(key, value); return *this; } + + + /** + *

The run status for the task.

+ */ + inline const TaskRunStatus& GetRunStatus() const{ return m_runStatus; } + + /** + *

The run status for the task.

+ */ + inline void SetRunStatus(const TaskRunStatus& value) { m_runStatus = value; } + + /** + *

The run status for the task.

+ */ + inline void SetRunStatus(TaskRunStatus&& value) { m_runStatus = std::move(value); } + + /** + *

The run status for the task.

+ */ + inline GetTaskResult& WithRunStatus(const TaskRunStatus& value) { SetRunStatus(value); return *this;} + + /** + *

The run status for the task.

+ */ + inline GetTaskResult& WithRunStatus(TaskRunStatus&& value) { SetRunStatus(std::move(value)); return *this;} + + + /** + *

The date and time the resource started running.

+ */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); } + + /** + *

The date and time the resource started running.

+ */ + inline GetTaskResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + + /** + *

The date and time the resource started running.

+ */ + inline GetTaskResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + + + /** + *

The run status with which to start the task.

+ */ + inline const TaskTargetRunStatus& GetTargetRunStatus() const{ return m_targetRunStatus; } + + /** + *

The run status with which to start the task.

+ */ + inline void SetTargetRunStatus(const TaskTargetRunStatus& value) { m_targetRunStatus = value; } + + /** + *

The run status with which to start the task.

+ */ + inline void SetTargetRunStatus(TaskTargetRunStatus&& value) { m_targetRunStatus = std::move(value); } + + /** + *

The run status with which to start the task.

+ */ + inline GetTaskResult& WithTargetRunStatus(const TaskTargetRunStatus& value) { SetTargetRunStatus(value); return *this;} + + /** + *

The run status with which to start the task.

+ */ + inline GetTaskResult& WithTargetRunStatus(TaskTargetRunStatus&& value) { SetTargetRunStatus(std::move(value)); return *this;} + + + /** + *

The task ID.

+ */ + inline const Aws::String& GetTaskId() const{ return m_taskId; } + + /** + *

The task ID.

+ */ + inline void SetTaskId(const Aws::String& value) { m_taskId = value; } + + /** + *

The task ID.

+ */ + inline void SetTaskId(Aws::String&& value) { m_taskId = std::move(value); } + + /** + *

The task ID.

+ */ + inline void SetTaskId(const char* value) { m_taskId.assign(value); } + + /** + *

The task ID.

+ */ + inline GetTaskResult& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} + + /** + *

The task ID.

+ */ + inline GetTaskResult& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} + + /** + *

The task ID.

+ */ + inline GetTaskResult& WithTaskId(const char* value) { SetTaskId(value); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline GetTaskResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline GetTaskResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline GetTaskResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetTaskResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetTaskResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::Utils::DateTime m_endedAt; + + int m_failureRetryCount; + + Aws::String m_latestSessionActionId; + + Aws::Map m_parameters; + + TaskRunStatus m_runStatus; + + Aws::Utils::DateTime m_startedAt; + + TaskTargetRunStatus m_targetRunStatus; + + Aws::String m_taskId; + + Aws::Utils::DateTime m_updatedAt; + + Aws::String m_updatedBy; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetWorkerRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetWorkerRequest.h new file mode 100644 index 00000000000..831b0c6c7b0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetWorkerRequest.h @@ -0,0 +1,171 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class GetWorkerRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API GetWorkerRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetWorker"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID for the worker.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the worker.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the worker.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the worker.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the worker.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the worker.

+ */ + inline GetWorkerRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the worker.

+ */ + inline GetWorkerRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the worker.

+ */ + inline GetWorkerRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID of the worker.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID of the worker.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID of the worker.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID of the worker.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID of the worker.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID of the worker.

+ */ + inline GetWorkerRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID of the worker.

+ */ + inline GetWorkerRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID of the worker.

+ */ + inline GetWorkerRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The worker ID.

+ */ + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + + /** + *

The worker ID.

+ */ + inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } + + /** + *

The worker ID.

+ */ + inline GetWorkerRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + + /** + *

The worker ID.

+ */ + inline GetWorkerRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + + /** + *

The worker ID.

+ */ + inline GetWorkerRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + Aws::String m_workerId; + bool m_workerIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetWorkerResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetWorkerResult.h new file mode 100644 index 00000000000..af42895fad8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/GetWorkerResult.h @@ -0,0 +1,397 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class GetWorkerResult + { + public: + AWS_DEADLINE_API GetWorkerResult(); + AWS_DEADLINE_API GetWorkerResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API GetWorkerResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline GetWorkerResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline GetWorkerResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline GetWorkerResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetWorkerResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline GetWorkerResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The farm ID.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmId = value; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmId = std::move(value); } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const char* value) { m_farmId.assign(value); } + + /** + *

The farm ID.

+ */ + inline GetWorkerResult& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID.

+ */ + inline GetWorkerResult& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID.

+ */ + inline GetWorkerResult& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetId = value; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const char* value) { m_fleetId.assign(value); } + + /** + *

The fleet ID.

+ */ + inline GetWorkerResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID.

+ */ + inline GetWorkerResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID.

+ */ + inline GetWorkerResult& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The host properties for the worker.

+ */ + inline const HostPropertiesResponse& GetHostProperties() const{ return m_hostProperties; } + + /** + *

The host properties for the worker.

+ */ + inline void SetHostProperties(const HostPropertiesResponse& value) { m_hostProperties = value; } + + /** + *

The host properties for the worker.

+ */ + inline void SetHostProperties(HostPropertiesResponse&& value) { m_hostProperties = std::move(value); } + + /** + *

The host properties for the worker.

+ */ + inline GetWorkerResult& WithHostProperties(const HostPropertiesResponse& value) { SetHostProperties(value); return *this;} + + /** + *

The host properties for the worker.

+ */ + inline GetWorkerResult& WithHostProperties(HostPropertiesResponse&& value) { SetHostProperties(std::move(value)); return *this;} + + + /** + *

The logs for the associated worker.

+ */ + inline const LogConfiguration& GetLog() const{ return m_log; } + + /** + *

The logs for the associated worker.

+ */ + inline void SetLog(const LogConfiguration& value) { m_log = value; } + + /** + *

The logs for the associated worker.

+ */ + inline void SetLog(LogConfiguration&& value) { m_log = std::move(value); } + + /** + *

The logs for the associated worker.

+ */ + inline GetWorkerResult& WithLog(const LogConfiguration& value) { SetLog(value); return *this;} + + /** + *

The logs for the associated worker.

+ */ + inline GetWorkerResult& WithLog(LogConfiguration&& value) { SetLog(std::move(value)); return *this;} + + + /** + *

The status of the worker.

+ */ + inline const WorkerStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the worker.

+ */ + inline void SetStatus(const WorkerStatus& value) { m_status = value; } + + /** + *

The status of the worker.

+ */ + inline void SetStatus(WorkerStatus&& value) { m_status = std::move(value); } + + /** + *

The status of the worker.

+ */ + inline GetWorkerResult& WithStatus(const WorkerStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the worker.

+ */ + inline GetWorkerResult& WithStatus(WorkerStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline GetWorkerResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline GetWorkerResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline GetWorkerResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetWorkerResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline GetWorkerResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + /** + *

The worker ID.

+ */ + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(const Aws::String& value) { m_workerId = value; } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(Aws::String&& value) { m_workerId = std::move(value); } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(const char* value) { m_workerId.assign(value); } + + /** + *

The worker ID.

+ */ + inline GetWorkerResult& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + + /** + *

The worker ID.

+ */ + inline GetWorkerResult& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + + /** + *

The worker ID.

+ */ + inline GetWorkerResult& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetWorkerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetWorkerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetWorkerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + + Aws::String m_farmId; + + Aws::String m_fleetId; + + HostPropertiesResponse m_hostProperties; + + LogConfiguration m_log; + + WorkerStatus m_status; + + Aws::Utils::DateTime m_updatedAt; + + Aws::String m_updatedBy; + + Aws::String m_workerId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/HostPropertiesRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/HostPropertiesRequest.h new file mode 100644 index 00000000000..363de1bb76d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/HostPropertiesRequest.h @@ -0,0 +1,123 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The host property details.

See Also:

AWS + * API Reference

+ */ + class HostPropertiesRequest + { + public: + AWS_DEADLINE_API HostPropertiesRequest(); + AWS_DEADLINE_API HostPropertiesRequest(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API HostPropertiesRequest& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The host name.

+ */ + inline const Aws::String& GetHostName() const{ return m_hostName; } + + /** + *

The host name.

+ */ + inline bool HostNameHasBeenSet() const { return m_hostNameHasBeenSet; } + + /** + *

The host name.

+ */ + inline void SetHostName(const Aws::String& value) { m_hostNameHasBeenSet = true; m_hostName = value; } + + /** + *

The host name.

+ */ + inline void SetHostName(Aws::String&& value) { m_hostNameHasBeenSet = true; m_hostName = std::move(value); } + + /** + *

The host name.

+ */ + inline void SetHostName(const char* value) { m_hostNameHasBeenSet = true; m_hostName.assign(value); } + + /** + *

The host name.

+ */ + inline HostPropertiesRequest& WithHostName(const Aws::String& value) { SetHostName(value); return *this;} + + /** + *

The host name.

+ */ + inline HostPropertiesRequest& WithHostName(Aws::String&& value) { SetHostName(std::move(value)); return *this;} + + /** + *

The host name.

+ */ + inline HostPropertiesRequest& WithHostName(const char* value) { SetHostName(value); return *this;} + + + /** + *

The IP address of the host.

+ */ + inline const IpAddresses& GetIpAddresses() const{ return m_ipAddresses; } + + /** + *

The IP address of the host.

+ */ + inline bool IpAddressesHasBeenSet() const { return m_ipAddressesHasBeenSet; } + + /** + *

The IP address of the host.

+ */ + inline void SetIpAddresses(const IpAddresses& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = value; } + + /** + *

The IP address of the host.

+ */ + inline void SetIpAddresses(IpAddresses&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = std::move(value); } + + /** + *

The IP address of the host.

+ */ + inline HostPropertiesRequest& WithIpAddresses(const IpAddresses& value) { SetIpAddresses(value); return *this;} + + /** + *

The IP address of the host.

+ */ + inline HostPropertiesRequest& WithIpAddresses(IpAddresses&& value) { SetIpAddresses(std::move(value)); return *this;} + + private: + + Aws::String m_hostName; + bool m_hostNameHasBeenSet = false; + + IpAddresses m_ipAddresses; + bool m_ipAddressesHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/HostPropertiesResponse.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/HostPropertiesResponse.h new file mode 100644 index 00000000000..7d3239e5663 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/HostPropertiesResponse.h @@ -0,0 +1,211 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The host property details.

See Also:

AWS + * API Reference

+ */ + class HostPropertiesResponse + { + public: + AWS_DEADLINE_API HostPropertiesResponse(); + AWS_DEADLINE_API HostPropertiesResponse(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API HostPropertiesResponse& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The ARN of the host EC2 instance.

+ */ + inline const Aws::String& GetEc2InstanceArn() const{ return m_ec2InstanceArn; } + + /** + *

The ARN of the host EC2 instance.

+ */ + inline bool Ec2InstanceArnHasBeenSet() const { return m_ec2InstanceArnHasBeenSet; } + + /** + *

The ARN of the host EC2 instance.

+ */ + inline void SetEc2InstanceArn(const Aws::String& value) { m_ec2InstanceArnHasBeenSet = true; m_ec2InstanceArn = value; } + + /** + *

The ARN of the host EC2 instance.

+ */ + inline void SetEc2InstanceArn(Aws::String&& value) { m_ec2InstanceArnHasBeenSet = true; m_ec2InstanceArn = std::move(value); } + + /** + *

The ARN of the host EC2 instance.

+ */ + inline void SetEc2InstanceArn(const char* value) { m_ec2InstanceArnHasBeenSet = true; m_ec2InstanceArn.assign(value); } + + /** + *

The ARN of the host EC2 instance.

+ */ + inline HostPropertiesResponse& WithEc2InstanceArn(const Aws::String& value) { SetEc2InstanceArn(value); return *this;} + + /** + *

The ARN of the host EC2 instance.

+ */ + inline HostPropertiesResponse& WithEc2InstanceArn(Aws::String&& value) { SetEc2InstanceArn(std::move(value)); return *this;} + + /** + *

The ARN of the host EC2 instance.

+ */ + inline HostPropertiesResponse& WithEc2InstanceArn(const char* value) { SetEc2InstanceArn(value); return *this;} + + + /** + *

The instance type of the host EC2 instance.

+ */ + inline const Aws::String& GetEc2InstanceType() const{ return m_ec2InstanceType; } + + /** + *

The instance type of the host EC2 instance.

+ */ + inline bool Ec2InstanceTypeHasBeenSet() const { return m_ec2InstanceTypeHasBeenSet; } + + /** + *

The instance type of the host EC2 instance.

+ */ + inline void SetEc2InstanceType(const Aws::String& value) { m_ec2InstanceTypeHasBeenSet = true; m_ec2InstanceType = value; } + + /** + *

The instance type of the host EC2 instance.

+ */ + inline void SetEc2InstanceType(Aws::String&& value) { m_ec2InstanceTypeHasBeenSet = true; m_ec2InstanceType = std::move(value); } + + /** + *

The instance type of the host EC2 instance.

+ */ + inline void SetEc2InstanceType(const char* value) { m_ec2InstanceTypeHasBeenSet = true; m_ec2InstanceType.assign(value); } + + /** + *

The instance type of the host EC2 instance.

+ */ + inline HostPropertiesResponse& WithEc2InstanceType(const Aws::String& value) { SetEc2InstanceType(value); return *this;} + + /** + *

The instance type of the host EC2 instance.

+ */ + inline HostPropertiesResponse& WithEc2InstanceType(Aws::String&& value) { SetEc2InstanceType(std::move(value)); return *this;} + + /** + *

The instance type of the host EC2 instance.

+ */ + inline HostPropertiesResponse& WithEc2InstanceType(const char* value) { SetEc2InstanceType(value); return *this;} + + + /** + *

The host name.

+ */ + inline const Aws::String& GetHostName() const{ return m_hostName; } + + /** + *

The host name.

+ */ + inline bool HostNameHasBeenSet() const { return m_hostNameHasBeenSet; } + + /** + *

The host name.

+ */ + inline void SetHostName(const Aws::String& value) { m_hostNameHasBeenSet = true; m_hostName = value; } + + /** + *

The host name.

+ */ + inline void SetHostName(Aws::String&& value) { m_hostNameHasBeenSet = true; m_hostName = std::move(value); } + + /** + *

The host name.

+ */ + inline void SetHostName(const char* value) { m_hostNameHasBeenSet = true; m_hostName.assign(value); } + + /** + *

The host name.

+ */ + inline HostPropertiesResponse& WithHostName(const Aws::String& value) { SetHostName(value); return *this;} + + /** + *

The host name.

+ */ + inline HostPropertiesResponse& WithHostName(Aws::String&& value) { SetHostName(std::move(value)); return *this;} + + /** + *

The host name.

+ */ + inline HostPropertiesResponse& WithHostName(const char* value) { SetHostName(value); return *this;} + + + /** + *

The IP address of the host.

+ */ + inline const IpAddresses& GetIpAddresses() const{ return m_ipAddresses; } + + /** + *

The IP address of the host.

+ */ + inline bool IpAddressesHasBeenSet() const { return m_ipAddressesHasBeenSet; } + + /** + *

The IP address of the host.

+ */ + inline void SetIpAddresses(const IpAddresses& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = value; } + + /** + *

The IP address of the host.

+ */ + inline void SetIpAddresses(IpAddresses&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = std::move(value); } + + /** + *

The IP address of the host.

+ */ + inline HostPropertiesResponse& WithIpAddresses(const IpAddresses& value) { SetIpAddresses(value); return *this;} + + /** + *

The IP address of the host.

+ */ + inline HostPropertiesResponse& WithIpAddresses(IpAddresses&& value) { SetIpAddresses(std::move(value)); return *this;} + + private: + + Aws::String m_ec2InstanceArn; + bool m_ec2InstanceArnHasBeenSet = false; + + Aws::String m_ec2InstanceType; + bool m_ec2InstanceTypeHasBeenSet = false; + + Aws::String m_hostName; + bool m_hostNameHasBeenSet = false; + + IpAddresses m_ipAddresses; + bool m_ipAddressesHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/InternalServerErrorException.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/InternalServerErrorException.h new file mode 100644 index 00000000000..0b77b54fab9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/InternalServerErrorException.h @@ -0,0 +1,97 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Deadline Cloud can't process your request right now. Try again + * later.

See Also:

AWS + * API Reference

+ */ + class InternalServerErrorException + { + public: + AWS_DEADLINE_API InternalServerErrorException(); + AWS_DEADLINE_API InternalServerErrorException(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API InternalServerErrorException& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + + inline const Aws::String& GetMessage() const{ return m_message; } + + + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + + + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + + + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + + + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + + + inline InternalServerErrorException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + + + inline InternalServerErrorException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + + + inline InternalServerErrorException& WithMessage(const char* value) { SetMessage(value); return *this;} + + + /** + *

The number of seconds a client should wait before retrying the request.

+ */ + inline int GetRetryAfterSeconds() const{ return m_retryAfterSeconds; } + + /** + *

The number of seconds a client should wait before retrying the request.

+ */ + inline bool RetryAfterSecondsHasBeenSet() const { return m_retryAfterSecondsHasBeenSet; } + + /** + *

The number of seconds a client should wait before retrying the request.

+ */ + inline void SetRetryAfterSeconds(int value) { m_retryAfterSecondsHasBeenSet = true; m_retryAfterSeconds = value; } + + /** + *

The number of seconds a client should wait before retrying the request.

+ */ + inline InternalServerErrorException& WithRetryAfterSeconds(int value) { SetRetryAfterSeconds(value); return *this;} + + private: + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + int m_retryAfterSeconds; + bool m_retryAfterSecondsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/IpAddresses.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/IpAddresses.h new file mode 100644 index 00000000000..03767af58d4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/IpAddresses.h @@ -0,0 +1,143 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The IP addresses for a host.

See Also:

AWS + * API Reference

+ */ + class IpAddresses + { + public: + AWS_DEADLINE_API IpAddresses(); + AWS_DEADLINE_API IpAddresses(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API IpAddresses& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The IpV4 address of the network.

+ */ + inline const Aws::Vector& GetIpV4Addresses() const{ return m_ipV4Addresses; } + + /** + *

The IpV4 address of the network.

+ */ + inline bool IpV4AddressesHasBeenSet() const { return m_ipV4AddressesHasBeenSet; } + + /** + *

The IpV4 address of the network.

+ */ + inline void SetIpV4Addresses(const Aws::Vector& value) { m_ipV4AddressesHasBeenSet = true; m_ipV4Addresses = value; } + + /** + *

The IpV4 address of the network.

+ */ + inline void SetIpV4Addresses(Aws::Vector&& value) { m_ipV4AddressesHasBeenSet = true; m_ipV4Addresses = std::move(value); } + + /** + *

The IpV4 address of the network.

+ */ + inline IpAddresses& WithIpV4Addresses(const Aws::Vector& value) { SetIpV4Addresses(value); return *this;} + + /** + *

The IpV4 address of the network.

+ */ + inline IpAddresses& WithIpV4Addresses(Aws::Vector&& value) { SetIpV4Addresses(std::move(value)); return *this;} + + /** + *

The IpV4 address of the network.

+ */ + inline IpAddresses& AddIpV4Addresses(const Aws::String& value) { m_ipV4AddressesHasBeenSet = true; m_ipV4Addresses.push_back(value); return *this; } + + /** + *

The IpV4 address of the network.

+ */ + inline IpAddresses& AddIpV4Addresses(Aws::String&& value) { m_ipV4AddressesHasBeenSet = true; m_ipV4Addresses.push_back(std::move(value)); return *this; } + + /** + *

The IpV4 address of the network.

+ */ + inline IpAddresses& AddIpV4Addresses(const char* value) { m_ipV4AddressesHasBeenSet = true; m_ipV4Addresses.push_back(value); return *this; } + + + /** + *

The IpV6 address for the network and node component.

+ */ + inline const Aws::Vector& GetIpV6Addresses() const{ return m_ipV6Addresses; } + + /** + *

The IpV6 address for the network and node component.

+ */ + inline bool IpV6AddressesHasBeenSet() const { return m_ipV6AddressesHasBeenSet; } + + /** + *

The IpV6 address for the network and node component.

+ */ + inline void SetIpV6Addresses(const Aws::Vector& value) { m_ipV6AddressesHasBeenSet = true; m_ipV6Addresses = value; } + + /** + *

The IpV6 address for the network and node component.

+ */ + inline void SetIpV6Addresses(Aws::Vector&& value) { m_ipV6AddressesHasBeenSet = true; m_ipV6Addresses = std::move(value); } + + /** + *

The IpV6 address for the network and node component.

+ */ + inline IpAddresses& WithIpV6Addresses(const Aws::Vector& value) { SetIpV6Addresses(value); return *this;} + + /** + *

The IpV6 address for the network and node component.

+ */ + inline IpAddresses& WithIpV6Addresses(Aws::Vector&& value) { SetIpV6Addresses(std::move(value)); return *this;} + + /** + *

The IpV6 address for the network and node component.

+ */ + inline IpAddresses& AddIpV6Addresses(const Aws::String& value) { m_ipV6AddressesHasBeenSet = true; m_ipV6Addresses.push_back(value); return *this; } + + /** + *

The IpV6 address for the network and node component.

+ */ + inline IpAddresses& AddIpV6Addresses(Aws::String&& value) { m_ipV6AddressesHasBeenSet = true; m_ipV6Addresses.push_back(std::move(value)); return *this; } + + /** + *

The IpV6 address for the network and node component.

+ */ + inline IpAddresses& AddIpV6Addresses(const char* value) { m_ipV6AddressesHasBeenSet = true; m_ipV6Addresses.push_back(value); return *this; } + + private: + + Aws::Vector m_ipV4Addresses; + bool m_ipV4AddressesHasBeenSet = false; + + Aws::Vector m_ipV6Addresses; + bool m_ipV6AddressesHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentDetailsEntity.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentDetailsEntity.h new file mode 100644 index 00000000000..5ad9468604e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentDetailsEntity.h @@ -0,0 +1,123 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The job attachments.

See Also:

AWS + * API Reference

+ */ + class JobAttachmentDetailsEntity + { + public: + AWS_DEADLINE_API JobAttachmentDetailsEntity(); + AWS_DEADLINE_API JobAttachmentDetailsEntity(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API JobAttachmentDetailsEntity& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The job attachments.

+ */ + inline const Attachments& GetAttachments() const{ return m_attachments; } + + /** + *

The job attachments.

+ */ + inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; } + + /** + *

The job attachments.

+ */ + inline void SetAttachments(const Attachments& value) { m_attachmentsHasBeenSet = true; m_attachments = value; } + + /** + *

The job attachments.

+ */ + inline void SetAttachments(Attachments&& value) { m_attachmentsHasBeenSet = true; m_attachments = std::move(value); } + + /** + *

The job attachments.

+ */ + inline JobAttachmentDetailsEntity& WithAttachments(const Attachments& value) { SetAttachments(value); return *this;} + + /** + *

The job attachments.

+ */ + inline JobAttachmentDetailsEntity& WithAttachments(Attachments&& value) { SetAttachments(std::move(value)); return *this;} + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline JobAttachmentDetailsEntity& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline JobAttachmentDetailsEntity& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline JobAttachmentDetailsEntity& WithJobId(const char* value) { SetJobId(value); return *this;} + + private: + + Attachments m_attachments; + bool m_attachmentsHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentDetailsError.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentDetailsError.h new file mode 100644 index 00000000000..4e31dcdbad4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentDetailsError.h @@ -0,0 +1,167 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The error details for job attachments.

See Also:

AWS + * API Reference

+ */ + class JobAttachmentDetailsError + { + public: + AWS_DEADLINE_API JobAttachmentDetailsError(); + AWS_DEADLINE_API JobAttachmentDetailsError(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API JobAttachmentDetailsError& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The error code.

+ */ + inline const JobEntityErrorCode& GetCode() const{ return m_code; } + + /** + *

The error code.

+ */ + inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } + + /** + *

The error code.

+ */ + inline void SetCode(const JobEntityErrorCode& value) { m_codeHasBeenSet = true; m_code = value; } + + /** + *

The error code.

+ */ + inline void SetCode(JobEntityErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } + + /** + *

The error code.

+ */ + inline JobAttachmentDetailsError& WithCode(const JobEntityErrorCode& value) { SetCode(value); return *this;} + + /** + *

The error code.

+ */ + inline JobAttachmentDetailsError& WithCode(JobEntityErrorCode&& value) { SetCode(std::move(value)); return *this;} + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline JobAttachmentDetailsError& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline JobAttachmentDetailsError& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline JobAttachmentDetailsError& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The error message detailing the error's cause.

+ */ + inline const Aws::String& GetMessage() const{ return m_message; } + + /** + *

The error message detailing the error's cause.

+ */ + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + + /** + *

The error message detailing the error's cause.

+ */ + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + + /** + *

The error message detailing the error's cause.

+ */ + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + + /** + *

The error message detailing the error's cause.

+ */ + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + + /** + *

The error message detailing the error's cause.

+ */ + inline JobAttachmentDetailsError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + + /** + *

The error message detailing the error's cause.

+ */ + inline JobAttachmentDetailsError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + + /** + *

The error message detailing the error's cause.

+ */ + inline JobAttachmentDetailsError& WithMessage(const char* value) { SetMessage(value); return *this;} + + private: + + JobEntityErrorCode m_code; + bool m_codeHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentDetailsIdentifiers.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentDetailsIdentifiers.h new file mode 100644 index 00000000000..948e4f6a7e3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentDetailsIdentifiers.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Identifier details for job attachments.

See Also:

AWS + * API Reference

+ */ + class JobAttachmentDetailsIdentifiers + { + public: + AWS_DEADLINE_API JobAttachmentDetailsIdentifiers(); + AWS_DEADLINE_API JobAttachmentDetailsIdentifiers(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API JobAttachmentDetailsIdentifiers& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline JobAttachmentDetailsIdentifiers& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline JobAttachmentDetailsIdentifiers& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline JobAttachmentDetailsIdentifiers& WithJobId(const char* value) { SetJobId(value); return *this;} + + private: + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentSettings.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentSettings.h new file mode 100644 index 00000000000..99a88990cc1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentSettings.h @@ -0,0 +1,133 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The job attachment settings. These are the Amazon S3 bucket name and the + * Amazon S3 prefix.

See Also:

AWS + * API Reference

+ */ + class JobAttachmentSettings + { + public: + AWS_DEADLINE_API JobAttachmentSettings(); + AWS_DEADLINE_API JobAttachmentSettings(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API JobAttachmentSettings& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The root prefix.

+ */ + inline const Aws::String& GetRootPrefix() const{ return m_rootPrefix; } + + /** + *

The root prefix.

+ */ + inline bool RootPrefixHasBeenSet() const { return m_rootPrefixHasBeenSet; } + + /** + *

The root prefix.

+ */ + inline void SetRootPrefix(const Aws::String& value) { m_rootPrefixHasBeenSet = true; m_rootPrefix = value; } + + /** + *

The root prefix.

+ */ + inline void SetRootPrefix(Aws::String&& value) { m_rootPrefixHasBeenSet = true; m_rootPrefix = std::move(value); } + + /** + *

The root prefix.

+ */ + inline void SetRootPrefix(const char* value) { m_rootPrefixHasBeenSet = true; m_rootPrefix.assign(value); } + + /** + *

The root prefix.

+ */ + inline JobAttachmentSettings& WithRootPrefix(const Aws::String& value) { SetRootPrefix(value); return *this;} + + /** + *

The root prefix.

+ */ + inline JobAttachmentSettings& WithRootPrefix(Aws::String&& value) { SetRootPrefix(std::move(value)); return *this;} + + /** + *

The root prefix.

+ */ + inline JobAttachmentSettings& WithRootPrefix(const char* value) { SetRootPrefix(value); return *this;} + + + /** + *

The Amazon S3 bucket name.

+ */ + inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; } + + /** + *

The Amazon S3 bucket name.

+ */ + inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; } + + /** + *

The Amazon S3 bucket name.

+ */ + inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; } + + /** + *

The Amazon S3 bucket name.

+ */ + inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); } + + /** + *

The Amazon S3 bucket name.

+ */ + inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); } + + /** + *

The Amazon S3 bucket name.

+ */ + inline JobAttachmentSettings& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;} + + /** + *

The Amazon S3 bucket name.

+ */ + inline JobAttachmentSettings& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;} + + /** + *

The Amazon S3 bucket name.

+ */ + inline JobAttachmentSettings& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;} + + private: + + Aws::String m_rootPrefix; + bool m_rootPrefixHasBeenSet = false; + + Aws::String m_s3BucketName; + bool m_s3BucketNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentsFileSystem.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentsFileSystem.h new file mode 100644 index 00000000000..3ab609e0d09 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobAttachmentsFileSystem.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class JobAttachmentsFileSystem + { + NOT_SET, + COPIED, + VIRTUAL + }; + +namespace JobAttachmentsFileSystemMapper +{ +AWS_DEADLINE_API JobAttachmentsFileSystem GetJobAttachmentsFileSystemForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForJobAttachmentsFileSystem(JobAttachmentsFileSystem value); +} // namespace JobAttachmentsFileSystemMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobDetailsEntity.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobDetailsEntity.h new file mode 100644 index 00000000000..858c6980571 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobDetailsEntity.h @@ -0,0 +1,402 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The job details for a specific job.

See Also:

AWS + * API Reference

+ */ + class JobDetailsEntity + { + public: + AWS_DEADLINE_API JobDetailsEntity(); + AWS_DEADLINE_API JobDetailsEntity(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API JobDetailsEntity& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The job attachment settings.

+ */ + inline const JobAttachmentSettings& GetJobAttachmentSettings() const{ return m_jobAttachmentSettings; } + + /** + *

The job attachment settings.

+ */ + inline bool JobAttachmentSettingsHasBeenSet() const { return m_jobAttachmentSettingsHasBeenSet; } + + /** + *

The job attachment settings.

+ */ + inline void SetJobAttachmentSettings(const JobAttachmentSettings& value) { m_jobAttachmentSettingsHasBeenSet = true; m_jobAttachmentSettings = value; } + + /** + *

The job attachment settings.

+ */ + inline void SetJobAttachmentSettings(JobAttachmentSettings&& value) { m_jobAttachmentSettingsHasBeenSet = true; m_jobAttachmentSettings = std::move(value); } + + /** + *

The job attachment settings.

+ */ + inline JobDetailsEntity& WithJobAttachmentSettings(const JobAttachmentSettings& value) { SetJobAttachmentSettings(value); return *this;} + + /** + *

The job attachment settings.

+ */ + inline JobDetailsEntity& WithJobAttachmentSettings(JobAttachmentSettings&& value) { SetJobAttachmentSettings(std::move(value)); return *this;} + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline JobDetailsEntity& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline JobDetailsEntity& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline JobDetailsEntity& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The user name and group that the job uses when run.

+ */ + inline const JobRunAsUser& GetJobRunAsUser() const{ return m_jobRunAsUser; } + + /** + *

The user name and group that the job uses when run.

+ */ + inline bool JobRunAsUserHasBeenSet() const { return m_jobRunAsUserHasBeenSet; } + + /** + *

The user name and group that the job uses when run.

+ */ + inline void SetJobRunAsUser(const JobRunAsUser& value) { m_jobRunAsUserHasBeenSet = true; m_jobRunAsUser = value; } + + /** + *

The user name and group that the job uses when run.

+ */ + inline void SetJobRunAsUser(JobRunAsUser&& value) { m_jobRunAsUserHasBeenSet = true; m_jobRunAsUser = std::move(value); } + + /** + *

The user name and group that the job uses when run.

+ */ + inline JobDetailsEntity& WithJobRunAsUser(const JobRunAsUser& value) { SetJobRunAsUser(value); return *this;} + + /** + *

The user name and group that the job uses when run.

+ */ + inline JobDetailsEntity& WithJobRunAsUser(JobRunAsUser&& value) { SetJobRunAsUser(std::move(value)); return *this;} + + + /** + *

The log group name.

+ */ + inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; } + + /** + *

The log group name.

+ */ + inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; } + + /** + *

The log group name.

+ */ + inline void SetLogGroupName(const Aws::String& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = value; } + + /** + *

The log group name.

+ */ + inline void SetLogGroupName(Aws::String&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::move(value); } + + /** + *

The log group name.

+ */ + inline void SetLogGroupName(const char* value) { m_logGroupNameHasBeenSet = true; m_logGroupName.assign(value); } + + /** + *

The log group name.

+ */ + inline JobDetailsEntity& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;} + + /** + *

The log group name.

+ */ + inline JobDetailsEntity& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;} + + /** + *

The log group name.

+ */ + inline JobDetailsEntity& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;} + + + /** + *

The parameters.

+ */ + inline const Aws::Map& GetParameters() const{ return m_parameters; } + + /** + *

The parameters.

+ */ + inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } + + /** + *

The parameters.

+ */ + inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } + + /** + *

The parameters.

+ */ + inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } + + /** + *

The parameters.

+ */ + inline JobDetailsEntity& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} + + /** + *

The parameters.

+ */ + inline JobDetailsEntity& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} + + /** + *

The parameters.

+ */ + inline JobDetailsEntity& AddParameters(const Aws::String& key, const JobParameter& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + + /** + *

The parameters.

+ */ + inline JobDetailsEntity& AddParameters(Aws::String&& key, const JobParameter& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } + + /** + *

The parameters.

+ */ + inline JobDetailsEntity& AddParameters(const Aws::String& key, JobParameter&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The parameters.

+ */ + inline JobDetailsEntity& AddParameters(Aws::String&& key, JobParameter&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The parameters.

+ */ + inline JobDetailsEntity& AddParameters(const char* key, JobParameter&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The parameters.

+ */ + inline JobDetailsEntity& AddParameters(const char* key, const JobParameter& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + + + /** + *

The path mapping rules.

+ */ + inline const Aws::Vector& GetPathMappingRules() const{ return m_pathMappingRules; } + + /** + *

The path mapping rules.

+ */ + inline bool PathMappingRulesHasBeenSet() const { return m_pathMappingRulesHasBeenSet; } + + /** + *

The path mapping rules.

+ */ + inline void SetPathMappingRules(const Aws::Vector& value) { m_pathMappingRulesHasBeenSet = true; m_pathMappingRules = value; } + + /** + *

The path mapping rules.

+ */ + inline void SetPathMappingRules(Aws::Vector&& value) { m_pathMappingRulesHasBeenSet = true; m_pathMappingRules = std::move(value); } + + /** + *

The path mapping rules.

+ */ + inline JobDetailsEntity& WithPathMappingRules(const Aws::Vector& value) { SetPathMappingRules(value); return *this;} + + /** + *

The path mapping rules.

+ */ + inline JobDetailsEntity& WithPathMappingRules(Aws::Vector&& value) { SetPathMappingRules(std::move(value)); return *this;} + + /** + *

The path mapping rules.

+ */ + inline JobDetailsEntity& AddPathMappingRules(const PathMappingRule& value) { m_pathMappingRulesHasBeenSet = true; m_pathMappingRules.push_back(value); return *this; } + + /** + *

The path mapping rules.

+ */ + inline JobDetailsEntity& AddPathMappingRules(PathMappingRule&& value) { m_pathMappingRulesHasBeenSet = true; m_pathMappingRules.push_back(std::move(value)); return *this; } + + + /** + *

The queue role ARN.

+ */ + inline const Aws::String& GetQueueRoleArn() const{ return m_queueRoleArn; } + + /** + *

The queue role ARN.

+ */ + inline bool QueueRoleArnHasBeenSet() const { return m_queueRoleArnHasBeenSet; } + + /** + *

The queue role ARN.

+ */ + inline void SetQueueRoleArn(const Aws::String& value) { m_queueRoleArnHasBeenSet = true; m_queueRoleArn = value; } + + /** + *

The queue role ARN.

+ */ + inline void SetQueueRoleArn(Aws::String&& value) { m_queueRoleArnHasBeenSet = true; m_queueRoleArn = std::move(value); } + + /** + *

The queue role ARN.

+ */ + inline void SetQueueRoleArn(const char* value) { m_queueRoleArnHasBeenSet = true; m_queueRoleArn.assign(value); } + + /** + *

The queue role ARN.

+ */ + inline JobDetailsEntity& WithQueueRoleArn(const Aws::String& value) { SetQueueRoleArn(value); return *this;} + + /** + *

The queue role ARN.

+ */ + inline JobDetailsEntity& WithQueueRoleArn(Aws::String&& value) { SetQueueRoleArn(std::move(value)); return *this;} + + /** + *

The queue role ARN.

+ */ + inline JobDetailsEntity& WithQueueRoleArn(const char* value) { SetQueueRoleArn(value); return *this;} + + + /** + *

The schema version.

+ */ + inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; } + + /** + *

The schema version.

+ */ + inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; } + + /** + *

The schema version.

+ */ + inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; } + + /** + *

The schema version.

+ */ + inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); } + + /** + *

The schema version.

+ */ + inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); } + + /** + *

The schema version.

+ */ + inline JobDetailsEntity& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;} + + /** + *

The schema version.

+ */ + inline JobDetailsEntity& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;} + + /** + *

The schema version.

+ */ + inline JobDetailsEntity& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;} + + private: + + JobAttachmentSettings m_jobAttachmentSettings; + bool m_jobAttachmentSettingsHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + JobRunAsUser m_jobRunAsUser; + bool m_jobRunAsUserHasBeenSet = false; + + Aws::String m_logGroupName; + bool m_logGroupNameHasBeenSet = false; + + Aws::Map m_parameters; + bool m_parametersHasBeenSet = false; + + Aws::Vector m_pathMappingRules; + bool m_pathMappingRulesHasBeenSet = false; + + Aws::String m_queueRoleArn; + bool m_queueRoleArnHasBeenSet = false; + + Aws::String m_schemaVersion; + bool m_schemaVersionHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobDetailsError.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobDetailsError.h new file mode 100644 index 00000000000..4ae28984bbd --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobDetailsError.h @@ -0,0 +1,167 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a job error.

See Also:

AWS + * API Reference

+ */ + class JobDetailsError + { + public: + AWS_DEADLINE_API JobDetailsError(); + AWS_DEADLINE_API JobDetailsError(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API JobDetailsError& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The error code.

+ */ + inline const JobEntityErrorCode& GetCode() const{ return m_code; } + + /** + *

The error code.

+ */ + inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } + + /** + *

The error code.

+ */ + inline void SetCode(const JobEntityErrorCode& value) { m_codeHasBeenSet = true; m_code = value; } + + /** + *

The error code.

+ */ + inline void SetCode(JobEntityErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } + + /** + *

The error code.

+ */ + inline JobDetailsError& WithCode(const JobEntityErrorCode& value) { SetCode(value); return *this;} + + /** + *

The error code.

+ */ + inline JobDetailsError& WithCode(JobEntityErrorCode&& value) { SetCode(std::move(value)); return *this;} + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline JobDetailsError& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline JobDetailsError& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline JobDetailsError& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The error message detailing the error's cause.

+ */ + inline const Aws::String& GetMessage() const{ return m_message; } + + /** + *

The error message detailing the error's cause.

+ */ + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + + /** + *

The error message detailing the error's cause.

+ */ + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + + /** + *

The error message detailing the error's cause.

+ */ + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + + /** + *

The error message detailing the error's cause.

+ */ + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + + /** + *

The error message detailing the error's cause.

+ */ + inline JobDetailsError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + + /** + *

The error message detailing the error's cause.

+ */ + inline JobDetailsError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + + /** + *

The error message detailing the error's cause.

+ */ + inline JobDetailsError& WithMessage(const char* value) { SetMessage(value); return *this;} + + private: + + JobEntityErrorCode m_code; + bool m_codeHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobDetailsIdentifiers.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobDetailsIdentifiers.h new file mode 100644 index 00000000000..e482895e20a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobDetailsIdentifiers.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The identifiers for a job.

See Also:

AWS + * API Reference

+ */ + class JobDetailsIdentifiers + { + public: + AWS_DEADLINE_API JobDetailsIdentifiers(); + AWS_DEADLINE_API JobDetailsIdentifiers(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API JobDetailsIdentifiers& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline JobDetailsIdentifiers& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline JobDetailsIdentifiers& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline JobDetailsIdentifiers& WithJobId(const char* value) { SetJobId(value); return *this;} + + private: + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobEntity.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobEntity.h new file mode 100644 index 00000000000..38003a910b2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobEntity.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a job entity.

See Also:

AWS + * API Reference

+ */ + class JobEntity + { + public: + AWS_DEADLINE_API JobEntity(); + AWS_DEADLINE_API JobEntity(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API JobEntity& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The environment details for the job entity.

+ */ + inline const EnvironmentDetailsEntity& GetEnvironmentDetails() const{ return m_environmentDetails; } + + /** + *

The environment details for the job entity.

+ */ + inline bool EnvironmentDetailsHasBeenSet() const { return m_environmentDetailsHasBeenSet; } + + /** + *

The environment details for the job entity.

+ */ + inline void SetEnvironmentDetails(const EnvironmentDetailsEntity& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = value; } + + /** + *

The environment details for the job entity.

+ */ + inline void SetEnvironmentDetails(EnvironmentDetailsEntity&& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = std::move(value); } + + /** + *

The environment details for the job entity.

+ */ + inline JobEntity& WithEnvironmentDetails(const EnvironmentDetailsEntity& value) { SetEnvironmentDetails(value); return *this;} + + /** + *

The environment details for the job entity.

+ */ + inline JobEntity& WithEnvironmentDetails(EnvironmentDetailsEntity&& value) { SetEnvironmentDetails(std::move(value)); return *this;} + + + /** + *

The job attachment details.

+ */ + inline const JobAttachmentDetailsEntity& GetJobAttachmentDetails() const{ return m_jobAttachmentDetails; } + + /** + *

The job attachment details.

+ */ + inline bool JobAttachmentDetailsHasBeenSet() const { return m_jobAttachmentDetailsHasBeenSet; } + + /** + *

The job attachment details.

+ */ + inline void SetJobAttachmentDetails(const JobAttachmentDetailsEntity& value) { m_jobAttachmentDetailsHasBeenSet = true; m_jobAttachmentDetails = value; } + + /** + *

The job attachment details.

+ */ + inline void SetJobAttachmentDetails(JobAttachmentDetailsEntity&& value) { m_jobAttachmentDetailsHasBeenSet = true; m_jobAttachmentDetails = std::move(value); } + + /** + *

The job attachment details.

+ */ + inline JobEntity& WithJobAttachmentDetails(const JobAttachmentDetailsEntity& value) { SetJobAttachmentDetails(value); return *this;} + + /** + *

The job attachment details.

+ */ + inline JobEntity& WithJobAttachmentDetails(JobAttachmentDetailsEntity&& value) { SetJobAttachmentDetails(std::move(value)); return *this;} + + + /** + *

The job details.

+ */ + inline const JobDetailsEntity& GetJobDetails() const{ return m_jobDetails; } + + /** + *

The job details.

+ */ + inline bool JobDetailsHasBeenSet() const { return m_jobDetailsHasBeenSet; } + + /** + *

The job details.

+ */ + inline void SetJobDetails(const JobDetailsEntity& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = value; } + + /** + *

The job details.

+ */ + inline void SetJobDetails(JobDetailsEntity&& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = std::move(value); } + + /** + *

The job details.

+ */ + inline JobEntity& WithJobDetails(const JobDetailsEntity& value) { SetJobDetails(value); return *this;} + + /** + *

The job details.

+ */ + inline JobEntity& WithJobDetails(JobDetailsEntity&& value) { SetJobDetails(std::move(value)); return *this;} + + + /** + *

The step details.

+ */ + inline const StepDetailsEntity& GetStepDetails() const{ return m_stepDetails; } + + /** + *

The step details.

+ */ + inline bool StepDetailsHasBeenSet() const { return m_stepDetailsHasBeenSet; } + + /** + *

The step details.

+ */ + inline void SetStepDetails(const StepDetailsEntity& value) { m_stepDetailsHasBeenSet = true; m_stepDetails = value; } + + /** + *

The step details.

+ */ + inline void SetStepDetails(StepDetailsEntity&& value) { m_stepDetailsHasBeenSet = true; m_stepDetails = std::move(value); } + + /** + *

The step details.

+ */ + inline JobEntity& WithStepDetails(const StepDetailsEntity& value) { SetStepDetails(value); return *this;} + + /** + *

The step details.

+ */ + inline JobEntity& WithStepDetails(StepDetailsEntity&& value) { SetStepDetails(std::move(value)); return *this;} + + private: + + EnvironmentDetailsEntity m_environmentDetails; + bool m_environmentDetailsHasBeenSet = false; + + JobAttachmentDetailsEntity m_jobAttachmentDetails; + bool m_jobAttachmentDetailsHasBeenSet = false; + + JobDetailsEntity m_jobDetails; + bool m_jobDetailsHasBeenSet = false; + + StepDetailsEntity m_stepDetails; + bool m_stepDetailsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobEntityErrorCode.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobEntityErrorCode.h new file mode 100644 index 00000000000..8e151e58ea3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobEntityErrorCode.h @@ -0,0 +1,35 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class JobEntityErrorCode + { + NOT_SET, + AccessDeniedException, + InternalServerException, + ValidationException, + ResourceNotFoundException, + MaxPayloadSizeExceeded, + ConflictException + }; + +namespace JobEntityErrorCodeMapper +{ +AWS_DEADLINE_API JobEntityErrorCode GetJobEntityErrorCodeForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForJobEntityErrorCode(JobEntityErrorCode value); +} // namespace JobEntityErrorCodeMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobEntityIdentifiersUnion.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobEntityIdentifiersUnion.h new file mode 100644 index 00000000000..29808c57135 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobEntityIdentifiersUnion.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a job entity identifier.

See Also:

AWS + * API Reference

+ */ + class JobEntityIdentifiersUnion + { + public: + AWS_DEADLINE_API JobEntityIdentifiersUnion(); + AWS_DEADLINE_API JobEntityIdentifiersUnion(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API JobEntityIdentifiersUnion& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The environment details.

+ */ + inline const EnvironmentDetailsIdentifiers& GetEnvironmentDetails() const{ return m_environmentDetails; } + + /** + *

The environment details.

+ */ + inline bool EnvironmentDetailsHasBeenSet() const { return m_environmentDetailsHasBeenSet; } + + /** + *

The environment details.

+ */ + inline void SetEnvironmentDetails(const EnvironmentDetailsIdentifiers& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = value; } + + /** + *

The environment details.

+ */ + inline void SetEnvironmentDetails(EnvironmentDetailsIdentifiers&& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = std::move(value); } + + /** + *

The environment details.

+ */ + inline JobEntityIdentifiersUnion& WithEnvironmentDetails(const EnvironmentDetailsIdentifiers& value) { SetEnvironmentDetails(value); return *this;} + + /** + *

The environment details.

+ */ + inline JobEntityIdentifiersUnion& WithEnvironmentDetails(EnvironmentDetailsIdentifiers&& value) { SetEnvironmentDetails(std::move(value)); return *this;} + + + /** + *

The job attachment details.

+ */ + inline const JobAttachmentDetailsIdentifiers& GetJobAttachmentDetails() const{ return m_jobAttachmentDetails; } + + /** + *

The job attachment details.

+ */ + inline bool JobAttachmentDetailsHasBeenSet() const { return m_jobAttachmentDetailsHasBeenSet; } + + /** + *

The job attachment details.

+ */ + inline void SetJobAttachmentDetails(const JobAttachmentDetailsIdentifiers& value) { m_jobAttachmentDetailsHasBeenSet = true; m_jobAttachmentDetails = value; } + + /** + *

The job attachment details.

+ */ + inline void SetJobAttachmentDetails(JobAttachmentDetailsIdentifiers&& value) { m_jobAttachmentDetailsHasBeenSet = true; m_jobAttachmentDetails = std::move(value); } + + /** + *

The job attachment details.

+ */ + inline JobEntityIdentifiersUnion& WithJobAttachmentDetails(const JobAttachmentDetailsIdentifiers& value) { SetJobAttachmentDetails(value); return *this;} + + /** + *

The job attachment details.

+ */ + inline JobEntityIdentifiersUnion& WithJobAttachmentDetails(JobAttachmentDetailsIdentifiers&& value) { SetJobAttachmentDetails(std::move(value)); return *this;} + + + /** + *

The job details.

+ */ + inline const JobDetailsIdentifiers& GetJobDetails() const{ return m_jobDetails; } + + /** + *

The job details.

+ */ + inline bool JobDetailsHasBeenSet() const { return m_jobDetailsHasBeenSet; } + + /** + *

The job details.

+ */ + inline void SetJobDetails(const JobDetailsIdentifiers& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = value; } + + /** + *

The job details.

+ */ + inline void SetJobDetails(JobDetailsIdentifiers&& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = std::move(value); } + + /** + *

The job details.

+ */ + inline JobEntityIdentifiersUnion& WithJobDetails(const JobDetailsIdentifiers& value) { SetJobDetails(value); return *this;} + + /** + *

The job details.

+ */ + inline JobEntityIdentifiersUnion& WithJobDetails(JobDetailsIdentifiers&& value) { SetJobDetails(std::move(value)); return *this;} + + + /** + *

The step details.

+ */ + inline const StepDetailsIdentifiers& GetStepDetails() const{ return m_stepDetails; } + + /** + *

The step details.

+ */ + inline bool StepDetailsHasBeenSet() const { return m_stepDetailsHasBeenSet; } + + /** + *

The step details.

+ */ + inline void SetStepDetails(const StepDetailsIdentifiers& value) { m_stepDetailsHasBeenSet = true; m_stepDetails = value; } + + /** + *

The step details.

+ */ + inline void SetStepDetails(StepDetailsIdentifiers&& value) { m_stepDetailsHasBeenSet = true; m_stepDetails = std::move(value); } + + /** + *

The step details.

+ */ + inline JobEntityIdentifiersUnion& WithStepDetails(const StepDetailsIdentifiers& value) { SetStepDetails(value); return *this;} + + /** + *

The step details.

+ */ + inline JobEntityIdentifiersUnion& WithStepDetails(StepDetailsIdentifiers&& value) { SetStepDetails(std::move(value)); return *this;} + + private: + + EnvironmentDetailsIdentifiers m_environmentDetails; + bool m_environmentDetailsHasBeenSet = false; + + JobAttachmentDetailsIdentifiers m_jobAttachmentDetails; + bool m_jobAttachmentDetailsHasBeenSet = false; + + JobDetailsIdentifiers m_jobDetails; + bool m_jobDetailsHasBeenSet = false; + + StepDetailsIdentifiers m_stepDetails; + bool m_stepDetailsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobLifecycleStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobLifecycleStatus.h new file mode 100644 index 00000000000..39e44c2d482 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobLifecycleStatus.h @@ -0,0 +1,38 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class JobLifecycleStatus + { + NOT_SET, + CREATE_IN_PROGRESS, + CREATE_FAILED, + CREATE_COMPLETE, + UPLOAD_IN_PROGRESS, + UPLOAD_FAILED, + UPDATE_IN_PROGRESS, + UPDATE_FAILED, + UPDATE_SUCCEEDED, + ARCHIVED + }; + +namespace JobLifecycleStatusMapper +{ +AWS_DEADLINE_API JobLifecycleStatus GetJobLifecycleStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForJobLifecycleStatus(JobLifecycleStatus value); +} // namespace JobLifecycleStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobMember.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobMember.h new file mode 100644 index 00000000000..83f17cd40f0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobMember.h @@ -0,0 +1,334 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details for a job member.

See Also:

AWS + * API Reference

+ */ + class JobMember + { + public: + AWS_DEADLINE_API JobMember(); + AWS_DEADLINE_API JobMember(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API JobMember& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The farm ID.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID.

+ */ + inline JobMember& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID.

+ */ + inline JobMember& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID.

+ */ + inline JobMember& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The identity store ID.

+ */ + inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } + + /** + *

The identity store ID.

+ */ + inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } + + /** + *

The identity store ID.

+ */ + inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } + + /** + *

The identity store ID.

+ */ + inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } + + /** + *

The identity store ID.

+ */ + inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } + + /** + *

The identity store ID.

+ */ + inline JobMember& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} + + /** + *

The identity store ID.

+ */ + inline JobMember& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} + + /** + *

The identity store ID.

+ */ + inline JobMember& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline JobMember& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline JobMember& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline JobMember& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The job member's membership level.

+ */ + inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } + + /** + *

The job member's membership level.

+ */ + inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } + + /** + *

The job member's membership level.

+ */ + inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } + + /** + *

The job member's membership level.

+ */ + inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } + + /** + *

The job member's membership level.

+ */ + inline JobMember& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} + + /** + *

The job member's membership level.

+ */ + inline JobMember& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} + + + /** + *

The principal ID of the job member.

+ */ + inline const Aws::String& GetPrincipalId() const{ return m_principalId; } + + /** + *

The principal ID of the job member.

+ */ + inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } + + /** + *

The principal ID of the job member.

+ */ + inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } + + /** + *

The principal ID of the job member.

+ */ + inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } + + /** + *

The principal ID of the job member.

+ */ + inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } + + /** + *

The principal ID of the job member.

+ */ + inline JobMember& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} + + /** + *

The principal ID of the job member.

+ */ + inline JobMember& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} + + /** + *

The principal ID of the job member.

+ */ + inline JobMember& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} + + + /** + *

The principal type of the job member.

+ */ + inline const PrincipalType& GetPrincipalType() const{ return m_principalType; } + + /** + *

The principal type of the job member.

+ */ + inline bool PrincipalTypeHasBeenSet() const { return m_principalTypeHasBeenSet; } + + /** + *

The principal type of the job member.

+ */ + inline void SetPrincipalType(const PrincipalType& value) { m_principalTypeHasBeenSet = true; m_principalType = value; } + + /** + *

The principal type of the job member.

+ */ + inline void SetPrincipalType(PrincipalType&& value) { m_principalTypeHasBeenSet = true; m_principalType = std::move(value); } + + /** + *

The principal type of the job member.

+ */ + inline JobMember& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;} + + /** + *

The principal type of the job member.

+ */ + inline JobMember& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;} + + + /** + *

The queue ID.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID.

+ */ + inline JobMember& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID.

+ */ + inline JobMember& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID.

+ */ + inline JobMember& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_identityStoreId; + bool m_identityStoreIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + MembershipLevel m_membershipLevel; + bool m_membershipLevelHasBeenSet = false; + + Aws::String m_principalId; + bool m_principalIdHasBeenSet = false; + + PrincipalType m_principalType; + bool m_principalTypeHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobParameter.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobParameter.h new file mode 100644 index 00000000000..c29865361a4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobParameter.h @@ -0,0 +1,228 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of job parameters.

See Also:

AWS + * API Reference

+ */ + class JobParameter + { + public: + AWS_DEADLINE_API JobParameter(); + AWS_DEADLINE_API JobParameter(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API JobParameter& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

A double precision IEEE-754 floating point number represented as a + * string.

+ */ + inline const Aws::String& GetFloat() const{ return m_float; } + + /** + *

A double precision IEEE-754 floating point number represented as a + * string.

+ */ + inline bool FloatHasBeenSet() const { return m_floatHasBeenSet; } + + /** + *

A double precision IEEE-754 floating point number represented as a + * string.

+ */ + inline void SetFloat(const Aws::String& value) { m_floatHasBeenSet = true; m_float = value; } + + /** + *

A double precision IEEE-754 floating point number represented as a + * string.

+ */ + inline void SetFloat(Aws::String&& value) { m_floatHasBeenSet = true; m_float = std::move(value); } + + /** + *

A double precision IEEE-754 floating point number represented as a + * string.

+ */ + inline void SetFloat(const char* value) { m_floatHasBeenSet = true; m_float.assign(value); } + + /** + *

A double precision IEEE-754 floating point number represented as a + * string.

+ */ + inline JobParameter& WithFloat(const Aws::String& value) { SetFloat(value); return *this;} + + /** + *

A double precision IEEE-754 floating point number represented as a + * string.

+ */ + inline JobParameter& WithFloat(Aws::String&& value) { SetFloat(std::move(value)); return *this;} + + /** + *

A double precision IEEE-754 floating point number represented as a + * string.

+ */ + inline JobParameter& WithFloat(const char* value) { SetFloat(value); return *this;} + + + /** + *

A signed integer represented as a string.

+ */ + inline const Aws::String& GetInt() const{ return m_int; } + + /** + *

A signed integer represented as a string.

+ */ + inline bool IntHasBeenSet() const { return m_intHasBeenSet; } + + /** + *

A signed integer represented as a string.

+ */ + inline void SetInt(const Aws::String& value) { m_intHasBeenSet = true; m_int = value; } + + /** + *

A signed integer represented as a string.

+ */ + inline void SetInt(Aws::String&& value) { m_intHasBeenSet = true; m_int = std::move(value); } + + /** + *

A signed integer represented as a string.

+ */ + inline void SetInt(const char* value) { m_intHasBeenSet = true; m_int.assign(value); } + + /** + *

A signed integer represented as a string.

+ */ + inline JobParameter& WithInt(const Aws::String& value) { SetInt(value); return *this;} + + /** + *

A signed integer represented as a string.

+ */ + inline JobParameter& WithInt(Aws::String&& value) { SetInt(std::move(value)); return *this;} + + /** + *

A signed integer represented as a string.

+ */ + inline JobParameter& WithInt(const char* value) { SetInt(value); return *this;} + + + /** + *

A file system path represented as a string.

+ */ + inline const Aws::String& GetPath() const{ return m_path; } + + /** + *

A file system path represented as a string.

+ */ + inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } + + /** + *

A file system path represented as a string.

+ */ + inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } + + /** + *

A file system path represented as a string.

+ */ + inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } + + /** + *

A file system path represented as a string.

+ */ + inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } + + /** + *

A file system path represented as a string.

+ */ + inline JobParameter& WithPath(const Aws::String& value) { SetPath(value); return *this;} + + /** + *

A file system path represented as a string.

+ */ + inline JobParameter& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} + + /** + *

A file system path represented as a string.

+ */ + inline JobParameter& WithPath(const char* value) { SetPath(value); return *this;} + + + /** + *

A UTF-8 string.

+ */ + inline const Aws::String& GetString() const{ return m_string; } + + /** + *

A UTF-8 string.

+ */ + inline bool StringHasBeenSet() const { return m_stringHasBeenSet; } + + /** + *

A UTF-8 string.

+ */ + inline void SetString(const Aws::String& value) { m_stringHasBeenSet = true; m_string = value; } + + /** + *

A UTF-8 string.

+ */ + inline void SetString(Aws::String&& value) { m_stringHasBeenSet = true; m_string = std::move(value); } + + /** + *

A UTF-8 string.

+ */ + inline void SetString(const char* value) { m_stringHasBeenSet = true; m_string.assign(value); } + + /** + *

A UTF-8 string.

+ */ + inline JobParameter& WithString(const Aws::String& value) { SetString(value); return *this;} + + /** + *

A UTF-8 string.

+ */ + inline JobParameter& WithString(Aws::String&& value) { SetString(std::move(value)); return *this;} + + /** + *

A UTF-8 string.

+ */ + inline JobParameter& WithString(const char* value) { SetString(value); return *this;} + + private: + + Aws::String m_float; + bool m_floatHasBeenSet = false; + + Aws::String m_int; + bool m_intHasBeenSet = false; + + Aws::String m_path; + bool m_pathHasBeenSet = false; + + Aws::String m_string; + bool m_stringHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobRunAsUser.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobRunAsUser.h new file mode 100644 index 00000000000..2c6a923acdc --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobRunAsUser.h @@ -0,0 +1,154 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Identifies the user for a job.

See Also:

AWS + * API Reference

+ */ + class JobRunAsUser + { + public: + AWS_DEADLINE_API JobRunAsUser(); + AWS_DEADLINE_API JobRunAsUser(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API JobRunAsUser& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The user and group that the jobs in the queue run as.

+ */ + inline const PosixUser& GetPosix() const{ return m_posix; } + + /** + *

The user and group that the jobs in the queue run as.

+ */ + inline bool PosixHasBeenSet() const { return m_posixHasBeenSet; } + + /** + *

The user and group that the jobs in the queue run as.

+ */ + inline void SetPosix(const PosixUser& value) { m_posixHasBeenSet = true; m_posix = value; } + + /** + *

The user and group that the jobs in the queue run as.

+ */ + inline void SetPosix(PosixUser&& value) { m_posixHasBeenSet = true; m_posix = std::move(value); } + + /** + *

The user and group that the jobs in the queue run as.

+ */ + inline JobRunAsUser& WithPosix(const PosixUser& value) { SetPosix(value); return *this;} + + /** + *

The user and group that the jobs in the queue run as.

+ */ + inline JobRunAsUser& WithPosix(PosixUser&& value) { SetPosix(std::move(value)); return *this;} + + + /** + *

Specifies whether the job should run using the queue's system user or if the + * job should run using the worker agent system user.

+ */ + inline const RunAs& GetRunAs() const{ return m_runAs; } + + /** + *

Specifies whether the job should run using the queue's system user or if the + * job should run using the worker agent system user.

+ */ + inline bool RunAsHasBeenSet() const { return m_runAsHasBeenSet; } + + /** + *

Specifies whether the job should run using the queue's system user or if the + * job should run using the worker agent system user.

+ */ + inline void SetRunAs(const RunAs& value) { m_runAsHasBeenSet = true; m_runAs = value; } + + /** + *

Specifies whether the job should run using the queue's system user or if the + * job should run using the worker agent system user.

+ */ + inline void SetRunAs(RunAs&& value) { m_runAsHasBeenSet = true; m_runAs = std::move(value); } + + /** + *

Specifies whether the job should run using the queue's system user or if the + * job should run using the worker agent system user.

+ */ + inline JobRunAsUser& WithRunAs(const RunAs& value) { SetRunAs(value); return *this;} + + /** + *

Specifies whether the job should run using the queue's system user or if the + * job should run using the worker agent system user.

+ */ + inline JobRunAsUser& WithRunAs(RunAs&& value) { SetRunAs(std::move(value)); return *this;} + + + /** + *

Identifies a Microsoft Windows user.

+ */ + inline const WindowsUser& GetWindows() const{ return m_windows; } + + /** + *

Identifies a Microsoft Windows user.

+ */ + inline bool WindowsHasBeenSet() const { return m_windowsHasBeenSet; } + + /** + *

Identifies a Microsoft Windows user.

+ */ + inline void SetWindows(const WindowsUser& value) { m_windowsHasBeenSet = true; m_windows = value; } + + /** + *

Identifies a Microsoft Windows user.

+ */ + inline void SetWindows(WindowsUser&& value) { m_windowsHasBeenSet = true; m_windows = std::move(value); } + + /** + *

Identifies a Microsoft Windows user.

+ */ + inline JobRunAsUser& WithWindows(const WindowsUser& value) { SetWindows(value); return *this;} + + /** + *

Identifies a Microsoft Windows user.

+ */ + inline JobRunAsUser& WithWindows(WindowsUser&& value) { SetWindows(std::move(value)); return *this;} + + private: + + PosixUser m_posix; + bool m_posixHasBeenSet = false; + + RunAs m_runAs; + bool m_runAsHasBeenSet = false; + + WindowsUser m_windows; + bool m_windowsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobSearchSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobSearchSummary.h new file mode 100644 index 00000000000..2af2e6c4e3d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobSearchSummary.h @@ -0,0 +1,712 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a job search.

See Also:

AWS + * API Reference

+ */ + class JobSearchSummary + { + public: + AWS_DEADLINE_API JobSearchSummary(); + AWS_DEADLINE_API JobSearchSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API JobSearchSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline JobSearchSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline JobSearchSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline JobSearchSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline JobSearchSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline JobSearchSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The date and time the resource ended running.

+ */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + + /** + *

The date and time the resource ended running.

+ */ + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + + /** + *

The date and time the resource ended running.

+ */ + inline JobSearchSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + + /** + *

The date and time the resource ended running.

+ */ + inline JobSearchSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline JobSearchSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline JobSearchSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline JobSearchSummary& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The job parameters.

+ */ + inline const Aws::Map& GetJobParameters() const{ return m_jobParameters; } + + /** + *

The job parameters.

+ */ + inline bool JobParametersHasBeenSet() const { return m_jobParametersHasBeenSet; } + + /** + *

The job parameters.

+ */ + inline void SetJobParameters(const Aws::Map& value) { m_jobParametersHasBeenSet = true; m_jobParameters = value; } + + /** + *

The job parameters.

+ */ + inline void SetJobParameters(Aws::Map&& value) { m_jobParametersHasBeenSet = true; m_jobParameters = std::move(value); } + + /** + *

The job parameters.

+ */ + inline JobSearchSummary& WithJobParameters(const Aws::Map& value) { SetJobParameters(value); return *this;} + + /** + *

The job parameters.

+ */ + inline JobSearchSummary& WithJobParameters(Aws::Map&& value) { SetJobParameters(std::move(value)); return *this;} + + /** + *

The job parameters.

+ */ + inline JobSearchSummary& AddJobParameters(const Aws::String& key, const JobParameter& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(key, value); return *this; } + + /** + *

The job parameters.

+ */ + inline JobSearchSummary& AddJobParameters(Aws::String&& key, const JobParameter& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(std::move(key), value); return *this; } + + /** + *

The job parameters.

+ */ + inline JobSearchSummary& AddJobParameters(const Aws::String& key, JobParameter&& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(key, std::move(value)); return *this; } + + /** + *

The job parameters.

+ */ + inline JobSearchSummary& AddJobParameters(Aws::String&& key, JobParameter&& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The job parameters.

+ */ + inline JobSearchSummary& AddJobParameters(const char* key, JobParameter&& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(key, std::move(value)); return *this; } + + /** + *

The job parameters.

+ */ + inline JobSearchSummary& AddJobParameters(const char* key, const JobParameter& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(key, value); return *this; } + + + /** + *

The life cycle status.

+ */ + inline const JobLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } + + /** + *

The life cycle status.

+ */ + inline bool LifecycleStatusHasBeenSet() const { return m_lifecycleStatusHasBeenSet; } + + /** + *

The life cycle status.

+ */ + inline void SetLifecycleStatus(const JobLifecycleStatus& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = value; } + + /** + *

The life cycle status.

+ */ + inline void SetLifecycleStatus(JobLifecycleStatus&& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = std::move(value); } + + /** + *

The life cycle status.

+ */ + inline JobSearchSummary& WithLifecycleStatus(const JobLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} + + /** + *

The life cycle status.

+ */ + inline JobSearchSummary& WithLifecycleStatus(JobLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} + + + /** + *

The life cycle status message.

+ */ + inline const Aws::String& GetLifecycleStatusMessage() const{ return m_lifecycleStatusMessage; } + + /** + *

The life cycle status message.

+ */ + inline bool LifecycleStatusMessageHasBeenSet() const { return m_lifecycleStatusMessageHasBeenSet; } + + /** + *

The life cycle status message.

+ */ + inline void SetLifecycleStatusMessage(const Aws::String& value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage = value; } + + /** + *

The life cycle status message.

+ */ + inline void SetLifecycleStatusMessage(Aws::String&& value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage = std::move(value); } + + /** + *

The life cycle status message.

+ */ + inline void SetLifecycleStatusMessage(const char* value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage.assign(value); } + + /** + *

The life cycle status message.

+ */ + inline JobSearchSummary& WithLifecycleStatusMessage(const Aws::String& value) { SetLifecycleStatusMessage(value); return *this;} + + /** + *

The life cycle status message.

+ */ + inline JobSearchSummary& WithLifecycleStatusMessage(Aws::String&& value) { SetLifecycleStatusMessage(std::move(value)); return *this;} + + /** + *

The life cycle status message.

+ */ + inline JobSearchSummary& WithLifecycleStatusMessage(const char* value) { SetLifecycleStatusMessage(value); return *this;} + + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline int GetMaxFailedTasksCount() const{ return m_maxFailedTasksCount; } + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline bool MaxFailedTasksCountHasBeenSet() const { return m_maxFailedTasksCountHasBeenSet; } + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline void SetMaxFailedTasksCount(int value) { m_maxFailedTasksCountHasBeenSet = true; m_maxFailedTasksCount = value; } + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline JobSearchSummary& WithMaxFailedTasksCount(int value) { SetMaxFailedTasksCount(value); return *this;} + + + /** + *

The maximum number of retries for a job.

+ */ + inline int GetMaxRetriesPerTask() const{ return m_maxRetriesPerTask; } + + /** + *

The maximum number of retries for a job.

+ */ + inline bool MaxRetriesPerTaskHasBeenSet() const { return m_maxRetriesPerTaskHasBeenSet; } + + /** + *

The maximum number of retries for a job.

+ */ + inline void SetMaxRetriesPerTask(int value) { m_maxRetriesPerTaskHasBeenSet = true; m_maxRetriesPerTask = value; } + + /** + *

The maximum number of retries for a job.

+ */ + inline JobSearchSummary& WithMaxRetriesPerTask(int value) { SetMaxRetriesPerTask(value); return *this;} + + + /** + *

The job name.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The job name.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The job name.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The job name.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The job name.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The job name.

+ */ + inline JobSearchSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The job name.

+ */ + inline JobSearchSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The job name.

+ */ + inline JobSearchSummary& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The job priority.

+ */ + inline int GetPriority() const{ return m_priority; } + + /** + *

The job priority.

+ */ + inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } + + /** + *

The job priority.

+ */ + inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } + + /** + *

The job priority.

+ */ + inline JobSearchSummary& WithPriority(int value) { SetPriority(value); return *this;} + + + /** + *

The queue ID.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID.

+ */ + inline JobSearchSummary& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID.

+ */ + inline JobSearchSummary& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID.

+ */ + inline JobSearchSummary& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The date and time the resource started running.

+ */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + + /** + *

The date and time the resource started running.

+ */ + inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } + + /** + *

The date and time the resource started running.

+ */ + inline JobSearchSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + + /** + *

The date and time the resource started running.

+ */ + inline JobSearchSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + + + /** + *

The task status to start with on the job.

+ */ + inline const JobTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } + + /** + *

The task status to start with on the job.

+ */ + inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } + + /** + *

The task status to start with on the job.

+ */ + inline void SetTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; } + + /** + *

The task status to start with on the job.

+ */ + inline void SetTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); } + + /** + *

The task status to start with on the job.

+ */ + inline JobSearchSummary& WithTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} + + /** + *

The task status to start with on the job.

+ */ + inline JobSearchSummary& WithTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + + + /** + *

task run status for the job.

  • PENDING–pending + * and waiting for resources.

  • READY–ready to be + * processed.

  • ASSIGNED–assigned and will run next + * on a worker.

  • SCHEDULED–scheduled to be run on a + * worker.

  • INTERRUPTING–being interrupted.

    + *
  • RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline const TaskRunStatus& GetTaskRunStatus() const{ return m_taskRunStatus; } + + /** + *

task run status for the job.

  • PENDING–pending + * and waiting for resources.

  • READY–ready to be + * processed.

  • ASSIGNED–assigned and will run next + * on a worker.

  • SCHEDULED–scheduled to be run on a + * worker.

  • INTERRUPTING–being interrupted.

    + *
  • RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline bool TaskRunStatusHasBeenSet() const { return m_taskRunStatusHasBeenSet; } + + /** + *

task run status for the job.

  • PENDING–pending + * and waiting for resources.

  • READY–ready to be + * processed.

  • ASSIGNED–assigned and will run next + * on a worker.

  • SCHEDULED–scheduled to be run on a + * worker.

  • INTERRUPTING–being interrupted.

    + *
  • RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline void SetTaskRunStatus(const TaskRunStatus& value) { m_taskRunStatusHasBeenSet = true; m_taskRunStatus = value; } + + /** + *

task run status for the job.

  • PENDING–pending + * and waiting for resources.

  • READY–ready to be + * processed.

  • ASSIGNED–assigned and will run next + * on a worker.

  • SCHEDULED–scheduled to be run on a + * worker.

  • INTERRUPTING–being interrupted.

    + *
  • RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline void SetTaskRunStatus(TaskRunStatus&& value) { m_taskRunStatusHasBeenSet = true; m_taskRunStatus = std::move(value); } + + /** + *

task run status for the job.

  • PENDING–pending + * and waiting for resources.

  • READY–ready to be + * processed.

  • ASSIGNED–assigned and will run next + * on a worker.

  • SCHEDULED–scheduled to be run on a + * worker.

  • INTERRUPTING–being interrupted.

    + *
  • RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline JobSearchSummary& WithTaskRunStatus(const TaskRunStatus& value) { SetTaskRunStatus(value); return *this;} + + /** + *

task run status for the job.

  • PENDING–pending + * and waiting for resources.

  • READY–ready to be + * processed.

  • ASSIGNED–assigned and will run next + * on a worker.

  • SCHEDULED–scheduled to be run on a + * worker.

  • INTERRUPTING–being interrupted.

    + *
  • RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline JobSearchSummary& WithTaskRunStatus(TaskRunStatus&& value) { SetTaskRunStatus(std::move(value)); return *this;} + + + /** + *

The number of tasks running on the job.

+ */ + inline const Aws::Map& GetTaskRunStatusCounts() const{ return m_taskRunStatusCounts; } + + /** + *

The number of tasks running on the job.

+ */ + inline bool TaskRunStatusCountsHasBeenSet() const { return m_taskRunStatusCountsHasBeenSet; } + + /** + *

The number of tasks running on the job.

+ */ + inline void SetTaskRunStatusCounts(const Aws::Map& value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts = value; } + + /** + *

The number of tasks running on the job.

+ */ + inline void SetTaskRunStatusCounts(Aws::Map&& value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts = std::move(value); } + + /** + *

The number of tasks running on the job.

+ */ + inline JobSearchSummary& WithTaskRunStatusCounts(const Aws::Map& value) { SetTaskRunStatusCounts(value); return *this;} + + /** + *

The number of tasks running on the job.

+ */ + inline JobSearchSummary& WithTaskRunStatusCounts(Aws::Map&& value) { SetTaskRunStatusCounts(std::move(value)); return *this;} + + /** + *

The number of tasks running on the job.

+ */ + inline JobSearchSummary& AddTaskRunStatusCounts(const TaskRunStatus& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(key, value); return *this; } + + /** + *

The number of tasks running on the job.

+ */ + inline JobSearchSummary& AddTaskRunStatusCounts(TaskRunStatus&& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(std::move(key), value); return *this; } + + private: + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::Map m_jobParameters; + bool m_jobParametersHasBeenSet = false; + + JobLifecycleStatus m_lifecycleStatus; + bool m_lifecycleStatusHasBeenSet = false; + + Aws::String m_lifecycleStatusMessage; + bool m_lifecycleStatusMessageHasBeenSet = false; + + int m_maxFailedTasksCount; + bool m_maxFailedTasksCountHasBeenSet = false; + + int m_maxRetriesPerTask; + bool m_maxRetriesPerTaskHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + int m_priority; + bool m_priorityHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::Utils::DateTime m_startedAt; + bool m_startedAtHasBeenSet = false; + + JobTargetTaskRunStatus m_targetTaskRunStatus; + bool m_targetTaskRunStatusHasBeenSet = false; + + TaskRunStatus m_taskRunStatus; + bool m_taskRunStatusHasBeenSet = false; + + Aws::Map m_taskRunStatusCounts; + bool m_taskRunStatusCountsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobSummary.h new file mode 100644 index 00000000000..f02773928d5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobSummary.h @@ -0,0 +1,687 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

A summary of job details.

See Also:

AWS + * API Reference

+ */ + class JobSummary + { + public: + AWS_DEADLINE_API JobSummary(); + AWS_DEADLINE_API JobSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API JobSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline JobSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline JobSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline JobSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline JobSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline JobSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The date and time the resource ended running.

+ */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + + /** + *

The date and time the resource ended running.

+ */ + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + + /** + *

The date and time the resource ended running.

+ */ + inline JobSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + + /** + *

The date and time the resource ended running.

+ */ + inline JobSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline JobSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline JobSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline JobSummary& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The life cycle status.

+ */ + inline const JobLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } + + /** + *

The life cycle status.

+ */ + inline bool LifecycleStatusHasBeenSet() const { return m_lifecycleStatusHasBeenSet; } + + /** + *

The life cycle status.

+ */ + inline void SetLifecycleStatus(const JobLifecycleStatus& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = value; } + + /** + *

The life cycle status.

+ */ + inline void SetLifecycleStatus(JobLifecycleStatus&& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = std::move(value); } + + /** + *

The life cycle status.

+ */ + inline JobSummary& WithLifecycleStatus(const JobLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} + + /** + *

The life cycle status.

+ */ + inline JobSummary& WithLifecycleStatus(JobLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} + + + /** + *

The life cycle status message.

+ */ + inline const Aws::String& GetLifecycleStatusMessage() const{ return m_lifecycleStatusMessage; } + + /** + *

The life cycle status message.

+ */ + inline bool LifecycleStatusMessageHasBeenSet() const { return m_lifecycleStatusMessageHasBeenSet; } + + /** + *

The life cycle status message.

+ */ + inline void SetLifecycleStatusMessage(const Aws::String& value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage = value; } + + /** + *

The life cycle status message.

+ */ + inline void SetLifecycleStatusMessage(Aws::String&& value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage = std::move(value); } + + /** + *

The life cycle status message.

+ */ + inline void SetLifecycleStatusMessage(const char* value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage.assign(value); } + + /** + *

The life cycle status message.

+ */ + inline JobSummary& WithLifecycleStatusMessage(const Aws::String& value) { SetLifecycleStatusMessage(value); return *this;} + + /** + *

The life cycle status message.

+ */ + inline JobSummary& WithLifecycleStatusMessage(Aws::String&& value) { SetLifecycleStatusMessage(std::move(value)); return *this;} + + /** + *

The life cycle status message.

+ */ + inline JobSummary& WithLifecycleStatusMessage(const char* value) { SetLifecycleStatusMessage(value); return *this;} + + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline int GetMaxFailedTasksCount() const{ return m_maxFailedTasksCount; } + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline bool MaxFailedTasksCountHasBeenSet() const { return m_maxFailedTasksCountHasBeenSet; } + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline void SetMaxFailedTasksCount(int value) { m_maxFailedTasksCountHasBeenSet = true; m_maxFailedTasksCount = value; } + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline JobSummary& WithMaxFailedTasksCount(int value) { SetMaxFailedTasksCount(value); return *this;} + + + /** + *

The maximum number of retries for a job.

+ */ + inline int GetMaxRetriesPerTask() const{ return m_maxRetriesPerTask; } + + /** + *

The maximum number of retries for a job.

+ */ + inline bool MaxRetriesPerTaskHasBeenSet() const { return m_maxRetriesPerTaskHasBeenSet; } + + /** + *

The maximum number of retries for a job.

+ */ + inline void SetMaxRetriesPerTask(int value) { m_maxRetriesPerTaskHasBeenSet = true; m_maxRetriesPerTask = value; } + + /** + *

The maximum number of retries for a job.

+ */ + inline JobSummary& WithMaxRetriesPerTask(int value) { SetMaxRetriesPerTask(value); return *this;} + + + /** + *

The job name.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The job name.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The job name.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The job name.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The job name.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The job name.

+ */ + inline JobSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The job name.

+ */ + inline JobSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The job name.

+ */ + inline JobSummary& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The job priority.

+ */ + inline int GetPriority() const{ return m_priority; } + + /** + *

The job priority.

+ */ + inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } + + /** + *

The job priority.

+ */ + inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } + + /** + *

The job priority.

+ */ + inline JobSummary& WithPriority(int value) { SetPriority(value); return *this;} + + + /** + *

The date and time the resource started running.

+ */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + + /** + *

The date and time the resource started running.

+ */ + inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } + + /** + *

The date and time the resource started running.

+ */ + inline JobSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + + /** + *

The date and time the resource started running.

+ */ + inline JobSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + + + /** + *

The task status to start with on the job.

+ */ + inline const JobTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } + + /** + *

The task status to start with on the job.

+ */ + inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } + + /** + *

The task status to start with on the job.

+ */ + inline void SetTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; } + + /** + *

The task status to start with on the job.

+ */ + inline void SetTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); } + + /** + *

The task status to start with on the job.

+ */ + inline JobSummary& WithTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} + + /** + *

The task status to start with on the job.

+ */ + inline JobSummary& WithTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to be processed.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to be run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline const TaskRunStatus& GetTaskRunStatus() const{ return m_taskRunStatus; } + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to be processed.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to be run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline bool TaskRunStatusHasBeenSet() const { return m_taskRunStatusHasBeenSet; } + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to be processed.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to be run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline void SetTaskRunStatus(const TaskRunStatus& value) { m_taskRunStatusHasBeenSet = true; m_taskRunStatus = value; } + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to be processed.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to be run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline void SetTaskRunStatus(TaskRunStatus&& value) { m_taskRunStatusHasBeenSet = true; m_taskRunStatus = std::move(value); } + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to be processed.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to be run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline JobSummary& WithTaskRunStatus(const TaskRunStatus& value) { SetTaskRunStatus(value); return *this;} + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to be processed.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to be run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline JobSummary& WithTaskRunStatus(TaskRunStatus&& value) { SetTaskRunStatus(std::move(value)); return *this;} + + + /** + *

The number of tasks running on the job.

+ */ + inline const Aws::Map& GetTaskRunStatusCounts() const{ return m_taskRunStatusCounts; } + + /** + *

The number of tasks running on the job.

+ */ + inline bool TaskRunStatusCountsHasBeenSet() const { return m_taskRunStatusCountsHasBeenSet; } + + /** + *

The number of tasks running on the job.

+ */ + inline void SetTaskRunStatusCounts(const Aws::Map& value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts = value; } + + /** + *

The number of tasks running on the job.

+ */ + inline void SetTaskRunStatusCounts(Aws::Map&& value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts = std::move(value); } + + /** + *

The number of tasks running on the job.

+ */ + inline JobSummary& WithTaskRunStatusCounts(const Aws::Map& value) { SetTaskRunStatusCounts(value); return *this;} + + /** + *

The number of tasks running on the job.

+ */ + inline JobSummary& WithTaskRunStatusCounts(Aws::Map&& value) { SetTaskRunStatusCounts(std::move(value)); return *this;} + + /** + *

The number of tasks running on the job.

+ */ + inline JobSummary& AddTaskRunStatusCounts(const TaskRunStatus& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(key, value); return *this; } + + /** + *

The number of tasks running on the job.

+ */ + inline JobSummary& AddTaskRunStatusCounts(TaskRunStatus&& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(std::move(key), value); return *this; } + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline JobSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline JobSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline JobSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline JobSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline JobSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + JobLifecycleStatus m_lifecycleStatus; + bool m_lifecycleStatusHasBeenSet = false; + + Aws::String m_lifecycleStatusMessage; + bool m_lifecycleStatusMessageHasBeenSet = false; + + int m_maxFailedTasksCount; + bool m_maxFailedTasksCountHasBeenSet = false; + + int m_maxRetriesPerTask; + bool m_maxRetriesPerTaskHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + int m_priority; + bool m_priorityHasBeenSet = false; + + Aws::Utils::DateTime m_startedAt; + bool m_startedAtHasBeenSet = false; + + JobTargetTaskRunStatus m_targetTaskRunStatus; + bool m_targetTaskRunStatusHasBeenSet = false; + + TaskRunStatus m_taskRunStatus; + bool m_taskRunStatusHasBeenSet = false; + + Aws::Map m_taskRunStatusCounts; + bool m_taskRunStatusCountsHasBeenSet = false; + + Aws::Utils::DateTime m_updatedAt; + bool m_updatedAtHasBeenSet = false; + + Aws::String m_updatedBy; + bool m_updatedByHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobTargetTaskRunStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobTargetTaskRunStatus.h new file mode 100644 index 00000000000..5a8a5ccf00f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobTargetTaskRunStatus.h @@ -0,0 +1,35 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class JobTargetTaskRunStatus + { + NOT_SET, + READY, + FAILED, + SUCCEEDED, + CANCELED, + SUSPENDED, + PENDING + }; + +namespace JobTargetTaskRunStatusMapper +{ +AWS_DEADLINE_API JobTargetTaskRunStatus GetJobTargetTaskRunStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForJobTargetTaskRunStatus(JobTargetTaskRunStatus value); +} // namespace JobTargetTaskRunStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobTemplateType.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobTemplateType.h new file mode 100644 index 00000000000..962da8896f9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/JobTemplateType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class JobTemplateType + { + NOT_SET, + JSON, + YAML + }; + +namespace JobTemplateTypeMapper +{ +AWS_DEADLINE_API JobTemplateType GetJobTemplateTypeForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForJobTemplateType(JobTemplateType value); +} // namespace JobTemplateTypeMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/LicenseEndpointStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/LicenseEndpointStatus.h new file mode 100644 index 00000000000..bea35c947df --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/LicenseEndpointStatus.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class LicenseEndpointStatus + { + NOT_SET, + CREATE_IN_PROGRESS, + DELETE_IN_PROGRESS, + READY, + NOT_READY + }; + +namespace LicenseEndpointStatusMapper +{ +AWS_DEADLINE_API LicenseEndpointStatus GetLicenseEndpointStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForLicenseEndpointStatus(LicenseEndpointStatus value); +} // namespace LicenseEndpointStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/LicenseEndpointSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/LicenseEndpointSummary.h new file mode 100644 index 00000000000..e4026eaa46c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/LicenseEndpointSummary.h @@ -0,0 +1,211 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details for a license endpoint.

See Also:

AWS + * API Reference

+ */ + class LicenseEndpointSummary + { + public: + AWS_DEADLINE_API LicenseEndpointSummary(); + AWS_DEADLINE_API LicenseEndpointSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API LicenseEndpointSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The license endpoint ID.

+ */ + inline const Aws::String& GetLicenseEndpointId() const{ return m_licenseEndpointId; } + + /** + *

The license endpoint ID.

+ */ + inline bool LicenseEndpointIdHasBeenSet() const { return m_licenseEndpointIdHasBeenSet; } + + /** + *

The license endpoint ID.

+ */ + inline void SetLicenseEndpointId(const Aws::String& value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId = value; } + + /** + *

The license endpoint ID.

+ */ + inline void SetLicenseEndpointId(Aws::String&& value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId = std::move(value); } + + /** + *

The license endpoint ID.

+ */ + inline void SetLicenseEndpointId(const char* value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId.assign(value); } + + /** + *

The license endpoint ID.

+ */ + inline LicenseEndpointSummary& WithLicenseEndpointId(const Aws::String& value) { SetLicenseEndpointId(value); return *this;} + + /** + *

The license endpoint ID.

+ */ + inline LicenseEndpointSummary& WithLicenseEndpointId(Aws::String&& value) { SetLicenseEndpointId(std::move(value)); return *this;} + + /** + *

The license endpoint ID.

+ */ + inline LicenseEndpointSummary& WithLicenseEndpointId(const char* value) { SetLicenseEndpointId(value); return *this;} + + + /** + *

The status of the license endpoint.

+ */ + inline const LicenseEndpointStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the license endpoint.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The status of the license endpoint.

+ */ + inline void SetStatus(const LicenseEndpointStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The status of the license endpoint.

+ */ + inline void SetStatus(LicenseEndpointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The status of the license endpoint.

+ */ + inline LicenseEndpointSummary& WithStatus(const LicenseEndpointStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the license endpoint.

+ */ + inline LicenseEndpointSummary& WithStatus(LicenseEndpointStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The status message of the license endpoint.

+ */ + inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } + + /** + *

The status message of the license endpoint.

+ */ + inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } + + /** + *

The status message of the license endpoint.

+ */ + inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } + + /** + *

The status message of the license endpoint.

+ */ + inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } + + /** + *

The status message of the license endpoint.

+ */ + inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } + + /** + *

The status message of the license endpoint.

+ */ + inline LicenseEndpointSummary& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} + + /** + *

The status message of the license endpoint.

+ */ + inline LicenseEndpointSummary& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} + + /** + *

The status message of the license endpoint.

+ */ + inline LicenseEndpointSummary& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} + + + /** + *

The VCP(virtual private cloud) ID associated with the license endpoint.

+ */ + inline const Aws::String& GetVpcId() const{ return m_vpcId; } + + /** + *

The VCP(virtual private cloud) ID associated with the license endpoint.

+ */ + inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } + + /** + *

The VCP(virtual private cloud) ID associated with the license endpoint.

+ */ + inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } + + /** + *

The VCP(virtual private cloud) ID associated with the license endpoint.

+ */ + inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } + + /** + *

The VCP(virtual private cloud) ID associated with the license endpoint.

+ */ + inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } + + /** + *

The VCP(virtual private cloud) ID associated with the license endpoint.

+ */ + inline LicenseEndpointSummary& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} + + /** + *

The VCP(virtual private cloud) ID associated with the license endpoint.

+ */ + inline LicenseEndpointSummary& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} + + /** + *

The VCP(virtual private cloud) ID associated with the license endpoint.

+ */ + inline LicenseEndpointSummary& WithVpcId(const char* value) { SetVpcId(value); return *this;} + + private: + + Aws::String m_licenseEndpointId; + bool m_licenseEndpointIdHasBeenSet = false; + + LicenseEndpointStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::String m_statusMessage; + bool m_statusMessageHasBeenSet = false; + + Aws::String m_vpcId; + bool m_vpcIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListAvailableMeteredProductsRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListAvailableMeteredProductsRequest.h new file mode 100644 index 00000000000..c6d1a439150 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListAvailableMeteredProductsRequest.h @@ -0,0 +1,125 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListAvailableMeteredProductsRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListAvailableMeteredProductsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListAvailableMeteredProducts"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListAvailableMeteredProductsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListAvailableMeteredProductsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListAvailableMeteredProductsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListAvailableMeteredProductsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListAvailableMeteredProductsResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListAvailableMeteredProductsResult.h new file mode 100644 index 00000000000..cfb729941ec --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListAvailableMeteredProductsResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListAvailableMeteredProductsResult + { + public: + AWS_DEADLINE_API ListAvailableMeteredProductsResult(); + AWS_DEADLINE_API ListAvailableMeteredProductsResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListAvailableMeteredProductsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The metered products.

+ */ + inline const Aws::Vector& GetMeteredProducts() const{ return m_meteredProducts; } + + /** + *

The metered products.

+ */ + inline void SetMeteredProducts(const Aws::Vector& value) { m_meteredProducts = value; } + + /** + *

The metered products.

+ */ + inline void SetMeteredProducts(Aws::Vector&& value) { m_meteredProducts = std::move(value); } + + /** + *

The metered products.

+ */ + inline ListAvailableMeteredProductsResult& WithMeteredProducts(const Aws::Vector& value) { SetMeteredProducts(value); return *this;} + + /** + *

The metered products.

+ */ + inline ListAvailableMeteredProductsResult& WithMeteredProducts(Aws::Vector&& value) { SetMeteredProducts(std::move(value)); return *this;} + + /** + *

The metered products.

+ */ + inline ListAvailableMeteredProductsResult& AddMeteredProducts(const MeteredProductSummary& value) { m_meteredProducts.push_back(value); return *this; } + + /** + *

The metered products.

+ */ + inline ListAvailableMeteredProductsResult& AddMeteredProducts(MeteredProductSummary&& value) { m_meteredProducts.push_back(std::move(value)); return *this; } + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListAvailableMeteredProductsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListAvailableMeteredProductsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListAvailableMeteredProductsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListAvailableMeteredProductsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListAvailableMeteredProductsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListAvailableMeteredProductsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_meteredProducts; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListBudgetsRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListBudgetsRequest.h new file mode 100644 index 00000000000..1f03429da07 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListBudgetsRequest.h @@ -0,0 +1,204 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListBudgetsRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListBudgetsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListBudgets"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID associated with the budgets.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID associated with the budgets.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID associated with the budgets.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID associated with the budgets.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID associated with the budgets.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID associated with the budgets.

+ */ + inline ListBudgetsRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID associated with the budgets.

+ */ + inline ListBudgetsRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID associated with the budgets.

+ */ + inline ListBudgetsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListBudgetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListBudgetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListBudgetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListBudgetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The status to list for the budgets.

+ */ + inline const BudgetStatus& GetStatus() const{ return m_status; } + + /** + *

The status to list for the budgets.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The status to list for the budgets.

+ */ + inline void SetStatus(const BudgetStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The status to list for the budgets.

+ */ + inline void SetStatus(BudgetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The status to list for the budgets.

+ */ + inline ListBudgetsRequest& WithStatus(const BudgetStatus& value) { SetStatus(value); return *this;} + + /** + *

The status to list for the budgets.

+ */ + inline ListBudgetsRequest& WithStatus(BudgetStatus&& value) { SetStatus(std::move(value)); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + BudgetStatus m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListBudgetsResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListBudgetsResult.h new file mode 100644 index 00000000000..6d63c10e0d1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListBudgetsResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListBudgetsResult + { + public: + AWS_DEADLINE_API ListBudgetsResult(); + AWS_DEADLINE_API ListBudgetsResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListBudgetsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The budgets to include on the list.

+ */ + inline const Aws::Vector& GetBudgets() const{ return m_budgets; } + + /** + *

The budgets to include on the list.

+ */ + inline void SetBudgets(const Aws::Vector& value) { m_budgets = value; } + + /** + *

The budgets to include on the list.

+ */ + inline void SetBudgets(Aws::Vector&& value) { m_budgets = std::move(value); } + + /** + *

The budgets to include on the list.

+ */ + inline ListBudgetsResult& WithBudgets(const Aws::Vector& value) { SetBudgets(value); return *this;} + + /** + *

The budgets to include on the list.

+ */ + inline ListBudgetsResult& WithBudgets(Aws::Vector&& value) { SetBudgets(std::move(value)); return *this;} + + /** + *

The budgets to include on the list.

+ */ + inline ListBudgetsResult& AddBudgets(const BudgetSummary& value) { m_budgets.push_back(value); return *this; } + + /** + *

The budgets to include on the list.

+ */ + inline ListBudgetsResult& AddBudgets(BudgetSummary&& value) { m_budgets.push_back(std::move(value)); return *this; } + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListBudgetsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListBudgetsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListBudgetsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListBudgetsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListBudgetsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListBudgetsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_budgets; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFarmMembersRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFarmMembersRequest.h new file mode 100644 index 00000000000..871a47de3a3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFarmMembersRequest.h @@ -0,0 +1,169 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListFarmMembersRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListFarmMembersRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListFarmMembers"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID.

+ */ + inline ListFarmMembersRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID.

+ */ + inline ListFarmMembersRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID.

+ */ + inline ListFarmMembersRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListFarmMembersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListFarmMembersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListFarmMembersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListFarmMembersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFarmMembersResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFarmMembersResult.h new file mode 100644 index 00000000000..7f49b938cc9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFarmMembersResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListFarmMembersResult + { + public: + AWS_DEADLINE_API ListFarmMembersResult(); + AWS_DEADLINE_API ListFarmMembersResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListFarmMembersResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The members on the list.

+ */ + inline const Aws::Vector& GetMembers() const{ return m_members; } + + /** + *

The members on the list.

+ */ + inline void SetMembers(const Aws::Vector& value) { m_members = value; } + + /** + *

The members on the list.

+ */ + inline void SetMembers(Aws::Vector&& value) { m_members = std::move(value); } + + /** + *

The members on the list.

+ */ + inline ListFarmMembersResult& WithMembers(const Aws::Vector& value) { SetMembers(value); return *this;} + + /** + *

The members on the list.

+ */ + inline ListFarmMembersResult& WithMembers(Aws::Vector&& value) { SetMembers(std::move(value)); return *this;} + + /** + *

The members on the list.

+ */ + inline ListFarmMembersResult& AddMembers(const FarmMember& value) { m_members.push_back(value); return *this; } + + /** + *

The members on the list.

+ */ + inline ListFarmMembersResult& AddMembers(FarmMember&& value) { m_members.push_back(std::move(value)); return *this; } + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListFarmMembersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListFarmMembersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListFarmMembersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListFarmMembersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListFarmMembersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListFarmMembersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_members; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFarmsRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFarmsRequest.h new file mode 100644 index 00000000000..8e7b200ffb6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFarmsRequest.h @@ -0,0 +1,169 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListFarmsRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListFarmsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListFarms"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListFarmsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListFarmsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListFarmsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListFarmsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The principal ID of the member to list on the farm.

+ */ + inline const Aws::String& GetPrincipalId() const{ return m_principalId; } + + /** + *

The principal ID of the member to list on the farm.

+ */ + inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } + + /** + *

The principal ID of the member to list on the farm.

+ */ + inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } + + /** + *

The principal ID of the member to list on the farm.

+ */ + inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } + + /** + *

The principal ID of the member to list on the farm.

+ */ + inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } + + /** + *

The principal ID of the member to list on the farm.

+ */ + inline ListFarmsRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} + + /** + *

The principal ID of the member to list on the farm.

+ */ + inline ListFarmsRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} + + /** + *

The principal ID of the member to list on the farm.

+ */ + inline ListFarmsRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} + + private: + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_principalId; + bool m_principalIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFarmsResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFarmsResult.h new file mode 100644 index 00000000000..45d89bac11c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFarmsResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListFarmsResult + { + public: + AWS_DEADLINE_API ListFarmsResult(); + AWS_DEADLINE_API ListFarmsResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListFarmsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

Farms on the list.

+ */ + inline const Aws::Vector& GetFarms() const{ return m_farms; } + + /** + *

Farms on the list.

+ */ + inline void SetFarms(const Aws::Vector& value) { m_farms = value; } + + /** + *

Farms on the list.

+ */ + inline void SetFarms(Aws::Vector&& value) { m_farms = std::move(value); } + + /** + *

Farms on the list.

+ */ + inline ListFarmsResult& WithFarms(const Aws::Vector& value) { SetFarms(value); return *this;} + + /** + *

Farms on the list.

+ */ + inline ListFarmsResult& WithFarms(Aws::Vector&& value) { SetFarms(std::move(value)); return *this;} + + /** + *

Farms on the list.

+ */ + inline ListFarmsResult& AddFarms(const FarmSummary& value) { m_farms.push_back(value); return *this; } + + /** + *

Farms on the list.

+ */ + inline ListFarmsResult& AddFarms(FarmSummary&& value) { m_farms.push_back(std::move(value)); return *this; } + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListFarmsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListFarmsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListFarmsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListFarmsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListFarmsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListFarmsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_farms; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFleetMembersRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFleetMembersRequest.h new file mode 100644 index 00000000000..978bce23945 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFleetMembersRequest.h @@ -0,0 +1,213 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListFleetMembersRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListFleetMembersRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListFleetMembers"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID of the fleet.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the fleet.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the fleet.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the fleet.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the fleet.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the fleet.

+ */ + inline ListFleetMembersRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the fleet.

+ */ + inline ListFleetMembersRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the fleet.

+ */ + inline ListFleetMembersRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID to include on the list.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID to include on the list.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID to include on the list.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID to include on the list.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID to include on the list.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID to include on the list.

+ */ + inline ListFleetMembersRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID to include on the list.

+ */ + inline ListFleetMembersRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID to include on the list.

+ */ + inline ListFleetMembersRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListFleetMembersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListFleetMembersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListFleetMembersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListFleetMembersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFleetMembersResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFleetMembersResult.h new file mode 100644 index 00000000000..61ad6189d81 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFleetMembersResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListFleetMembersResult + { + public: + AWS_DEADLINE_API ListFleetMembersResult(); + AWS_DEADLINE_API ListFleetMembersResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListFleetMembersResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The members on the list.

+ */ + inline const Aws::Vector& GetMembers() const{ return m_members; } + + /** + *

The members on the list.

+ */ + inline void SetMembers(const Aws::Vector& value) { m_members = value; } + + /** + *

The members on the list.

+ */ + inline void SetMembers(Aws::Vector&& value) { m_members = std::move(value); } + + /** + *

The members on the list.

+ */ + inline ListFleetMembersResult& WithMembers(const Aws::Vector& value) { SetMembers(value); return *this;} + + /** + *

The members on the list.

+ */ + inline ListFleetMembersResult& WithMembers(Aws::Vector&& value) { SetMembers(std::move(value)); return *this;} + + /** + *

The members on the list.

+ */ + inline ListFleetMembersResult& AddMembers(const FleetMember& value) { m_members.push_back(value); return *this; } + + /** + *

The members on the list.

+ */ + inline ListFleetMembersResult& AddMembers(FleetMember&& value) { m_members.push_back(std::move(value)); return *this; } + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListFleetMembersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListFleetMembersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListFleetMembersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListFleetMembersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListFleetMembersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListFleetMembersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_members; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFleetsRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFleetsRequest.h new file mode 100644 index 00000000000..e0c9788f4c0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFleetsRequest.h @@ -0,0 +1,292 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListFleetsRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListFleetsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListFleets"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The display names of a list of fleets.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display names of a list of fleets.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The display names of a list of fleets.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The display names of a list of fleets.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The display names of a list of fleets.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The display names of a list of fleets.

+ */ + inline ListFleetsRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display names of a list of fleets.

+ */ + inline ListFleetsRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display names of a list of fleets.

+ */ + inline ListFleetsRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The farm ID of the fleets.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the fleets.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the fleets.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the fleets.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the fleets.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the fleets.

+ */ + inline ListFleetsRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the fleets.

+ */ + inline ListFleetsRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the fleets.

+ */ + inline ListFleetsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListFleetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListFleetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListFleetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListFleetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The principal ID of the members to include in the fleet.

+ */ + inline const Aws::String& GetPrincipalId() const{ return m_principalId; } + + /** + *

The principal ID of the members to include in the fleet.

+ */ + inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } + + /** + *

The principal ID of the members to include in the fleet.

+ */ + inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } + + /** + *

The principal ID of the members to include in the fleet.

+ */ + inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } + + /** + *

The principal ID of the members to include in the fleet.

+ */ + inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } + + /** + *

The principal ID of the members to include in the fleet.

+ */ + inline ListFleetsRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} + + /** + *

The principal ID of the members to include in the fleet.

+ */ + inline ListFleetsRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} + + /** + *

The principal ID of the members to include in the fleet.

+ */ + inline ListFleetsRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} + + + /** + *

The status of the fleet.

+ */ + inline const FleetStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the fleet.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The status of the fleet.

+ */ + inline void SetStatus(const FleetStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The status of the fleet.

+ */ + inline void SetStatus(FleetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The status of the fleet.

+ */ + inline ListFleetsRequest& WithStatus(const FleetStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the fleet.

+ */ + inline ListFleetsRequest& WithStatus(FleetStatus&& value) { SetStatus(std::move(value)); return *this;} + + private: + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_principalId; + bool m_principalIdHasBeenSet = false; + + FleetStatus m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFleetsResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFleetsResult.h new file mode 100644 index 00000000000..a79ab40f998 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListFleetsResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListFleetsResult + { + public: + AWS_DEADLINE_API ListFleetsResult(); + AWS_DEADLINE_API ListFleetsResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListFleetsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The fleets on the list.

+ */ + inline const Aws::Vector& GetFleets() const{ return m_fleets; } + + /** + *

The fleets on the list.

+ */ + inline void SetFleets(const Aws::Vector& value) { m_fleets = value; } + + /** + *

The fleets on the list.

+ */ + inline void SetFleets(Aws::Vector&& value) { m_fleets = std::move(value); } + + /** + *

The fleets on the list.

+ */ + inline ListFleetsResult& WithFleets(const Aws::Vector& value) { SetFleets(value); return *this;} + + /** + *

The fleets on the list.

+ */ + inline ListFleetsResult& WithFleets(Aws::Vector&& value) { SetFleets(std::move(value)); return *this;} + + /** + *

The fleets on the list.

+ */ + inline ListFleetsResult& AddFleets(const FleetSummary& value) { m_fleets.push_back(value); return *this; } + + /** + *

The fleets on the list.

+ */ + inline ListFleetsResult& AddFleets(FleetSummary&& value) { m_fleets.push_back(std::move(value)); return *this; } + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListFleetsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListFleetsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListFleetsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListFleetsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListFleetsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListFleetsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_fleets; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListJobMembersRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListJobMembersRequest.h new file mode 100644 index 00000000000..91c40ad3cea --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListJobMembersRequest.h @@ -0,0 +1,257 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListJobMembersRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListJobMembersRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListJobMembers"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID of the job to list.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the job to list.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the job to list.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the job to list.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the job to list.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the job to list.

+ */ + inline ListJobMembersRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the job to list.

+ */ + inline ListJobMembersRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the job to list.

+ */ + inline ListJobMembersRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID to include on the list.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID to include on the list.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID to include on the list.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID to include on the list.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID to include on the list.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID to include on the list.

+ */ + inline ListJobMembersRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID to include on the list.

+ */ + inline ListJobMembersRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID to include on the list.

+ */ + inline ListJobMembersRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListJobMembersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListJobMembersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListJobMembersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListJobMembersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The queue ID to include on the list.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID to include on the list.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID to include on the list.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID to include on the list.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID to include on the list.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID to include on the list.

+ */ + inline ListJobMembersRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID to include on the list.

+ */ + inline ListJobMembersRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID to include on the list.

+ */ + inline ListJobMembersRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListJobMembersResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListJobMembersResult.h new file mode 100644 index 00000000000..96ed2216ae5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListJobMembersResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListJobMembersResult + { + public: + AWS_DEADLINE_API ListJobMembersResult(); + AWS_DEADLINE_API ListJobMembersResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListJobMembersResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The members on the list.

+ */ + inline const Aws::Vector& GetMembers() const{ return m_members; } + + /** + *

The members on the list.

+ */ + inline void SetMembers(const Aws::Vector& value) { m_members = value; } + + /** + *

The members on the list.

+ */ + inline void SetMembers(Aws::Vector&& value) { m_members = std::move(value); } + + /** + *

The members on the list.

+ */ + inline ListJobMembersResult& WithMembers(const Aws::Vector& value) { SetMembers(value); return *this;} + + /** + *

The members on the list.

+ */ + inline ListJobMembersResult& WithMembers(Aws::Vector&& value) { SetMembers(std::move(value)); return *this;} + + /** + *

The members on the list.

+ */ + inline ListJobMembersResult& AddMembers(const JobMember& value) { m_members.push_back(value); return *this; } + + /** + *

The members on the list.

+ */ + inline ListJobMembersResult& AddMembers(JobMember&& value) { m_members.push_back(std::move(value)); return *this; } + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListJobMembersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListJobMembersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListJobMembersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListJobMembersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListJobMembersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListJobMembersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_members; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListJobsRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListJobsRequest.h new file mode 100644 index 00000000000..5a3aa3ebff5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListJobsRequest.h @@ -0,0 +1,257 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListJobsRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListJobsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListJobs"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID for the jobs.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the jobs.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the jobs.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the jobs.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the jobs.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the jobs.

+ */ + inline ListJobsRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the jobs.

+ */ + inline ListJobsRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the jobs.

+ */ + inline ListJobsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The principal ID of the members on the jobs.

+ */ + inline const Aws::String& GetPrincipalId() const{ return m_principalId; } + + /** + *

The principal ID of the members on the jobs.

+ */ + inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } + + /** + *

The principal ID of the members on the jobs.

+ */ + inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } + + /** + *

The principal ID of the members on the jobs.

+ */ + inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } + + /** + *

The principal ID of the members on the jobs.

+ */ + inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } + + /** + *

The principal ID of the members on the jobs.

+ */ + inline ListJobsRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} + + /** + *

The principal ID of the members on the jobs.

+ */ + inline ListJobsRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} + + /** + *

The principal ID of the members on the jobs.

+ */ + inline ListJobsRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} + + + /** + *

The queue ID for the job.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID for the job.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID for the job.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID for the job.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID for the job.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID for the job.

+ */ + inline ListJobsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID for the job.

+ */ + inline ListJobsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID for the job.

+ */ + inline ListJobsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_principalId; + bool m_principalIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListJobsResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListJobsResult.h new file mode 100644 index 00000000000..68e79785684 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListJobsResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListJobsResult + { + public: + AWS_DEADLINE_API ListJobsResult(); + AWS_DEADLINE_API ListJobsResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListJobsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The jobs on the list.

+ */ + inline const Aws::Vector& GetJobs() const{ return m_jobs; } + + /** + *

The jobs on the list.

+ */ + inline void SetJobs(const Aws::Vector& value) { m_jobs = value; } + + /** + *

The jobs on the list.

+ */ + inline void SetJobs(Aws::Vector&& value) { m_jobs = std::move(value); } + + /** + *

The jobs on the list.

+ */ + inline ListJobsResult& WithJobs(const Aws::Vector& value) { SetJobs(value); return *this;} + + /** + *

The jobs on the list.

+ */ + inline ListJobsResult& WithJobs(Aws::Vector&& value) { SetJobs(std::move(value)); return *this;} + + /** + *

The jobs on the list.

+ */ + inline ListJobsResult& AddJobs(const JobSummary& value) { m_jobs.push_back(value); return *this; } + + /** + *

The jobs on the list.

+ */ + inline ListJobsResult& AddJobs(JobSummary&& value) { m_jobs.push_back(std::move(value)); return *this; } + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListJobsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListJobsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListJobsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_jobs; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListLicenseEndpointsRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListLicenseEndpointsRequest.h new file mode 100644 index 00000000000..31bbb6244ed --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListLicenseEndpointsRequest.h @@ -0,0 +1,125 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListLicenseEndpointsRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListLicenseEndpointsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListLicenseEndpoints"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListLicenseEndpointsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListLicenseEndpointsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListLicenseEndpointsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListLicenseEndpointsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListLicenseEndpointsResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListLicenseEndpointsResult.h new file mode 100644 index 00000000000..cf219f0d0cc --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListLicenseEndpointsResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListLicenseEndpointsResult + { + public: + AWS_DEADLINE_API ListLicenseEndpointsResult(); + AWS_DEADLINE_API ListLicenseEndpointsResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListLicenseEndpointsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The license endpoints.

+ */ + inline const Aws::Vector& GetLicenseEndpoints() const{ return m_licenseEndpoints; } + + /** + *

The license endpoints.

+ */ + inline void SetLicenseEndpoints(const Aws::Vector& value) { m_licenseEndpoints = value; } + + /** + *

The license endpoints.

+ */ + inline void SetLicenseEndpoints(Aws::Vector&& value) { m_licenseEndpoints = std::move(value); } + + /** + *

The license endpoints.

+ */ + inline ListLicenseEndpointsResult& WithLicenseEndpoints(const Aws::Vector& value) { SetLicenseEndpoints(value); return *this;} + + /** + *

The license endpoints.

+ */ + inline ListLicenseEndpointsResult& WithLicenseEndpoints(Aws::Vector&& value) { SetLicenseEndpoints(std::move(value)); return *this;} + + /** + *

The license endpoints.

+ */ + inline ListLicenseEndpointsResult& AddLicenseEndpoints(const LicenseEndpointSummary& value) { m_licenseEndpoints.push_back(value); return *this; } + + /** + *

The license endpoints.

+ */ + inline ListLicenseEndpointsResult& AddLicenseEndpoints(LicenseEndpointSummary&& value) { m_licenseEndpoints.push_back(std::move(value)); return *this; } + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListLicenseEndpointsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListLicenseEndpointsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListLicenseEndpointsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListLicenseEndpointsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListLicenseEndpointsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListLicenseEndpointsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_licenseEndpoints; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListMeteredProductsRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListMeteredProductsRequest.h new file mode 100644 index 00000000000..8c6e39c0fcf --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListMeteredProductsRequest.h @@ -0,0 +1,169 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListMeteredProductsRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListMeteredProductsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListMeteredProducts"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The license endpoint ID to include on the list of metered products.

+ */ + inline const Aws::String& GetLicenseEndpointId() const{ return m_licenseEndpointId; } + + /** + *

The license endpoint ID to include on the list of metered products.

+ */ + inline bool LicenseEndpointIdHasBeenSet() const { return m_licenseEndpointIdHasBeenSet; } + + /** + *

The license endpoint ID to include on the list of metered products.

+ */ + inline void SetLicenseEndpointId(const Aws::String& value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId = value; } + + /** + *

The license endpoint ID to include on the list of metered products.

+ */ + inline void SetLicenseEndpointId(Aws::String&& value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId = std::move(value); } + + /** + *

The license endpoint ID to include on the list of metered products.

+ */ + inline void SetLicenseEndpointId(const char* value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId.assign(value); } + + /** + *

The license endpoint ID to include on the list of metered products.

+ */ + inline ListMeteredProductsRequest& WithLicenseEndpointId(const Aws::String& value) { SetLicenseEndpointId(value); return *this;} + + /** + *

The license endpoint ID to include on the list of metered products.

+ */ + inline ListMeteredProductsRequest& WithLicenseEndpointId(Aws::String&& value) { SetLicenseEndpointId(std::move(value)); return *this;} + + /** + *

The license endpoint ID to include on the list of metered products.

+ */ + inline ListMeteredProductsRequest& WithLicenseEndpointId(const char* value) { SetLicenseEndpointId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListMeteredProductsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListMeteredProductsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListMeteredProductsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListMeteredProductsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + Aws::String m_licenseEndpointId; + bool m_licenseEndpointIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListMeteredProductsResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListMeteredProductsResult.h new file mode 100644 index 00000000000..91471b06493 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListMeteredProductsResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListMeteredProductsResult + { + public: + AWS_DEADLINE_API ListMeteredProductsResult(); + AWS_DEADLINE_API ListMeteredProductsResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListMeteredProductsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The metered products to list.

+ */ + inline const Aws::Vector& GetMeteredProducts() const{ return m_meteredProducts; } + + /** + *

The metered products to list.

+ */ + inline void SetMeteredProducts(const Aws::Vector& value) { m_meteredProducts = value; } + + /** + *

The metered products to list.

+ */ + inline void SetMeteredProducts(Aws::Vector&& value) { m_meteredProducts = std::move(value); } + + /** + *

The metered products to list.

+ */ + inline ListMeteredProductsResult& WithMeteredProducts(const Aws::Vector& value) { SetMeteredProducts(value); return *this;} + + /** + *

The metered products to list.

+ */ + inline ListMeteredProductsResult& WithMeteredProducts(Aws::Vector&& value) { SetMeteredProducts(std::move(value)); return *this;} + + /** + *

The metered products to list.

+ */ + inline ListMeteredProductsResult& AddMeteredProducts(const MeteredProductSummary& value) { m_meteredProducts.push_back(value); return *this; } + + /** + *

The metered products to list.

+ */ + inline ListMeteredProductsResult& AddMeteredProducts(MeteredProductSummary&& value) { m_meteredProducts.push_back(std::move(value)); return *this; } + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListMeteredProductsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListMeteredProductsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListMeteredProductsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListMeteredProductsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListMeteredProductsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListMeteredProductsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_meteredProducts; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListMonitorsRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListMonitorsRequest.h new file mode 100644 index 00000000000..2d4d181f2bc --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListMonitorsRequest.h @@ -0,0 +1,125 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListMonitorsRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListMonitorsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListMonitors"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListMonitorsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListMonitorsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListMonitorsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListMonitorsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListMonitorsResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListMonitorsResult.h new file mode 100644 index 00000000000..02f38d4ad9d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListMonitorsResult.h @@ -0,0 +1,190 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListMonitorsResult + { + public: + AWS_DEADLINE_API ListMonitorsResult(); + AWS_DEADLINE_API ListMonitorsResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListMonitorsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

A list of MonitorSummary objects that describe your monitors in + * the Deadline Cloud.

+ */ + inline const Aws::Vector& GetMonitors() const{ return m_monitors; } + + /** + *

A list of MonitorSummary objects that describe your monitors in + * the Deadline Cloud.

+ */ + inline void SetMonitors(const Aws::Vector& value) { m_monitors = value; } + + /** + *

A list of MonitorSummary objects that describe your monitors in + * the Deadline Cloud.

+ */ + inline void SetMonitors(Aws::Vector&& value) { m_monitors = std::move(value); } + + /** + *

A list of MonitorSummary objects that describe your monitors in + * the Deadline Cloud.

+ */ + inline ListMonitorsResult& WithMonitors(const Aws::Vector& value) { SetMonitors(value); return *this;} + + /** + *

A list of MonitorSummary objects that describe your monitors in + * the Deadline Cloud.

+ */ + inline ListMonitorsResult& WithMonitors(Aws::Vector&& value) { SetMonitors(std::move(value)); return *this;} + + /** + *

A list of MonitorSummary objects that describe your monitors in + * the Deadline Cloud.

+ */ + inline ListMonitorsResult& AddMonitors(const MonitorSummary& value) { m_monitors.push_back(value); return *this; } + + /** + *

A list of MonitorSummary objects that describe your monitors in + * the Deadline Cloud.

+ */ + inline ListMonitorsResult& AddMonitors(MonitorSummary&& value) { m_monitors.push_back(std::move(value)); return *this; } + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListMonitorsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListMonitorsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListMonitorsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListMonitorsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListMonitorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListMonitorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_monitors; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueEnvironmentsRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueEnvironmentsRequest.h new file mode 100644 index 00000000000..d61a671e957 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueEnvironmentsRequest.h @@ -0,0 +1,213 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListQueueEnvironmentsRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListQueueEnvironmentsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListQueueEnvironments"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID for the queue environment list.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the queue environment list.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the queue environment list.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the queue environment list.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the queue environment list.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the queue environment list.

+ */ + inline ListQueueEnvironmentsRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the queue environment list.

+ */ + inline ListQueueEnvironmentsRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the queue environment list.

+ */ + inline ListQueueEnvironmentsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListQueueEnvironmentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListQueueEnvironmentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListQueueEnvironmentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListQueueEnvironmentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The queue ID for the queue environment list.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID for the queue environment list.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID for the queue environment list.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID for the queue environment list.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID for the queue environment list.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID for the queue environment list.

+ */ + inline ListQueueEnvironmentsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID for the queue environment list.

+ */ + inline ListQueueEnvironmentsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID for the queue environment list.

+ */ + inline ListQueueEnvironmentsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueEnvironmentsResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueEnvironmentsResult.h new file mode 100644 index 00000000000..f6fd645dd3b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueEnvironmentsResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListQueueEnvironmentsResult + { + public: + AWS_DEADLINE_API ListQueueEnvironmentsResult(); + AWS_DEADLINE_API ListQueueEnvironmentsResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListQueueEnvironmentsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The environments to include in the queue environments list.

+ */ + inline const Aws::Vector& GetEnvironments() const{ return m_environments; } + + /** + *

The environments to include in the queue environments list.

+ */ + inline void SetEnvironments(const Aws::Vector& value) { m_environments = value; } + + /** + *

The environments to include in the queue environments list.

+ */ + inline void SetEnvironments(Aws::Vector&& value) { m_environments = std::move(value); } + + /** + *

The environments to include in the queue environments list.

+ */ + inline ListQueueEnvironmentsResult& WithEnvironments(const Aws::Vector& value) { SetEnvironments(value); return *this;} + + /** + *

The environments to include in the queue environments list.

+ */ + inline ListQueueEnvironmentsResult& WithEnvironments(Aws::Vector&& value) { SetEnvironments(std::move(value)); return *this;} + + /** + *

The environments to include in the queue environments list.

+ */ + inline ListQueueEnvironmentsResult& AddEnvironments(const QueueEnvironmentSummary& value) { m_environments.push_back(value); return *this; } + + /** + *

The environments to include in the queue environments list.

+ */ + inline ListQueueEnvironmentsResult& AddEnvironments(QueueEnvironmentSummary&& value) { m_environments.push_back(std::move(value)); return *this; } + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListQueueEnvironmentsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListQueueEnvironmentsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListQueueEnvironmentsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListQueueEnvironmentsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListQueueEnvironmentsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListQueueEnvironmentsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_environments; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueFleetAssociationsRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueFleetAssociationsRequest.h new file mode 100644 index 00000000000..1c302277d63 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueFleetAssociationsRequest.h @@ -0,0 +1,257 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListQueueFleetAssociationsRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListQueueFleetAssociationsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListQueueFleetAssociations"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID for the queue-fleet association list.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the queue-fleet association list.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the queue-fleet association list.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the queue-fleet association list.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the queue-fleet association list.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the queue-fleet association list.

+ */ + inline ListQueueFleetAssociationsRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the queue-fleet association list.

+ */ + inline ListQueueFleetAssociationsRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the queue-fleet association list.

+ */ + inline ListQueueFleetAssociationsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID for the queue-fleet association list.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID for the queue-fleet association list.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID for the queue-fleet association list.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID for the queue-fleet association list.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID for the queue-fleet association list.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID for the queue-fleet association list.

+ */ + inline ListQueueFleetAssociationsRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID for the queue-fleet association list.

+ */ + inline ListQueueFleetAssociationsRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID for the queue-fleet association list.

+ */ + inline ListQueueFleetAssociationsRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListQueueFleetAssociationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListQueueFleetAssociationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListQueueFleetAssociationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListQueueFleetAssociationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The queue ID for the queue-fleet association list.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID for the queue-fleet association list.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID for the queue-fleet association list.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID for the queue-fleet association list.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID for the queue-fleet association list.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID for the queue-fleet association list.

+ */ + inline ListQueueFleetAssociationsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID for the queue-fleet association list.

+ */ + inline ListQueueFleetAssociationsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID for the queue-fleet association list.

+ */ + inline ListQueueFleetAssociationsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueFleetAssociationsResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueFleetAssociationsResult.h new file mode 100644 index 00000000000..2d2ebac07ba --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueFleetAssociationsResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListQueueFleetAssociationsResult + { + public: + AWS_DEADLINE_API ListQueueFleetAssociationsResult(); + AWS_DEADLINE_API ListQueueFleetAssociationsResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListQueueFleetAssociationsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListQueueFleetAssociationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListQueueFleetAssociationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListQueueFleetAssociationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The queue-fleet associations on the list.

+ */ + inline const Aws::Vector& GetQueueFleetAssociations() const{ return m_queueFleetAssociations; } + + /** + *

The queue-fleet associations on the list.

+ */ + inline void SetQueueFleetAssociations(const Aws::Vector& value) { m_queueFleetAssociations = value; } + + /** + *

The queue-fleet associations on the list.

+ */ + inline void SetQueueFleetAssociations(Aws::Vector&& value) { m_queueFleetAssociations = std::move(value); } + + /** + *

The queue-fleet associations on the list.

+ */ + inline ListQueueFleetAssociationsResult& WithQueueFleetAssociations(const Aws::Vector& value) { SetQueueFleetAssociations(value); return *this;} + + /** + *

The queue-fleet associations on the list.

+ */ + inline ListQueueFleetAssociationsResult& WithQueueFleetAssociations(Aws::Vector&& value) { SetQueueFleetAssociations(std::move(value)); return *this;} + + /** + *

The queue-fleet associations on the list.

+ */ + inline ListQueueFleetAssociationsResult& AddQueueFleetAssociations(const QueueFleetAssociationSummary& value) { m_queueFleetAssociations.push_back(value); return *this; } + + /** + *

The queue-fleet associations on the list.

+ */ + inline ListQueueFleetAssociationsResult& AddQueueFleetAssociations(QueueFleetAssociationSummary&& value) { m_queueFleetAssociations.push_back(std::move(value)); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListQueueFleetAssociationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListQueueFleetAssociationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListQueueFleetAssociationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_nextToken; + + Aws::Vector m_queueFleetAssociations; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueMembersRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueMembersRequest.h new file mode 100644 index 00000000000..928d0f5453e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueMembersRequest.h @@ -0,0 +1,213 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListQueueMembersRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListQueueMembersRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListQueueMembers"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID for the queue.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the queue.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the queue.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the queue.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the queue.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the queue.

+ */ + inline ListQueueMembersRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the queue.

+ */ + inline ListQueueMembersRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the queue.

+ */ + inline ListQueueMembersRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListQueueMembersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListQueueMembersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListQueueMembersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListQueueMembersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The queue ID to include on the list.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID to include on the list.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID to include on the list.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID to include on the list.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID to include on the list.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID to include on the list.

+ */ + inline ListQueueMembersRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID to include on the list.

+ */ + inline ListQueueMembersRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID to include on the list.

+ */ + inline ListQueueMembersRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueMembersResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueMembersResult.h new file mode 100644 index 00000000000..2f4439fafca --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueueMembersResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListQueueMembersResult + { + public: + AWS_DEADLINE_API ListQueueMembersResult(); + AWS_DEADLINE_API ListQueueMembersResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListQueueMembersResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The members on the list.

+ */ + inline const Aws::Vector& GetMembers() const{ return m_members; } + + /** + *

The members on the list.

+ */ + inline void SetMembers(const Aws::Vector& value) { m_members = value; } + + /** + *

The members on the list.

+ */ + inline void SetMembers(Aws::Vector&& value) { m_members = std::move(value); } + + /** + *

The members on the list.

+ */ + inline ListQueueMembersResult& WithMembers(const Aws::Vector& value) { SetMembers(value); return *this;} + + /** + *

The members on the list.

+ */ + inline ListQueueMembersResult& WithMembers(Aws::Vector&& value) { SetMembers(std::move(value)); return *this;} + + /** + *

The members on the list.

+ */ + inline ListQueueMembersResult& AddMembers(const QueueMember& value) { m_members.push_back(value); return *this; } + + /** + *

The members on the list.

+ */ + inline ListQueueMembersResult& AddMembers(QueueMember&& value) { m_members.push_back(std::move(value)); return *this; } + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListQueueMembersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListQueueMembersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListQueueMembersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListQueueMembersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListQueueMembersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListQueueMembersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_members; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueuesRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueuesRequest.h new file mode 100644 index 00000000000..2c876be375b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueuesRequest.h @@ -0,0 +1,274 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListQueuesRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListQueuesRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListQueues"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID of the queue.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the queue.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the queue.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the queue.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the queue.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the queue.

+ */ + inline ListQueuesRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the queue.

+ */ + inline ListQueuesRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the queue.

+ */ + inline ListQueuesRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListQueuesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListQueuesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListQueuesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListQueuesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The principal ID. This filter is only valid when using Nimble Studio + * credentials and should match the user ID in the credentials of the caller.

+ */ + inline const Aws::String& GetPrincipalId() const{ return m_principalId; } + + /** + *

The principal ID. This filter is only valid when using Nimble Studio + * credentials and should match the user ID in the credentials of the caller.

+ */ + inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } + + /** + *

The principal ID. This filter is only valid when using Nimble Studio + * credentials and should match the user ID in the credentials of the caller.

+ */ + inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } + + /** + *

The principal ID. This filter is only valid when using Nimble Studio + * credentials and should match the user ID in the credentials of the caller.

+ */ + inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } + + /** + *

The principal ID. This filter is only valid when using Nimble Studio + * credentials and should match the user ID in the credentials of the caller.

+ */ + inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } + + /** + *

The principal ID. This filter is only valid when using Nimble Studio + * credentials and should match the user ID in the credentials of the caller.

+ */ + inline ListQueuesRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} + + /** + *

The principal ID. This filter is only valid when using Nimble Studio + * credentials and should match the user ID in the credentials of the caller.

+ */ + inline ListQueuesRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} + + /** + *

The principal ID. This filter is only valid when using Nimble Studio + * credentials and should match the user ID in the credentials of the caller.

+ */ + inline ListQueuesRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} + + + /** + *

The status of the queues listed.

  • ACTIVE–The + * queues are active.

  • SCHEDULING–The queues are + * scheduling.

  • SCHEDULING_BLOCKED–The queue + * scheduling is blocked for these queues.

+ */ + inline const QueueStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the queues listed.

  • ACTIVE–The + * queues are active.

  • SCHEDULING–The queues are + * scheduling.

  • SCHEDULING_BLOCKED–The queue + * scheduling is blocked for these queues.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The status of the queues listed.

  • ACTIVE–The + * queues are active.

  • SCHEDULING–The queues are + * scheduling.

  • SCHEDULING_BLOCKED–The queue + * scheduling is blocked for these queues.

+ */ + inline void SetStatus(const QueueStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The status of the queues listed.

  • ACTIVE–The + * queues are active.

  • SCHEDULING–The queues are + * scheduling.

  • SCHEDULING_BLOCKED–The queue + * scheduling is blocked for these queues.

+ */ + inline void SetStatus(QueueStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The status of the queues listed.

  • ACTIVE–The + * queues are active.

  • SCHEDULING–The queues are + * scheduling.

  • SCHEDULING_BLOCKED–The queue + * scheduling is blocked for these queues.

+ */ + inline ListQueuesRequest& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the queues listed.

  • ACTIVE–The + * queues are active.

  • SCHEDULING–The queues are + * scheduling.

  • SCHEDULING_BLOCKED–The queue + * scheduling is blocked for these queues.

+ */ + inline ListQueuesRequest& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_principalId; + bool m_principalIdHasBeenSet = false; + + QueueStatus m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueuesResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueuesResult.h new file mode 100644 index 00000000000..f935a4a2b84 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListQueuesResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListQueuesResult + { + public: + AWS_DEADLINE_API ListQueuesResult(); + AWS_DEADLINE_API ListQueuesResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListQueuesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListQueuesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListQueuesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListQueuesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The queues on the list.

+ */ + inline const Aws::Vector& GetQueues() const{ return m_queues; } + + /** + *

The queues on the list.

+ */ + inline void SetQueues(const Aws::Vector& value) { m_queues = value; } + + /** + *

The queues on the list.

+ */ + inline void SetQueues(Aws::Vector&& value) { m_queues = std::move(value); } + + /** + *

The queues on the list.

+ */ + inline ListQueuesResult& WithQueues(const Aws::Vector& value) { SetQueues(value); return *this;} + + /** + *

The queues on the list.

+ */ + inline ListQueuesResult& WithQueues(Aws::Vector&& value) { SetQueues(std::move(value)); return *this;} + + /** + *

The queues on the list.

+ */ + inline ListQueuesResult& AddQueues(const QueueSummary& value) { m_queues.push_back(value); return *this; } + + /** + *

The queues on the list.

+ */ + inline ListQueuesResult& AddQueues(QueueSummary&& value) { m_queues.push_back(std::move(value)); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListQueuesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListQueuesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListQueuesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_nextToken; + + Aws::Vector m_queues; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionActionsRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionActionsRequest.h new file mode 100644 index 00000000000..e97fd4dec74 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionActionsRequest.h @@ -0,0 +1,345 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListSessionActionsRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListSessionActionsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListSessionActions"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID for the session actions list.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the session actions list.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the session actions list.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the session actions list.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the session actions list.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the session actions list.

+ */ + inline ListSessionActionsRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the session actions list.

+ */ + inline ListSessionActionsRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the session actions list.

+ */ + inline ListSessionActionsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID for the session actions list.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID for the session actions list.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID for the session actions list.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID for the session actions list.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID for the session actions list.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID for the session actions list.

+ */ + inline ListSessionActionsRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID for the session actions list.

+ */ + inline ListSessionActionsRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID for the session actions list.

+ */ + inline ListSessionActionsRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListSessionActionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListSessionActionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListSessionActionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListSessionActionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The queue ID for the session actions list.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID for the session actions list.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID for the session actions list.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID for the session actions list.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID for the session actions list.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID for the session actions list.

+ */ + inline ListSessionActionsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID for the session actions list.

+ */ + inline ListSessionActionsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID for the session actions list.

+ */ + inline ListSessionActionsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The session ID to include on the sessions action list.

+ */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + + /** + *

The session ID to include on the sessions action list.

+ */ + inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } + + /** + *

The session ID to include on the sessions action list.

+ */ + inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } + + /** + *

The session ID to include on the sessions action list.

+ */ + inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } + + /** + *

The session ID to include on the sessions action list.

+ */ + inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } + + /** + *

The session ID to include on the sessions action list.

+ */ + inline ListSessionActionsRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + + /** + *

The session ID to include on the sessions action list.

+ */ + inline ListSessionActionsRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + + /** + *

The session ID to include on the sessions action list.

+ */ + inline ListSessionActionsRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;} + + + /** + *

The task ID for the session actions list.

+ */ + inline const Aws::String& GetTaskId() const{ return m_taskId; } + + /** + *

The task ID for the session actions list.

+ */ + inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } + + /** + *

The task ID for the session actions list.

+ */ + inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } + + /** + *

The task ID for the session actions list.

+ */ + inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } + + /** + *

The task ID for the session actions list.

+ */ + inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } + + /** + *

The task ID for the session actions list.

+ */ + inline ListSessionActionsRequest& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} + + /** + *

The task ID for the session actions list.

+ */ + inline ListSessionActionsRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} + + /** + *

The task ID for the session actions list.

+ */ + inline ListSessionActionsRequest& WithTaskId(const char* value) { SetTaskId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_sessionId; + bool m_sessionIdHasBeenSet = false; + + Aws::String m_taskId; + bool m_taskIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionActionsResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionActionsResult.h new file mode 100644 index 00000000000..a28776b2262 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionActionsResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListSessionActionsResult + { + public: + AWS_DEADLINE_API ListSessionActionsResult(); + AWS_DEADLINE_API ListSessionActionsResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListSessionActionsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListSessionActionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListSessionActionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListSessionActionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The session actions.

+ */ + inline const Aws::Vector& GetSessionActions() const{ return m_sessionActions; } + + /** + *

The session actions.

+ */ + inline void SetSessionActions(const Aws::Vector& value) { m_sessionActions = value; } + + /** + *

The session actions.

+ */ + inline void SetSessionActions(Aws::Vector&& value) { m_sessionActions = std::move(value); } + + /** + *

The session actions.

+ */ + inline ListSessionActionsResult& WithSessionActions(const Aws::Vector& value) { SetSessionActions(value); return *this;} + + /** + *

The session actions.

+ */ + inline ListSessionActionsResult& WithSessionActions(Aws::Vector&& value) { SetSessionActions(std::move(value)); return *this;} + + /** + *

The session actions.

+ */ + inline ListSessionActionsResult& AddSessionActions(const SessionActionSummary& value) { m_sessionActions.push_back(value); return *this; } + + /** + *

The session actions.

+ */ + inline ListSessionActionsResult& AddSessionActions(SessionActionSummary&& value) { m_sessionActions.push_back(std::move(value)); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListSessionActionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListSessionActionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListSessionActionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_nextToken; + + Aws::Vector m_sessionActions; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionsForWorkerRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionsForWorkerRequest.h new file mode 100644 index 00000000000..65f53bcf712 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionsForWorkerRequest.h @@ -0,0 +1,257 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListSessionsForWorkerRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListSessionsForWorkerRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListSessionsForWorker"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID for the session.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the session.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the session.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the session.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the session.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the session.

+ */ + inline ListSessionsForWorkerRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the session.

+ */ + inline ListSessionsForWorkerRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the session.

+ */ + inline ListSessionsForWorkerRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID for the session.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID for the session.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID for the session.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID for the session.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID for the session.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID for the session.

+ */ + inline ListSessionsForWorkerRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID for the session.

+ */ + inline ListSessionsForWorkerRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID for the session.

+ */ + inline ListSessionsForWorkerRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListSessionsForWorkerRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListSessionsForWorkerRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListSessionsForWorkerRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListSessionsForWorkerRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The worker ID for the session.

+ */ + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + + /** + *

The worker ID for the session.

+ */ + inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } + + /** + *

The worker ID for the session.

+ */ + inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } + + /** + *

The worker ID for the session.

+ */ + inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } + + /** + *

The worker ID for the session.

+ */ + inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } + + /** + *

The worker ID for the session.

+ */ + inline ListSessionsForWorkerRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + + /** + *

The worker ID for the session.

+ */ + inline ListSessionsForWorkerRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + + /** + *

The worker ID for the session.

+ */ + inline ListSessionsForWorkerRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_workerId; + bool m_workerIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionsForWorkerResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionsForWorkerResult.h new file mode 100644 index 00000000000..482d2a83284 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionsForWorkerResult.h @@ -0,0 +1,148 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListSessionsForWorkerResult + { + public: + AWS_DEADLINE_API ListSessionsForWorkerResult(); + AWS_DEADLINE_API ListSessionsForWorkerResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListSessionsForWorkerResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListSessionsForWorkerResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListSessionsForWorkerResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListSessionsForWorkerResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The sessions in the response.

+ */ + inline const Aws::Vector& GetSessions() const{ return m_sessions; } + + /** + *

The sessions in the response.

+ */ + inline void SetSessions(const Aws::Vector& value) { m_sessions = value; } + + /** + *

The sessions in the response.

+ */ + inline void SetSessions(Aws::Vector&& value) { m_sessions = std::move(value); } + + /** + *

The sessions in the response.

+ */ + inline ListSessionsForWorkerResult& WithSessions(const Aws::Vector& value) { SetSessions(value); return *this;} + + /** + *

The sessions in the response.

+ */ + inline ListSessionsForWorkerResult& WithSessions(Aws::Vector&& value) { SetSessions(std::move(value)); return *this;} + + /** + *

The sessions in the response.

+ */ + inline ListSessionsForWorkerResult& AddSessions(const WorkerSessionSummary& value) { m_sessions.push_back(value); return *this; } + + /** + *

The sessions in the response.

+ */ + inline ListSessionsForWorkerResult& AddSessions(WorkerSessionSummary&& value) { m_sessions.push_back(std::move(value)); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListSessionsForWorkerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListSessionsForWorkerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListSessionsForWorkerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_nextToken; + + Aws::Vector m_sessions; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionsRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionsRequest.h new file mode 100644 index 00000000000..bfb7b4dace7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionsRequest.h @@ -0,0 +1,257 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListSessionsRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListSessionsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListSessions"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID for the list of sessions.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the list of sessions.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the list of sessions.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the list of sessions.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the list of sessions.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the list of sessions.

+ */ + inline ListSessionsRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the list of sessions.

+ */ + inline ListSessionsRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the list of sessions.

+ */ + inline ListSessionsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID for the list of sessions.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID for the list of sessions.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID for the list of sessions.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID for the list of sessions.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID for the list of sessions.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID for the list of sessions.

+ */ + inline ListSessionsRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID for the list of sessions.

+ */ + inline ListSessionsRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID for the list of sessions.

+ */ + inline ListSessionsRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListSessionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListSessionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListSessionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListSessionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The queue ID for the list of sessions

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID for the list of sessions

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID for the list of sessions

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID for the list of sessions

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID for the list of sessions

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID for the list of sessions

+ */ + inline ListSessionsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID for the list of sessions

+ */ + inline ListSessionsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID for the list of sessions

+ */ + inline ListSessionsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionsResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionsResult.h new file mode 100644 index 00000000000..c44669795b3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListSessionsResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListSessionsResult + { + public: + AWS_DEADLINE_API ListSessionsResult(); + AWS_DEADLINE_API ListSessionsResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListSessionsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListSessionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListSessionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListSessionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The sessions on the list.

+ */ + inline const Aws::Vector& GetSessions() const{ return m_sessions; } + + /** + *

The sessions on the list.

+ */ + inline void SetSessions(const Aws::Vector& value) { m_sessions = value; } + + /** + *

The sessions on the list.

+ */ + inline void SetSessions(Aws::Vector&& value) { m_sessions = std::move(value); } + + /** + *

The sessions on the list.

+ */ + inline ListSessionsResult& WithSessions(const Aws::Vector& value) { SetSessions(value); return *this;} + + /** + *

The sessions on the list.

+ */ + inline ListSessionsResult& WithSessions(Aws::Vector&& value) { SetSessions(std::move(value)); return *this;} + + /** + *

The sessions on the list.

+ */ + inline ListSessionsResult& AddSessions(const SessionSummary& value) { m_sessions.push_back(value); return *this; } + + /** + *

The sessions on the list.

+ */ + inline ListSessionsResult& AddSessions(SessionSummary&& value) { m_sessions.push_back(std::move(value)); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListSessionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListSessionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListSessionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_nextToken; + + Aws::Vector m_sessions; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepConsumersRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepConsumersRequest.h new file mode 100644 index 00000000000..7947e3dfe51 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepConsumersRequest.h @@ -0,0 +1,301 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListStepConsumersRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListStepConsumersRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListStepConsumers"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID for the list of step consumers.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the list of step consumers.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the list of step consumers.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the list of step consumers.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the list of step consumers.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the list of step consumers.

+ */ + inline ListStepConsumersRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the list of step consumers.

+ */ + inline ListStepConsumersRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the list of step consumers.

+ */ + inline ListStepConsumersRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID for the step consumer.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID for the step consumer.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID for the step consumer.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID for the step consumer.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID for the step consumer.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID for the step consumer.

+ */ + inline ListStepConsumersRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID for the step consumer.

+ */ + inline ListStepConsumersRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID for the step consumer.

+ */ + inline ListStepConsumersRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListStepConsumersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListStepConsumersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListStepConsumersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListStepConsumersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The queue ID for the step consumer.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID for the step consumer.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID for the step consumer.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID for the step consumer.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID for the step consumer.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID for the step consumer.

+ */ + inline ListStepConsumersRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID for the step consumer.

+ */ + inline ListStepConsumersRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID for the step consumer.

+ */ + inline ListStepConsumersRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The step ID to include on the list.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID to include on the list.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID to include on the list.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID to include on the list.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID to include on the list.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID to include on the list.

+ */ + inline ListStepConsumersRequest& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID to include on the list.

+ */ + inline ListStepConsumersRequest& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID to include on the list.

+ */ + inline ListStepConsumersRequest& WithStepId(const char* value) { SetStepId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepConsumersResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepConsumersResult.h new file mode 100644 index 00000000000..6fff69cb143 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepConsumersResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListStepConsumersResult + { + public: + AWS_DEADLINE_API ListStepConsumersResult(); + AWS_DEADLINE_API ListStepConsumersResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListStepConsumersResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The consumers on the list.

+ */ + inline const Aws::Vector& GetConsumers() const{ return m_consumers; } + + /** + *

The consumers on the list.

+ */ + inline void SetConsumers(const Aws::Vector& value) { m_consumers = value; } + + /** + *

The consumers on the list.

+ */ + inline void SetConsumers(Aws::Vector&& value) { m_consumers = std::move(value); } + + /** + *

The consumers on the list.

+ */ + inline ListStepConsumersResult& WithConsumers(const Aws::Vector& value) { SetConsumers(value); return *this;} + + /** + *

The consumers on the list.

+ */ + inline ListStepConsumersResult& WithConsumers(Aws::Vector&& value) { SetConsumers(std::move(value)); return *this;} + + /** + *

The consumers on the list.

+ */ + inline ListStepConsumersResult& AddConsumers(const StepConsumer& value) { m_consumers.push_back(value); return *this; } + + /** + *

The consumers on the list.

+ */ + inline ListStepConsumersResult& AddConsumers(StepConsumer&& value) { m_consumers.push_back(std::move(value)); return *this; } + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListStepConsumersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListStepConsumersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListStepConsumersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListStepConsumersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListStepConsumersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListStepConsumersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_consumers; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepDependenciesRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepDependenciesRequest.h new file mode 100644 index 00000000000..f94a837bab5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepDependenciesRequest.h @@ -0,0 +1,301 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListStepDependenciesRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListStepDependenciesRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListStepDependencies"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID for the step dependencies list.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID for the step dependencies list.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID for the step dependencies list.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID for the step dependencies list.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID for the step dependencies list.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID for the step dependencies list.

+ */ + inline ListStepDependenciesRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID for the step dependencies list.

+ */ + inline ListStepDependenciesRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID for the step dependencies list.

+ */ + inline ListStepDependenciesRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID for the step dependencies list.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID for the step dependencies list.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID for the step dependencies list.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID for the step dependencies list.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID for the step dependencies list.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID for the step dependencies list.

+ */ + inline ListStepDependenciesRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID for the step dependencies list.

+ */ + inline ListStepDependenciesRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID for the step dependencies list.

+ */ + inline ListStepDependenciesRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListStepDependenciesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListStepDependenciesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListStepDependenciesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListStepDependenciesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The queue ID for the step dependencies list.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID for the step dependencies list.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID for the step dependencies list.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID for the step dependencies list.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID for the step dependencies list.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID for the step dependencies list.

+ */ + inline ListStepDependenciesRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID for the step dependencies list.

+ */ + inline ListStepDependenciesRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID for the step dependencies list.

+ */ + inline ListStepDependenciesRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The step ID to include on the list.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID to include on the list.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID to include on the list.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID to include on the list.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID to include on the list.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID to include on the list.

+ */ + inline ListStepDependenciesRequest& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID to include on the list.

+ */ + inline ListStepDependenciesRequest& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID to include on the list.

+ */ + inline ListStepDependenciesRequest& WithStepId(const char* value) { SetStepId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepDependenciesResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepDependenciesResult.h new file mode 100644 index 00000000000..ca9070a8513 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepDependenciesResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListStepDependenciesResult + { + public: + AWS_DEADLINE_API ListStepDependenciesResult(); + AWS_DEADLINE_API ListStepDependenciesResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListStepDependenciesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The dependencies on the list.

+ */ + inline const Aws::Vector& GetDependencies() const{ return m_dependencies; } + + /** + *

The dependencies on the list.

+ */ + inline void SetDependencies(const Aws::Vector& value) { m_dependencies = value; } + + /** + *

The dependencies on the list.

+ */ + inline void SetDependencies(Aws::Vector&& value) { m_dependencies = std::move(value); } + + /** + *

The dependencies on the list.

+ */ + inline ListStepDependenciesResult& WithDependencies(const Aws::Vector& value) { SetDependencies(value); return *this;} + + /** + *

The dependencies on the list.

+ */ + inline ListStepDependenciesResult& WithDependencies(Aws::Vector&& value) { SetDependencies(std::move(value)); return *this;} + + /** + *

The dependencies on the list.

+ */ + inline ListStepDependenciesResult& AddDependencies(const StepDependency& value) { m_dependencies.push_back(value); return *this; } + + /** + *

The dependencies on the list.

+ */ + inline ListStepDependenciesResult& AddDependencies(StepDependency&& value) { m_dependencies.push_back(std::move(value)); return *this; } + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListStepDependenciesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListStepDependenciesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListStepDependenciesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListStepDependenciesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListStepDependenciesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListStepDependenciesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_dependencies; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepsRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepsRequest.h new file mode 100644 index 00000000000..31b178242c1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepsRequest.h @@ -0,0 +1,257 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListStepsRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListStepsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListSteps"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID to include on the list of steps.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID to include on the list of steps.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID to include on the list of steps.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID to include on the list of steps.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID to include on the list of steps.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID to include on the list of steps.

+ */ + inline ListStepsRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID to include on the list of steps.

+ */ + inline ListStepsRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID to include on the list of steps.

+ */ + inline ListStepsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID to include on the list of steps.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID to include on the list of steps.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID to include on the list of steps.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID to include on the list of steps.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID to include on the list of steps.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID to include on the list of steps.

+ */ + inline ListStepsRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID to include on the list of steps.

+ */ + inline ListStepsRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID to include on the list of steps.

+ */ + inline ListStepsRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListStepsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListStepsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListStepsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListStepsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The queue ID to include on the list of steps.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID to include on the list of steps.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID to include on the list of steps.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID to include on the list of steps.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID to include on the list of steps.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID to include on the list of steps.

+ */ + inline ListStepsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID to include on the list of steps.

+ */ + inline ListStepsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID to include on the list of steps.

+ */ + inline ListStepsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepsResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepsResult.h new file mode 100644 index 00000000000..949705a8f07 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStepsResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListStepsResult + { + public: + AWS_DEADLINE_API ListStepsResult(); + AWS_DEADLINE_API ListStepsResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListStepsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListStepsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListStepsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListStepsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The steps on the list.

+ */ + inline const Aws::Vector& GetSteps() const{ return m_steps; } + + /** + *

The steps on the list.

+ */ + inline void SetSteps(const Aws::Vector& value) { m_steps = value; } + + /** + *

The steps on the list.

+ */ + inline void SetSteps(Aws::Vector&& value) { m_steps = std::move(value); } + + /** + *

The steps on the list.

+ */ + inline ListStepsResult& WithSteps(const Aws::Vector& value) { SetSteps(value); return *this;} + + /** + *

The steps on the list.

+ */ + inline ListStepsResult& WithSteps(Aws::Vector&& value) { SetSteps(std::move(value)); return *this;} + + /** + *

The steps on the list.

+ */ + inline ListStepsResult& AddSteps(const StepSummary& value) { m_steps.push_back(value); return *this; } + + /** + *

The steps on the list.

+ */ + inline ListStepsResult& AddSteps(StepSummary&& value) { m_steps.push_back(std::move(value)); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListStepsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListStepsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListStepsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_nextToken; + + Aws::Vector m_steps; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStorageProfilesForQueueRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStorageProfilesForQueueRequest.h new file mode 100644 index 00000000000..c7174ec5af6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStorageProfilesForQueueRequest.h @@ -0,0 +1,213 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListStorageProfilesForQueueRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListStorageProfilesForQueueRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListStorageProfilesForQueue"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID of the queue's storage profile.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the queue's storage profile.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the queue's storage profile.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the queue's storage profile.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the queue's storage profile.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the queue's storage profile.

+ */ + inline ListStorageProfilesForQueueRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the queue's storage profile.

+ */ + inline ListStorageProfilesForQueueRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the queue's storage profile.

+ */ + inline ListStorageProfilesForQueueRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListStorageProfilesForQueueRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListStorageProfilesForQueueRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListStorageProfilesForQueueRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListStorageProfilesForQueueRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The queue ID for the storage profile.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID for the storage profile.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID for the storage profile.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID for the storage profile.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID for the storage profile.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID for the storage profile.

+ */ + inline ListStorageProfilesForQueueRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID for the storage profile.

+ */ + inline ListStorageProfilesForQueueRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID for the storage profile.

+ */ + inline ListStorageProfilesForQueueRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStorageProfilesForQueueResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStorageProfilesForQueueResult.h new file mode 100644 index 00000000000..4caf10df334 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStorageProfilesForQueueResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListStorageProfilesForQueueResult + { + public: + AWS_DEADLINE_API ListStorageProfilesForQueueResult(); + AWS_DEADLINE_API ListStorageProfilesForQueueResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListStorageProfilesForQueueResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListStorageProfilesForQueueResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListStorageProfilesForQueueResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListStorageProfilesForQueueResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The storage profiles in the queue.

+ */ + inline const Aws::Vector& GetStorageProfiles() const{ return m_storageProfiles; } + + /** + *

The storage profiles in the queue.

+ */ + inline void SetStorageProfiles(const Aws::Vector& value) { m_storageProfiles = value; } + + /** + *

The storage profiles in the queue.

+ */ + inline void SetStorageProfiles(Aws::Vector&& value) { m_storageProfiles = std::move(value); } + + /** + *

The storage profiles in the queue.

+ */ + inline ListStorageProfilesForQueueResult& WithStorageProfiles(const Aws::Vector& value) { SetStorageProfiles(value); return *this;} + + /** + *

The storage profiles in the queue.

+ */ + inline ListStorageProfilesForQueueResult& WithStorageProfiles(Aws::Vector&& value) { SetStorageProfiles(std::move(value)); return *this;} + + /** + *

The storage profiles in the queue.

+ */ + inline ListStorageProfilesForQueueResult& AddStorageProfiles(const StorageProfileSummary& value) { m_storageProfiles.push_back(value); return *this; } + + /** + *

The storage profiles in the queue.

+ */ + inline ListStorageProfilesForQueueResult& AddStorageProfiles(StorageProfileSummary&& value) { m_storageProfiles.push_back(std::move(value)); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListStorageProfilesForQueueResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListStorageProfilesForQueueResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListStorageProfilesForQueueResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_nextToken; + + Aws::Vector m_storageProfiles; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStorageProfilesRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStorageProfilesRequest.h new file mode 100644 index 00000000000..23e638fa824 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStorageProfilesRequest.h @@ -0,0 +1,169 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListStorageProfilesRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListStorageProfilesRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListStorageProfiles"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID of the storage profile.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the storage profile.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the storage profile.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the storage profile.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the storage profile.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the storage profile.

+ */ + inline ListStorageProfilesRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the storage profile.

+ */ + inline ListStorageProfilesRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the storage profile.

+ */ + inline ListStorageProfilesRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListStorageProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListStorageProfilesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListStorageProfilesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListStorageProfilesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStorageProfilesResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStorageProfilesResult.h new file mode 100644 index 00000000000..00b3dfa1365 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListStorageProfilesResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListStorageProfilesResult + { + public: + AWS_DEADLINE_API ListStorageProfilesResult(); + AWS_DEADLINE_API ListStorageProfilesResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListStorageProfilesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListStorageProfilesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListStorageProfilesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListStorageProfilesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The storage profiles.

+ */ + inline const Aws::Vector& GetStorageProfiles() const{ return m_storageProfiles; } + + /** + *

The storage profiles.

+ */ + inline void SetStorageProfiles(const Aws::Vector& value) { m_storageProfiles = value; } + + /** + *

The storage profiles.

+ */ + inline void SetStorageProfiles(Aws::Vector&& value) { m_storageProfiles = std::move(value); } + + /** + *

The storage profiles.

+ */ + inline ListStorageProfilesResult& WithStorageProfiles(const Aws::Vector& value) { SetStorageProfiles(value); return *this;} + + /** + *

The storage profiles.

+ */ + inline ListStorageProfilesResult& WithStorageProfiles(Aws::Vector&& value) { SetStorageProfiles(std::move(value)); return *this;} + + /** + *

The storage profiles.

+ */ + inline ListStorageProfilesResult& AddStorageProfiles(const StorageProfileSummary& value) { m_storageProfiles.push_back(value); return *this; } + + /** + *

The storage profiles.

+ */ + inline ListStorageProfilesResult& AddStorageProfiles(StorageProfileSummary&& value) { m_storageProfiles.push_back(std::move(value)); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListStorageProfilesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListStorageProfilesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListStorageProfilesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_nextToken; + + Aws::Vector m_storageProfiles; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListTagsForResourceRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListTagsForResourceRequest.h new file mode 100644 index 00000000000..cbf061559dd --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListTagsForResourceRequest.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListTagsForResourceRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListTagsForResourceRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListTagsForResource"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The resource ARN to list tags for.

+ */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + + /** + *

The resource ARN to list tags for.

+ */ + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + + /** + *

The resource ARN to list tags for.

+ */ + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + + /** + *

The resource ARN to list tags for.

+ */ + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + + /** + *

The resource ARN to list tags for.

+ */ + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + + /** + *

The resource ARN to list tags for.

+ */ + inline ListTagsForResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + + /** + *

The resource ARN to list tags for.

+ */ + inline ListTagsForResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + + /** + *

The resource ARN to list tags for.

+ */ + inline ListTagsForResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListTagsForResourceResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListTagsForResourceResult.h new file mode 100644 index 00000000000..ee31446c27e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListTagsForResourceResult.h @@ -0,0 +1,139 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListTagsForResourceResult + { + public: + AWS_DEADLINE_API ListTagsForResourceResult(); + AWS_DEADLINE_API ListTagsForResourceResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListTagsForResourceResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline const Aws::Map& GetTags() const{ return m_tags; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline void SetTags(const Aws::Map& value) { m_tags = value; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline ListTagsForResourceResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline ListTagsForResourceResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline ListTagsForResourceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline ListTagsForResourceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline ListTagsForResourceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline ListTagsForResourceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline ListTagsForResourceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline ListTagsForResourceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline ListTagsForResourceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListTagsForResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListTagsForResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListTagsForResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Map m_tags; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListTasksRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListTasksRequest.h new file mode 100644 index 00000000000..5a9bac4ac0e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListTasksRequest.h @@ -0,0 +1,301 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListTasksRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListTasksRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListTasks"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID connected to the tasks.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID connected to the tasks.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID connected to the tasks.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID connected to the tasks.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID connected to the tasks.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID connected to the tasks.

+ */ + inline ListTasksRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID connected to the tasks.

+ */ + inline ListTasksRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID connected to the tasks.

+ */ + inline ListTasksRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID for the tasks.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID for the tasks.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID for the tasks.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID for the tasks.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID for the tasks.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID for the tasks.

+ */ + inline ListTasksRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID for the tasks.

+ */ + inline ListTasksRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID for the tasks.

+ */ + inline ListTasksRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListTasksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListTasksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListTasksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListTasksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The queue ID connected to the tasks.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID connected to the tasks.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID connected to the tasks.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID connected to the tasks.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID connected to the tasks.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID connected to the tasks.

+ */ + inline ListTasksRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID connected to the tasks.

+ */ + inline ListTasksRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID connected to the tasks.

+ */ + inline ListTasksRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The step ID for the tasks.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID for the tasks.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID for the tasks.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID for the tasks.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID for the tasks.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID for the tasks.

+ */ + inline ListTasksRequest& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID for the tasks.

+ */ + inline ListTasksRequest& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID for the tasks.

+ */ + inline ListTasksRequest& WithStepId(const char* value) { SetStepId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListTasksResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListTasksResult.h new file mode 100644 index 00000000000..0e614b1dedb --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListTasksResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListTasksResult + { + public: + AWS_DEADLINE_API ListTasksResult(); + AWS_DEADLINE_API ListTasksResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListTasksResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListTasksResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListTasksResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListTasksResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

Tasks for the job.

+ */ + inline const Aws::Vector& GetTasks() const{ return m_tasks; } + + /** + *

Tasks for the job.

+ */ + inline void SetTasks(const Aws::Vector& value) { m_tasks = value; } + + /** + *

Tasks for the job.

+ */ + inline void SetTasks(Aws::Vector&& value) { m_tasks = std::move(value); } + + /** + *

Tasks for the job.

+ */ + inline ListTasksResult& WithTasks(const Aws::Vector& value) { SetTasks(value); return *this;} + + /** + *

Tasks for the job.

+ */ + inline ListTasksResult& WithTasks(Aws::Vector&& value) { SetTasks(std::move(value)); return *this;} + + /** + *

Tasks for the job.

+ */ + inline ListTasksResult& AddTasks(const TaskSummary& value) { m_tasks.push_back(value); return *this; } + + /** + *

Tasks for the job.

+ */ + inline ListTasksResult& AddTasks(TaskSummary&& value) { m_tasks.push_back(std::move(value)); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListTasksResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListTasksResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListTasksResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_nextToken; + + Aws::Vector m_tasks; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListWorkersRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListWorkersRequest.h new file mode 100644 index 00000000000..be97c0248f8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListWorkersRequest.h @@ -0,0 +1,213 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class ListWorkersRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API ListWorkersRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListWorkers"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The farm ID connected to the workers.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID connected to the workers.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID connected to the workers.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID connected to the workers.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID connected to the workers.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID connected to the workers.

+ */ + inline ListWorkersRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID connected to the workers.

+ */ + inline ListWorkersRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID connected to the workers.

+ */ + inline ListWorkersRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID of the workers.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID of the workers.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID of the workers.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID of the workers.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID of the workers.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID of the workers.

+ */ + inline ListWorkersRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID of the workers.

+ */ + inline ListWorkersRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID of the workers.

+ */ + inline ListWorkersRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

+ */ + inline ListWorkersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListWorkersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListWorkersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline ListWorkersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListWorkersResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListWorkersResult.h new file mode 100644 index 00000000000..df8f2336b19 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ListWorkersResult.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class ListWorkersResult + { + public: + AWS_DEADLINE_API ListWorkersResult(); + AWS_DEADLINE_API ListWorkersResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API ListWorkersResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListWorkersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListWorkersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

If Deadline Cloud returns nextToken, then there are more results + * available. The value of nextToken is a unique pagination token for + * each page. To retrieve the next page, call the operation again using the + * returned token. Keep all other arguments unchanged. If no results remain, then + * nextToken is set to null. Each pagination token + * expires after 24 hours. If you provide a token that isn't valid, then you + * receive an HTTP 400 ValidationException error.

+ */ + inline ListWorkersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

The workers on the list.

+ */ + inline const Aws::Vector& GetWorkers() const{ return m_workers; } + + /** + *

The workers on the list.

+ */ + inline void SetWorkers(const Aws::Vector& value) { m_workers = value; } + + /** + *

The workers on the list.

+ */ + inline void SetWorkers(Aws::Vector&& value) { m_workers = std::move(value); } + + /** + *

The workers on the list.

+ */ + inline ListWorkersResult& WithWorkers(const Aws::Vector& value) { SetWorkers(value); return *this;} + + /** + *

The workers on the list.

+ */ + inline ListWorkersResult& WithWorkers(Aws::Vector&& value) { SetWorkers(std::move(value)); return *this;} + + /** + *

The workers on the list.

+ */ + inline ListWorkersResult& AddWorkers(const WorkerSummary& value) { m_workers.push_back(value); return *this; } + + /** + *

The workers on the list.

+ */ + inline ListWorkersResult& AddWorkers(WorkerSummary&& value) { m_workers.push_back(std::move(value)); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListWorkersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListWorkersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListWorkersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_nextToken; + + Aws::Vector m_workers; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/LogConfiguration.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/LogConfiguration.h new file mode 100644 index 00000000000..98926f4841c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/LogConfiguration.h @@ -0,0 +1,271 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Log configuration details.

See Also:

AWS + * API Reference

+ */ + class LogConfiguration + { + public: + AWS_DEADLINE_API LogConfiguration(); + AWS_DEADLINE_API LogConfiguration(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API LogConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The log configuration error details.

+ */ + inline const Aws::String& GetError() const{ return m_error; } + + /** + *

The log configuration error details.

+ */ + inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } + + /** + *

The log configuration error details.

+ */ + inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; } + + /** + *

The log configuration error details.

+ */ + inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } + + /** + *

The log configuration error details.

+ */ + inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); } + + /** + *

The log configuration error details.

+ */ + inline LogConfiguration& WithError(const Aws::String& value) { SetError(value); return *this;} + + /** + *

The log configuration error details.

+ */ + inline LogConfiguration& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;} + + /** + *

The log configuration error details.

+ */ + inline LogConfiguration& WithError(const char* value) { SetError(value); return *this;} + + + /** + *

The log drivers for worker related logs.

+ */ + inline const Aws::String& GetLogDriver() const{ return m_logDriver; } + + /** + *

The log drivers for worker related logs.

+ */ + inline bool LogDriverHasBeenSet() const { return m_logDriverHasBeenSet; } + + /** + *

The log drivers for worker related logs.

+ */ + inline void SetLogDriver(const Aws::String& value) { m_logDriverHasBeenSet = true; m_logDriver = value; } + + /** + *

The log drivers for worker related logs.

+ */ + inline void SetLogDriver(Aws::String&& value) { m_logDriverHasBeenSet = true; m_logDriver = std::move(value); } + + /** + *

The log drivers for worker related logs.

+ */ + inline void SetLogDriver(const char* value) { m_logDriverHasBeenSet = true; m_logDriver.assign(value); } + + /** + *

The log drivers for worker related logs.

+ */ + inline LogConfiguration& WithLogDriver(const Aws::String& value) { SetLogDriver(value); return *this;} + + /** + *

The log drivers for worker related logs.

+ */ + inline LogConfiguration& WithLogDriver(Aws::String&& value) { SetLogDriver(std::move(value)); return *this;} + + /** + *

The log drivers for worker related logs.

+ */ + inline LogConfiguration& WithLogDriver(const char* value) { SetLogDriver(value); return *this;} + + + /** + *

The options for a log driver.

+ */ + inline const Aws::Map& GetOptions() const{ return m_options; } + + /** + *

The options for a log driver.

+ */ + inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; } + + /** + *

The options for a log driver.

+ */ + inline void SetOptions(const Aws::Map& value) { m_optionsHasBeenSet = true; m_options = value; } + + /** + *

The options for a log driver.

+ */ + inline void SetOptions(Aws::Map&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); } + + /** + *

The options for a log driver.

+ */ + inline LogConfiguration& WithOptions(const Aws::Map& value) { SetOptions(value); return *this;} + + /** + *

The options for a log driver.

+ */ + inline LogConfiguration& WithOptions(Aws::Map&& value) { SetOptions(std::move(value)); return *this;} + + /** + *

The options for a log driver.

+ */ + inline LogConfiguration& AddOptions(const Aws::String& key, const Aws::String& value) { m_optionsHasBeenSet = true; m_options.emplace(key, value); return *this; } + + /** + *

The options for a log driver.

+ */ + inline LogConfiguration& AddOptions(Aws::String&& key, const Aws::String& value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), value); return *this; } + + /** + *

The options for a log driver.

+ */ + inline LogConfiguration& AddOptions(const Aws::String& key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(key, std::move(value)); return *this; } + + /** + *

The options for a log driver.

+ */ + inline LogConfiguration& AddOptions(Aws::String&& key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The options for a log driver.

+ */ + inline LogConfiguration& AddOptions(const char* key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(key, std::move(value)); return *this; } + + /** + *

The options for a log driver.

+ */ + inline LogConfiguration& AddOptions(Aws::String&& key, const char* value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), value); return *this; } + + /** + *

The options for a log driver.

+ */ + inline LogConfiguration& AddOptions(const char* key, const char* value) { m_optionsHasBeenSet = true; m_options.emplace(key, value); return *this; } + + + /** + *

The parameters for the log configuration.

+ */ + inline const Aws::Map& GetParameters() const{ return m_parameters; } + + /** + *

The parameters for the log configuration.

+ */ + inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } + + /** + *

The parameters for the log configuration.

+ */ + inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } + + /** + *

The parameters for the log configuration.

+ */ + inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } + + /** + *

The parameters for the log configuration.

+ */ + inline LogConfiguration& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} + + /** + *

The parameters for the log configuration.

+ */ + inline LogConfiguration& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} + + /** + *

The parameters for the log configuration.

+ */ + inline LogConfiguration& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + + /** + *

The parameters for the log configuration.

+ */ + inline LogConfiguration& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } + + /** + *

The parameters for the log configuration.

+ */ + inline LogConfiguration& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The parameters for the log configuration.

+ */ + inline LogConfiguration& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The parameters for the log configuration.

+ */ + inline LogConfiguration& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The parameters for the log configuration.

+ */ + inline LogConfiguration& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } + + /** + *

The parameters for the log configuration.

+ */ + inline LogConfiguration& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + + private: + + Aws::String m_error; + bool m_errorHasBeenSet = false; + + Aws::String m_logDriver; + bool m_logDriverHasBeenSet = false; + + Aws::Map m_options; + bool m_optionsHasBeenSet = false; + + Aws::Map m_parameters; + bool m_parametersHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/LogicalOperator.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/LogicalOperator.h new file mode 100644 index 00000000000..635532361f9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/LogicalOperator.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class LogicalOperator + { + NOT_SET, + AND, + OR + }; + +namespace LogicalOperatorMapper +{ +AWS_DEADLINE_API LogicalOperator GetLogicalOperatorForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForLogicalOperator(LogicalOperator value); +} // namespace LogicalOperatorMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ManifestProperties.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ManifestProperties.h new file mode 100644 index 00000000000..1ce9fefdaae --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ManifestProperties.h @@ -0,0 +1,306 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of the manifest that links a job's source + * information.

See Also:

AWS + * API Reference

+ */ + class ManifestProperties + { + public: + AWS_DEADLINE_API ManifestProperties(); + AWS_DEADLINE_API ManifestProperties(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API ManifestProperties& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The file system location name.

+ */ + inline const Aws::String& GetFileSystemLocationName() const{ return m_fileSystemLocationName; } + + /** + *

The file system location name.

+ */ + inline bool FileSystemLocationNameHasBeenSet() const { return m_fileSystemLocationNameHasBeenSet; } + + /** + *

The file system location name.

+ */ + inline void SetFileSystemLocationName(const Aws::String& value) { m_fileSystemLocationNameHasBeenSet = true; m_fileSystemLocationName = value; } + + /** + *

The file system location name.

+ */ + inline void SetFileSystemLocationName(Aws::String&& value) { m_fileSystemLocationNameHasBeenSet = true; m_fileSystemLocationName = std::move(value); } + + /** + *

The file system location name.

+ */ + inline void SetFileSystemLocationName(const char* value) { m_fileSystemLocationNameHasBeenSet = true; m_fileSystemLocationName.assign(value); } + + /** + *

The file system location name.

+ */ + inline ManifestProperties& WithFileSystemLocationName(const Aws::String& value) { SetFileSystemLocationName(value); return *this;} + + /** + *

The file system location name.

+ */ + inline ManifestProperties& WithFileSystemLocationName(Aws::String&& value) { SetFileSystemLocationName(std::move(value)); return *this;} + + /** + *

The file system location name.

+ */ + inline ManifestProperties& WithFileSystemLocationName(const char* value) { SetFileSystemLocationName(value); return *this;} + + + /** + *

The has value of the file.

+ */ + inline const Aws::String& GetInputManifestHash() const{ return m_inputManifestHash; } + + /** + *

The has value of the file.

+ */ + inline bool InputManifestHashHasBeenSet() const { return m_inputManifestHashHasBeenSet; } + + /** + *

The has value of the file.

+ */ + inline void SetInputManifestHash(const Aws::String& value) { m_inputManifestHashHasBeenSet = true; m_inputManifestHash = value; } + + /** + *

The has value of the file.

+ */ + inline void SetInputManifestHash(Aws::String&& value) { m_inputManifestHashHasBeenSet = true; m_inputManifestHash = std::move(value); } + + /** + *

The has value of the file.

+ */ + inline void SetInputManifestHash(const char* value) { m_inputManifestHashHasBeenSet = true; m_inputManifestHash.assign(value); } + + /** + *

The has value of the file.

+ */ + inline ManifestProperties& WithInputManifestHash(const Aws::String& value) { SetInputManifestHash(value); return *this;} + + /** + *

The has value of the file.

+ */ + inline ManifestProperties& WithInputManifestHash(Aws::String&& value) { SetInputManifestHash(std::move(value)); return *this;} + + /** + *

The has value of the file.

+ */ + inline ManifestProperties& WithInputManifestHash(const char* value) { SetInputManifestHash(value); return *this;} + + + /** + *

The file path.

+ */ + inline const Aws::String& GetInputManifestPath() const{ return m_inputManifestPath; } + + /** + *

The file path.

+ */ + inline bool InputManifestPathHasBeenSet() const { return m_inputManifestPathHasBeenSet; } + + /** + *

The file path.

+ */ + inline void SetInputManifestPath(const Aws::String& value) { m_inputManifestPathHasBeenSet = true; m_inputManifestPath = value; } + + /** + *

The file path.

+ */ + inline void SetInputManifestPath(Aws::String&& value) { m_inputManifestPathHasBeenSet = true; m_inputManifestPath = std::move(value); } + + /** + *

The file path.

+ */ + inline void SetInputManifestPath(const char* value) { m_inputManifestPathHasBeenSet = true; m_inputManifestPath.assign(value); } + + /** + *

The file path.

+ */ + inline ManifestProperties& WithInputManifestPath(const Aws::String& value) { SetInputManifestPath(value); return *this;} + + /** + *

The file path.

+ */ + inline ManifestProperties& WithInputManifestPath(Aws::String&& value) { SetInputManifestPath(std::move(value)); return *this;} + + /** + *

The file path.

+ */ + inline ManifestProperties& WithInputManifestPath(const char* value) { SetInputManifestPath(value); return *this;} + + + /** + *

The file path relative to the directory.

+ */ + inline const Aws::Vector& GetOutputRelativeDirectories() const{ return m_outputRelativeDirectories; } + + /** + *

The file path relative to the directory.

+ */ + inline bool OutputRelativeDirectoriesHasBeenSet() const { return m_outputRelativeDirectoriesHasBeenSet; } + + /** + *

The file path relative to the directory.

+ */ + inline void SetOutputRelativeDirectories(const Aws::Vector& value) { m_outputRelativeDirectoriesHasBeenSet = true; m_outputRelativeDirectories = value; } + + /** + *

The file path relative to the directory.

+ */ + inline void SetOutputRelativeDirectories(Aws::Vector&& value) { m_outputRelativeDirectoriesHasBeenSet = true; m_outputRelativeDirectories = std::move(value); } + + /** + *

The file path relative to the directory.

+ */ + inline ManifestProperties& WithOutputRelativeDirectories(const Aws::Vector& value) { SetOutputRelativeDirectories(value); return *this;} + + /** + *

The file path relative to the directory.

+ */ + inline ManifestProperties& WithOutputRelativeDirectories(Aws::Vector&& value) { SetOutputRelativeDirectories(std::move(value)); return *this;} + + /** + *

The file path relative to the directory.

+ */ + inline ManifestProperties& AddOutputRelativeDirectories(const Aws::String& value) { m_outputRelativeDirectoriesHasBeenSet = true; m_outputRelativeDirectories.push_back(value); return *this; } + + /** + *

The file path relative to the directory.

+ */ + inline ManifestProperties& AddOutputRelativeDirectories(Aws::String&& value) { m_outputRelativeDirectoriesHasBeenSet = true; m_outputRelativeDirectories.push_back(std::move(value)); return *this; } + + /** + *

The file path relative to the directory.

+ */ + inline ManifestProperties& AddOutputRelativeDirectories(const char* value) { m_outputRelativeDirectoriesHasBeenSet = true; m_outputRelativeDirectories.push_back(value); return *this; } + + + /** + *

The file's root path.

+ */ + inline const Aws::String& GetRootPath() const{ return m_rootPath; } + + /** + *

The file's root path.

+ */ + inline bool RootPathHasBeenSet() const { return m_rootPathHasBeenSet; } + + /** + *

The file's root path.

+ */ + inline void SetRootPath(const Aws::String& value) { m_rootPathHasBeenSet = true; m_rootPath = value; } + + /** + *

The file's root path.

+ */ + inline void SetRootPath(Aws::String&& value) { m_rootPathHasBeenSet = true; m_rootPath = std::move(value); } + + /** + *

The file's root path.

+ */ + inline void SetRootPath(const char* value) { m_rootPathHasBeenSet = true; m_rootPath.assign(value); } + + /** + *

The file's root path.

+ */ + inline ManifestProperties& WithRootPath(const Aws::String& value) { SetRootPath(value); return *this;} + + /** + *

The file's root path.

+ */ + inline ManifestProperties& WithRootPath(Aws::String&& value) { SetRootPath(std::move(value)); return *this;} + + /** + *

The file's root path.

+ */ + inline ManifestProperties& WithRootPath(const char* value) { SetRootPath(value); return *this;} + + + /** + *

The format of the root path.

+ */ + inline const PathFormat& GetRootPathFormat() const{ return m_rootPathFormat; } + + /** + *

The format of the root path.

+ */ + inline bool RootPathFormatHasBeenSet() const { return m_rootPathFormatHasBeenSet; } + + /** + *

The format of the root path.

+ */ + inline void SetRootPathFormat(const PathFormat& value) { m_rootPathFormatHasBeenSet = true; m_rootPathFormat = value; } + + /** + *

The format of the root path.

+ */ + inline void SetRootPathFormat(PathFormat&& value) { m_rootPathFormatHasBeenSet = true; m_rootPathFormat = std::move(value); } + + /** + *

The format of the root path.

+ */ + inline ManifestProperties& WithRootPathFormat(const PathFormat& value) { SetRootPathFormat(value); return *this;} + + /** + *

The format of the root path.

+ */ + inline ManifestProperties& WithRootPathFormat(PathFormat&& value) { SetRootPathFormat(std::move(value)); return *this;} + + private: + + Aws::String m_fileSystemLocationName; + bool m_fileSystemLocationNameHasBeenSet = false; + + Aws::String m_inputManifestHash; + bool m_inputManifestHashHasBeenSet = false; + + Aws::String m_inputManifestPath; + bool m_inputManifestPathHasBeenSet = false; + + Aws::Vector m_outputRelativeDirectories; + bool m_outputRelativeDirectoriesHasBeenSet = false; + + Aws::String m_rootPath; + bool m_rootPathHasBeenSet = false; + + PathFormat m_rootPathFormat; + bool m_rootPathFormatHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/MembershipLevel.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/MembershipLevel.h new file mode 100644 index 00000000000..18f0ab6dcfd --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/MembershipLevel.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class MembershipLevel + { + NOT_SET, + VIEWER, + CONTRIBUTOR, + OWNER, + MANAGER + }; + +namespace MembershipLevelMapper +{ +AWS_DEADLINE_API MembershipLevel GetMembershipLevelForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForMembershipLevel(MembershipLevel value); +} // namespace MembershipLevelMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/MemoryMiBRange.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/MemoryMiBRange.h new file mode 100644 index 00000000000..551baf4f3b8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/MemoryMiBRange.h @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The range of memory in MiB.

See Also:

AWS + * API Reference

+ */ + class MemoryMiBRange + { + public: + AWS_DEADLINE_API MemoryMiBRange(); + AWS_DEADLINE_API MemoryMiBRange(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API MemoryMiBRange& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The maximum amount of memory (in MiB).

+ */ + inline int GetMax() const{ return m_max; } + + /** + *

The maximum amount of memory (in MiB).

+ */ + inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } + + /** + *

The maximum amount of memory (in MiB).

+ */ + inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; } + + /** + *

The maximum amount of memory (in MiB).

+ */ + inline MemoryMiBRange& WithMax(int value) { SetMax(value); return *this;} + + + /** + *

The minimum amount of memory (in MiB).

+ */ + inline int GetMin() const{ return m_min; } + + /** + *

The minimum amount of memory (in MiB).

+ */ + inline bool MinHasBeenSet() const { return m_minHasBeenSet; } + + /** + *

The minimum amount of memory (in MiB).

+ */ + inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; } + + /** + *

The minimum amount of memory (in MiB).

+ */ + inline MemoryMiBRange& WithMin(int value) { SetMin(value); return *this;} + + private: + + int m_max; + bool m_maxHasBeenSet = false; + + int m_min; + bool m_minHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/MeteredProductSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/MeteredProductSummary.h new file mode 100644 index 00000000000..4da8600118d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/MeteredProductSummary.h @@ -0,0 +1,200 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a metered product.

See Also:

AWS + * API Reference

+ */ + class MeteredProductSummary + { + public: + AWS_DEADLINE_API MeteredProductSummary(); + AWS_DEADLINE_API MeteredProductSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API MeteredProductSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The family to which the metered product belongs.

+ */ + inline const Aws::String& GetFamily() const{ return m_family; } + + /** + *

The family to which the metered product belongs.

+ */ + inline bool FamilyHasBeenSet() const { return m_familyHasBeenSet; } + + /** + *

The family to which the metered product belongs.

+ */ + inline void SetFamily(const Aws::String& value) { m_familyHasBeenSet = true; m_family = value; } + + /** + *

The family to which the metered product belongs.

+ */ + inline void SetFamily(Aws::String&& value) { m_familyHasBeenSet = true; m_family = std::move(value); } + + /** + *

The family to which the metered product belongs.

+ */ + inline void SetFamily(const char* value) { m_familyHasBeenSet = true; m_family.assign(value); } + + /** + *

The family to which the metered product belongs.

+ */ + inline MeteredProductSummary& WithFamily(const Aws::String& value) { SetFamily(value); return *this;} + + /** + *

The family to which the metered product belongs.

+ */ + inline MeteredProductSummary& WithFamily(Aws::String&& value) { SetFamily(std::move(value)); return *this;} + + /** + *

The family to which the metered product belongs.

+ */ + inline MeteredProductSummary& WithFamily(const char* value) { SetFamily(value); return *this;} + + + /** + *

The port on which the metered product should run.

+ */ + inline int GetPort() const{ return m_port; } + + /** + *

The port on which the metered product should run.

+ */ + inline bool PortHasBeenSet() const { return m_portHasBeenSet; } + + /** + *

The port on which the metered product should run.

+ */ + inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } + + /** + *

The port on which the metered product should run.

+ */ + inline MeteredProductSummary& WithPort(int value) { SetPort(value); return *this;} + + + /** + *

The product ID.

+ */ + inline const Aws::String& GetProductId() const{ return m_productId; } + + /** + *

The product ID.

+ */ + inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; } + + /** + *

The product ID.

+ */ + inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; } + + /** + *

The product ID.

+ */ + inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); } + + /** + *

The product ID.

+ */ + inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); } + + /** + *

The product ID.

+ */ + inline MeteredProductSummary& WithProductId(const Aws::String& value) { SetProductId(value); return *this;} + + /** + *

The product ID.

+ */ + inline MeteredProductSummary& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;} + + /** + *

The product ID.

+ */ + inline MeteredProductSummary& WithProductId(const char* value) { SetProductId(value); return *this;} + + + /** + *

The vendor.

+ */ + inline const Aws::String& GetVendor() const{ return m_vendor; } + + /** + *

The vendor.

+ */ + inline bool VendorHasBeenSet() const { return m_vendorHasBeenSet; } + + /** + *

The vendor.

+ */ + inline void SetVendor(const Aws::String& value) { m_vendorHasBeenSet = true; m_vendor = value; } + + /** + *

The vendor.

+ */ + inline void SetVendor(Aws::String&& value) { m_vendorHasBeenSet = true; m_vendor = std::move(value); } + + /** + *

The vendor.

+ */ + inline void SetVendor(const char* value) { m_vendorHasBeenSet = true; m_vendor.assign(value); } + + /** + *

The vendor.

+ */ + inline MeteredProductSummary& WithVendor(const Aws::String& value) { SetVendor(value); return *this;} + + /** + *

The vendor.

+ */ + inline MeteredProductSummary& WithVendor(Aws::String&& value) { SetVendor(std::move(value)); return *this;} + + /** + *

The vendor.

+ */ + inline MeteredProductSummary& WithVendor(const char* value) { SetVendor(value); return *this;} + + private: + + Aws::String m_family; + bool m_familyHasBeenSet = false; + + int m_port; + bool m_portHasBeenSet = false; + + Aws::String m_productId; + bool m_productIdHasBeenSet = false; + + Aws::String m_vendor; + bool m_vendorHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/MonitorSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/MonitorSummary.h new file mode 100644 index 00000000000..9d55a1238b2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/MonitorSummary.h @@ -0,0 +1,556 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Provides information about a monitor in Deadline Cloud.

See + * Also:

AWS + * API Reference

+ */ + class MonitorSummary + { + public: + AWS_DEADLINE_API MonitorSummary(); + AWS_DEADLINE_API MonitorSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API MonitorSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The UNIX timestamp of the date and time that the monitor was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The UNIX timestamp of the date and time that the monitor was created.

+ */ + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + + /** + *

The UNIX timestamp of the date and time that the monitor was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + + /** + *

The UNIX timestamp of the date and time that the monitor was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + + /** + *

The UNIX timestamp of the date and time that the monitor was created.

+ */ + inline MonitorSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The UNIX timestamp of the date and time that the monitor was created.

+ */ + inline MonitorSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user name of the person that created the monitor.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user name of the person that created the monitor.

+ */ + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + + /** + *

The user name of the person that created the monitor.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + + /** + *

The user name of the person that created the monitor.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + + /** + *

The user name of the person that created the monitor.

+ */ + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + + /** + *

The user name of the person that created the monitor.

+ */ + inline MonitorSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user name of the person that created the monitor.

+ */ + inline MonitorSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user name of the person that created the monitor.

+ */ + inline MonitorSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The name of the monitor that displays on the Deadline Cloud console.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The name of the monitor that displays on the Deadline Cloud console.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The name of the monitor that displays on the Deadline Cloud console.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The name of the monitor that displays on the Deadline Cloud console.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The name of the monitor that displays on the Deadline Cloud console.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The name of the monitor that displays on the Deadline Cloud console.

+ */ + inline MonitorSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The name of the monitor that displays on the Deadline Cloud console.

+ */ + inline MonitorSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The name of the monitor that displays on the Deadline Cloud console.

+ */ + inline MonitorSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the + * monitor when it was created.

+ */ + inline const Aws::String& GetIdentityCenterApplicationArn() const{ return m_identityCenterApplicationArn; } + + /** + *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the + * monitor when it was created.

+ */ + inline bool IdentityCenterApplicationArnHasBeenSet() const { return m_identityCenterApplicationArnHasBeenSet; } + + /** + *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the + * monitor when it was created.

+ */ + inline void SetIdentityCenterApplicationArn(const Aws::String& value) { m_identityCenterApplicationArnHasBeenSet = true; m_identityCenterApplicationArn = value; } + + /** + *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the + * monitor when it was created.

+ */ + inline void SetIdentityCenterApplicationArn(Aws::String&& value) { m_identityCenterApplicationArnHasBeenSet = true; m_identityCenterApplicationArn = std::move(value); } + + /** + *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the + * monitor when it was created.

+ */ + inline void SetIdentityCenterApplicationArn(const char* value) { m_identityCenterApplicationArnHasBeenSet = true; m_identityCenterApplicationArn.assign(value); } + + /** + *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the + * monitor when it was created.

+ */ + inline MonitorSummary& WithIdentityCenterApplicationArn(const Aws::String& value) { SetIdentityCenterApplicationArn(value); return *this;} + + /** + *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the + * monitor when it was created.

+ */ + inline MonitorSummary& WithIdentityCenterApplicationArn(Aws::String&& value) { SetIdentityCenterApplicationArn(std::move(value)); return *this;} + + /** + *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the + * monitor when it was created.

+ */ + inline MonitorSummary& WithIdentityCenterApplicationArn(const char* value) { SetIdentityCenterApplicationArn(value); return *this;} + + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance + * responsible for authenticating monitor users.

+ */ + inline const Aws::String& GetIdentityCenterInstanceArn() const{ return m_identityCenterInstanceArn; } + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance + * responsible for authenticating monitor users.

+ */ + inline bool IdentityCenterInstanceArnHasBeenSet() const { return m_identityCenterInstanceArnHasBeenSet; } + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance + * responsible for authenticating monitor users.

+ */ + inline void SetIdentityCenterInstanceArn(const Aws::String& value) { m_identityCenterInstanceArnHasBeenSet = true; m_identityCenterInstanceArn = value; } + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance + * responsible for authenticating monitor users.

+ */ + inline void SetIdentityCenterInstanceArn(Aws::String&& value) { m_identityCenterInstanceArnHasBeenSet = true; m_identityCenterInstanceArn = std::move(value); } + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance + * responsible for authenticating monitor users.

+ */ + inline void SetIdentityCenterInstanceArn(const char* value) { m_identityCenterInstanceArnHasBeenSet = true; m_identityCenterInstanceArn.assign(value); } + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance + * responsible for authenticating monitor users.

+ */ + inline MonitorSummary& WithIdentityCenterInstanceArn(const Aws::String& value) { SetIdentityCenterInstanceArn(value); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance + * responsible for authenticating monitor users.

+ */ + inline MonitorSummary& WithIdentityCenterInstanceArn(Aws::String&& value) { SetIdentityCenterInstanceArn(std::move(value)); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the IAM Identity Center instance + * responsible for authenticating monitor users.

+ */ + inline MonitorSummary& WithIdentityCenterInstanceArn(const char* value) { SetIdentityCenterInstanceArn(value); return *this;} + + + /** + *

The unique identifier for the monitor.

+ */ + inline const Aws::String& GetMonitorId() const{ return m_monitorId; } + + /** + *

The unique identifier for the monitor.

+ */ + inline bool MonitorIdHasBeenSet() const { return m_monitorIdHasBeenSet; } + + /** + *

The unique identifier for the monitor.

+ */ + inline void SetMonitorId(const Aws::String& value) { m_monitorIdHasBeenSet = true; m_monitorId = value; } + + /** + *

The unique identifier for the monitor.

+ */ + inline void SetMonitorId(Aws::String&& value) { m_monitorIdHasBeenSet = true; m_monitorId = std::move(value); } + + /** + *

The unique identifier for the monitor.

+ */ + inline void SetMonitorId(const char* value) { m_monitorIdHasBeenSet = true; m_monitorId.assign(value); } + + /** + *

The unique identifier for the monitor.

+ */ + inline MonitorSummary& WithMonitorId(const Aws::String& value) { SetMonitorId(value); return *this;} + + /** + *

The unique identifier for the monitor.

+ */ + inline MonitorSummary& WithMonitorId(Aws::String&& value) { SetMonitorId(std::move(value)); return *this;} + + /** + *

The unique identifier for the monitor.

+ */ + inline MonitorSummary& WithMonitorId(const char* value) { SetMonitorId(value); return *this;} + + + /** + *

The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the + * monitor use this role to access Deadline Cloud resources.

+ */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + + /** + *

The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the + * monitor use this role to access Deadline Cloud resources.

+ */ + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + + /** + *

The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the + * monitor use this role to access Deadline Cloud resources.

+ */ + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + + /** + *

The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the + * monitor use this role to access Deadline Cloud resources.

+ */ + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + + /** + *

The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the + * monitor use this role to access Deadline Cloud resources.

+ */ + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + + /** + *

The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the + * monitor use this role to access Deadline Cloud resources.

+ */ + inline MonitorSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the + * monitor use this role to access Deadline Cloud resources.

+ */ + inline MonitorSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the + * monitor use this role to access Deadline Cloud resources.

+ */ + inline MonitorSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + + + /** + *

The subdomain used for the monitor URL. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline const Aws::String& GetSubdomain() const{ return m_subdomain; } + + /** + *

The subdomain used for the monitor URL. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline bool SubdomainHasBeenSet() const { return m_subdomainHasBeenSet; } + + /** + *

The subdomain used for the monitor URL. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline void SetSubdomain(const Aws::String& value) { m_subdomainHasBeenSet = true; m_subdomain = value; } + + /** + *

The subdomain used for the monitor URL. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline void SetSubdomain(Aws::String&& value) { m_subdomainHasBeenSet = true; m_subdomain = std::move(value); } + + /** + *

The subdomain used for the monitor URL. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline void SetSubdomain(const char* value) { m_subdomainHasBeenSet = true; m_subdomain.assign(value); } + + /** + *

The subdomain used for the monitor URL. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline MonitorSummary& WithSubdomain(const Aws::String& value) { SetSubdomain(value); return *this;} + + /** + *

The subdomain used for the monitor URL. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline MonitorSummary& WithSubdomain(Aws::String&& value) { SetSubdomain(std::move(value)); return *this;} + + /** + *

The subdomain used for the monitor URL. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline MonitorSummary& WithSubdomain(const char* value) { SetSubdomain(value); return *this;} + + + /** + *

The UNIX timestamp of the date and time that the monitor was last + * updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The UNIX timestamp of the date and time that the monitor was last + * updated.

+ */ + inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } + + /** + *

The UNIX timestamp of the date and time that the monitor was last + * updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } + + /** + *

The UNIX timestamp of the date and time that the monitor was last + * updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } + + /** + *

The UNIX timestamp of the date and time that the monitor was last + * updated.

+ */ + inline MonitorSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The UNIX timestamp of the date and time that the monitor was last + * updated.

+ */ + inline MonitorSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user name of the person that last updated the monitor.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user name of the person that last updated the monitor.

+ */ + inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; } + + /** + *

The user name of the person that last updated the monitor.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; } + + /** + *

The user name of the person that last updated the monitor.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); } + + /** + *

The user name of the person that last updated the monitor.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); } + + /** + *

The user name of the person that last updated the monitor.

+ */ + inline MonitorSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user name of the person that last updated the monitor.

+ */ + inline MonitorSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user name of the person that last updated the monitor.

+ */ + inline MonitorSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + /** + *

The complete URL of the monitor. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline const Aws::String& GetUrl() const{ return m_url; } + + /** + *

The complete URL of the monitor. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } + + /** + *

The complete URL of the monitor. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } + + /** + *

The complete URL of the monitor. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } + + /** + *

The complete URL of the monitor. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } + + /** + *

The complete URL of the monitor. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline MonitorSummary& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} + + /** + *

The complete URL of the monitor. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline MonitorSummary& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} + + /** + *

The complete URL of the monitor. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

+ */ + inline MonitorSummary& WithUrl(const char* value) { SetUrl(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_identityCenterApplicationArn; + bool m_identityCenterApplicationArnHasBeenSet = false; + + Aws::String m_identityCenterInstanceArn; + bool m_identityCenterInstanceArnHasBeenSet = false; + + Aws::String m_monitorId; + bool m_monitorIdHasBeenSet = false; + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; + + Aws::String m_subdomain; + bool m_subdomainHasBeenSet = false; + + Aws::Utils::DateTime m_updatedAt; + bool m_updatedAtHasBeenSet = false; + + Aws::String m_updatedBy; + bool m_updatedByHasBeenSet = false; + + Aws::String m_url; + bool m_urlHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ParameterFilterExpression.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ParameterFilterExpression.h new file mode 100644 index 00000000000..846ba86de89 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ParameterFilterExpression.h @@ -0,0 +1,168 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a filtered search for parameters.

See Also:

+ * AWS + * API Reference

+ */ + class ParameterFilterExpression + { + public: + AWS_DEADLINE_API ParameterFilterExpression(); + AWS_DEADLINE_API ParameterFilterExpression(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API ParameterFilterExpression& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The name of the parameter to filter on.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the parameter to filter on.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The name of the parameter to filter on.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the parameter to filter on.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The name of the parameter to filter on.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The name of the parameter to filter on.

+ */ + inline ParameterFilterExpression& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the parameter to filter on.

+ */ + inline ParameterFilterExpression& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The name of the parameter to filter on.

+ */ + inline ParameterFilterExpression& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The type of comparison to use to filter results.

+ */ + inline const ComparisonOperator& GetOperator() const{ return m_operator; } + + /** + *

The type of comparison to use to filter results.

+ */ + inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; } + + /** + *

The type of comparison to use to filter results.

+ */ + inline void SetOperator(const ComparisonOperator& value) { m_operatorHasBeenSet = true; m_operator = value; } + + /** + *

The type of comparison to use to filter results.

+ */ + inline void SetOperator(ComparisonOperator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); } + + /** + *

The type of comparison to use to filter results.

+ */ + inline ParameterFilterExpression& WithOperator(const ComparisonOperator& value) { SetOperator(value); return *this;} + + /** + *

The type of comparison to use to filter results.

+ */ + inline ParameterFilterExpression& WithOperator(ComparisonOperator&& value) { SetOperator(std::move(value)); return *this;} + + + /** + *

The parameter's value.

+ */ + inline const Aws::String& GetValue() const{ return m_value; } + + /** + *

The parameter's value.

+ */ + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + + /** + *

The parameter's value.

+ */ + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + + /** + *

The parameter's value.

+ */ + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + + /** + *

The parameter's value.

+ */ + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + + /** + *

The parameter's value.

+ */ + inline ParameterFilterExpression& WithValue(const Aws::String& value) { SetValue(value); return *this;} + + /** + *

The parameter's value.

+ */ + inline ParameterFilterExpression& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + + /** + *

The parameter's value.

+ */ + inline ParameterFilterExpression& WithValue(const char* value) { SetValue(value); return *this;} + + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + ComparisonOperator m_operator; + bool m_operatorHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ParameterSortExpression.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ParameterSortExpression.h new file mode 100644 index 00000000000..2c153f5f347 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ParameterSortExpression.h @@ -0,0 +1,124 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Organizes parameters according to your specifications.

See + * Also:

AWS + * API Reference

+ */ + class ParameterSortExpression + { + public: + AWS_DEADLINE_API ParameterSortExpression(); + AWS_DEADLINE_API ParameterSortExpression(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API ParameterSortExpression& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The parameter name to sort by.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The parameter name to sort by.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The parameter name to sort by.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The parameter name to sort by.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The parameter name to sort by.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The parameter name to sort by.

+ */ + inline ParameterSortExpression& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The parameter name to sort by.

+ */ + inline ParameterSortExpression& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The parameter name to sort by.

+ */ + inline ParameterSortExpression& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The sort order for the parameter.

+ */ + inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } + + /** + *

The sort order for the parameter.

+ */ + inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } + + /** + *

The sort order for the parameter.

+ */ + inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } + + /** + *

The sort order for the parameter.

+ */ + inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } + + /** + *

The sort order for the parameter.

+ */ + inline ParameterSortExpression& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} + + /** + *

The sort order for the parameter.

+ */ + inline ParameterSortExpression& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} + + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + SortOrder m_sortOrder; + bool m_sortOrderHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ParameterSpace.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ParameterSpace.h new file mode 100644 index 00000000000..7e90807efea --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ParameterSpace.h @@ -0,0 +1,135 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a search for two or more step parameters.

See + * Also:

AWS + * API Reference

+ */ + class ParameterSpace + { + public: + AWS_DEADLINE_API ParameterSpace(); + AWS_DEADLINE_API ParameterSpace(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API ParameterSpace& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The combination expression to use in the search.

+ */ + inline const Aws::String& GetCombination() const{ return m_combination; } + + /** + *

The combination expression to use in the search.

+ */ + inline bool CombinationHasBeenSet() const { return m_combinationHasBeenSet; } + + /** + *

The combination expression to use in the search.

+ */ + inline void SetCombination(const Aws::String& value) { m_combinationHasBeenSet = true; m_combination = value; } + + /** + *

The combination expression to use in the search.

+ */ + inline void SetCombination(Aws::String&& value) { m_combinationHasBeenSet = true; m_combination = std::move(value); } + + /** + *

The combination expression to use in the search.

+ */ + inline void SetCombination(const char* value) { m_combinationHasBeenSet = true; m_combination.assign(value); } + + /** + *

The combination expression to use in the search.

+ */ + inline ParameterSpace& WithCombination(const Aws::String& value) { SetCombination(value); return *this;} + + /** + *

The combination expression to use in the search.

+ */ + inline ParameterSpace& WithCombination(Aws::String&& value) { SetCombination(std::move(value)); return *this;} + + /** + *

The combination expression to use in the search.

+ */ + inline ParameterSpace& WithCombination(const char* value) { SetCombination(value); return *this;} + + + /** + *

The parameters to search for.

+ */ + inline const Aws::Vector& GetParameters() const{ return m_parameters; } + + /** + *

The parameters to search for.

+ */ + inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } + + /** + *

The parameters to search for.

+ */ + inline void SetParameters(const Aws::Vector& value) { m_parametersHasBeenSet = true; m_parameters = value; } + + /** + *

The parameters to search for.

+ */ + inline void SetParameters(Aws::Vector&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } + + /** + *

The parameters to search for.

+ */ + inline ParameterSpace& WithParameters(const Aws::Vector& value) { SetParameters(value); return *this;} + + /** + *

The parameters to search for.

+ */ + inline ParameterSpace& WithParameters(Aws::Vector&& value) { SetParameters(std::move(value)); return *this;} + + /** + *

The parameters to search for.

+ */ + inline ParameterSpace& AddParameters(const StepParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; } + + /** + *

The parameters to search for.

+ */ + inline ParameterSpace& AddParameters(StepParameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; } + + private: + + Aws::String m_combination; + bool m_combinationHasBeenSet = false; + + Aws::Vector m_parameters; + bool m_parametersHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PathFormat.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PathFormat.h new file mode 100644 index 00000000000..84a4a7531db --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PathFormat.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class PathFormat + { + NOT_SET, + windows, + posix + }; + +namespace PathFormatMapper +{ +AWS_DEADLINE_API PathFormat GetPathFormatForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForPathFormat(PathFormat value); +} // namespace PathFormatMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PathMappingRule.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PathMappingRule.h new file mode 100644 index 00000000000..ac8f442df39 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PathMappingRule.h @@ -0,0 +1,167 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a source and destination path.

See Also:

AWS + * API Reference

+ */ + class PathMappingRule + { + public: + AWS_DEADLINE_API PathMappingRule(); + AWS_DEADLINE_API PathMappingRule(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API PathMappingRule& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The destination path.

+ */ + inline const Aws::String& GetDestinationPath() const{ return m_destinationPath; } + + /** + *

The destination path.

+ */ + inline bool DestinationPathHasBeenSet() const { return m_destinationPathHasBeenSet; } + + /** + *

The destination path.

+ */ + inline void SetDestinationPath(const Aws::String& value) { m_destinationPathHasBeenSet = true; m_destinationPath = value; } + + /** + *

The destination path.

+ */ + inline void SetDestinationPath(Aws::String&& value) { m_destinationPathHasBeenSet = true; m_destinationPath = std::move(value); } + + /** + *

The destination path.

+ */ + inline void SetDestinationPath(const char* value) { m_destinationPathHasBeenSet = true; m_destinationPath.assign(value); } + + /** + *

The destination path.

+ */ + inline PathMappingRule& WithDestinationPath(const Aws::String& value) { SetDestinationPath(value); return *this;} + + /** + *

The destination path.

+ */ + inline PathMappingRule& WithDestinationPath(Aws::String&& value) { SetDestinationPath(std::move(value)); return *this;} + + /** + *

The destination path.

+ */ + inline PathMappingRule& WithDestinationPath(const char* value) { SetDestinationPath(value); return *this;} + + + /** + *

The source path.

+ */ + inline const Aws::String& GetSourcePath() const{ return m_sourcePath; } + + /** + *

The source path.

+ */ + inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; } + + /** + *

The source path.

+ */ + inline void SetSourcePath(const Aws::String& value) { m_sourcePathHasBeenSet = true; m_sourcePath = value; } + + /** + *

The source path.

+ */ + inline void SetSourcePath(Aws::String&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::move(value); } + + /** + *

The source path.

+ */ + inline void SetSourcePath(const char* value) { m_sourcePathHasBeenSet = true; m_sourcePath.assign(value); } + + /** + *

The source path.

+ */ + inline PathMappingRule& WithSourcePath(const Aws::String& value) { SetSourcePath(value); return *this;} + + /** + *

The source path.

+ */ + inline PathMappingRule& WithSourcePath(Aws::String&& value) { SetSourcePath(std::move(value)); return *this;} + + /** + *

The source path.

+ */ + inline PathMappingRule& WithSourcePath(const char* value) { SetSourcePath(value); return *this;} + + + /** + *

The source path format.

+ */ + inline const PathFormat& GetSourcePathFormat() const{ return m_sourcePathFormat; } + + /** + *

The source path format.

+ */ + inline bool SourcePathFormatHasBeenSet() const { return m_sourcePathFormatHasBeenSet; } + + /** + *

The source path format.

+ */ + inline void SetSourcePathFormat(const PathFormat& value) { m_sourcePathFormatHasBeenSet = true; m_sourcePathFormat = value; } + + /** + *

The source path format.

+ */ + inline void SetSourcePathFormat(PathFormat&& value) { m_sourcePathFormatHasBeenSet = true; m_sourcePathFormat = std::move(value); } + + /** + *

The source path format.

+ */ + inline PathMappingRule& WithSourcePathFormat(const PathFormat& value) { SetSourcePathFormat(value); return *this;} + + /** + *

The source path format.

+ */ + inline PathMappingRule& WithSourcePathFormat(PathFormat&& value) { SetSourcePathFormat(std::move(value)); return *this;} + + private: + + Aws::String m_destinationPath; + bool m_destinationPathHasBeenSet = false; + + Aws::String m_sourcePath; + bool m_sourcePathHasBeenSet = false; + + PathFormat m_sourcePathFormat; + bool m_sourcePathFormatHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Period.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Period.h new file mode 100644 index 00000000000..cd2823ef9f7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Period.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class Period + { + NOT_SET, + HOURLY, + DAILY, + WEEKLY, + MONTHLY + }; + +namespace PeriodMapper +{ +AWS_DEADLINE_API Period GetPeriodForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForPeriod(Period value); +} // namespace PeriodMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PosixUser.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PosixUser.h new file mode 100644 index 00000000000..c60911b7783 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PosixUser.h @@ -0,0 +1,132 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The POSIX user.

See Also:

AWS + * API Reference

+ */ + class PosixUser + { + public: + AWS_DEADLINE_API PosixUser(); + AWS_DEADLINE_API PosixUser(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API PosixUser& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The name of the POSIX user's group.

+ */ + inline const Aws::String& GetGroup() const{ return m_group; } + + /** + *

The name of the POSIX user's group.

+ */ + inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; } + + /** + *

The name of the POSIX user's group.

+ */ + inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; } + + /** + *

The name of the POSIX user's group.

+ */ + inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); } + + /** + *

The name of the POSIX user's group.

+ */ + inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); } + + /** + *

The name of the POSIX user's group.

+ */ + inline PosixUser& WithGroup(const Aws::String& value) { SetGroup(value); return *this;} + + /** + *

The name of the POSIX user's group.

+ */ + inline PosixUser& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;} + + /** + *

The name of the POSIX user's group.

+ */ + inline PosixUser& WithGroup(const char* value) { SetGroup(value); return *this;} + + + /** + *

The name of the POSIX user.

+ */ + inline const Aws::String& GetUser() const{ return m_user; } + + /** + *

The name of the POSIX user.

+ */ + inline bool UserHasBeenSet() const { return m_userHasBeenSet; } + + /** + *

The name of the POSIX user.

+ */ + inline void SetUser(const Aws::String& value) { m_userHasBeenSet = true; m_user = value; } + + /** + *

The name of the POSIX user.

+ */ + inline void SetUser(Aws::String&& value) { m_userHasBeenSet = true; m_user = std::move(value); } + + /** + *

The name of the POSIX user.

+ */ + inline void SetUser(const char* value) { m_userHasBeenSet = true; m_user.assign(value); } + + /** + *

The name of the POSIX user.

+ */ + inline PosixUser& WithUser(const Aws::String& value) { SetUser(value); return *this;} + + /** + *

The name of the POSIX user.

+ */ + inline PosixUser& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;} + + /** + *

The name of the POSIX user.

+ */ + inline PosixUser& WithUser(const char* value) { SetUser(value); return *this;} + + private: + + Aws::String m_group; + bool m_groupHasBeenSet = false; + + Aws::String m_user; + bool m_userHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PrincipalType.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PrincipalType.h new file mode 100644 index 00000000000..02bf52abcfd --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PrincipalType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class PrincipalType + { + NOT_SET, + USER, + GROUP + }; + +namespace PrincipalTypeMapper +{ +AWS_DEADLINE_API PrincipalType GetPrincipalTypeForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForPrincipalType(PrincipalType value); +} // namespace PrincipalTypeMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PutMeteredProductRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PutMeteredProductRequest.h new file mode 100644 index 00000000000..f254fa4fc25 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PutMeteredProductRequest.h @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class PutMeteredProductRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API PutMeteredProductRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "PutMeteredProduct"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The license endpoint ID to add to the metered product.

+ */ + inline const Aws::String& GetLicenseEndpointId() const{ return m_licenseEndpointId; } + + /** + *

The license endpoint ID to add to the metered product.

+ */ + inline bool LicenseEndpointIdHasBeenSet() const { return m_licenseEndpointIdHasBeenSet; } + + /** + *

The license endpoint ID to add to the metered product.

+ */ + inline void SetLicenseEndpointId(const Aws::String& value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId = value; } + + /** + *

The license endpoint ID to add to the metered product.

+ */ + inline void SetLicenseEndpointId(Aws::String&& value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId = std::move(value); } + + /** + *

The license endpoint ID to add to the metered product.

+ */ + inline void SetLicenseEndpointId(const char* value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId.assign(value); } + + /** + *

The license endpoint ID to add to the metered product.

+ */ + inline PutMeteredProductRequest& WithLicenseEndpointId(const Aws::String& value) { SetLicenseEndpointId(value); return *this;} + + /** + *

The license endpoint ID to add to the metered product.

+ */ + inline PutMeteredProductRequest& WithLicenseEndpointId(Aws::String&& value) { SetLicenseEndpointId(std::move(value)); return *this;} + + /** + *

The license endpoint ID to add to the metered product.

+ */ + inline PutMeteredProductRequest& WithLicenseEndpointId(const char* value) { SetLicenseEndpointId(value); return *this;} + + + /** + *

The product ID to add to the metered product.

+ */ + inline const Aws::String& GetProductId() const{ return m_productId; } + + /** + *

The product ID to add to the metered product.

+ */ + inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; } + + /** + *

The product ID to add to the metered product.

+ */ + inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; } + + /** + *

The product ID to add to the metered product.

+ */ + inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); } + + /** + *

The product ID to add to the metered product.

+ */ + inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); } + + /** + *

The product ID to add to the metered product.

+ */ + inline PutMeteredProductRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;} + + /** + *

The product ID to add to the metered product.

+ */ + inline PutMeteredProductRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;} + + /** + *

The product ID to add to the metered product.

+ */ + inline PutMeteredProductRequest& WithProductId(const char* value) { SetProductId(value); return *this;} + + private: + + Aws::String m_licenseEndpointId; + bool m_licenseEndpointIdHasBeenSet = false; + + Aws::String m_productId; + bool m_productIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PutMeteredProductResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PutMeteredProductResult.h new file mode 100644 index 00000000000..31daececd47 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/PutMeteredProductResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class PutMeteredProductResult + { + public: + AWS_DEADLINE_API PutMeteredProductResult(); + AWS_DEADLINE_API PutMeteredProductResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API PutMeteredProductResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline PutMeteredProductResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline PutMeteredProductResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline PutMeteredProductResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueBlockedReason.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueBlockedReason.h new file mode 100644 index 00000000000..70349433247 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueBlockedReason.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class QueueBlockedReason + { + NOT_SET, + NO_BUDGET_CONFIGURED, + BUDGET_THRESHOLD_REACHED + }; + +namespace QueueBlockedReasonMapper +{ +AWS_DEADLINE_API QueueBlockedReason GetQueueBlockedReasonForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForQueueBlockedReason(QueueBlockedReason value); +} // namespace QueueBlockedReasonMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueEnvironmentSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueEnvironmentSummary.h new file mode 100644 index 00000000000..b963a2890db --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueEnvironmentSummary.h @@ -0,0 +1,156 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The summary of a queue environment.

See Also:

AWS + * API Reference

+ */ + class QueueEnvironmentSummary + { + public: + AWS_DEADLINE_API QueueEnvironmentSummary(); + AWS_DEADLINE_API QueueEnvironmentSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API QueueEnvironmentSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The name of the queue environment.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the queue environment.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The name of the queue environment.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the queue environment.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The name of the queue environment.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The name of the queue environment.

+ */ + inline QueueEnvironmentSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the queue environment.

+ */ + inline QueueEnvironmentSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The name of the queue environment.

+ */ + inline QueueEnvironmentSummary& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The queue environment's priority.

+ */ + inline int GetPriority() const{ return m_priority; } + + /** + *

The queue environment's priority.

+ */ + inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } + + /** + *

The queue environment's priority.

+ */ + inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } + + /** + *

The queue environment's priority.

+ */ + inline QueueEnvironmentSummary& WithPriority(int value) { SetPriority(value); return *this;} + + + /** + *

The queue environment ID.

+ */ + inline const Aws::String& GetQueueEnvironmentId() const{ return m_queueEnvironmentId; } + + /** + *

The queue environment ID.

+ */ + inline bool QueueEnvironmentIdHasBeenSet() const { return m_queueEnvironmentIdHasBeenSet; } + + /** + *

The queue environment ID.

+ */ + inline void SetQueueEnvironmentId(const Aws::String& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = value; } + + /** + *

The queue environment ID.

+ */ + inline void SetQueueEnvironmentId(Aws::String&& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = std::move(value); } + + /** + *

The queue environment ID.

+ */ + inline void SetQueueEnvironmentId(const char* value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId.assign(value); } + + /** + *

The queue environment ID.

+ */ + inline QueueEnvironmentSummary& WithQueueEnvironmentId(const Aws::String& value) { SetQueueEnvironmentId(value); return *this;} + + /** + *

The queue environment ID.

+ */ + inline QueueEnvironmentSummary& WithQueueEnvironmentId(Aws::String&& value) { SetQueueEnvironmentId(std::move(value)); return *this;} + + /** + *

The queue environment ID.

+ */ + inline QueueEnvironmentSummary& WithQueueEnvironmentId(const char* value) { SetQueueEnvironmentId(value); return *this;} + + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + int m_priority; + bool m_priorityHasBeenSet = false; + + Aws::String m_queueEnvironmentId; + bool m_queueEnvironmentIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueFleetAssociationStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueFleetAssociationStatus.h new file mode 100644 index 00000000000..ed8c8f905cc --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueFleetAssociationStatus.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class QueueFleetAssociationStatus + { + NOT_SET, + ACTIVE, + STOP_SCHEDULING_AND_COMPLETE_TASKS, + STOP_SCHEDULING_AND_CANCEL_TASKS, + STOPPED + }; + +namespace QueueFleetAssociationStatusMapper +{ +AWS_DEADLINE_API QueueFleetAssociationStatus GetQueueFleetAssociationStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForQueueFleetAssociationStatus(QueueFleetAssociationStatus value); +} // namespace QueueFleetAssociationStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueFleetAssociationSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueFleetAssociationSummary.h new file mode 100644 index 00000000000..19ea638321d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueFleetAssociationSummary.h @@ -0,0 +1,360 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a queue-fleet association.

See Also:

AWS + * API Reference

+ */ + class QueueFleetAssociationSummary + { + public: + AWS_DEADLINE_API QueueFleetAssociationSummary(); + AWS_DEADLINE_API QueueFleetAssociationSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API QueueFleetAssociationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline QueueFleetAssociationSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline QueueFleetAssociationSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline QueueFleetAssociationSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline QueueFleetAssociationSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline QueueFleetAssociationSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The fleet ID.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID.

+ */ + inline QueueFleetAssociationSummary& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID.

+ */ + inline QueueFleetAssociationSummary& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID.

+ */ + inline QueueFleetAssociationSummary& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The queue ID.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID.

+ */ + inline QueueFleetAssociationSummary& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID.

+ */ + inline QueueFleetAssociationSummary& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID.

+ */ + inline QueueFleetAssociationSummary& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The status of task scheduling in the queue-fleet association.

  • + *

    ACTIVE–Association is active.

  • + * STOP_SCHEDULING_AND_COMPLETE_TASKS–Association has stopped + * scheduling new tasks and is completing current tasks.

  • + * STOP_SCHEDULING_AND_CANCEL_TASKS–Association has stopped scheduling + * new tasks and is canceling current tasks.

  • + * STOPPED–Association has been stopped.

+ */ + inline const QueueFleetAssociationStatus& GetStatus() const{ return m_status; } + + /** + *

The status of task scheduling in the queue-fleet association.

  • + *

    ACTIVE–Association is active.

  • + * STOP_SCHEDULING_AND_COMPLETE_TASKS–Association has stopped + * scheduling new tasks and is completing current tasks.

  • + * STOP_SCHEDULING_AND_CANCEL_TASKS–Association has stopped scheduling + * new tasks and is canceling current tasks.

  • + * STOPPED–Association has been stopped.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The status of task scheduling in the queue-fleet association.

  • + *

    ACTIVE–Association is active.

  • + * STOP_SCHEDULING_AND_COMPLETE_TASKS–Association has stopped + * scheduling new tasks and is completing current tasks.

  • + * STOP_SCHEDULING_AND_CANCEL_TASKS–Association has stopped scheduling + * new tasks and is canceling current tasks.

  • + * STOPPED–Association has been stopped.

+ */ + inline void SetStatus(const QueueFleetAssociationStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The status of task scheduling in the queue-fleet association.

  • + *

    ACTIVE–Association is active.

  • + * STOP_SCHEDULING_AND_COMPLETE_TASKS–Association has stopped + * scheduling new tasks and is completing current tasks.

  • + * STOP_SCHEDULING_AND_CANCEL_TASKS–Association has stopped scheduling + * new tasks and is canceling current tasks.

  • + * STOPPED–Association has been stopped.

+ */ + inline void SetStatus(QueueFleetAssociationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The status of task scheduling in the queue-fleet association.

  • + *

    ACTIVE–Association is active.

  • + * STOP_SCHEDULING_AND_COMPLETE_TASKS–Association has stopped + * scheduling new tasks and is completing current tasks.

  • + * STOP_SCHEDULING_AND_CANCEL_TASKS–Association has stopped scheduling + * new tasks and is canceling current tasks.

  • + * STOPPED–Association has been stopped.

+ */ + inline QueueFleetAssociationSummary& WithStatus(const QueueFleetAssociationStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of task scheduling in the queue-fleet association.

  • + *

    ACTIVE–Association is active.

  • + * STOP_SCHEDULING_AND_COMPLETE_TASKS–Association has stopped + * scheduling new tasks and is completing current tasks.

  • + * STOP_SCHEDULING_AND_CANCEL_TASKS–Association has stopped scheduling + * new tasks and is canceling current tasks.

  • + * STOPPED–Association has been stopped.

+ */ + inline QueueFleetAssociationSummary& WithStatus(QueueFleetAssociationStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline QueueFleetAssociationSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline QueueFleetAssociationSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline QueueFleetAssociationSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline QueueFleetAssociationSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline QueueFleetAssociationSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + QueueFleetAssociationStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::Utils::DateTime m_updatedAt; + bool m_updatedAtHasBeenSet = false; + + Aws::String m_updatedBy; + bool m_updatedByHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueMember.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueMember.h new file mode 100644 index 00000000000..f5f97ad9b8a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueMember.h @@ -0,0 +1,290 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a queue member.

See Also:

AWS + * API Reference

+ */ + class QueueMember + { + public: + AWS_DEADLINE_API QueueMember(); + AWS_DEADLINE_API QueueMember(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API QueueMember& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The farm ID.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID.

+ */ + inline QueueMember& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID.

+ */ + inline QueueMember& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID.

+ */ + inline QueueMember& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The identity store ID.

+ */ + inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } + + /** + *

The identity store ID.

+ */ + inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } + + /** + *

The identity store ID.

+ */ + inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } + + /** + *

The identity store ID.

+ */ + inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } + + /** + *

The identity store ID.

+ */ + inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } + + /** + *

The identity store ID.

+ */ + inline QueueMember& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} + + /** + *

The identity store ID.

+ */ + inline QueueMember& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} + + /** + *

The identity store ID.

+ */ + inline QueueMember& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} + + + /** + *

The queue member's membership level.

+ */ + inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } + + /** + *

The queue member's membership level.

+ */ + inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } + + /** + *

The queue member's membership level.

+ */ + inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } + + /** + *

The queue member's membership level.

+ */ + inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } + + /** + *

The queue member's membership level.

+ */ + inline QueueMember& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} + + /** + *

The queue member's membership level.

+ */ + inline QueueMember& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} + + + /** + *

The principal ID of the queue member.

+ */ + inline const Aws::String& GetPrincipalId() const{ return m_principalId; } + + /** + *

The principal ID of the queue member.

+ */ + inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } + + /** + *

The principal ID of the queue member.

+ */ + inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } + + /** + *

The principal ID of the queue member.

+ */ + inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } + + /** + *

The principal ID of the queue member.

+ */ + inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } + + /** + *

The principal ID of the queue member.

+ */ + inline QueueMember& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} + + /** + *

The principal ID of the queue member.

+ */ + inline QueueMember& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} + + /** + *

The principal ID of the queue member.

+ */ + inline QueueMember& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} + + + /** + *

The principal type of the queue member.

+ */ + inline const PrincipalType& GetPrincipalType() const{ return m_principalType; } + + /** + *

The principal type of the queue member.

+ */ + inline bool PrincipalTypeHasBeenSet() const { return m_principalTypeHasBeenSet; } + + /** + *

The principal type of the queue member.

+ */ + inline void SetPrincipalType(const PrincipalType& value) { m_principalTypeHasBeenSet = true; m_principalType = value; } + + /** + *

The principal type of the queue member.

+ */ + inline void SetPrincipalType(PrincipalType&& value) { m_principalTypeHasBeenSet = true; m_principalType = std::move(value); } + + /** + *

The principal type of the queue member.

+ */ + inline QueueMember& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;} + + /** + *

The principal type of the queue member.

+ */ + inline QueueMember& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;} + + + /** + *

The queue ID.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID.

+ */ + inline QueueMember& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID.

+ */ + inline QueueMember& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID.

+ */ + inline QueueMember& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_identityStoreId; + bool m_identityStoreIdHasBeenSet = false; + + MembershipLevel m_membershipLevel; + bool m_membershipLevelHasBeenSet = false; + + Aws::String m_principalId; + bool m_principalIdHasBeenSet = false; + + PrincipalType m_principalType; + bool m_principalTypeHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueStatus.h new file mode 100644 index 00000000000..8f8230ffbd7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueStatus.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class QueueStatus + { + NOT_SET, + IDLE, + SCHEDULING, + SCHEDULING_BLOCKED + }; + +namespace QueueStatusMapper +{ +AWS_DEADLINE_API QueueStatus GetQueueStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForQueueStatus(QueueStatus value); +} // namespace QueueStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueSummary.h new file mode 100644 index 00000000000..be8b7501362 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/QueueSummary.h @@ -0,0 +1,444 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a queue summary.

See Also:

AWS + * API Reference

+ */ + class QueueSummary + { + public: + AWS_DEADLINE_API QueueSummary(); + AWS_DEADLINE_API QueueSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API QueueSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The reason the queue is blocked, if applicable.

+ */ + inline const QueueBlockedReason& GetBlockedReason() const{ return m_blockedReason; } + + /** + *

The reason the queue is blocked, if applicable.

+ */ + inline bool BlockedReasonHasBeenSet() const { return m_blockedReasonHasBeenSet; } + + /** + *

The reason the queue is blocked, if applicable.

+ */ + inline void SetBlockedReason(const QueueBlockedReason& value) { m_blockedReasonHasBeenSet = true; m_blockedReason = value; } + + /** + *

The reason the queue is blocked, if applicable.

+ */ + inline void SetBlockedReason(QueueBlockedReason&& value) { m_blockedReasonHasBeenSet = true; m_blockedReason = std::move(value); } + + /** + *

The reason the queue is blocked, if applicable.

+ */ + inline QueueSummary& WithBlockedReason(const QueueBlockedReason& value) { SetBlockedReason(value); return *this;} + + /** + *

The reason the queue is blocked, if applicable.

+ */ + inline QueueSummary& WithBlockedReason(QueueBlockedReason&& value) { SetBlockedReason(std::move(value)); return *this;} + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline QueueSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline QueueSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline QueueSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline QueueSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline QueueSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The default action taken on a queue summary if a budget wasn't + * configured.

+ */ + inline const DefaultQueueBudgetAction& GetDefaultBudgetAction() const{ return m_defaultBudgetAction; } + + /** + *

The default action taken on a queue summary if a budget wasn't + * configured.

+ */ + inline bool DefaultBudgetActionHasBeenSet() const { return m_defaultBudgetActionHasBeenSet; } + + /** + *

The default action taken on a queue summary if a budget wasn't + * configured.

+ */ + inline void SetDefaultBudgetAction(const DefaultQueueBudgetAction& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = value; } + + /** + *

The default action taken on a queue summary if a budget wasn't + * configured.

+ */ + inline void SetDefaultBudgetAction(DefaultQueueBudgetAction&& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = std::move(value); } + + /** + *

The default action taken on a queue summary if a budget wasn't + * configured.

+ */ + inline QueueSummary& WithDefaultBudgetAction(const DefaultQueueBudgetAction& value) { SetDefaultBudgetAction(value); return *this;} + + /** + *

The default action taken on a queue summary if a budget wasn't + * configured.

+ */ + inline QueueSummary& WithDefaultBudgetAction(DefaultQueueBudgetAction&& value) { SetDefaultBudgetAction(std::move(value)); return *this;} + + + /** + *

The display name of the queue summary to update.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the queue summary to update.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The display name of the queue summary to update.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The display name of the queue summary to update.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The display name of the queue summary to update.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The display name of the queue summary to update.

+ */ + inline QueueSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the queue summary to update.

+ */ + inline QueueSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the queue summary to update.

+ */ + inline QueueSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The farm ID.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID.

+ */ + inline QueueSummary& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID.

+ */ + inline QueueSummary& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID.

+ */ + inline QueueSummary& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The queue ID.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID.

+ */ + inline QueueSummary& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID.

+ */ + inline QueueSummary& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID.

+ */ + inline QueueSummary& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

That status of the queue.

+ */ + inline const QueueStatus& GetStatus() const{ return m_status; } + + /** + *

That status of the queue.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

That status of the queue.

+ */ + inline void SetStatus(const QueueStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

That status of the queue.

+ */ + inline void SetStatus(QueueStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

That status of the queue.

+ */ + inline QueueSummary& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;} + + /** + *

That status of the queue.

+ */ + inline QueueSummary& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline QueueSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline QueueSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline QueueSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline QueueSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline QueueSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + private: + + QueueBlockedReason m_blockedReason; + bool m_blockedReasonHasBeenSet = false; + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + DefaultQueueBudgetAction m_defaultBudgetAction; + bool m_defaultBudgetActionHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + QueueStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::Utils::DateTime m_updatedAt; + bool m_updatedAtHasBeenSet = false; + + Aws::String m_updatedBy; + bool m_updatedByHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ResourceNotFoundException.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ResourceNotFoundException.h new file mode 100644 index 00000000000..b630dd8b2da --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ResourceNotFoundException.h @@ -0,0 +1,230 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The requested resource can't be found.

See Also:

AWS + * API Reference

+ */ + class ResourceNotFoundException + { + public: + AWS_DEADLINE_API ResourceNotFoundException(); + AWS_DEADLINE_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API ResourceNotFoundException& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline const Aws::Map& GetContext() const{ return m_context; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline void SetContext(const Aws::Map& value) { m_contextHasBeenSet = true; m_context = value; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline void SetContext(Aws::Map&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ResourceNotFoundException& WithContext(const Aws::Map& value) { SetContext(value); return *this;} + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ResourceNotFoundException& WithContext(Aws::Map&& value) { SetContext(std::move(value)); return *this;} + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ResourceNotFoundException& AddContext(const Aws::String& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ResourceNotFoundException& AddContext(Aws::String&& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ResourceNotFoundException& AddContext(const Aws::String& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ResourceNotFoundException& AddContext(Aws::String&& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ResourceNotFoundException& AddContext(const char* key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ResourceNotFoundException& AddContext(Aws::String&& key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ResourceNotFoundException& AddContext(const char* key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + + + + inline const Aws::String& GetMessage() const{ return m_message; } + + + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + + + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + + + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + + + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + + + inline ResourceNotFoundException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + + + inline ResourceNotFoundException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + + + inline ResourceNotFoundException& WithMessage(const char* value) { SetMessage(value); return *this;} + + + /** + *

The identifier of the resource that couldn't be found.

+ */ + inline const Aws::String& GetResourceId() const{ return m_resourceId; } + + /** + *

The identifier of the resource that couldn't be found.

+ */ + inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } + + /** + *

The identifier of the resource that couldn't be found.

+ */ + inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } + + /** + *

The identifier of the resource that couldn't be found.

+ */ + inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } + + /** + *

The identifier of the resource that couldn't be found.

+ */ + inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } + + /** + *

The identifier of the resource that couldn't be found.

+ */ + inline ResourceNotFoundException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} + + /** + *

The identifier of the resource that couldn't be found.

+ */ + inline ResourceNotFoundException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} + + /** + *

The identifier of the resource that couldn't be found.

+ */ + inline ResourceNotFoundException& WithResourceId(const char* value) { SetResourceId(value); return *this;} + + + /** + *

The type of the resource that couldn't be found.

+ */ + inline const Aws::String& GetResourceType() const{ return m_resourceType; } + + /** + *

The type of the resource that couldn't be found.

+ */ + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + + /** + *

The type of the resource that couldn't be found.

+ */ + inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + + /** + *

The type of the resource that couldn't be found.

+ */ + inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + + /** + *

The type of the resource that couldn't be found.

+ */ + inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } + + /** + *

The type of the resource that couldn't be found.

+ */ + inline ResourceNotFoundException& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} + + /** + *

The type of the resource that couldn't be found.

+ */ + inline ResourceNotFoundException& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} + + /** + *

The type of the resource that couldn't be found.

+ */ + inline ResourceNotFoundException& WithResourceType(const char* value) { SetResourceType(value); return *this;} + + private: + + Aws::Map m_context; + bool m_contextHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + Aws::String m_resourceId; + bool m_resourceIdHasBeenSet = false; + + Aws::String m_resourceType; + bool m_resourceTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ResponseBudgetAction.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ResponseBudgetAction.h new file mode 100644 index 00000000000..ec3acd34389 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ResponseBudgetAction.h @@ -0,0 +1,147 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a budget action.

See Also:

AWS + * API Reference

+ */ + class ResponseBudgetAction + { + public: + AWS_DEADLINE_API ResponseBudgetAction(); + AWS_DEADLINE_API ResponseBudgetAction(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API ResponseBudgetAction& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The budget action description.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

The budget action description.

+ */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *

The budget action description.

+ */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *

The budget action description.

+ */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *

The budget action description.

+ */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *

The budget action description.

+ */ + inline ResponseBudgetAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

The budget action description.

+ */ + inline ResponseBudgetAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

The budget action description.

+ */ + inline ResponseBudgetAction& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

The percentage threshold for the budget.

+ */ + inline double GetThresholdPercentage() const{ return m_thresholdPercentage; } + + /** + *

The percentage threshold for the budget.

+ */ + inline bool ThresholdPercentageHasBeenSet() const { return m_thresholdPercentageHasBeenSet; } + + /** + *

The percentage threshold for the budget.

+ */ + inline void SetThresholdPercentage(double value) { m_thresholdPercentageHasBeenSet = true; m_thresholdPercentage = value; } + + /** + *

The percentage threshold for the budget.

+ */ + inline ResponseBudgetAction& WithThresholdPercentage(double value) { SetThresholdPercentage(value); return *this;} + + + /** + *

The action taken on the budget once scheduling stops.

+ */ + inline const BudgetActionType& GetType() const{ return m_type; } + + /** + *

The action taken on the budget once scheduling stops.

+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *

The action taken on the budget once scheduling stops.

+ */ + inline void SetType(const BudgetActionType& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *

The action taken on the budget once scheduling stops.

+ */ + inline void SetType(BudgetActionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *

The action taken on the budget once scheduling stops.

+ */ + inline ResponseBudgetAction& WithType(const BudgetActionType& value) { SetType(value); return *this;} + + /** + *

The action taken on the budget once scheduling stops.

+ */ + inline ResponseBudgetAction& WithType(BudgetActionType&& value) { SetType(std::move(value)); return *this;} + + private: + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + double m_thresholdPercentage; + bool m_thresholdPercentageHasBeenSet = false; + + BudgetActionType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/RunAs.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/RunAs.h new file mode 100644 index 00000000000..1b2cb19a104 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/RunAs.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class RunAs + { + NOT_SET, + QUEUE_CONFIGURED_USER, + WORKER_AGENT_USER + }; + +namespace RunAsMapper +{ +AWS_DEADLINE_API RunAs GetRunAsForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForRunAs(RunAs value); +} // namespace RunAsMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/S3Location.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/S3Location.h new file mode 100644 index 00000000000..ca5d5cc977c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/S3Location.h @@ -0,0 +1,132 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The Amazon S3 location information.

See Also:

AWS + * API Reference

+ */ + class S3Location + { + public: + AWS_DEADLINE_API S3Location(); + AWS_DEADLINE_API S3Location(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API S3Location& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The name of the Amazon S3 bucket.

+ */ + inline const Aws::String& GetBucketName() const{ return m_bucketName; } + + /** + *

The name of the Amazon S3 bucket.

+ */ + inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } + + /** + *

The name of the Amazon S3 bucket.

+ */ + inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } + + /** + *

The name of the Amazon S3 bucket.

+ */ + inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } + + /** + *

The name of the Amazon S3 bucket.

+ */ + inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } + + /** + *

The name of the Amazon S3 bucket.

+ */ + inline S3Location& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} + + /** + *

The name of the Amazon S3 bucket.

+ */ + inline S3Location& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} + + /** + *

The name of the Amazon S3 bucket.

+ */ + inline S3Location& WithBucketName(const char* value) { SetBucketName(value); return *this;} + + + /** + *

The Amazon S3 object key that uniquely identifies the Amazon S3 bucket.

+ */ + inline const Aws::String& GetKey() const{ return m_key; } + + /** + *

The Amazon S3 object key that uniquely identifies the Amazon S3 bucket.

+ */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + *

The Amazon S3 object key that uniquely identifies the Amazon S3 bucket.

+ */ + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + + /** + *

The Amazon S3 object key that uniquely identifies the Amazon S3 bucket.

+ */ + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + + /** + *

The Amazon S3 object key that uniquely identifies the Amazon S3 bucket.

+ */ + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + + /** + *

The Amazon S3 object key that uniquely identifies the Amazon S3 bucket.

+ */ + inline S3Location& WithKey(const Aws::String& value) { SetKey(value); return *this;} + + /** + *

The Amazon S3 object key that uniquely identifies the Amazon S3 bucket.

+ */ + inline S3Location& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + + /** + *

The Amazon S3 object key that uniquely identifies the Amazon S3 bucket.

+ */ + inline S3Location& WithKey(const char* value) { SetKey(value); return *this;} + + private: + + Aws::String m_bucketName; + bool m_bucketNameHasBeenSet = false; + + Aws::String m_key; + bool m_keyHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchFilterExpression.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchFilterExpression.h new file mode 100644 index 00000000000..a56f2465ecd --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchFilterExpression.h @@ -0,0 +1,219 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class SearchGroupedFilterExpressions; + + /** + *

The type of search filter to apply.

See Also:

AWS + * API Reference

+ */ + class SearchFilterExpression + { + public: + AWS_DEADLINE_API SearchFilterExpression(); + AWS_DEADLINE_API SearchFilterExpression(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API SearchFilterExpression& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

Filters based on date and time.

+ */ + inline const DateTimeFilterExpression& GetDateTimeFilter() const{ return m_dateTimeFilter; } + + /** + *

Filters based on date and time.

+ */ + inline bool DateTimeFilterHasBeenSet() const { return m_dateTimeFilterHasBeenSet; } + + /** + *

Filters based on date and time.

+ */ + inline void SetDateTimeFilter(const DateTimeFilterExpression& value) { m_dateTimeFilterHasBeenSet = true; m_dateTimeFilter = value; } + + /** + *

Filters based on date and time.

+ */ + inline void SetDateTimeFilter(DateTimeFilterExpression&& value) { m_dateTimeFilterHasBeenSet = true; m_dateTimeFilter = std::move(value); } + + /** + *

Filters based on date and time.

+ */ + inline SearchFilterExpression& WithDateTimeFilter(const DateTimeFilterExpression& value) { SetDateTimeFilter(value); return *this;} + + /** + *

Filters based on date and time.

+ */ + inline SearchFilterExpression& WithDateTimeFilter(DateTimeFilterExpression&& value) { SetDateTimeFilter(std::move(value)); return *this;} + + + /** + *

Filters by group.

+ */ + AWS_DEADLINE_API const SearchGroupedFilterExpressions& GetGroupFilter() const; + + /** + *

Filters by group.

+ */ + AWS_DEADLINE_API bool GroupFilterHasBeenSet() const; + + /** + *

Filters by group.

+ */ + AWS_DEADLINE_API void SetGroupFilter(const SearchGroupedFilterExpressions& value); + + /** + *

Filters by group.

+ */ + AWS_DEADLINE_API void SetGroupFilter(SearchGroupedFilterExpressions&& value); + + /** + *

Filters by group.

+ */ + AWS_DEADLINE_API SearchFilterExpression& WithGroupFilter(const SearchGroupedFilterExpressions& value); + + /** + *

Filters by group.

+ */ + AWS_DEADLINE_API SearchFilterExpression& WithGroupFilter(SearchGroupedFilterExpressions&& value); + + + /** + *

Filters by parameter.

+ */ + inline const ParameterFilterExpression& GetParameterFilter() const{ return m_parameterFilter; } + + /** + *

Filters by parameter.

+ */ + inline bool ParameterFilterHasBeenSet() const { return m_parameterFilterHasBeenSet; } + + /** + *

Filters by parameter.

+ */ + inline void SetParameterFilter(const ParameterFilterExpression& value) { m_parameterFilterHasBeenSet = true; m_parameterFilter = value; } + + /** + *

Filters by parameter.

+ */ + inline void SetParameterFilter(ParameterFilterExpression&& value) { m_parameterFilterHasBeenSet = true; m_parameterFilter = std::move(value); } + + /** + *

Filters by parameter.

+ */ + inline SearchFilterExpression& WithParameterFilter(const ParameterFilterExpression& value) { SetParameterFilter(value); return *this;} + + /** + *

Filters by parameter.

+ */ + inline SearchFilterExpression& WithParameterFilter(ParameterFilterExpression&& value) { SetParameterFilter(std::move(value)); return *this;} + + + /** + *

Filters by a specified search term.

+ */ + inline const SearchTermFilterExpression& GetSearchTermFilter() const{ return m_searchTermFilter; } + + /** + *

Filters by a specified search term.

+ */ + inline bool SearchTermFilterHasBeenSet() const { return m_searchTermFilterHasBeenSet; } + + /** + *

Filters by a specified search term.

+ */ + inline void SetSearchTermFilter(const SearchTermFilterExpression& value) { m_searchTermFilterHasBeenSet = true; m_searchTermFilter = value; } + + /** + *

Filters by a specified search term.

+ */ + inline void SetSearchTermFilter(SearchTermFilterExpression&& value) { m_searchTermFilterHasBeenSet = true; m_searchTermFilter = std::move(value); } + + /** + *

Filters by a specified search term.

+ */ + inline SearchFilterExpression& WithSearchTermFilter(const SearchTermFilterExpression& value) { SetSearchTermFilter(value); return *this;} + + /** + *

Filters by a specified search term.

+ */ + inline SearchFilterExpression& WithSearchTermFilter(SearchTermFilterExpression&& value) { SetSearchTermFilter(std::move(value)); return *this;} + + + /** + *

Filters by a string.

+ */ + inline const StringFilterExpression& GetStringFilter() const{ return m_stringFilter; } + + /** + *

Filters by a string.

+ */ + inline bool StringFilterHasBeenSet() const { return m_stringFilterHasBeenSet; } + + /** + *

Filters by a string.

+ */ + inline void SetStringFilter(const StringFilterExpression& value) { m_stringFilterHasBeenSet = true; m_stringFilter = value; } + + /** + *

Filters by a string.

+ */ + inline void SetStringFilter(StringFilterExpression&& value) { m_stringFilterHasBeenSet = true; m_stringFilter = std::move(value); } + + /** + *

Filters by a string.

+ */ + inline SearchFilterExpression& WithStringFilter(const StringFilterExpression& value) { SetStringFilter(value); return *this;} + + /** + *

Filters by a string.

+ */ + inline SearchFilterExpression& WithStringFilter(StringFilterExpression&& value) { SetStringFilter(std::move(value)); return *this;} + + private: + + DateTimeFilterExpression m_dateTimeFilter; + bool m_dateTimeFilterHasBeenSet = false; + + std::shared_ptr m_groupFilter; + bool m_groupFilterHasBeenSet = false; + + ParameterFilterExpression m_parameterFilter; + bool m_parameterFilterHasBeenSet = false; + + SearchTermFilterExpression m_searchTermFilter; + bool m_searchTermFilterHasBeenSet = false; + + StringFilterExpression m_stringFilter; + bool m_stringFilterHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchGroupedFilterExpressions.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchGroupedFilterExpressions.h new file mode 100644 index 00000000000..834969a617c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchGroupedFilterExpressions.h @@ -0,0 +1,128 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class SearchFilterExpression; + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

See + * Also:

AWS + * API Reference

+ */ + class SearchGroupedFilterExpressions + { + public: + AWS_DEADLINE_API SearchGroupedFilterExpressions(); + AWS_DEADLINE_API SearchGroupedFilterExpressions(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API SearchGroupedFilterExpressions& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The filters to use for the search.

+ */ + inline const Aws::Vector& GetFilters() const{ return m_filters; } + + /** + *

The filters to use for the search.

+ */ + inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } + + /** + *

The filters to use for the search.

+ */ + inline void SetFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters = value; } + + /** + *

The filters to use for the search.

+ */ + inline void SetFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } + + /** + *

The filters to use for the search.

+ */ + inline SearchGroupedFilterExpressions& WithFilters(const Aws::Vector& value) { SetFilters(value); return *this;} + + /** + *

The filters to use for the search.

+ */ + inline SearchGroupedFilterExpressions& WithFilters(Aws::Vector&& value) { SetFilters(std::move(value)); return *this;} + + /** + *

The filters to use for the search.

+ */ + inline SearchGroupedFilterExpressions& AddFilters(const SearchFilterExpression& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } + + /** + *

The filters to use for the search.

+ */ + inline SearchGroupedFilterExpressions& AddFilters(SearchFilterExpression&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } + + + /** + *

The operators to include in the search.

+ */ + inline const LogicalOperator& GetOperator() const{ return m_operator; } + + /** + *

The operators to include in the search.

+ */ + inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; } + + /** + *

The operators to include in the search.

+ */ + inline void SetOperator(const LogicalOperator& value) { m_operatorHasBeenSet = true; m_operator = value; } + + /** + *

The operators to include in the search.

+ */ + inline void SetOperator(LogicalOperator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); } + + /** + *

The operators to include in the search.

+ */ + inline SearchGroupedFilterExpressions& WithOperator(const LogicalOperator& value) { SetOperator(value); return *this;} + + /** + *

The operators to include in the search.

+ */ + inline SearchGroupedFilterExpressions& WithOperator(LogicalOperator&& value) { SetOperator(std::move(value)); return *this;} + + private: + + Aws::Vector m_filters; + bool m_filtersHasBeenSet = false; + + LogicalOperator m_operator; + bool m_operatorHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchJobsRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchJobsRequest.h new file mode 100644 index 00000000000..dbd8c4859a1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchJobsRequest.h @@ -0,0 +1,273 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class SearchJobsRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API SearchJobsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "SearchJobs"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the job.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the job.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the job.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the job.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the job.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the job.

+ */ + inline SearchJobsRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the job.

+ */ + inline SearchJobsRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the job.

+ */ + inline SearchJobsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline const SearchGroupedFilterExpressions& GetFilterExpressions() const{ return m_filterExpressions; } + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline bool FilterExpressionsHasBeenSet() const { return m_filterExpressionsHasBeenSet; } + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline void SetFilterExpressions(const SearchGroupedFilterExpressions& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = value; } + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline void SetFilterExpressions(SearchGroupedFilterExpressions&& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = std::move(value); } + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline SearchJobsRequest& WithFilterExpressions(const SearchGroupedFilterExpressions& value) { SetFilterExpressions(value); return *this;} + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline SearchJobsRequest& WithFilterExpressions(SearchGroupedFilterExpressions&& value) { SetFilterExpressions(std::move(value)); return *this;} + + + /** + *

Defines how far into the scrollable list to start the return of results.

+ */ + inline int GetItemOffset() const{ return m_itemOffset; } + + /** + *

Defines how far into the scrollable list to start the return of results.

+ */ + inline bool ItemOffsetHasBeenSet() const { return m_itemOffsetHasBeenSet; } + + /** + *

Defines how far into the scrollable list to start the return of results.

+ */ + inline void SetItemOffset(int value) { m_itemOffsetHasBeenSet = true; m_itemOffset = value; } + + /** + *

Defines how far into the scrollable list to start the return of results.

+ */ + inline SearchJobsRequest& WithItemOffset(int value) { SetItemOffset(value); return *this;} + + + /** + *

Specifies the number of items per page for the resource.

+ */ + inline int GetPageSize() const{ return m_pageSize; } + + /** + *

Specifies the number of items per page for the resource.

+ */ + inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; } + + /** + *

Specifies the number of items per page for the resource.

+ */ + inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; } + + /** + *

Specifies the number of items per page for the resource.

+ */ + inline SearchJobsRequest& WithPageSize(int value) { SetPageSize(value); return *this;} + + + /** + *

The queue ID to use in the job search.

+ */ + inline const Aws::Vector& GetQueueIds() const{ return m_queueIds; } + + /** + *

The queue ID to use in the job search.

+ */ + inline bool QueueIdsHasBeenSet() const { return m_queueIdsHasBeenSet; } + + /** + *

The queue ID to use in the job search.

+ */ + inline void SetQueueIds(const Aws::Vector& value) { m_queueIdsHasBeenSet = true; m_queueIds = value; } + + /** + *

The queue ID to use in the job search.

+ */ + inline void SetQueueIds(Aws::Vector&& value) { m_queueIdsHasBeenSet = true; m_queueIds = std::move(value); } + + /** + *

The queue ID to use in the job search.

+ */ + inline SearchJobsRequest& WithQueueIds(const Aws::Vector& value) { SetQueueIds(value); return *this;} + + /** + *

The queue ID to use in the job search.

+ */ + inline SearchJobsRequest& WithQueueIds(Aws::Vector&& value) { SetQueueIds(std::move(value)); return *this;} + + /** + *

The queue ID to use in the job search.

+ */ + inline SearchJobsRequest& AddQueueIds(const Aws::String& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } + + /** + *

The queue ID to use in the job search.

+ */ + inline SearchJobsRequest& AddQueueIds(Aws::String&& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(std::move(value)); return *this; } + + /** + *

The queue ID to use in the job search.

+ */ + inline SearchJobsRequest& AddQueueIds(const char* value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } + + + /** + *

The search terms for a resource.

+ */ + inline const Aws::Vector& GetSortExpressions() const{ return m_sortExpressions; } + + /** + *

The search terms for a resource.

+ */ + inline bool SortExpressionsHasBeenSet() const { return m_sortExpressionsHasBeenSet; } + + /** + *

The search terms for a resource.

+ */ + inline void SetSortExpressions(const Aws::Vector& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = value; } + + /** + *

The search terms for a resource.

+ */ + inline void SetSortExpressions(Aws::Vector&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = std::move(value); } + + /** + *

The search terms for a resource.

+ */ + inline SearchJobsRequest& WithSortExpressions(const Aws::Vector& value) { SetSortExpressions(value); return *this;} + + /** + *

The search terms for a resource.

+ */ + inline SearchJobsRequest& WithSortExpressions(Aws::Vector&& value) { SetSortExpressions(std::move(value)); return *this;} + + /** + *

The search terms for a resource.

+ */ + inline SearchJobsRequest& AddSortExpressions(const SearchSortExpression& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(value); return *this; } + + /** + *

The search terms for a resource.

+ */ + inline SearchJobsRequest& AddSortExpressions(SearchSortExpression&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(std::move(value)); return *this; } + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + SearchGroupedFilterExpressions m_filterExpressions; + bool m_filterExpressionsHasBeenSet = false; + + int m_itemOffset; + bool m_itemOffsetHasBeenSet = false; + + int m_pageSize; + bool m_pageSizeHasBeenSet = false; + + Aws::Vector m_queueIds; + bool m_queueIdsHasBeenSet = false; + + Aws::Vector m_sortExpressions; + bool m_sortExpressionsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchJobsResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchJobsResult.h new file mode 100644 index 00000000000..bf176a037f9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchJobsResult.h @@ -0,0 +1,142 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class SearchJobsResult + { + public: + AWS_DEADLINE_API SearchJobsResult(); + AWS_DEADLINE_API SearchJobsResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API SearchJobsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The jobs in the search.

+ */ + inline const Aws::Vector& GetJobs() const{ return m_jobs; } + + /** + *

The jobs in the search.

+ */ + inline void SetJobs(const Aws::Vector& value) { m_jobs = value; } + + /** + *

The jobs in the search.

+ */ + inline void SetJobs(Aws::Vector&& value) { m_jobs = std::move(value); } + + /** + *

The jobs in the search.

+ */ + inline SearchJobsResult& WithJobs(const Aws::Vector& value) { SetJobs(value); return *this;} + + /** + *

The jobs in the search.

+ */ + inline SearchJobsResult& WithJobs(Aws::Vector&& value) { SetJobs(std::move(value)); return *this;} + + /** + *

The jobs in the search.

+ */ + inline SearchJobsResult& AddJobs(const JobSearchSummary& value) { m_jobs.push_back(value); return *this; } + + /** + *

The jobs in the search.

+ */ + inline SearchJobsResult& AddJobs(JobSearchSummary&& value) { m_jobs.push_back(std::move(value)); return *this; } + + + /** + *

The next incremental starting point after the defined + * itemOffset.

+ */ + inline int GetNextItemOffset() const{ return m_nextItemOffset; } + + /** + *

The next incremental starting point after the defined + * itemOffset.

+ */ + inline void SetNextItemOffset(int value) { m_nextItemOffset = value; } + + /** + *

The next incremental starting point after the defined + * itemOffset.

+ */ + inline SearchJobsResult& WithNextItemOffset(int value) { SetNextItemOffset(value); return *this;} + + + /** + *

The total number of results in the search.

+ */ + inline int GetTotalResults() const{ return m_totalResults; } + + /** + *

The total number of results in the search.

+ */ + inline void SetTotalResults(int value) { m_totalResults = value; } + + /** + *

The total number of results in the search.

+ */ + inline SearchJobsResult& WithTotalResults(int value) { SetTotalResults(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline SearchJobsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline SearchJobsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline SearchJobsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_jobs; + + int m_nextItemOffset; + + int m_totalResults; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchSortExpression.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchSortExpression.h new file mode 100644 index 00000000000..23e1ac8258e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchSortExpression.h @@ -0,0 +1,148 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The resources to search.

See Also:

AWS + * API Reference

+ */ + class SearchSortExpression + { + public: + AWS_DEADLINE_API SearchSortExpression(); + AWS_DEADLINE_API SearchSortExpression(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API SearchSortExpression& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

Options for sorting by a field.

+ */ + inline const FieldSortExpression& GetFieldSort() const{ return m_fieldSort; } + + /** + *

Options for sorting by a field.

+ */ + inline bool FieldSortHasBeenSet() const { return m_fieldSortHasBeenSet; } + + /** + *

Options for sorting by a field.

+ */ + inline void SetFieldSort(const FieldSortExpression& value) { m_fieldSortHasBeenSet = true; m_fieldSort = value; } + + /** + *

Options for sorting by a field.

+ */ + inline void SetFieldSort(FieldSortExpression&& value) { m_fieldSortHasBeenSet = true; m_fieldSort = std::move(value); } + + /** + *

Options for sorting by a field.

+ */ + inline SearchSortExpression& WithFieldSort(const FieldSortExpression& value) { SetFieldSort(value); return *this;} + + /** + *

Options for sorting by a field.

+ */ + inline SearchSortExpression& WithFieldSort(FieldSortExpression&& value) { SetFieldSort(std::move(value)); return *this;} + + + /** + *

Options for sorting by a parameter.

+ */ + inline const ParameterSortExpression& GetParameterSort() const{ return m_parameterSort; } + + /** + *

Options for sorting by a parameter.

+ */ + inline bool ParameterSortHasBeenSet() const { return m_parameterSortHasBeenSet; } + + /** + *

Options for sorting by a parameter.

+ */ + inline void SetParameterSort(const ParameterSortExpression& value) { m_parameterSortHasBeenSet = true; m_parameterSort = value; } + + /** + *

Options for sorting by a parameter.

+ */ + inline void SetParameterSort(ParameterSortExpression&& value) { m_parameterSortHasBeenSet = true; m_parameterSort = std::move(value); } + + /** + *

Options for sorting by a parameter.

+ */ + inline SearchSortExpression& WithParameterSort(const ParameterSortExpression& value) { SetParameterSort(value); return *this;} + + /** + *

Options for sorting by a parameter.

+ */ + inline SearchSortExpression& WithParameterSort(ParameterSortExpression&& value) { SetParameterSort(std::move(value)); return *this;} + + + /** + *

Options for sorting a particular user's jobs first.

+ */ + inline const UserJobsFirst& GetUserJobsFirst() const{ return m_userJobsFirst; } + + /** + *

Options for sorting a particular user's jobs first.

+ */ + inline bool UserJobsFirstHasBeenSet() const { return m_userJobsFirstHasBeenSet; } + + /** + *

Options for sorting a particular user's jobs first.

+ */ + inline void SetUserJobsFirst(const UserJobsFirst& value) { m_userJobsFirstHasBeenSet = true; m_userJobsFirst = value; } + + /** + *

Options for sorting a particular user's jobs first.

+ */ + inline void SetUserJobsFirst(UserJobsFirst&& value) { m_userJobsFirstHasBeenSet = true; m_userJobsFirst = std::move(value); } + + /** + *

Options for sorting a particular user's jobs first.

+ */ + inline SearchSortExpression& WithUserJobsFirst(const UserJobsFirst& value) { SetUserJobsFirst(value); return *this;} + + /** + *

Options for sorting a particular user's jobs first.

+ */ + inline SearchSortExpression& WithUserJobsFirst(UserJobsFirst&& value) { SetUserJobsFirst(std::move(value)); return *this;} + + private: + + FieldSortExpression m_fieldSort; + bool m_fieldSortHasBeenSet = false; + + ParameterSortExpression m_parameterSort; + bool m_parameterSortHasBeenSet = false; + + UserJobsFirst m_userJobsFirst; + bool m_userJobsFirstHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchStepsRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchStepsRequest.h new file mode 100644 index 00000000000..ad8565d82b5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchStepsRequest.h @@ -0,0 +1,317 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class SearchStepsRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API SearchStepsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "SearchSteps"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID to use for the step search.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID to use for the step search.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID to use for the step search.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID to use for the step search.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID to use for the step search.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID to use for the step search.

+ */ + inline SearchStepsRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID to use for the step search.

+ */ + inline SearchStepsRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID to use for the step search.

+ */ + inline SearchStepsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline const SearchGroupedFilterExpressions& GetFilterExpressions() const{ return m_filterExpressions; } + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline bool FilterExpressionsHasBeenSet() const { return m_filterExpressionsHasBeenSet; } + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline void SetFilterExpressions(const SearchGroupedFilterExpressions& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = value; } + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline void SetFilterExpressions(SearchGroupedFilterExpressions&& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = std::move(value); } + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline SearchStepsRequest& WithFilterExpressions(const SearchGroupedFilterExpressions& value) { SetFilterExpressions(value); return *this;} + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline SearchStepsRequest& WithFilterExpressions(SearchGroupedFilterExpressions&& value) { SetFilterExpressions(std::move(value)); return *this;} + + + /** + *

Defines how far into the scrollable list to start the return of results.

+ */ + inline int GetItemOffset() const{ return m_itemOffset; } + + /** + *

Defines how far into the scrollable list to start the return of results.

+ */ + inline bool ItemOffsetHasBeenSet() const { return m_itemOffsetHasBeenSet; } + + /** + *

Defines how far into the scrollable list to start the return of results.

+ */ + inline void SetItemOffset(int value) { m_itemOffsetHasBeenSet = true; m_itemOffset = value; } + + /** + *

Defines how far into the scrollable list to start the return of results.

+ */ + inline SearchStepsRequest& WithItemOffset(int value) { SetItemOffset(value); return *this;} + + + /** + *

The job ID to use in the step search.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID to use in the step search.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID to use in the step search.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID to use in the step search.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID to use in the step search.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID to use in the step search.

+ */ + inline SearchStepsRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID to use in the step search.

+ */ + inline SearchStepsRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID to use in the step search.

+ */ + inline SearchStepsRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

Specifies the number of items per page for the resource.

+ */ + inline int GetPageSize() const{ return m_pageSize; } + + /** + *

Specifies the number of items per page for the resource.

+ */ + inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; } + + /** + *

Specifies the number of items per page for the resource.

+ */ + inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; } + + /** + *

Specifies the number of items per page for the resource.

+ */ + inline SearchStepsRequest& WithPageSize(int value) { SetPageSize(value); return *this;} + + + /** + *

The queue IDs in the step search.

+ */ + inline const Aws::Vector& GetQueueIds() const{ return m_queueIds; } + + /** + *

The queue IDs in the step search.

+ */ + inline bool QueueIdsHasBeenSet() const { return m_queueIdsHasBeenSet; } + + /** + *

The queue IDs in the step search.

+ */ + inline void SetQueueIds(const Aws::Vector& value) { m_queueIdsHasBeenSet = true; m_queueIds = value; } + + /** + *

The queue IDs in the step search.

+ */ + inline void SetQueueIds(Aws::Vector&& value) { m_queueIdsHasBeenSet = true; m_queueIds = std::move(value); } + + /** + *

The queue IDs in the step search.

+ */ + inline SearchStepsRequest& WithQueueIds(const Aws::Vector& value) { SetQueueIds(value); return *this;} + + /** + *

The queue IDs in the step search.

+ */ + inline SearchStepsRequest& WithQueueIds(Aws::Vector&& value) { SetQueueIds(std::move(value)); return *this;} + + /** + *

The queue IDs in the step search.

+ */ + inline SearchStepsRequest& AddQueueIds(const Aws::String& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } + + /** + *

The queue IDs in the step search.

+ */ + inline SearchStepsRequest& AddQueueIds(Aws::String&& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(std::move(value)); return *this; } + + /** + *

The queue IDs in the step search.

+ */ + inline SearchStepsRequest& AddQueueIds(const char* value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } + + + /** + *

The search terms for a resource.

+ */ + inline const Aws::Vector& GetSortExpressions() const{ return m_sortExpressions; } + + /** + *

The search terms for a resource.

+ */ + inline bool SortExpressionsHasBeenSet() const { return m_sortExpressionsHasBeenSet; } + + /** + *

The search terms for a resource.

+ */ + inline void SetSortExpressions(const Aws::Vector& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = value; } + + /** + *

The search terms for a resource.

+ */ + inline void SetSortExpressions(Aws::Vector&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = std::move(value); } + + /** + *

The search terms for a resource.

+ */ + inline SearchStepsRequest& WithSortExpressions(const Aws::Vector& value) { SetSortExpressions(value); return *this;} + + /** + *

The search terms for a resource.

+ */ + inline SearchStepsRequest& WithSortExpressions(Aws::Vector&& value) { SetSortExpressions(std::move(value)); return *this;} + + /** + *

The search terms for a resource.

+ */ + inline SearchStepsRequest& AddSortExpressions(const SearchSortExpression& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(value); return *this; } + + /** + *

The search terms for a resource.

+ */ + inline SearchStepsRequest& AddSortExpressions(SearchSortExpression&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(std::move(value)); return *this; } + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + SearchGroupedFilterExpressions m_filterExpressions; + bool m_filterExpressionsHasBeenSet = false; + + int m_itemOffset; + bool m_itemOffsetHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + int m_pageSize; + bool m_pageSizeHasBeenSet = false; + + Aws::Vector m_queueIds; + bool m_queueIdsHasBeenSet = false; + + Aws::Vector m_sortExpressions; + bool m_sortExpressionsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchStepsResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchStepsResult.h new file mode 100644 index 00000000000..d67fd94b58f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchStepsResult.h @@ -0,0 +1,142 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class SearchStepsResult + { + public: + AWS_DEADLINE_API SearchStepsResult(); + AWS_DEADLINE_API SearchStepsResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API SearchStepsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The next incremental starting point after the defined + * itemOffset.

+ */ + inline int GetNextItemOffset() const{ return m_nextItemOffset; } + + /** + *

The next incremental starting point after the defined + * itemOffset.

+ */ + inline void SetNextItemOffset(int value) { m_nextItemOffset = value; } + + /** + *

The next incremental starting point after the defined + * itemOffset.

+ */ + inline SearchStepsResult& WithNextItemOffset(int value) { SetNextItemOffset(value); return *this;} + + + /** + *

The steps in the search.

+ */ + inline const Aws::Vector& GetSteps() const{ return m_steps; } + + /** + *

The steps in the search.

+ */ + inline void SetSteps(const Aws::Vector& value) { m_steps = value; } + + /** + *

The steps in the search.

+ */ + inline void SetSteps(Aws::Vector&& value) { m_steps = std::move(value); } + + /** + *

The steps in the search.

+ */ + inline SearchStepsResult& WithSteps(const Aws::Vector& value) { SetSteps(value); return *this;} + + /** + *

The steps in the search.

+ */ + inline SearchStepsResult& WithSteps(Aws::Vector&& value) { SetSteps(std::move(value)); return *this;} + + /** + *

The steps in the search.

+ */ + inline SearchStepsResult& AddSteps(const StepSearchSummary& value) { m_steps.push_back(value); return *this; } + + /** + *

The steps in the search.

+ */ + inline SearchStepsResult& AddSteps(StepSearchSummary&& value) { m_steps.push_back(std::move(value)); return *this; } + + + /** + *

The total number of results in the search.

+ */ + inline int GetTotalResults() const{ return m_totalResults; } + + /** + *

The total number of results in the search.

+ */ + inline void SetTotalResults(int value) { m_totalResults = value; } + + /** + *

The total number of results in the search.

+ */ + inline SearchStepsResult& WithTotalResults(int value) { SetTotalResults(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline SearchStepsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline SearchStepsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline SearchStepsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + int m_nextItemOffset; + + Aws::Vector m_steps; + + int m_totalResults; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchTasksRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchTasksRequest.h new file mode 100644 index 00000000000..2322edf2cc2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchTasksRequest.h @@ -0,0 +1,317 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class SearchTasksRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API SearchTasksRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "SearchTasks"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID of the task.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the task.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the task.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the task.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the task.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the task.

+ */ + inline SearchTasksRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the task.

+ */ + inline SearchTasksRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the task.

+ */ + inline SearchTasksRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline const SearchGroupedFilterExpressions& GetFilterExpressions() const{ return m_filterExpressions; } + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline bool FilterExpressionsHasBeenSet() const { return m_filterExpressionsHasBeenSet; } + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline void SetFilterExpressions(const SearchGroupedFilterExpressions& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = value; } + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline void SetFilterExpressions(SearchGroupedFilterExpressions&& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = std::move(value); } + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline SearchTasksRequest& WithFilterExpressions(const SearchGroupedFilterExpressions& value) { SetFilterExpressions(value); return *this;} + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline SearchTasksRequest& WithFilterExpressions(SearchGroupedFilterExpressions&& value) { SetFilterExpressions(std::move(value)); return *this;} + + + /** + *

Defines how far into the scrollable list to start the return of results.

+ */ + inline int GetItemOffset() const{ return m_itemOffset; } + + /** + *

Defines how far into the scrollable list to start the return of results.

+ */ + inline bool ItemOffsetHasBeenSet() const { return m_itemOffsetHasBeenSet; } + + /** + *

Defines how far into the scrollable list to start the return of results.

+ */ + inline void SetItemOffset(int value) { m_itemOffsetHasBeenSet = true; m_itemOffset = value; } + + /** + *

Defines how far into the scrollable list to start the return of results.

+ */ + inline SearchTasksRequest& WithItemOffset(int value) { SetItemOffset(value); return *this;} + + + /** + *

The job ID for the task search.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID for the task search.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID for the task search.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID for the task search.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID for the task search.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID for the task search.

+ */ + inline SearchTasksRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID for the task search.

+ */ + inline SearchTasksRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID for the task search.

+ */ + inline SearchTasksRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

Specifies the number of items per page for the resource.

+ */ + inline int GetPageSize() const{ return m_pageSize; } + + /** + *

Specifies the number of items per page for the resource.

+ */ + inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; } + + /** + *

Specifies the number of items per page for the resource.

+ */ + inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; } + + /** + *

Specifies the number of items per page for the resource.

+ */ + inline SearchTasksRequest& WithPageSize(int value) { SetPageSize(value); return *this;} + + + /** + *

The queue IDs to include in the search.

+ */ + inline const Aws::Vector& GetQueueIds() const{ return m_queueIds; } + + /** + *

The queue IDs to include in the search.

+ */ + inline bool QueueIdsHasBeenSet() const { return m_queueIdsHasBeenSet; } + + /** + *

The queue IDs to include in the search.

+ */ + inline void SetQueueIds(const Aws::Vector& value) { m_queueIdsHasBeenSet = true; m_queueIds = value; } + + /** + *

The queue IDs to include in the search.

+ */ + inline void SetQueueIds(Aws::Vector&& value) { m_queueIdsHasBeenSet = true; m_queueIds = std::move(value); } + + /** + *

The queue IDs to include in the search.

+ */ + inline SearchTasksRequest& WithQueueIds(const Aws::Vector& value) { SetQueueIds(value); return *this;} + + /** + *

The queue IDs to include in the search.

+ */ + inline SearchTasksRequest& WithQueueIds(Aws::Vector&& value) { SetQueueIds(std::move(value)); return *this;} + + /** + *

The queue IDs to include in the search.

+ */ + inline SearchTasksRequest& AddQueueIds(const Aws::String& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } + + /** + *

The queue IDs to include in the search.

+ */ + inline SearchTasksRequest& AddQueueIds(Aws::String&& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(std::move(value)); return *this; } + + /** + *

The queue IDs to include in the search.

+ */ + inline SearchTasksRequest& AddQueueIds(const char* value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } + + + /** + *

The search terms for a resource.

+ */ + inline const Aws::Vector& GetSortExpressions() const{ return m_sortExpressions; } + + /** + *

The search terms for a resource.

+ */ + inline bool SortExpressionsHasBeenSet() const { return m_sortExpressionsHasBeenSet; } + + /** + *

The search terms for a resource.

+ */ + inline void SetSortExpressions(const Aws::Vector& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = value; } + + /** + *

The search terms for a resource.

+ */ + inline void SetSortExpressions(Aws::Vector&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = std::move(value); } + + /** + *

The search terms for a resource.

+ */ + inline SearchTasksRequest& WithSortExpressions(const Aws::Vector& value) { SetSortExpressions(value); return *this;} + + /** + *

The search terms for a resource.

+ */ + inline SearchTasksRequest& WithSortExpressions(Aws::Vector&& value) { SetSortExpressions(std::move(value)); return *this;} + + /** + *

The search terms for a resource.

+ */ + inline SearchTasksRequest& AddSortExpressions(const SearchSortExpression& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(value); return *this; } + + /** + *

The search terms for a resource.

+ */ + inline SearchTasksRequest& AddSortExpressions(SearchSortExpression&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(std::move(value)); return *this; } + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + SearchGroupedFilterExpressions m_filterExpressions; + bool m_filterExpressionsHasBeenSet = false; + + int m_itemOffset; + bool m_itemOffsetHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + int m_pageSize; + bool m_pageSizeHasBeenSet = false; + + Aws::Vector m_queueIds; + bool m_queueIdsHasBeenSet = false; + + Aws::Vector m_sortExpressions; + bool m_sortExpressionsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchTasksResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchTasksResult.h new file mode 100644 index 00000000000..e30f9f77c97 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchTasksResult.h @@ -0,0 +1,142 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class SearchTasksResult + { + public: + AWS_DEADLINE_API SearchTasksResult(); + AWS_DEADLINE_API SearchTasksResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API SearchTasksResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The next incremental starting point after the defined + * itemOffset.

+ */ + inline int GetNextItemOffset() const{ return m_nextItemOffset; } + + /** + *

The next incremental starting point after the defined + * itemOffset.

+ */ + inline void SetNextItemOffset(int value) { m_nextItemOffset = value; } + + /** + *

The next incremental starting point after the defined + * itemOffset.

+ */ + inline SearchTasksResult& WithNextItemOffset(int value) { SetNextItemOffset(value); return *this;} + + + /** + *

Tasks in the search.

+ */ + inline const Aws::Vector& GetTasks() const{ return m_tasks; } + + /** + *

Tasks in the search.

+ */ + inline void SetTasks(const Aws::Vector& value) { m_tasks = value; } + + /** + *

Tasks in the search.

+ */ + inline void SetTasks(Aws::Vector&& value) { m_tasks = std::move(value); } + + /** + *

Tasks in the search.

+ */ + inline SearchTasksResult& WithTasks(const Aws::Vector& value) { SetTasks(value); return *this;} + + /** + *

Tasks in the search.

+ */ + inline SearchTasksResult& WithTasks(Aws::Vector&& value) { SetTasks(std::move(value)); return *this;} + + /** + *

Tasks in the search.

+ */ + inline SearchTasksResult& AddTasks(const TaskSearchSummary& value) { m_tasks.push_back(value); return *this; } + + /** + *

Tasks in the search.

+ */ + inline SearchTasksResult& AddTasks(TaskSearchSummary&& value) { m_tasks.push_back(std::move(value)); return *this; } + + + /** + *

The total number of results in the search.

+ */ + inline int GetTotalResults() const{ return m_totalResults; } + + /** + *

The total number of results in the search.

+ */ + inline void SetTotalResults(int value) { m_totalResults = value; } + + /** + *

The total number of results in the search.

+ */ + inline SearchTasksResult& WithTotalResults(int value) { SetTotalResults(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline SearchTasksResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline SearchTasksResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline SearchTasksResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + int m_nextItemOffset; + + Aws::Vector m_tasks; + + int m_totalResults; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchTermFilterExpression.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchTermFilterExpression.h new file mode 100644 index 00000000000..215628457f7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchTermFilterExpression.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Searches for a particular search term.

See Also:

AWS + * API Reference

+ */ + class SearchTermFilterExpression + { + public: + AWS_DEADLINE_API SearchTermFilterExpression(); + AWS_DEADLINE_API SearchTermFilterExpression(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API SearchTermFilterExpression& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The term to search for.

+ */ + inline const Aws::String& GetSearchTerm() const{ return m_searchTerm; } + + /** + *

The term to search for.

+ */ + inline bool SearchTermHasBeenSet() const { return m_searchTermHasBeenSet; } + + /** + *

The term to search for.

+ */ + inline void SetSearchTerm(const Aws::String& value) { m_searchTermHasBeenSet = true; m_searchTerm = value; } + + /** + *

The term to search for.

+ */ + inline void SetSearchTerm(Aws::String&& value) { m_searchTermHasBeenSet = true; m_searchTerm = std::move(value); } + + /** + *

The term to search for.

+ */ + inline void SetSearchTerm(const char* value) { m_searchTermHasBeenSet = true; m_searchTerm.assign(value); } + + /** + *

The term to search for.

+ */ + inline SearchTermFilterExpression& WithSearchTerm(const Aws::String& value) { SetSearchTerm(value); return *this;} + + /** + *

The term to search for.

+ */ + inline SearchTermFilterExpression& WithSearchTerm(Aws::String&& value) { SetSearchTerm(std::move(value)); return *this;} + + /** + *

The term to search for.

+ */ + inline SearchTermFilterExpression& WithSearchTerm(const char* value) { SetSearchTerm(value); return *this;} + + private: + + Aws::String m_searchTerm; + bool m_searchTermHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchWorkersRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchWorkersRequest.h new file mode 100644 index 00000000000..55ec5dd496e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchWorkersRequest.h @@ -0,0 +1,273 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class SearchWorkersRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API SearchWorkersRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "SearchWorkers"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID in the workers search.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID in the workers search.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID in the workers search.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID in the workers search.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID in the workers search.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID in the workers search.

+ */ + inline SearchWorkersRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID in the workers search.

+ */ + inline SearchWorkersRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID in the workers search.

+ */ + inline SearchWorkersRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline const SearchGroupedFilterExpressions& GetFilterExpressions() const{ return m_filterExpressions; } + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline bool FilterExpressionsHasBeenSet() const { return m_filterExpressionsHasBeenSet; } + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline void SetFilterExpressions(const SearchGroupedFilterExpressions& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = value; } + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline void SetFilterExpressions(SearchGroupedFilterExpressions&& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = std::move(value); } + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline SearchWorkersRequest& WithFilterExpressions(const SearchGroupedFilterExpressions& value) { SetFilterExpressions(value); return *this;} + + /** + *

The filter expression, AND or OR, to use when + * searching among a group of search strings in a resource.

You can use two + * groupings per search each within parenthesis ().

+ */ + inline SearchWorkersRequest& WithFilterExpressions(SearchGroupedFilterExpressions&& value) { SetFilterExpressions(std::move(value)); return *this;} + + + /** + *

The fleet ID of the workers to search for.

+ */ + inline const Aws::Vector& GetFleetIds() const{ return m_fleetIds; } + + /** + *

The fleet ID of the workers to search for.

+ */ + inline bool FleetIdsHasBeenSet() const { return m_fleetIdsHasBeenSet; } + + /** + *

The fleet ID of the workers to search for.

+ */ + inline void SetFleetIds(const Aws::Vector& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = value; } + + /** + *

The fleet ID of the workers to search for.

+ */ + inline void SetFleetIds(Aws::Vector&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = std::move(value); } + + /** + *

The fleet ID of the workers to search for.

+ */ + inline SearchWorkersRequest& WithFleetIds(const Aws::Vector& value) { SetFleetIds(value); return *this;} + + /** + *

The fleet ID of the workers to search for.

+ */ + inline SearchWorkersRequest& WithFleetIds(Aws::Vector&& value) { SetFleetIds(std::move(value)); return *this;} + + /** + *

The fleet ID of the workers to search for.

+ */ + inline SearchWorkersRequest& AddFleetIds(const Aws::String& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; } + + /** + *

The fleet ID of the workers to search for.

+ */ + inline SearchWorkersRequest& AddFleetIds(Aws::String&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(std::move(value)); return *this; } + + /** + *

The fleet ID of the workers to search for.

+ */ + inline SearchWorkersRequest& AddFleetIds(const char* value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; } + + + /** + *

Defines how far into the scrollable list to start the return of results.

+ */ + inline int GetItemOffset() const{ return m_itemOffset; } + + /** + *

Defines how far into the scrollable list to start the return of results.

+ */ + inline bool ItemOffsetHasBeenSet() const { return m_itemOffsetHasBeenSet; } + + /** + *

Defines how far into the scrollable list to start the return of results.

+ */ + inline void SetItemOffset(int value) { m_itemOffsetHasBeenSet = true; m_itemOffset = value; } + + /** + *

Defines how far into the scrollable list to start the return of results.

+ */ + inline SearchWorkersRequest& WithItemOffset(int value) { SetItemOffset(value); return *this;} + + + /** + *

Specifies the number of items per page for the resource.

+ */ + inline int GetPageSize() const{ return m_pageSize; } + + /** + *

Specifies the number of items per page for the resource.

+ */ + inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; } + + /** + *

Specifies the number of items per page for the resource.

+ */ + inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; } + + /** + *

Specifies the number of items per page for the resource.

+ */ + inline SearchWorkersRequest& WithPageSize(int value) { SetPageSize(value); return *this;} + + + /** + *

The search terms for a resource.

+ */ + inline const Aws::Vector& GetSortExpressions() const{ return m_sortExpressions; } + + /** + *

The search terms for a resource.

+ */ + inline bool SortExpressionsHasBeenSet() const { return m_sortExpressionsHasBeenSet; } + + /** + *

The search terms for a resource.

+ */ + inline void SetSortExpressions(const Aws::Vector& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = value; } + + /** + *

The search terms for a resource.

+ */ + inline void SetSortExpressions(Aws::Vector&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = std::move(value); } + + /** + *

The search terms for a resource.

+ */ + inline SearchWorkersRequest& WithSortExpressions(const Aws::Vector& value) { SetSortExpressions(value); return *this;} + + /** + *

The search terms for a resource.

+ */ + inline SearchWorkersRequest& WithSortExpressions(Aws::Vector&& value) { SetSortExpressions(std::move(value)); return *this;} + + /** + *

The search terms for a resource.

+ */ + inline SearchWorkersRequest& AddSortExpressions(const SearchSortExpression& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(value); return *this; } + + /** + *

The search terms for a resource.

+ */ + inline SearchWorkersRequest& AddSortExpressions(SearchSortExpression&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(std::move(value)); return *this; } + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + SearchGroupedFilterExpressions m_filterExpressions; + bool m_filterExpressionsHasBeenSet = false; + + Aws::Vector m_fleetIds; + bool m_fleetIdsHasBeenSet = false; + + int m_itemOffset; + bool m_itemOffsetHasBeenSet = false; + + int m_pageSize; + bool m_pageSizeHasBeenSet = false; + + Aws::Vector m_sortExpressions; + bool m_sortExpressionsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchWorkersResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchWorkersResult.h new file mode 100644 index 00000000000..492059d4921 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SearchWorkersResult.h @@ -0,0 +1,142 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class SearchWorkersResult + { + public: + AWS_DEADLINE_API SearchWorkersResult(); + AWS_DEADLINE_API SearchWorkersResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API SearchWorkersResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The next incremental starting point after the defined + * itemOffset.

+ */ + inline int GetNextItemOffset() const{ return m_nextItemOffset; } + + /** + *

The next incremental starting point after the defined + * itemOffset.

+ */ + inline void SetNextItemOffset(int value) { m_nextItemOffset = value; } + + /** + *

The next incremental starting point after the defined + * itemOffset.

+ */ + inline SearchWorkersResult& WithNextItemOffset(int value) { SetNextItemOffset(value); return *this;} + + + /** + *

The total number of results in the search.

+ */ + inline int GetTotalResults() const{ return m_totalResults; } + + /** + *

The total number of results in the search.

+ */ + inline void SetTotalResults(int value) { m_totalResults = value; } + + /** + *

The total number of results in the search.

+ */ + inline SearchWorkersResult& WithTotalResults(int value) { SetTotalResults(value); return *this;} + + + /** + *

The workers for the search.

+ */ + inline const Aws::Vector& GetWorkers() const{ return m_workers; } + + /** + *

The workers for the search.

+ */ + inline void SetWorkers(const Aws::Vector& value) { m_workers = value; } + + /** + *

The workers for the search.

+ */ + inline void SetWorkers(Aws::Vector&& value) { m_workers = std::move(value); } + + /** + *

The workers for the search.

+ */ + inline SearchWorkersResult& WithWorkers(const Aws::Vector& value) { SetWorkers(value); return *this;} + + /** + *

The workers for the search.

+ */ + inline SearchWorkersResult& WithWorkers(Aws::Vector&& value) { SetWorkers(std::move(value)); return *this;} + + /** + *

The workers for the search.

+ */ + inline SearchWorkersResult& AddWorkers(const WorkerSearchSummary& value) { m_workers.push_back(value); return *this; } + + /** + *

The workers for the search.

+ */ + inline SearchWorkersResult& AddWorkers(WorkerSearchSummary&& value) { m_workers.push_back(std::move(value)); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline SearchWorkersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline SearchWorkersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline SearchWorkersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + int m_nextItemOffset; + + int m_totalResults; + + Aws::Vector m_workers; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceManagedEc2FleetConfiguration.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceManagedEc2FleetConfiguration.h new file mode 100644 index 00000000000..e12966c1d1f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceManagedEc2FleetConfiguration.h @@ -0,0 +1,114 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The configuration details for a service managed Amazon EC2 + * fleet.

See Also:

AWS + * API Reference

+ */ + class ServiceManagedEc2FleetConfiguration + { + public: + AWS_DEADLINE_API ServiceManagedEc2FleetConfiguration(); + AWS_DEADLINE_API ServiceManagedEc2FleetConfiguration(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API ServiceManagedEc2FleetConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The Amazon EC2 instance capabilities.

+ */ + inline const ServiceManagedEc2InstanceCapabilities& GetInstanceCapabilities() const{ return m_instanceCapabilities; } + + /** + *

The Amazon EC2 instance capabilities.

+ */ + inline bool InstanceCapabilitiesHasBeenSet() const { return m_instanceCapabilitiesHasBeenSet; } + + /** + *

The Amazon EC2 instance capabilities.

+ */ + inline void SetInstanceCapabilities(const ServiceManagedEc2InstanceCapabilities& value) { m_instanceCapabilitiesHasBeenSet = true; m_instanceCapabilities = value; } + + /** + *

The Amazon EC2 instance capabilities.

+ */ + inline void SetInstanceCapabilities(ServiceManagedEc2InstanceCapabilities&& value) { m_instanceCapabilitiesHasBeenSet = true; m_instanceCapabilities = std::move(value); } + + /** + *

The Amazon EC2 instance capabilities.

+ */ + inline ServiceManagedEc2FleetConfiguration& WithInstanceCapabilities(const ServiceManagedEc2InstanceCapabilities& value) { SetInstanceCapabilities(value); return *this;} + + /** + *

The Amazon EC2 instance capabilities.

+ */ + inline ServiceManagedEc2FleetConfiguration& WithInstanceCapabilities(ServiceManagedEc2InstanceCapabilities&& value) { SetInstanceCapabilities(std::move(value)); return *this;} + + + /** + *

The Amazon EC2 market type.

+ */ + inline const ServiceManagedEc2InstanceMarketOptions& GetInstanceMarketOptions() const{ return m_instanceMarketOptions; } + + /** + *

The Amazon EC2 market type.

+ */ + inline bool InstanceMarketOptionsHasBeenSet() const { return m_instanceMarketOptionsHasBeenSet; } + + /** + *

The Amazon EC2 market type.

+ */ + inline void SetInstanceMarketOptions(const ServiceManagedEc2InstanceMarketOptions& value) { m_instanceMarketOptionsHasBeenSet = true; m_instanceMarketOptions = value; } + + /** + *

The Amazon EC2 market type.

+ */ + inline void SetInstanceMarketOptions(ServiceManagedEc2InstanceMarketOptions&& value) { m_instanceMarketOptionsHasBeenSet = true; m_instanceMarketOptions = std::move(value); } + + /** + *

The Amazon EC2 market type.

+ */ + inline ServiceManagedEc2FleetConfiguration& WithInstanceMarketOptions(const ServiceManagedEc2InstanceMarketOptions& value) { SetInstanceMarketOptions(value); return *this;} + + /** + *

The Amazon EC2 market type.

+ */ + inline ServiceManagedEc2FleetConfiguration& WithInstanceMarketOptions(ServiceManagedEc2InstanceMarketOptions&& value) { SetInstanceMarketOptions(std::move(value)); return *this;} + + private: + + ServiceManagedEc2InstanceCapabilities m_instanceCapabilities; + bool m_instanceCapabilitiesHasBeenSet = false; + + ServiceManagedEc2InstanceMarketOptions m_instanceMarketOptions; + bool m_instanceMarketOptionsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceManagedEc2InstanceCapabilities.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceManagedEc2InstanceCapabilities.h new file mode 100644 index 00000000000..744bda3a1a1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceManagedEc2InstanceCapabilities.h @@ -0,0 +1,408 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The Amazon EC2 instance capabilities.

See Also:

AWS + * API Reference

+ */ + class ServiceManagedEc2InstanceCapabilities + { + public: + AWS_DEADLINE_API ServiceManagedEc2InstanceCapabilities(); + AWS_DEADLINE_API ServiceManagedEc2InstanceCapabilities(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API ServiceManagedEc2InstanceCapabilities& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The allowable Amazon EC2 instance types.

+ */ + inline const Aws::Vector& GetAllowedInstanceTypes() const{ return m_allowedInstanceTypes; } + + /** + *

The allowable Amazon EC2 instance types.

+ */ + inline bool AllowedInstanceTypesHasBeenSet() const { return m_allowedInstanceTypesHasBeenSet; } + + /** + *

The allowable Amazon EC2 instance types.

+ */ + inline void SetAllowedInstanceTypes(const Aws::Vector& value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes = value; } + + /** + *

The allowable Amazon EC2 instance types.

+ */ + inline void SetAllowedInstanceTypes(Aws::Vector&& value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes = std::move(value); } + + /** + *

The allowable Amazon EC2 instance types.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithAllowedInstanceTypes(const Aws::Vector& value) { SetAllowedInstanceTypes(value); return *this;} + + /** + *

The allowable Amazon EC2 instance types.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithAllowedInstanceTypes(Aws::Vector&& value) { SetAllowedInstanceTypes(std::move(value)); return *this;} + + /** + *

The allowable Amazon EC2 instance types.

+ */ + inline ServiceManagedEc2InstanceCapabilities& AddAllowedInstanceTypes(const Aws::String& value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes.push_back(value); return *this; } + + /** + *

The allowable Amazon EC2 instance types.

+ */ + inline ServiceManagedEc2InstanceCapabilities& AddAllowedInstanceTypes(Aws::String&& value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes.push_back(std::move(value)); return *this; } + + /** + *

The allowable Amazon EC2 instance types.

+ */ + inline ServiceManagedEc2InstanceCapabilities& AddAllowedInstanceTypes(const char* value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes.push_back(value); return *this; } + + + /** + *

The CPU architecture type.

+ */ + inline const CpuArchitectureType& GetCpuArchitectureType() const{ return m_cpuArchitectureType; } + + /** + *

The CPU architecture type.

+ */ + inline bool CpuArchitectureTypeHasBeenSet() const { return m_cpuArchitectureTypeHasBeenSet; } + + /** + *

The CPU architecture type.

+ */ + inline void SetCpuArchitectureType(const CpuArchitectureType& value) { m_cpuArchitectureTypeHasBeenSet = true; m_cpuArchitectureType = value; } + + /** + *

The CPU architecture type.

+ */ + inline void SetCpuArchitectureType(CpuArchitectureType&& value) { m_cpuArchitectureTypeHasBeenSet = true; m_cpuArchitectureType = std::move(value); } + + /** + *

The CPU architecture type.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithCpuArchitectureType(const CpuArchitectureType& value) { SetCpuArchitectureType(value); return *this;} + + /** + *

The CPU architecture type.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithCpuArchitectureType(CpuArchitectureType&& value) { SetCpuArchitectureType(std::move(value)); return *this;} + + + /** + *

The custom capability amounts to require for instances in this fleet.

+ */ + inline const Aws::Vector& GetCustomAmounts() const{ return m_customAmounts; } + + /** + *

The custom capability amounts to require for instances in this fleet.

+ */ + inline bool CustomAmountsHasBeenSet() const { return m_customAmountsHasBeenSet; } + + /** + *

The custom capability amounts to require for instances in this fleet.

+ */ + inline void SetCustomAmounts(const Aws::Vector& value) { m_customAmountsHasBeenSet = true; m_customAmounts = value; } + + /** + *

The custom capability amounts to require for instances in this fleet.

+ */ + inline void SetCustomAmounts(Aws::Vector&& value) { m_customAmountsHasBeenSet = true; m_customAmounts = std::move(value); } + + /** + *

The custom capability amounts to require for instances in this fleet.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithCustomAmounts(const Aws::Vector& value) { SetCustomAmounts(value); return *this;} + + /** + *

The custom capability amounts to require for instances in this fleet.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithCustomAmounts(Aws::Vector&& value) { SetCustomAmounts(std::move(value)); return *this;} + + /** + *

The custom capability amounts to require for instances in this fleet.

+ */ + inline ServiceManagedEc2InstanceCapabilities& AddCustomAmounts(const FleetAmountCapability& value) { m_customAmountsHasBeenSet = true; m_customAmounts.push_back(value); return *this; } + + /** + *

The custom capability amounts to require for instances in this fleet.

+ */ + inline ServiceManagedEc2InstanceCapabilities& AddCustomAmounts(FleetAmountCapability&& value) { m_customAmountsHasBeenSet = true; m_customAmounts.push_back(std::move(value)); return *this; } + + + /** + *

The custom capability attributes to require for instances in this fleet.

+ */ + inline const Aws::Vector& GetCustomAttributes() const{ return m_customAttributes; } + + /** + *

The custom capability attributes to require for instances in this fleet.

+ */ + inline bool CustomAttributesHasBeenSet() const { return m_customAttributesHasBeenSet; } + + /** + *

The custom capability attributes to require for instances in this fleet.

+ */ + inline void SetCustomAttributes(const Aws::Vector& value) { m_customAttributesHasBeenSet = true; m_customAttributes = value; } + + /** + *

The custom capability attributes to require for instances in this fleet.

+ */ + inline void SetCustomAttributes(Aws::Vector&& value) { m_customAttributesHasBeenSet = true; m_customAttributes = std::move(value); } + + /** + *

The custom capability attributes to require for instances in this fleet.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithCustomAttributes(const Aws::Vector& value) { SetCustomAttributes(value); return *this;} + + /** + *

The custom capability attributes to require for instances in this fleet.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithCustomAttributes(Aws::Vector&& value) { SetCustomAttributes(std::move(value)); return *this;} + + /** + *

The custom capability attributes to require for instances in this fleet.

+ */ + inline ServiceManagedEc2InstanceCapabilities& AddCustomAttributes(const FleetAttributeCapability& value) { m_customAttributesHasBeenSet = true; m_customAttributes.push_back(value); return *this; } + + /** + *

The custom capability attributes to require for instances in this fleet.

+ */ + inline ServiceManagedEc2InstanceCapabilities& AddCustomAttributes(FleetAttributeCapability&& value) { m_customAttributesHasBeenSet = true; m_customAttributes.push_back(std::move(value)); return *this; } + + + /** + *

The instance types to exclude from the fleet.

+ */ + inline const Aws::Vector& GetExcludedInstanceTypes() const{ return m_excludedInstanceTypes; } + + /** + *

The instance types to exclude from the fleet.

+ */ + inline bool ExcludedInstanceTypesHasBeenSet() const { return m_excludedInstanceTypesHasBeenSet; } + + /** + *

The instance types to exclude from the fleet.

+ */ + inline void SetExcludedInstanceTypes(const Aws::Vector& value) { m_excludedInstanceTypesHasBeenSet = true; m_excludedInstanceTypes = value; } + + /** + *

The instance types to exclude from the fleet.

+ */ + inline void SetExcludedInstanceTypes(Aws::Vector&& value) { m_excludedInstanceTypesHasBeenSet = true; m_excludedInstanceTypes = std::move(value); } + + /** + *

The instance types to exclude from the fleet.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithExcludedInstanceTypes(const Aws::Vector& value) { SetExcludedInstanceTypes(value); return *this;} + + /** + *

The instance types to exclude from the fleet.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithExcludedInstanceTypes(Aws::Vector&& value) { SetExcludedInstanceTypes(std::move(value)); return *this;} + + /** + *

The instance types to exclude from the fleet.

+ */ + inline ServiceManagedEc2InstanceCapabilities& AddExcludedInstanceTypes(const Aws::String& value) { m_excludedInstanceTypesHasBeenSet = true; m_excludedInstanceTypes.push_back(value); return *this; } + + /** + *

The instance types to exclude from the fleet.

+ */ + inline ServiceManagedEc2InstanceCapabilities& AddExcludedInstanceTypes(Aws::String&& value) { m_excludedInstanceTypesHasBeenSet = true; m_excludedInstanceTypes.push_back(std::move(value)); return *this; } + + /** + *

The instance types to exclude from the fleet.

+ */ + inline ServiceManagedEc2InstanceCapabilities& AddExcludedInstanceTypes(const char* value) { m_excludedInstanceTypesHasBeenSet = true; m_excludedInstanceTypes.push_back(value); return *this; } + + + /** + *

The memory, as MiB, for the Amazon EC2 instance type.

+ */ + inline const MemoryMiBRange& GetMemoryMiB() const{ return m_memoryMiB; } + + /** + *

The memory, as MiB, for the Amazon EC2 instance type.

+ */ + inline bool MemoryMiBHasBeenSet() const { return m_memoryMiBHasBeenSet; } + + /** + *

The memory, as MiB, for the Amazon EC2 instance type.

+ */ + inline void SetMemoryMiB(const MemoryMiBRange& value) { m_memoryMiBHasBeenSet = true; m_memoryMiB = value; } + + /** + *

The memory, as MiB, for the Amazon EC2 instance type.

+ */ + inline void SetMemoryMiB(MemoryMiBRange&& value) { m_memoryMiBHasBeenSet = true; m_memoryMiB = std::move(value); } + + /** + *

The memory, as MiB, for the Amazon EC2 instance type.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithMemoryMiB(const MemoryMiBRange& value) { SetMemoryMiB(value); return *this;} + + /** + *

The memory, as MiB, for the Amazon EC2 instance type.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithMemoryMiB(MemoryMiBRange&& value) { SetMemoryMiB(std::move(value)); return *this;} + + + /** + *

The operating system (OS) family.

+ */ + inline const ServiceManagedFleetOperatingSystemFamily& GetOsFamily() const{ return m_osFamily; } + + /** + *

The operating system (OS) family.

+ */ + inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; } + + /** + *

The operating system (OS) family.

+ */ + inline void SetOsFamily(const ServiceManagedFleetOperatingSystemFamily& value) { m_osFamilyHasBeenSet = true; m_osFamily = value; } + + /** + *

The operating system (OS) family.

+ */ + inline void SetOsFamily(ServiceManagedFleetOperatingSystemFamily&& value) { m_osFamilyHasBeenSet = true; m_osFamily = std::move(value); } + + /** + *

The operating system (OS) family.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithOsFamily(const ServiceManagedFleetOperatingSystemFamily& value) { SetOsFamily(value); return *this;} + + /** + *

The operating system (OS) family.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithOsFamily(ServiceManagedFleetOperatingSystemFamily&& value) { SetOsFamily(std::move(value)); return *this;} + + + /** + *

The root EBS volume.

+ */ + inline const Ec2EbsVolume& GetRootEbsVolume() const{ return m_rootEbsVolume; } + + /** + *

The root EBS volume.

+ */ + inline bool RootEbsVolumeHasBeenSet() const { return m_rootEbsVolumeHasBeenSet; } + + /** + *

The root EBS volume.

+ */ + inline void SetRootEbsVolume(const Ec2EbsVolume& value) { m_rootEbsVolumeHasBeenSet = true; m_rootEbsVolume = value; } + + /** + *

The root EBS volume.

+ */ + inline void SetRootEbsVolume(Ec2EbsVolume&& value) { m_rootEbsVolumeHasBeenSet = true; m_rootEbsVolume = std::move(value); } + + /** + *

The root EBS volume.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithRootEbsVolume(const Ec2EbsVolume& value) { SetRootEbsVolume(value); return *this;} + + /** + *

The root EBS volume.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithRootEbsVolume(Ec2EbsVolume&& value) { SetRootEbsVolume(std::move(value)); return *this;} + + + /** + *

The amount of vCPU to require for instances in this fleet.

+ */ + inline const VCpuCountRange& GetVCpuCount() const{ return m_vCpuCount; } + + /** + *

The amount of vCPU to require for instances in this fleet.

+ */ + inline bool VCpuCountHasBeenSet() const { return m_vCpuCountHasBeenSet; } + + /** + *

The amount of vCPU to require for instances in this fleet.

+ */ + inline void SetVCpuCount(const VCpuCountRange& value) { m_vCpuCountHasBeenSet = true; m_vCpuCount = value; } + + /** + *

The amount of vCPU to require for instances in this fleet.

+ */ + inline void SetVCpuCount(VCpuCountRange&& value) { m_vCpuCountHasBeenSet = true; m_vCpuCount = std::move(value); } + + /** + *

The amount of vCPU to require for instances in this fleet.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithVCpuCount(const VCpuCountRange& value) { SetVCpuCount(value); return *this;} + + /** + *

The amount of vCPU to require for instances in this fleet.

+ */ + inline ServiceManagedEc2InstanceCapabilities& WithVCpuCount(VCpuCountRange&& value) { SetVCpuCount(std::move(value)); return *this;} + + private: + + Aws::Vector m_allowedInstanceTypes; + bool m_allowedInstanceTypesHasBeenSet = false; + + CpuArchitectureType m_cpuArchitectureType; + bool m_cpuArchitectureTypeHasBeenSet = false; + + Aws::Vector m_customAmounts; + bool m_customAmountsHasBeenSet = false; + + Aws::Vector m_customAttributes; + bool m_customAttributesHasBeenSet = false; + + Aws::Vector m_excludedInstanceTypes; + bool m_excludedInstanceTypesHasBeenSet = false; + + MemoryMiBRange m_memoryMiB; + bool m_memoryMiBHasBeenSet = false; + + ServiceManagedFleetOperatingSystemFamily m_osFamily; + bool m_osFamilyHasBeenSet = false; + + Ec2EbsVolume m_rootEbsVolume; + bool m_rootEbsVolumeHasBeenSet = false; + + VCpuCountRange m_vCpuCount; + bool m_vCpuCountHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceManagedEc2InstanceMarketOptions.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceManagedEc2InstanceMarketOptions.h new file mode 100644 index 00000000000..08e49634189 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceManagedEc2InstanceMarketOptions.h @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of the Amazon EC2 instance market options for a service managed + * fleet.

See Also:

AWS + * API Reference

+ */ + class ServiceManagedEc2InstanceMarketOptions + { + public: + AWS_DEADLINE_API ServiceManagedEc2InstanceMarketOptions(); + AWS_DEADLINE_API ServiceManagedEc2InstanceMarketOptions(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API ServiceManagedEc2InstanceMarketOptions& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The Amazon EC2 instance type.

+ */ + inline const Ec2MarketType& GetType() const{ return m_type; } + + /** + *

The Amazon EC2 instance type.

+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *

The Amazon EC2 instance type.

+ */ + inline void SetType(const Ec2MarketType& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *

The Amazon EC2 instance type.

+ */ + inline void SetType(Ec2MarketType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *

The Amazon EC2 instance type.

+ */ + inline ServiceManagedEc2InstanceMarketOptions& WithType(const Ec2MarketType& value) { SetType(value); return *this;} + + /** + *

The Amazon EC2 instance type.

+ */ + inline ServiceManagedEc2InstanceMarketOptions& WithType(Ec2MarketType&& value) { SetType(std::move(value)); return *this;} + + private: + + Ec2MarketType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceManagedFleetOperatingSystemFamily.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceManagedFleetOperatingSystemFamily.h new file mode 100644 index 00000000000..641f344eabc --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceManagedFleetOperatingSystemFamily.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class ServiceManagedFleetOperatingSystemFamily + { + NOT_SET, + WINDOWS, + LINUX + }; + +namespace ServiceManagedFleetOperatingSystemFamilyMapper +{ +AWS_DEADLINE_API ServiceManagedFleetOperatingSystemFamily GetServiceManagedFleetOperatingSystemFamilyForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForServiceManagedFleetOperatingSystemFamily(ServiceManagedFleetOperatingSystemFamily value); +} // namespace ServiceManagedFleetOperatingSystemFamilyMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceQuotaExceededException.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceQuotaExceededException.h new file mode 100644 index 00000000000..a183e1d99b7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceQuotaExceededException.h @@ -0,0 +1,355 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

You exceeded your service quota. Service quotas, also referred to as limits, + * are the maximum number of service resources or operations for your Amazon Web + * Services account.

See Also:

AWS + * API Reference

+ */ + class ServiceQuotaExceededException + { + public: + AWS_DEADLINE_API ServiceQuotaExceededException(); + AWS_DEADLINE_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API ServiceQuotaExceededException& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline const Aws::Map& GetContext() const{ return m_context; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline void SetContext(const Aws::Map& value) { m_contextHasBeenSet = true; m_context = value; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline void SetContext(Aws::Map&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ServiceQuotaExceededException& WithContext(const Aws::Map& value) { SetContext(value); return *this;} + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ServiceQuotaExceededException& WithContext(Aws::Map&& value) { SetContext(std::move(value)); return *this;} + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ServiceQuotaExceededException& AddContext(const Aws::String& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ServiceQuotaExceededException& AddContext(Aws::String&& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ServiceQuotaExceededException& AddContext(const Aws::String& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ServiceQuotaExceededException& AddContext(Aws::String&& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ServiceQuotaExceededException& AddContext(const char* key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ServiceQuotaExceededException& AddContext(Aws::String&& key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ServiceQuotaExceededException& AddContext(const char* key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + + + + inline const Aws::String& GetMessage() const{ return m_message; } + + + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + + + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + + + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + + + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + + + inline ServiceQuotaExceededException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + + + inline ServiceQuotaExceededException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + + + inline ServiceQuotaExceededException& WithMessage(const char* value) { SetMessage(value); return *this;} + + + /** + *

Identifies the quota that has been exceeded.

+ */ + inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; } + + /** + *

Identifies the quota that has been exceeded.

+ */ + inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } + + /** + *

Identifies the quota that has been exceeded.

+ */ + inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; } + + /** + *

Identifies the quota that has been exceeded.

+ */ + inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); } + + /** + *

Identifies the quota that has been exceeded.

+ */ + inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); } + + /** + *

Identifies the quota that has been exceeded.

+ */ + inline ServiceQuotaExceededException& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;} + + /** + *

Identifies the quota that has been exceeded.

+ */ + inline ServiceQuotaExceededException& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;} + + /** + *

Identifies the quota that has been exceeded.

+ */ + inline ServiceQuotaExceededException& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;} + + + /** + *

A string that describes the reason the quota was exceeded.

+ */ + inline const ServiceQuotaExceededExceptionReason& GetReason() const{ return m_reason; } + + /** + *

A string that describes the reason the quota was exceeded.

+ */ + inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } + + /** + *

A string that describes the reason the quota was exceeded.

+ */ + inline void SetReason(const ServiceQuotaExceededExceptionReason& value) { m_reasonHasBeenSet = true; m_reason = value; } + + /** + *

A string that describes the reason the quota was exceeded.

+ */ + inline void SetReason(ServiceQuotaExceededExceptionReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } + + /** + *

A string that describes the reason the quota was exceeded.

+ */ + inline ServiceQuotaExceededException& WithReason(const ServiceQuotaExceededExceptionReason& value) { SetReason(value); return *this;} + + /** + *

A string that describes the reason the quota was exceeded.

+ */ + inline ServiceQuotaExceededException& WithReason(ServiceQuotaExceededExceptionReason&& value) { SetReason(std::move(value)); return *this;} + + + /** + *

The identifier of the affected resource.

+ */ + inline const Aws::String& GetResourceId() const{ return m_resourceId; } + + /** + *

The identifier of the affected resource.

+ */ + inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } + + /** + *

The identifier of the affected resource.

+ */ + inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } + + /** + *

The identifier of the affected resource.

+ */ + inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } + + /** + *

The identifier of the affected resource.

+ */ + inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } + + /** + *

The identifier of the affected resource.

+ */ + inline ServiceQuotaExceededException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} + + /** + *

The identifier of the affected resource.

+ */ + inline ServiceQuotaExceededException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} + + /** + *

The identifier of the affected resource.

+ */ + inline ServiceQuotaExceededException& WithResourceId(const char* value) { SetResourceId(value); return *this;} + + + /** + *

The type of the affected resource

+ */ + inline const Aws::String& GetResourceType() const{ return m_resourceType; } + + /** + *

The type of the affected resource

+ */ + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + + /** + *

The type of the affected resource

+ */ + inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + + /** + *

The type of the affected resource

+ */ + inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + + /** + *

The type of the affected resource

+ */ + inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } + + /** + *

The type of the affected resource

+ */ + inline ServiceQuotaExceededException& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} + + /** + *

The type of the affected resource

+ */ + inline ServiceQuotaExceededException& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} + + /** + *

The type of the affected resource

+ */ + inline ServiceQuotaExceededException& WithResourceType(const char* value) { SetResourceType(value); return *this;} + + + /** + *

Identifies the service that exceeded the quota.

+ */ + inline const Aws::String& GetServiceCode() const{ return m_serviceCode; } + + /** + *

Identifies the service that exceeded the quota.

+ */ + inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } + + /** + *

Identifies the service that exceeded the quota.

+ */ + inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; } + + /** + *

Identifies the service that exceeded the quota.

+ */ + inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); } + + /** + *

Identifies the service that exceeded the quota.

+ */ + inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); } + + /** + *

Identifies the service that exceeded the quota.

+ */ + inline ServiceQuotaExceededException& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;} + + /** + *

Identifies the service that exceeded the quota.

+ */ + inline ServiceQuotaExceededException& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} + + /** + *

Identifies the service that exceeded the quota.

+ */ + inline ServiceQuotaExceededException& WithServiceCode(const char* value) { SetServiceCode(value); return *this;} + + private: + + Aws::Map m_context; + bool m_contextHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + Aws::String m_quotaCode; + bool m_quotaCodeHasBeenSet = false; + + ServiceQuotaExceededExceptionReason m_reason; + bool m_reasonHasBeenSet = false; + + Aws::String m_resourceId; + bool m_resourceIdHasBeenSet = false; + + Aws::String m_resourceType; + bool m_resourceTypeHasBeenSet = false; + + Aws::String m_serviceCode; + bool m_serviceCodeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceQuotaExceededExceptionReason.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceQuotaExceededExceptionReason.h new file mode 100644 index 00000000000..b23289ee757 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ServiceQuotaExceededExceptionReason.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class ServiceQuotaExceededExceptionReason + { + NOT_SET, + SERVICE_QUOTA_EXCEEDED_EXCEPTION, + KMS_KEY_LIMIT_EXCEEDED + }; + +namespace ServiceQuotaExceededExceptionReasonMapper +{ +AWS_DEADLINE_API ServiceQuotaExceededExceptionReason GetServiceQuotaExceededExceptionReasonForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForServiceQuotaExceededExceptionReason(ServiceQuotaExceededExceptionReason value); +} // namespace ServiceQuotaExceededExceptionReasonMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionActionDefinition.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionActionDefinition.h new file mode 100644 index 00000000000..eb8fe92f27a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionActionDefinition.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The definition of the session action.

See Also:

AWS + * API Reference

+ */ + class SessionActionDefinition + { + public: + AWS_DEADLINE_API SessionActionDefinition(); + AWS_DEADLINE_API SessionActionDefinition(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API SessionActionDefinition& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The environment to enter into.

+ */ + inline const EnvironmentEnterSessionActionDefinition& GetEnvEnter() const{ return m_envEnter; } + + /** + *

The environment to enter into.

+ */ + inline bool EnvEnterHasBeenSet() const { return m_envEnterHasBeenSet; } + + /** + *

The environment to enter into.

+ */ + inline void SetEnvEnter(const EnvironmentEnterSessionActionDefinition& value) { m_envEnterHasBeenSet = true; m_envEnter = value; } + + /** + *

The environment to enter into.

+ */ + inline void SetEnvEnter(EnvironmentEnterSessionActionDefinition&& value) { m_envEnterHasBeenSet = true; m_envEnter = std::move(value); } + + /** + *

The environment to enter into.

+ */ + inline SessionActionDefinition& WithEnvEnter(const EnvironmentEnterSessionActionDefinition& value) { SetEnvEnter(value); return *this;} + + /** + *

The environment to enter into.

+ */ + inline SessionActionDefinition& WithEnvEnter(EnvironmentEnterSessionActionDefinition&& value) { SetEnvEnter(std::move(value)); return *this;} + + + /** + *

The environment to exit from.

+ */ + inline const EnvironmentExitSessionActionDefinition& GetEnvExit() const{ return m_envExit; } + + /** + *

The environment to exit from.

+ */ + inline bool EnvExitHasBeenSet() const { return m_envExitHasBeenSet; } + + /** + *

The environment to exit from.

+ */ + inline void SetEnvExit(const EnvironmentExitSessionActionDefinition& value) { m_envExitHasBeenSet = true; m_envExit = value; } + + /** + *

The environment to exit from.

+ */ + inline void SetEnvExit(EnvironmentExitSessionActionDefinition&& value) { m_envExitHasBeenSet = true; m_envExit = std::move(value); } + + /** + *

The environment to exit from.

+ */ + inline SessionActionDefinition& WithEnvExit(const EnvironmentExitSessionActionDefinition& value) { SetEnvExit(value); return *this;} + + /** + *

The environment to exit from.

+ */ + inline SessionActionDefinition& WithEnvExit(EnvironmentExitSessionActionDefinition&& value) { SetEnvExit(std::move(value)); return *this;} + + + /** + *

The job attachments to sync with a session action.

+ */ + inline const SyncInputJobAttachmentsSessionActionDefinition& GetSyncInputJobAttachments() const{ return m_syncInputJobAttachments; } + + /** + *

The job attachments to sync with a session action.

+ */ + inline bool SyncInputJobAttachmentsHasBeenSet() const { return m_syncInputJobAttachmentsHasBeenSet; } + + /** + *

The job attachments to sync with a session action.

+ */ + inline void SetSyncInputJobAttachments(const SyncInputJobAttachmentsSessionActionDefinition& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = value; } + + /** + *

The job attachments to sync with a session action.

+ */ + inline void SetSyncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinition&& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = std::move(value); } + + /** + *

The job attachments to sync with a session action.

+ */ + inline SessionActionDefinition& WithSyncInputJobAttachments(const SyncInputJobAttachmentsSessionActionDefinition& value) { SetSyncInputJobAttachments(value); return *this;} + + /** + *

The job attachments to sync with a session action.

+ */ + inline SessionActionDefinition& WithSyncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinition&& value) { SetSyncInputJobAttachments(std::move(value)); return *this;} + + + /** + *

The task run in the session.

+ */ + inline const TaskRunSessionActionDefinition& GetTaskRun() const{ return m_taskRun; } + + /** + *

The task run in the session.

+ */ + inline bool TaskRunHasBeenSet() const { return m_taskRunHasBeenSet; } + + /** + *

The task run in the session.

+ */ + inline void SetTaskRun(const TaskRunSessionActionDefinition& value) { m_taskRunHasBeenSet = true; m_taskRun = value; } + + /** + *

The task run in the session.

+ */ + inline void SetTaskRun(TaskRunSessionActionDefinition&& value) { m_taskRunHasBeenSet = true; m_taskRun = std::move(value); } + + /** + *

The task run in the session.

+ */ + inline SessionActionDefinition& WithTaskRun(const TaskRunSessionActionDefinition& value) { SetTaskRun(value); return *this;} + + /** + *

The task run in the session.

+ */ + inline SessionActionDefinition& WithTaskRun(TaskRunSessionActionDefinition&& value) { SetTaskRun(std::move(value)); return *this;} + + private: + + EnvironmentEnterSessionActionDefinition m_envEnter; + bool m_envEnterHasBeenSet = false; + + EnvironmentExitSessionActionDefinition m_envExit; + bool m_envExitHasBeenSet = false; + + SyncInputJobAttachmentsSessionActionDefinition m_syncInputJobAttachments; + bool m_syncInputJobAttachmentsHasBeenSet = false; + + TaskRunSessionActionDefinition m_taskRun; + bool m_taskRunHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionActionDefinitionSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionActionDefinitionSummary.h new file mode 100644 index 00000000000..6d4f4b2d565 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionActionDefinitionSummary.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a session action definition.

See Also:

AWS + * API Reference

+ */ + class SessionActionDefinitionSummary + { + public: + AWS_DEADLINE_API SessionActionDefinitionSummary(); + AWS_DEADLINE_API SessionActionDefinitionSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API SessionActionDefinitionSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The environment to enter into.

+ */ + inline const EnvironmentEnterSessionActionDefinitionSummary& GetEnvEnter() const{ return m_envEnter; } + + /** + *

The environment to enter into.

+ */ + inline bool EnvEnterHasBeenSet() const { return m_envEnterHasBeenSet; } + + /** + *

The environment to enter into.

+ */ + inline void SetEnvEnter(const EnvironmentEnterSessionActionDefinitionSummary& value) { m_envEnterHasBeenSet = true; m_envEnter = value; } + + /** + *

The environment to enter into.

+ */ + inline void SetEnvEnter(EnvironmentEnterSessionActionDefinitionSummary&& value) { m_envEnterHasBeenSet = true; m_envEnter = std::move(value); } + + /** + *

The environment to enter into.

+ */ + inline SessionActionDefinitionSummary& WithEnvEnter(const EnvironmentEnterSessionActionDefinitionSummary& value) { SetEnvEnter(value); return *this;} + + /** + *

The environment to enter into.

+ */ + inline SessionActionDefinitionSummary& WithEnvEnter(EnvironmentEnterSessionActionDefinitionSummary&& value) { SetEnvEnter(std::move(value)); return *this;} + + + /** + *

The environment to exit from.

+ */ + inline const EnvironmentExitSessionActionDefinitionSummary& GetEnvExit() const{ return m_envExit; } + + /** + *

The environment to exit from.

+ */ + inline bool EnvExitHasBeenSet() const { return m_envExitHasBeenSet; } + + /** + *

The environment to exit from.

+ */ + inline void SetEnvExit(const EnvironmentExitSessionActionDefinitionSummary& value) { m_envExitHasBeenSet = true; m_envExit = value; } + + /** + *

The environment to exit from.

+ */ + inline void SetEnvExit(EnvironmentExitSessionActionDefinitionSummary&& value) { m_envExitHasBeenSet = true; m_envExit = std::move(value); } + + /** + *

The environment to exit from.

+ */ + inline SessionActionDefinitionSummary& WithEnvExit(const EnvironmentExitSessionActionDefinitionSummary& value) { SetEnvExit(value); return *this;} + + /** + *

The environment to exit from.

+ */ + inline SessionActionDefinitionSummary& WithEnvExit(EnvironmentExitSessionActionDefinitionSummary&& value) { SetEnvExit(std::move(value)); return *this;} + + + /** + *

The job attachments to sync with the session action definition.

+ */ + inline const SyncInputJobAttachmentsSessionActionDefinitionSummary& GetSyncInputJobAttachments() const{ return m_syncInputJobAttachments; } + + /** + *

The job attachments to sync with the session action definition.

+ */ + inline bool SyncInputJobAttachmentsHasBeenSet() const { return m_syncInputJobAttachmentsHasBeenSet; } + + /** + *

The job attachments to sync with the session action definition.

+ */ + inline void SetSyncInputJobAttachments(const SyncInputJobAttachmentsSessionActionDefinitionSummary& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = value; } + + /** + *

The job attachments to sync with the session action definition.

+ */ + inline void SetSyncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinitionSummary&& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = std::move(value); } + + /** + *

The job attachments to sync with the session action definition.

+ */ + inline SessionActionDefinitionSummary& WithSyncInputJobAttachments(const SyncInputJobAttachmentsSessionActionDefinitionSummary& value) { SetSyncInputJobAttachments(value); return *this;} + + /** + *

The job attachments to sync with the session action definition.

+ */ + inline SessionActionDefinitionSummary& WithSyncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinitionSummary&& value) { SetSyncInputJobAttachments(std::move(value)); return *this;} + + + /** + *

The task run.

+ */ + inline const TaskRunSessionActionDefinitionSummary& GetTaskRun() const{ return m_taskRun; } + + /** + *

The task run.

+ */ + inline bool TaskRunHasBeenSet() const { return m_taskRunHasBeenSet; } + + /** + *

The task run.

+ */ + inline void SetTaskRun(const TaskRunSessionActionDefinitionSummary& value) { m_taskRunHasBeenSet = true; m_taskRun = value; } + + /** + *

The task run.

+ */ + inline void SetTaskRun(TaskRunSessionActionDefinitionSummary&& value) { m_taskRunHasBeenSet = true; m_taskRun = std::move(value); } + + /** + *

The task run.

+ */ + inline SessionActionDefinitionSummary& WithTaskRun(const TaskRunSessionActionDefinitionSummary& value) { SetTaskRun(value); return *this;} + + /** + *

The task run.

+ */ + inline SessionActionDefinitionSummary& WithTaskRun(TaskRunSessionActionDefinitionSummary&& value) { SetTaskRun(std::move(value)); return *this;} + + private: + + EnvironmentEnterSessionActionDefinitionSummary m_envEnter; + bool m_envEnterHasBeenSet = false; + + EnvironmentExitSessionActionDefinitionSummary m_envExit; + bool m_envExitHasBeenSet = false; + + SyncInputJobAttachmentsSessionActionDefinitionSummary m_syncInputJobAttachments; + bool m_syncInputJobAttachmentsHasBeenSet = false; + + TaskRunSessionActionDefinitionSummary m_taskRun; + bool m_taskRunHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionActionStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionActionStatus.h new file mode 100644 index 00000000000..2ac76d08bfd --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionActionStatus.h @@ -0,0 +1,40 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class SessionActionStatus + { + NOT_SET, + ASSIGNED, + RUNNING, + CANCELING, + SUCCEEDED, + FAILED, + INTERRUPTED, + CANCELED, + NEVER_ATTEMPTED, + SCHEDULED, + RECLAIMING, + RECLAIMED + }; + +namespace SessionActionStatusMapper +{ +AWS_DEADLINE_API SessionActionStatus GetSessionActionStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForSessionActionStatus(SessionActionStatus value); +} // namespace SessionActionStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionActionSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionActionSummary.h new file mode 100644 index 00000000000..f6f5188778a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionActionSummary.h @@ -0,0 +1,291 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a session action.

See Also:

AWS + * API Reference

+ */ + class SessionActionSummary + { + public: + AWS_DEADLINE_API SessionActionSummary(); + AWS_DEADLINE_API SessionActionSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API SessionActionSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The session action definition.

+ */ + inline const SessionActionDefinitionSummary& GetDefinition() const{ return m_definition; } + + /** + *

The session action definition.

+ */ + inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; } + + /** + *

The session action definition.

+ */ + inline void SetDefinition(const SessionActionDefinitionSummary& value) { m_definitionHasBeenSet = true; m_definition = value; } + + /** + *

The session action definition.

+ */ + inline void SetDefinition(SessionActionDefinitionSummary&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); } + + /** + *

The session action definition.

+ */ + inline SessionActionSummary& WithDefinition(const SessionActionDefinitionSummary& value) { SetDefinition(value); return *this;} + + /** + *

The session action definition.

+ */ + inline SessionActionSummary& WithDefinition(SessionActionDefinitionSummary&& value) { SetDefinition(std::move(value)); return *this;} + + + /** + *

The date and time the resource ended running.

+ */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + + /** + *

The date and time the resource ended running.

+ */ + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + + /** + *

The date and time the resource ended running.

+ */ + inline SessionActionSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + + /** + *

The date and time the resource ended running.

+ */ + inline SessionActionSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + + + /** + *

The completion percentage for the session action.

+ */ + inline double GetProgressPercent() const{ return m_progressPercent; } + + /** + *

The completion percentage for the session action.

+ */ + inline bool ProgressPercentHasBeenSet() const { return m_progressPercentHasBeenSet; } + + /** + *

The completion percentage for the session action.

+ */ + inline void SetProgressPercent(double value) { m_progressPercentHasBeenSet = true; m_progressPercent = value; } + + /** + *

The completion percentage for the session action.

+ */ + inline SessionActionSummary& WithProgressPercent(double value) { SetProgressPercent(value); return *this;} + + + /** + *

The session action ID.

+ */ + inline const Aws::String& GetSessionActionId() const{ return m_sessionActionId; } + + /** + *

The session action ID.

+ */ + inline bool SessionActionIdHasBeenSet() const { return m_sessionActionIdHasBeenSet; } + + /** + *

The session action ID.

+ */ + inline void SetSessionActionId(const Aws::String& value) { m_sessionActionIdHasBeenSet = true; m_sessionActionId = value; } + + /** + *

The session action ID.

+ */ + inline void SetSessionActionId(Aws::String&& value) { m_sessionActionIdHasBeenSet = true; m_sessionActionId = std::move(value); } + + /** + *

The session action ID.

+ */ + inline void SetSessionActionId(const char* value) { m_sessionActionIdHasBeenSet = true; m_sessionActionId.assign(value); } + + /** + *

The session action ID.

+ */ + inline SessionActionSummary& WithSessionActionId(const Aws::String& value) { SetSessionActionId(value); return *this;} + + /** + *

The session action ID.

+ */ + inline SessionActionSummary& WithSessionActionId(Aws::String&& value) { SetSessionActionId(std::move(value)); return *this;} + + /** + *

The session action ID.

+ */ + inline SessionActionSummary& WithSessionActionId(const char* value) { SetSessionActionId(value); return *this;} + + + /** + *

The date and time the resource started running.

+ */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + + /** + *

The date and time the resource started running.

+ */ + inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } + + /** + *

The date and time the resource started running.

+ */ + inline SessionActionSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + + /** + *

The date and time the resource started running.

+ */ + inline SessionActionSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + + + /** + *

The status of the session action.

+ */ + inline const SessionActionStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the session action.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The status of the session action.

+ */ + inline void SetStatus(const SessionActionStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The status of the session action.

+ */ + inline void SetStatus(SessionActionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The status of the session action.

+ */ + inline SessionActionSummary& WithStatus(const SessionActionStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the session action.

+ */ + inline SessionActionSummary& WithStatus(SessionActionStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The Linux timestamp of the last date and time that the session action was + * updated.

+ */ + inline const Aws::Utils::DateTime& GetWorkerUpdatedAt() const{ return m_workerUpdatedAt; } + + /** + *

The Linux timestamp of the last date and time that the session action was + * updated.

+ */ + inline bool WorkerUpdatedAtHasBeenSet() const { return m_workerUpdatedAtHasBeenSet; } + + /** + *

The Linux timestamp of the last date and time that the session action was + * updated.

+ */ + inline void SetWorkerUpdatedAt(const Aws::Utils::DateTime& value) { m_workerUpdatedAtHasBeenSet = true; m_workerUpdatedAt = value; } + + /** + *

The Linux timestamp of the last date and time that the session action was + * updated.

+ */ + inline void SetWorkerUpdatedAt(Aws::Utils::DateTime&& value) { m_workerUpdatedAtHasBeenSet = true; m_workerUpdatedAt = std::move(value); } + + /** + *

The Linux timestamp of the last date and time that the session action was + * updated.

+ */ + inline SessionActionSummary& WithWorkerUpdatedAt(const Aws::Utils::DateTime& value) { SetWorkerUpdatedAt(value); return *this;} + + /** + *

The Linux timestamp of the last date and time that the session action was + * updated.

+ */ + inline SessionActionSummary& WithWorkerUpdatedAt(Aws::Utils::DateTime&& value) { SetWorkerUpdatedAt(std::move(value)); return *this;} + + private: + + SessionActionDefinitionSummary m_definition; + bool m_definitionHasBeenSet = false; + + Aws::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = false; + + double m_progressPercent; + bool m_progressPercentHasBeenSet = false; + + Aws::String m_sessionActionId; + bool m_sessionActionIdHasBeenSet = false; + + Aws::Utils::DateTime m_startedAt; + bool m_startedAtHasBeenSet = false; + + SessionActionStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::Utils::DateTime m_workerUpdatedAt; + bool m_workerUpdatedAtHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionLifecycleStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionLifecycleStatus.h new file mode 100644 index 00000000000..8c0ad4744b3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionLifecycleStatus.h @@ -0,0 +1,34 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class SessionLifecycleStatus + { + NOT_SET, + STARTED, + UPDATE_IN_PROGRESS, + UPDATE_SUCCEEDED, + UPDATE_FAILED, + ENDED + }; + +namespace SessionLifecycleStatusMapper +{ +AWS_DEADLINE_API SessionLifecycleStatus GetSessionLifecycleStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForSessionLifecycleStatus(SessionLifecycleStatus value); +} // namespace SessionLifecycleStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionLifecycleTargetStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionLifecycleTargetStatus.h new file mode 100644 index 00000000000..0c010318e93 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionLifecycleTargetStatus.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class SessionLifecycleTargetStatus + { + NOT_SET, + ENDED + }; + +namespace SessionLifecycleTargetStatusMapper +{ +AWS_DEADLINE_API SessionLifecycleTargetStatus GetSessionLifecycleTargetStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForSessionLifecycleTargetStatus(SessionLifecycleTargetStatus value); +} // namespace SessionLifecycleTargetStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionSummary.h new file mode 100644 index 00000000000..c69c7dded39 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionSummary.h @@ -0,0 +1,393 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The summary of a session.

See Also:

AWS + * API Reference

+ */ + class SessionSummary + { + public: + AWS_DEADLINE_API SessionSummary(); + AWS_DEADLINE_API SessionSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API SessionSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The date and time the resource ended running.

+ */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + + /** + *

The date and time the resource ended running.

+ */ + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + + /** + *

The date and time the resource ended running.

+ */ + inline SessionSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + + /** + *

The date and time the resource ended running.

+ */ + inline SessionSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + + + /** + *

The fleet ID.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID.

+ */ + inline SessionSummary& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID.

+ */ + inline SessionSummary& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID.

+ */ + inline SessionSummary& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The life cycle status for the session.

+ */ + inline const SessionLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } + + /** + *

The life cycle status for the session.

+ */ + inline bool LifecycleStatusHasBeenSet() const { return m_lifecycleStatusHasBeenSet; } + + /** + *

The life cycle status for the session.

+ */ + inline void SetLifecycleStatus(const SessionLifecycleStatus& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = value; } + + /** + *

The life cycle status for the session.

+ */ + inline void SetLifecycleStatus(SessionLifecycleStatus&& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = std::move(value); } + + /** + *

The life cycle status for the session.

+ */ + inline SessionSummary& WithLifecycleStatus(const SessionLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} + + /** + *

The life cycle status for the session.

+ */ + inline SessionSummary& WithLifecycleStatus(SessionLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} + + + /** + *

The session ID.

+ */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + + /** + *

The session ID.

+ */ + inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } + + /** + *

The session ID.

+ */ + inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } + + /** + *

The session ID.

+ */ + inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } + + /** + *

The session ID.

+ */ + inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } + + /** + *

The session ID.

+ */ + inline SessionSummary& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + + /** + *

The session ID.

+ */ + inline SessionSummary& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + + /** + *

The session ID.

+ */ + inline SessionSummary& WithSessionId(const char* value) { SetSessionId(value); return *this;} + + + /** + *

The date and time the resource started running.

+ */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + + /** + *

The date and time the resource started running.

+ */ + inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } + + /** + *

The date and time the resource started running.

+ */ + inline SessionSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + + /** + *

The date and time the resource started running.

+ */ + inline SessionSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + + + /** + *

The target life cycle status for the session.

+ */ + inline const SessionLifecycleTargetStatus& GetTargetLifecycleStatus() const{ return m_targetLifecycleStatus; } + + /** + *

The target life cycle status for the session.

+ */ + inline bool TargetLifecycleStatusHasBeenSet() const { return m_targetLifecycleStatusHasBeenSet; } + + /** + *

The target life cycle status for the session.

+ */ + inline void SetTargetLifecycleStatus(const SessionLifecycleTargetStatus& value) { m_targetLifecycleStatusHasBeenSet = true; m_targetLifecycleStatus = value; } + + /** + *

The target life cycle status for the session.

+ */ + inline void SetTargetLifecycleStatus(SessionLifecycleTargetStatus&& value) { m_targetLifecycleStatusHasBeenSet = true; m_targetLifecycleStatus = std::move(value); } + + /** + *

The target life cycle status for the session.

+ */ + inline SessionSummary& WithTargetLifecycleStatus(const SessionLifecycleTargetStatus& value) { SetTargetLifecycleStatus(value); return *this;} + + /** + *

The target life cycle status for the session.

+ */ + inline SessionSummary& WithTargetLifecycleStatus(SessionLifecycleTargetStatus&& value) { SetTargetLifecycleStatus(std::move(value)); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline SessionSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline SessionSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline SessionSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline SessionSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline SessionSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + /** + *

The worker ID.

+ */ + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + + /** + *

The worker ID.

+ */ + inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } + + /** + *

The worker ID.

+ */ + inline SessionSummary& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + + /** + *

The worker ID.

+ */ + inline SessionSummary& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + + /** + *

The worker ID.

+ */ + inline SessionSummary& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + + private: + + Aws::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + SessionLifecycleStatus m_lifecycleStatus; + bool m_lifecycleStatusHasBeenSet = false; + + Aws::String m_sessionId; + bool m_sessionIdHasBeenSet = false; + + Aws::Utils::DateTime m_startedAt; + bool m_startedAtHasBeenSet = false; + + SessionLifecycleTargetStatus m_targetLifecycleStatus; + bool m_targetLifecycleStatusHasBeenSet = false; + + Aws::Utils::DateTime m_updatedAt; + bool m_updatedAtHasBeenSet = false; + + Aws::String m_updatedBy; + bool m_updatedByHasBeenSet = false; + + Aws::String m_workerId; + bool m_workerIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionsStatisticsAggregationStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionsStatisticsAggregationStatus.h new file mode 100644 index 00000000000..afc5531f559 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionsStatisticsAggregationStatus.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class SessionsStatisticsAggregationStatus + { + NOT_SET, + IN_PROGRESS, + TIMEOUT, + FAILED, + COMPLETED + }; + +namespace SessionsStatisticsAggregationStatusMapper +{ +AWS_DEADLINE_API SessionsStatisticsAggregationStatus GetSessionsStatisticsAggregationStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForSessionsStatisticsAggregationStatus(SessionsStatisticsAggregationStatus value); +} // namespace SessionsStatisticsAggregationStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionsStatisticsResources.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionsStatisticsResources.h new file mode 100644 index 00000000000..0a4260cffd7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SessionsStatisticsResources.h @@ -0,0 +1,180 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Specifies the fleet IDs or queue IDs to return statistics. You can specify + * only fleet IDs or queue IDS, not both.

See Also:

AWS + * API Reference

+ */ + class SessionsStatisticsResources + { + public: + AWS_DEADLINE_API SessionsStatisticsResources(); + AWS_DEADLINE_API SessionsStatisticsResources(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API SessionsStatisticsResources& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

One to 10 fleet IDs that specify the fleets to return statistics for. If you + * specify the fleetIds field, you can't specify the + * queueIds field.

+ */ + inline const Aws::Vector& GetFleetIds() const{ return m_fleetIds; } + + /** + *

One to 10 fleet IDs that specify the fleets to return statistics for. If you + * specify the fleetIds field, you can't specify the + * queueIds field.

+ */ + inline bool FleetIdsHasBeenSet() const { return m_fleetIdsHasBeenSet; } + + /** + *

One to 10 fleet IDs that specify the fleets to return statistics for. If you + * specify the fleetIds field, you can't specify the + * queueIds field.

+ */ + inline void SetFleetIds(const Aws::Vector& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = value; } + + /** + *

One to 10 fleet IDs that specify the fleets to return statistics for. If you + * specify the fleetIds field, you can't specify the + * queueIds field.

+ */ + inline void SetFleetIds(Aws::Vector&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = std::move(value); } + + /** + *

One to 10 fleet IDs that specify the fleets to return statistics for. If you + * specify the fleetIds field, you can't specify the + * queueIds field.

+ */ + inline SessionsStatisticsResources& WithFleetIds(const Aws::Vector& value) { SetFleetIds(value); return *this;} + + /** + *

One to 10 fleet IDs that specify the fleets to return statistics for. If you + * specify the fleetIds field, you can't specify the + * queueIds field.

+ */ + inline SessionsStatisticsResources& WithFleetIds(Aws::Vector&& value) { SetFleetIds(std::move(value)); return *this;} + + /** + *

One to 10 fleet IDs that specify the fleets to return statistics for. If you + * specify the fleetIds field, you can't specify the + * queueIds field.

+ */ + inline SessionsStatisticsResources& AddFleetIds(const Aws::String& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; } + + /** + *

One to 10 fleet IDs that specify the fleets to return statistics for. If you + * specify the fleetIds field, you can't specify the + * queueIds field.

+ */ + inline SessionsStatisticsResources& AddFleetIds(Aws::String&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(std::move(value)); return *this; } + + /** + *

One to 10 fleet IDs that specify the fleets to return statistics for. If you + * specify the fleetIds field, you can't specify the + * queueIds field.

+ */ + inline SessionsStatisticsResources& AddFleetIds(const char* value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; } + + + /** + *

One to 10 queue IDs that specify the queues to return statistics for. If you + * specify the queueIds field, you can't specify the + * fleetIds field.

+ */ + inline const Aws::Vector& GetQueueIds() const{ return m_queueIds; } + + /** + *

One to 10 queue IDs that specify the queues to return statistics for. If you + * specify the queueIds field, you can't specify the + * fleetIds field.

+ */ + inline bool QueueIdsHasBeenSet() const { return m_queueIdsHasBeenSet; } + + /** + *

One to 10 queue IDs that specify the queues to return statistics for. If you + * specify the queueIds field, you can't specify the + * fleetIds field.

+ */ + inline void SetQueueIds(const Aws::Vector& value) { m_queueIdsHasBeenSet = true; m_queueIds = value; } + + /** + *

One to 10 queue IDs that specify the queues to return statistics for. If you + * specify the queueIds field, you can't specify the + * fleetIds field.

+ */ + inline void SetQueueIds(Aws::Vector&& value) { m_queueIdsHasBeenSet = true; m_queueIds = std::move(value); } + + /** + *

One to 10 queue IDs that specify the queues to return statistics for. If you + * specify the queueIds field, you can't specify the + * fleetIds field.

+ */ + inline SessionsStatisticsResources& WithQueueIds(const Aws::Vector& value) { SetQueueIds(value); return *this;} + + /** + *

One to 10 queue IDs that specify the queues to return statistics for. If you + * specify the queueIds field, you can't specify the + * fleetIds field.

+ */ + inline SessionsStatisticsResources& WithQueueIds(Aws::Vector&& value) { SetQueueIds(std::move(value)); return *this;} + + /** + *

One to 10 queue IDs that specify the queues to return statistics for. If you + * specify the queueIds field, you can't specify the + * fleetIds field.

+ */ + inline SessionsStatisticsResources& AddQueueIds(const Aws::String& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } + + /** + *

One to 10 queue IDs that specify the queues to return statistics for. If you + * specify the queueIds field, you can't specify the + * fleetIds field.

+ */ + inline SessionsStatisticsResources& AddQueueIds(Aws::String&& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(std::move(value)); return *this; } + + /** + *

One to 10 queue IDs that specify the queues to return statistics for. If you + * specify the queueIds field, you can't specify the + * fleetIds field.

+ */ + inline SessionsStatisticsResources& AddQueueIds(const char* value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } + + private: + + Aws::Vector m_fleetIds; + bool m_fleetIdsHasBeenSet = false; + + Aws::Vector m_queueIds; + bool m_queueIdsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SortOrder.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SortOrder.h new file mode 100644 index 00000000000..1397f189f61 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SortOrder.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class SortOrder + { + NOT_SET, + ASCENDING, + DESCENDING + }; + +namespace SortOrderMapper +{ +AWS_DEADLINE_API SortOrder GetSortOrderForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForSortOrder(SortOrder value); +} // namespace SortOrderMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StartSessionsStatisticsAggregationRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StartSessionsStatisticsAggregationRequest.h new file mode 100644 index 00000000000..cf2d6b7bdc5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StartSessionsStatisticsAggregationRequest.h @@ -0,0 +1,365 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class StartSessionsStatisticsAggregationRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API StartSessionsStatisticsAggregationRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "StartSessionsStatisticsAggregation"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The Linux timestamp of the date and time that the statistics end.

+ */ + inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } + + /** + *

The Linux timestamp of the date and time that the statistics end.

+ */ + inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } + + /** + *

The Linux timestamp of the date and time that the statistics end.

+ */ + inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } + + /** + *

The Linux timestamp of the date and time that the statistics end.

+ */ + inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } + + /** + *

The Linux timestamp of the date and time that the statistics end.

+ */ + inline StartSessionsStatisticsAggregationRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} + + /** + *

The Linux timestamp of the date and time that the statistics end.

+ */ + inline StartSessionsStatisticsAggregationRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} + + + /** + *

The identifier of the farm that contains queues or fleets to return + * statistics for.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The identifier of the farm that contains queues or fleets to return + * statistics for.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The identifier of the farm that contains queues or fleets to return + * statistics for.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The identifier of the farm that contains queues or fleets to return + * statistics for.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The identifier of the farm that contains queues or fleets to return + * statistics for.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The identifier of the farm that contains queues or fleets to return + * statistics for.

+ */ + inline StartSessionsStatisticsAggregationRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The identifier of the farm that contains queues or fleets to return + * statistics for.

+ */ + inline StartSessionsStatisticsAggregationRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The identifier of the farm that contains queues or fleets to return + * statistics for.

+ */ + inline StartSessionsStatisticsAggregationRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The field to use to group the statistics.

+ */ + inline const Aws::Vector& GetGroupBy() const{ return m_groupBy; } + + /** + *

The field to use to group the statistics.

+ */ + inline bool GroupByHasBeenSet() const { return m_groupByHasBeenSet; } + + /** + *

The field to use to group the statistics.

+ */ + inline void SetGroupBy(const Aws::Vector& value) { m_groupByHasBeenSet = true; m_groupBy = value; } + + /** + *

The field to use to group the statistics.

+ */ + inline void SetGroupBy(Aws::Vector&& value) { m_groupByHasBeenSet = true; m_groupBy = std::move(value); } + + /** + *

The field to use to group the statistics.

+ */ + inline StartSessionsStatisticsAggregationRequest& WithGroupBy(const Aws::Vector& value) { SetGroupBy(value); return *this;} + + /** + *

The field to use to group the statistics.

+ */ + inline StartSessionsStatisticsAggregationRequest& WithGroupBy(Aws::Vector&& value) { SetGroupBy(std::move(value)); return *this;} + + /** + *

The field to use to group the statistics.

+ */ + inline StartSessionsStatisticsAggregationRequest& AddGroupBy(const UsageGroupByField& value) { m_groupByHasBeenSet = true; m_groupBy.push_back(value); return *this; } + + /** + *

The field to use to group the statistics.

+ */ + inline StartSessionsStatisticsAggregationRequest& AddGroupBy(UsageGroupByField&& value) { m_groupByHasBeenSet = true; m_groupBy.push_back(std::move(value)); return *this; } + + + /** + *

The period to aggregate the statistics.

+ */ + inline const Period& GetPeriod() const{ return m_period; } + + /** + *

The period to aggregate the statistics.

+ */ + inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; } + + /** + *

The period to aggregate the statistics.

+ */ + inline void SetPeriod(const Period& value) { m_periodHasBeenSet = true; m_period = value; } + + /** + *

The period to aggregate the statistics.

+ */ + inline void SetPeriod(Period&& value) { m_periodHasBeenSet = true; m_period = std::move(value); } + + /** + *

The period to aggregate the statistics.

+ */ + inline StartSessionsStatisticsAggregationRequest& WithPeriod(const Period& value) { SetPeriod(value); return *this;} + + /** + *

The period to aggregate the statistics.

+ */ + inline StartSessionsStatisticsAggregationRequest& WithPeriod(Period&& value) { SetPeriod(std::move(value)); return *this;} + + + /** + *

A list of fleet IDs or queue IDs to gather statistics for.

+ */ + inline const SessionsStatisticsResources& GetResourceIds() const{ return m_resourceIds; } + + /** + *

A list of fleet IDs or queue IDs to gather statistics for.

+ */ + inline bool ResourceIdsHasBeenSet() const { return m_resourceIdsHasBeenSet; } + + /** + *

A list of fleet IDs or queue IDs to gather statistics for.

+ */ + inline void SetResourceIds(const SessionsStatisticsResources& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = value; } + + /** + *

A list of fleet IDs or queue IDs to gather statistics for.

+ */ + inline void SetResourceIds(SessionsStatisticsResources&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = std::move(value); } + + /** + *

A list of fleet IDs or queue IDs to gather statistics for.

+ */ + inline StartSessionsStatisticsAggregationRequest& WithResourceIds(const SessionsStatisticsResources& value) { SetResourceIds(value); return *this;} + + /** + *

A list of fleet IDs or queue IDs to gather statistics for.

+ */ + inline StartSessionsStatisticsAggregationRequest& WithResourceIds(SessionsStatisticsResources&& value) { SetResourceIds(std::move(value)); return *this;} + + + /** + *

The Linux timestamp of the date and time that the statistics start.

+ */ + inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } + + /** + *

The Linux timestamp of the date and time that the statistics start.

+ */ + inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } + + /** + *

The Linux timestamp of the date and time that the statistics start.

+ */ + inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } + + /** + *

The Linux timestamp of the date and time that the statistics start.

+ */ + inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } + + /** + *

The Linux timestamp of the date and time that the statistics start.

+ */ + inline StartSessionsStatisticsAggregationRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} + + /** + *

The Linux timestamp of the date and time that the statistics start.

+ */ + inline StartSessionsStatisticsAggregationRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} + + + /** + *

One to four statistics to return.

+ */ + inline const Aws::Vector& GetStatistics() const{ return m_statistics; } + + /** + *

One to four statistics to return.

+ */ + inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; } + + /** + *

One to four statistics to return.

+ */ + inline void SetStatistics(const Aws::Vector& value) { m_statisticsHasBeenSet = true; m_statistics = value; } + + /** + *

One to four statistics to return.

+ */ + inline void SetStatistics(Aws::Vector&& value) { m_statisticsHasBeenSet = true; m_statistics = std::move(value); } + + /** + *

One to four statistics to return.

+ */ + inline StartSessionsStatisticsAggregationRequest& WithStatistics(const Aws::Vector& value) { SetStatistics(value); return *this;} + + /** + *

One to four statistics to return.

+ */ + inline StartSessionsStatisticsAggregationRequest& WithStatistics(Aws::Vector&& value) { SetStatistics(std::move(value)); return *this;} + + /** + *

One to four statistics to return.

+ */ + inline StartSessionsStatisticsAggregationRequest& AddStatistics(const UsageStatistic& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(value); return *this; } + + /** + *

One to four statistics to return.

+ */ + inline StartSessionsStatisticsAggregationRequest& AddStatistics(UsageStatistic&& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(std::move(value)); return *this; } + + + /** + *

The timezone to use for the statistics. Use UTC notation such as "UTC+8."

+ */ + inline const Aws::String& GetTimezone() const{ return m_timezone; } + + /** + *

The timezone to use for the statistics. Use UTC notation such as "UTC+8."

+ */ + inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; } + + /** + *

The timezone to use for the statistics. Use UTC notation such as "UTC+8."

+ */ + inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; } + + /** + *

The timezone to use for the statistics. Use UTC notation such as "UTC+8."

+ */ + inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); } + + /** + *

The timezone to use for the statistics. Use UTC notation such as "UTC+8."

+ */ + inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); } + + /** + *

The timezone to use for the statistics. Use UTC notation such as "UTC+8."

+ */ + inline StartSessionsStatisticsAggregationRequest& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;} + + /** + *

The timezone to use for the statistics. Use UTC notation such as "UTC+8."

+ */ + inline StartSessionsStatisticsAggregationRequest& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;} + + /** + *

The timezone to use for the statistics. Use UTC notation such as "UTC+8."

+ */ + inline StartSessionsStatisticsAggregationRequest& WithTimezone(const char* value) { SetTimezone(value); return *this;} + + private: + + Aws::Utils::DateTime m_endTime; + bool m_endTimeHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::Vector m_groupBy; + bool m_groupByHasBeenSet = false; + + Period m_period; + bool m_periodHasBeenSet = false; + + SessionsStatisticsResources m_resourceIds; + bool m_resourceIdsHasBeenSet = false; + + Aws::Utils::DateTime m_startTime; + bool m_startTimeHasBeenSet = false; + + Aws::Vector m_statistics; + bool m_statisticsHasBeenSet = false; + + Aws::String m_timezone; + bool m_timezoneHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StartSessionsStatisticsAggregationResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StartSessionsStatisticsAggregationResult.h new file mode 100644 index 00000000000..f90204a22ee --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StartSessionsStatisticsAggregationResult.h @@ -0,0 +1,115 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class StartSessionsStatisticsAggregationResult + { + public: + AWS_DEADLINE_API StartSessionsStatisticsAggregationResult(); + AWS_DEADLINE_API StartSessionsStatisticsAggregationResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API StartSessionsStatisticsAggregationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

A unique identifier for the aggregated statistics. Use this identifier with + * the GetAggregatedStatisticsForSessions operation to return the + * statistics.

+ */ + inline const Aws::String& GetAggregationId() const{ return m_aggregationId; } + + /** + *

A unique identifier for the aggregated statistics. Use this identifier with + * the GetAggregatedStatisticsForSessions operation to return the + * statistics.

+ */ + inline void SetAggregationId(const Aws::String& value) { m_aggregationId = value; } + + /** + *

A unique identifier for the aggregated statistics. Use this identifier with + * the GetAggregatedStatisticsForSessions operation to return the + * statistics.

+ */ + inline void SetAggregationId(Aws::String&& value) { m_aggregationId = std::move(value); } + + /** + *

A unique identifier for the aggregated statistics. Use this identifier with + * the GetAggregatedStatisticsForSessions operation to return the + * statistics.

+ */ + inline void SetAggregationId(const char* value) { m_aggregationId.assign(value); } + + /** + *

A unique identifier for the aggregated statistics. Use this identifier with + * the GetAggregatedStatisticsForSessions operation to return the + * statistics.

+ */ + inline StartSessionsStatisticsAggregationResult& WithAggregationId(const Aws::String& value) { SetAggregationId(value); return *this;} + + /** + *

A unique identifier for the aggregated statistics. Use this identifier with + * the GetAggregatedStatisticsForSessions operation to return the + * statistics.

+ */ + inline StartSessionsStatisticsAggregationResult& WithAggregationId(Aws::String&& value) { SetAggregationId(std::move(value)); return *this;} + + /** + *

A unique identifier for the aggregated statistics. Use this identifier with + * the GetAggregatedStatisticsForSessions operation to return the + * statistics.

+ */ + inline StartSessionsStatisticsAggregationResult& WithAggregationId(const char* value) { SetAggregationId(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline StartSessionsStatisticsAggregationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline StartSessionsStatisticsAggregationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline StartSessionsStatisticsAggregationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_aggregationId; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Statistics.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Statistics.h new file mode 100644 index 00000000000..781408175c2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Statistics.h @@ -0,0 +1,555 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

A list of statistics for a session.

See Also:

AWS + * API Reference

+ */ + class Statistics + { + public: + AWS_DEADLINE_API Statistics(); + AWS_DEADLINE_API Statistics(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Statistics& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The end time for the aggregation.

+ */ + inline const Aws::Utils::DateTime& GetAggregationEndTime() const{ return m_aggregationEndTime; } + + /** + *

The end time for the aggregation.

+ */ + inline bool AggregationEndTimeHasBeenSet() const { return m_aggregationEndTimeHasBeenSet; } + + /** + *

The end time for the aggregation.

+ */ + inline void SetAggregationEndTime(const Aws::Utils::DateTime& value) { m_aggregationEndTimeHasBeenSet = true; m_aggregationEndTime = value; } + + /** + *

The end time for the aggregation.

+ */ + inline void SetAggregationEndTime(Aws::Utils::DateTime&& value) { m_aggregationEndTimeHasBeenSet = true; m_aggregationEndTime = std::move(value); } + + /** + *

The end time for the aggregation.

+ */ + inline Statistics& WithAggregationEndTime(const Aws::Utils::DateTime& value) { SetAggregationEndTime(value); return *this;} + + /** + *

The end time for the aggregation.

+ */ + inline Statistics& WithAggregationEndTime(Aws::Utils::DateTime&& value) { SetAggregationEndTime(std::move(value)); return *this;} + + + /** + *

The start time for the aggregation.

+ */ + inline const Aws::Utils::DateTime& GetAggregationStartTime() const{ return m_aggregationStartTime; } + + /** + *

The start time for the aggregation.

+ */ + inline bool AggregationStartTimeHasBeenSet() const { return m_aggregationStartTimeHasBeenSet; } + + /** + *

The start time for the aggregation.

+ */ + inline void SetAggregationStartTime(const Aws::Utils::DateTime& value) { m_aggregationStartTimeHasBeenSet = true; m_aggregationStartTime = value; } + + /** + *

The start time for the aggregation.

+ */ + inline void SetAggregationStartTime(Aws::Utils::DateTime&& value) { m_aggregationStartTimeHasBeenSet = true; m_aggregationStartTime = std::move(value); } + + /** + *

The start time for the aggregation.

+ */ + inline Statistics& WithAggregationStartTime(const Aws::Utils::DateTime& value) { SetAggregationStartTime(value); return *this;} + + /** + *

The start time for the aggregation.

+ */ + inline Statistics& WithAggregationStartTime(Aws::Utils::DateTime&& value) { SetAggregationStartTime(std::move(value)); return *this;} + + + /** + *

How the statistics should appear in USD. Options include: minimum, maximum, + * average or sum.

+ */ + inline const Stats& GetCostInUsd() const{ return m_costInUsd; } + + /** + *

How the statistics should appear in USD. Options include: minimum, maximum, + * average or sum.

+ */ + inline bool CostInUsdHasBeenSet() const { return m_costInUsdHasBeenSet; } + + /** + *

How the statistics should appear in USD. Options include: minimum, maximum, + * average or sum.

+ */ + inline void SetCostInUsd(const Stats& value) { m_costInUsdHasBeenSet = true; m_costInUsd = value; } + + /** + *

How the statistics should appear in USD. Options include: minimum, maximum, + * average or sum.

+ */ + inline void SetCostInUsd(Stats&& value) { m_costInUsdHasBeenSet = true; m_costInUsd = std::move(value); } + + /** + *

How the statistics should appear in USD. Options include: minimum, maximum, + * average or sum.

+ */ + inline Statistics& WithCostInUsd(const Stats& value) { SetCostInUsd(value); return *this;} + + /** + *

How the statistics should appear in USD. Options include: minimum, maximum, + * average or sum.

+ */ + inline Statistics& WithCostInUsd(Stats&& value) { SetCostInUsd(std::move(value)); return *this;} + + + /** + *

The number of instances in a list of statistics.

+ */ + inline int GetCount() const{ return m_count; } + + /** + *

The number of instances in a list of statistics.

+ */ + inline bool CountHasBeenSet() const { return m_countHasBeenSet; } + + /** + *

The number of instances in a list of statistics.

+ */ + inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; } + + /** + *

The number of instances in a list of statistics.

+ */ + inline Statistics& WithCount(int value) { SetCount(value); return *this;} + + + /** + *

The fleet ID.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID.

+ */ + inline Statistics& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID.

+ */ + inline Statistics& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID.

+ */ + inline Statistics& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The type of instance.

+ */ + inline const Aws::String& GetInstanceType() const{ return m_instanceType; } + + /** + *

The type of instance.

+ */ + inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } + + /** + *

The type of instance.

+ */ + inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } + + /** + *

The type of instance.

+ */ + inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } + + /** + *

The type of instance.

+ */ + inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } + + /** + *

The type of instance.

+ */ + inline Statistics& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} + + /** + *

The type of instance.

+ */ + inline Statistics& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} + + /** + *

The type of instance.

+ */ + inline Statistics& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline Statistics& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline Statistics& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline Statistics& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The job name.

+ */ + inline const Aws::String& GetJobName() const{ return m_jobName; } + + /** + *

The job name.

+ */ + inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } + + /** + *

The job name.

+ */ + inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } + + /** + *

The job name.

+ */ + inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } + + /** + *

The job name.

+ */ + inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } + + /** + *

The job name.

+ */ + inline Statistics& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} + + /** + *

The job name.

+ */ + inline Statistics& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} + + /** + *

The job name.

+ */ + inline Statistics& WithJobName(const char* value) { SetJobName(value); return *this;} + + + /** + *

The licensed product.

+ */ + inline const Aws::String& GetLicenseProduct() const{ return m_licenseProduct; } + + /** + *

The licensed product.

+ */ + inline bool LicenseProductHasBeenSet() const { return m_licenseProductHasBeenSet; } + + /** + *

The licensed product.

+ */ + inline void SetLicenseProduct(const Aws::String& value) { m_licenseProductHasBeenSet = true; m_licenseProduct = value; } + + /** + *

The licensed product.

+ */ + inline void SetLicenseProduct(Aws::String&& value) { m_licenseProductHasBeenSet = true; m_licenseProduct = std::move(value); } + + /** + *

The licensed product.

+ */ + inline void SetLicenseProduct(const char* value) { m_licenseProductHasBeenSet = true; m_licenseProduct.assign(value); } + + /** + *

The licensed product.

+ */ + inline Statistics& WithLicenseProduct(const Aws::String& value) { SetLicenseProduct(value); return *this;} + + /** + *

The licensed product.

+ */ + inline Statistics& WithLicenseProduct(Aws::String&& value) { SetLicenseProduct(std::move(value)); return *this;} + + /** + *

The licensed product.

+ */ + inline Statistics& WithLicenseProduct(const char* value) { SetLicenseProduct(value); return *this;} + + + /** + *

The queue ID.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID.

+ */ + inline Statistics& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID.

+ */ + inline Statistics& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID.

+ */ + inline Statistics& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The total aggregated runtime.

+ */ + inline const Stats& GetRuntimeInSeconds() const{ return m_runtimeInSeconds; } + + /** + *

The total aggregated runtime.

+ */ + inline bool RuntimeInSecondsHasBeenSet() const { return m_runtimeInSecondsHasBeenSet; } + + /** + *

The total aggregated runtime.

+ */ + inline void SetRuntimeInSeconds(const Stats& value) { m_runtimeInSecondsHasBeenSet = true; m_runtimeInSeconds = value; } + + /** + *

The total aggregated runtime.

+ */ + inline void SetRuntimeInSeconds(Stats&& value) { m_runtimeInSecondsHasBeenSet = true; m_runtimeInSeconds = std::move(value); } + + /** + *

The total aggregated runtime.

+ */ + inline Statistics& WithRuntimeInSeconds(const Stats& value) { SetRuntimeInSeconds(value); return *this;} + + /** + *

The total aggregated runtime.

+ */ + inline Statistics& WithRuntimeInSeconds(Stats&& value) { SetRuntimeInSeconds(std::move(value)); return *this;} + + + /** + *

The type of usage for the statistics.

+ */ + inline const UsageType& GetUsageType() const{ return m_usageType; } + + /** + *

The type of usage for the statistics.

+ */ + inline bool UsageTypeHasBeenSet() const { return m_usageTypeHasBeenSet; } + + /** + *

The type of usage for the statistics.

+ */ + inline void SetUsageType(const UsageType& value) { m_usageTypeHasBeenSet = true; m_usageType = value; } + + /** + *

The type of usage for the statistics.

+ */ + inline void SetUsageType(UsageType&& value) { m_usageTypeHasBeenSet = true; m_usageType = std::move(value); } + + /** + *

The type of usage for the statistics.

+ */ + inline Statistics& WithUsageType(const UsageType& value) { SetUsageType(value); return *this;} + + /** + *

The type of usage for the statistics.

+ */ + inline Statistics& WithUsageType(UsageType&& value) { SetUsageType(std::move(value)); return *this;} + + + /** + *

The user ID.

+ */ + inline const Aws::String& GetUserId() const{ return m_userId; } + + /** + *

The user ID.

+ */ + inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } + + /** + *

The user ID.

+ */ + inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } + + /** + *

The user ID.

+ */ + inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } + + /** + *

The user ID.

+ */ + inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } + + /** + *

The user ID.

+ */ + inline Statistics& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} + + /** + *

The user ID.

+ */ + inline Statistics& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} + + /** + *

The user ID.

+ */ + inline Statistics& WithUserId(const char* value) { SetUserId(value); return *this;} + + private: + + Aws::Utils::DateTime m_aggregationEndTime; + bool m_aggregationEndTimeHasBeenSet = false; + + Aws::Utils::DateTime m_aggregationStartTime; + bool m_aggregationStartTimeHasBeenSet = false; + + Stats m_costInUsd; + bool m_costInUsdHasBeenSet = false; + + int m_count; + bool m_countHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + Aws::String m_instanceType; + bool m_instanceTypeHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_jobName; + bool m_jobNameHasBeenSet = false; + + Aws::String m_licenseProduct; + bool m_licenseProductHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Stats m_runtimeInSeconds; + bool m_runtimeInSecondsHasBeenSet = false; + + UsageType m_usageType; + bool m_usageTypeHasBeenSet = false; + + Aws::String m_userId; + bool m_userIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Stats.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Stats.h new file mode 100644 index 00000000000..9b254fe04e4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/Stats.h @@ -0,0 +1,138 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The minimum, maximum, average, and sum.

See Also:

AWS API + * Reference

+ */ + class Stats + { + public: + AWS_DEADLINE_API Stats(); + AWS_DEADLINE_API Stats(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Stats& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The average of the usage statistics.

+ */ + inline double GetAvg() const{ return m_avg; } + + /** + *

The average of the usage statistics.

+ */ + inline bool AvgHasBeenSet() const { return m_avgHasBeenSet; } + + /** + *

The average of the usage statistics.

+ */ + inline void SetAvg(double value) { m_avgHasBeenSet = true; m_avg = value; } + + /** + *

The average of the usage statistics.

+ */ + inline Stats& WithAvg(double value) { SetAvg(value); return *this;} + + + /** + *

The maximum among the usage statistics.

+ */ + inline double GetMax() const{ return m_max; } + + /** + *

The maximum among the usage statistics.

+ */ + inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } + + /** + *

The maximum among the usage statistics.

+ */ + inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; } + + /** + *

The maximum among the usage statistics.

+ */ + inline Stats& WithMax(double value) { SetMax(value); return *this;} + + + /** + *

The minimum of the usage statistics.

+ */ + inline double GetMin() const{ return m_min; } + + /** + *

The minimum of the usage statistics.

+ */ + inline bool MinHasBeenSet() const { return m_minHasBeenSet; } + + /** + *

The minimum of the usage statistics.

+ */ + inline void SetMin(double value) { m_minHasBeenSet = true; m_min = value; } + + /** + *

The minimum of the usage statistics.

+ */ + inline Stats& WithMin(double value) { SetMin(value); return *this;} + + + /** + *

The sum of the usage statistics.

+ */ + inline double GetSum() const{ return m_sum; } + + /** + *

The sum of the usage statistics.

+ */ + inline bool SumHasBeenSet() const { return m_sumHasBeenSet; } + + /** + *

The sum of the usage statistics.

+ */ + inline void SetSum(double value) { m_sumHasBeenSet = true; m_sum = value; } + + /** + *

The sum of the usage statistics.

+ */ + inline Stats& WithSum(double value) { SetSum(value); return *this;} + + private: + + double m_avg; + bool m_avgHasBeenSet = false; + + double m_max; + bool m_maxHasBeenSet = false; + + double m_min; + bool m_minHasBeenSet = false; + + double m_sum; + bool m_sumHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepAmountCapability.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepAmountCapability.h new file mode 100644 index 00000000000..86f449de031 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepAmountCapability.h @@ -0,0 +1,161 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details outlining the minimum and maximum capability of a + * step.

See Also:

AWS + * API Reference

+ */ + class StepAmountCapability + { + public: + AWS_DEADLINE_API StepAmountCapability(); + AWS_DEADLINE_API StepAmountCapability(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API StepAmountCapability& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The maximum amount.

+ */ + inline double GetMax() const{ return m_max; } + + /** + *

The maximum amount.

+ */ + inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } + + /** + *

The maximum amount.

+ */ + inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; } + + /** + *

The maximum amount.

+ */ + inline StepAmountCapability& WithMax(double value) { SetMax(value); return *this;} + + + /** + *

The minimum amount.

+ */ + inline double GetMin() const{ return m_min; } + + /** + *

The minimum amount.

+ */ + inline bool MinHasBeenSet() const { return m_minHasBeenSet; } + + /** + *

The minimum amount.

+ */ + inline void SetMin(double value) { m_minHasBeenSet = true; m_min = value; } + + /** + *

The minimum amount.

+ */ + inline StepAmountCapability& WithMin(double value) { SetMin(value); return *this;} + + + /** + *

The name of the step.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the step.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The name of the step.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the step.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The name of the step.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The name of the step.

+ */ + inline StepAmountCapability& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the step.

+ */ + inline StepAmountCapability& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The name of the step.

+ */ + inline StepAmountCapability& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The amount value.

+ */ + inline double GetValue() const{ return m_value; } + + /** + *

The amount value.

+ */ + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + + /** + *

The amount value.

+ */ + inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; } + + /** + *

The amount value.

+ */ + inline StepAmountCapability& WithValue(double value) { SetValue(value); return *this;} + + private: + + double m_max; + bool m_maxHasBeenSet = false; + + double m_min; + bool m_minHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + double m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepAttributeCapability.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepAttributeCapability.h new file mode 100644 index 00000000000..5019b27e0b1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepAttributeCapability.h @@ -0,0 +1,187 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The list of step attributes.

See Also:

AWS + * API Reference

+ */ + class StepAttributeCapability + { + public: + AWS_DEADLINE_API StepAttributeCapability(); + AWS_DEADLINE_API StepAttributeCapability(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API StepAttributeCapability& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

Requires all of the step attribute values.

+ */ + inline const Aws::Vector& GetAllOf() const{ return m_allOf; } + + /** + *

Requires all of the step attribute values.

+ */ + inline bool AllOfHasBeenSet() const { return m_allOfHasBeenSet; } + + /** + *

Requires all of the step attribute values.

+ */ + inline void SetAllOf(const Aws::Vector& value) { m_allOfHasBeenSet = true; m_allOf = value; } + + /** + *

Requires all of the step attribute values.

+ */ + inline void SetAllOf(Aws::Vector&& value) { m_allOfHasBeenSet = true; m_allOf = std::move(value); } + + /** + *

Requires all of the step attribute values.

+ */ + inline StepAttributeCapability& WithAllOf(const Aws::Vector& value) { SetAllOf(value); return *this;} + + /** + *

Requires all of the step attribute values.

+ */ + inline StepAttributeCapability& WithAllOf(Aws::Vector&& value) { SetAllOf(std::move(value)); return *this;} + + /** + *

Requires all of the step attribute values.

+ */ + inline StepAttributeCapability& AddAllOf(const Aws::String& value) { m_allOfHasBeenSet = true; m_allOf.push_back(value); return *this; } + + /** + *

Requires all of the step attribute values.

+ */ + inline StepAttributeCapability& AddAllOf(Aws::String&& value) { m_allOfHasBeenSet = true; m_allOf.push_back(std::move(value)); return *this; } + + /** + *

Requires all of the step attribute values.

+ */ + inline StepAttributeCapability& AddAllOf(const char* value) { m_allOfHasBeenSet = true; m_allOf.push_back(value); return *this; } + + + /** + *

Requires any of the step attributes in a given list.

+ */ + inline const Aws::Vector& GetAnyOf() const{ return m_anyOf; } + + /** + *

Requires any of the step attributes in a given list.

+ */ + inline bool AnyOfHasBeenSet() const { return m_anyOfHasBeenSet; } + + /** + *

Requires any of the step attributes in a given list.

+ */ + inline void SetAnyOf(const Aws::Vector& value) { m_anyOfHasBeenSet = true; m_anyOf = value; } + + /** + *

Requires any of the step attributes in a given list.

+ */ + inline void SetAnyOf(Aws::Vector&& value) { m_anyOfHasBeenSet = true; m_anyOf = std::move(value); } + + /** + *

Requires any of the step attributes in a given list.

+ */ + inline StepAttributeCapability& WithAnyOf(const Aws::Vector& value) { SetAnyOf(value); return *this;} + + /** + *

Requires any of the step attributes in a given list.

+ */ + inline StepAttributeCapability& WithAnyOf(Aws::Vector&& value) { SetAnyOf(std::move(value)); return *this;} + + /** + *

Requires any of the step attributes in a given list.

+ */ + inline StepAttributeCapability& AddAnyOf(const Aws::String& value) { m_anyOfHasBeenSet = true; m_anyOf.push_back(value); return *this; } + + /** + *

Requires any of the step attributes in a given list.

+ */ + inline StepAttributeCapability& AddAnyOf(Aws::String&& value) { m_anyOfHasBeenSet = true; m_anyOf.push_back(std::move(value)); return *this; } + + /** + *

Requires any of the step attributes in a given list.

+ */ + inline StepAttributeCapability& AddAnyOf(const char* value) { m_anyOfHasBeenSet = true; m_anyOf.push_back(value); return *this; } + + + /** + *

The name of the step attribute.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the step attribute.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The name of the step attribute.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the step attribute.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The name of the step attribute.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The name of the step attribute.

+ */ + inline StepAttributeCapability& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the step attribute.

+ */ + inline StepAttributeCapability& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The name of the step attribute.

+ */ + inline StepAttributeCapability& WithName(const char* value) { SetName(value); return *this;} + + private: + + Aws::Vector m_allOf; + bool m_allOfHasBeenSet = false; + + Aws::Vector m_anyOf; + bool m_anyOfHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepConsumer.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepConsumer.h new file mode 100644 index 00000000000..a0ef0ac6e2d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepConsumer.h @@ -0,0 +1,123 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a step consumer.

See Also:

AWS + * API Reference

+ */ + class StepConsumer + { + public: + AWS_DEADLINE_API StepConsumer(); + AWS_DEADLINE_API StepConsumer(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API StepConsumer& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The step consumer status.

+ */ + inline const DependencyConsumerResolutionStatus& GetStatus() const{ return m_status; } + + /** + *

The step consumer status.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The step consumer status.

+ */ + inline void SetStatus(const DependencyConsumerResolutionStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The step consumer status.

+ */ + inline void SetStatus(DependencyConsumerResolutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The step consumer status.

+ */ + inline StepConsumer& WithStatus(const DependencyConsumerResolutionStatus& value) { SetStatus(value); return *this;} + + /** + *

The step consumer status.

+ */ + inline StepConsumer& WithStatus(DependencyConsumerResolutionStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The step ID.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID.

+ */ + inline StepConsumer& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID.

+ */ + inline StepConsumer& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID.

+ */ + inline StepConsumer& WithStepId(const char* value) { SetStepId(value); return *this;} + + private: + + DependencyConsumerResolutionStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepDependency.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepDependency.h new file mode 100644 index 00000000000..0b0f9948b51 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepDependency.h @@ -0,0 +1,123 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of step dependency.

See Also:

AWS + * API Reference

+ */ + class StepDependency + { + public: + AWS_DEADLINE_API StepDependency(); + AWS_DEADLINE_API StepDependency(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API StepDependency& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The step dependency status.

+ */ + inline const DependencyConsumerResolutionStatus& GetStatus() const{ return m_status; } + + /** + *

The step dependency status.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The step dependency status.

+ */ + inline void SetStatus(const DependencyConsumerResolutionStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The step dependency status.

+ */ + inline void SetStatus(DependencyConsumerResolutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The step dependency status.

+ */ + inline StepDependency& WithStatus(const DependencyConsumerResolutionStatus& value) { SetStatus(value); return *this;} + + /** + *

The step dependency status.

+ */ + inline StepDependency& WithStatus(DependencyConsumerResolutionStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The step ID.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID.

+ */ + inline StepDependency& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID.

+ */ + inline StepDependency& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID.

+ */ + inline StepDependency& WithStepId(const char* value) { SetStepId(value); return *this;} + + private: + + DependencyConsumerResolutionStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepDetailsEntity.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepDetailsEntity.h new file mode 100644 index 00000000000..88c9da4ea33 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepDetailsEntity.h @@ -0,0 +1,261 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a step entity.

See Also:

AWS + * API Reference

+ */ + class StepDetailsEntity + { + public: + AWS_DEADLINE_API StepDetailsEntity(); + AWS_DEADLINE_API StepDetailsEntity(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API StepDetailsEntity& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The dependencies for a step.

+ */ + inline const Aws::Vector& GetDependencies() const{ return m_dependencies; } + + /** + *

The dependencies for a step.

+ */ + inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; } + + /** + *

The dependencies for a step.

+ */ + inline void SetDependencies(const Aws::Vector& value) { m_dependenciesHasBeenSet = true; m_dependencies = value; } + + /** + *

The dependencies for a step.

+ */ + inline void SetDependencies(Aws::Vector&& value) { m_dependenciesHasBeenSet = true; m_dependencies = std::move(value); } + + /** + *

The dependencies for a step.

+ */ + inline StepDetailsEntity& WithDependencies(const Aws::Vector& value) { SetDependencies(value); return *this;} + + /** + *

The dependencies for a step.

+ */ + inline StepDetailsEntity& WithDependencies(Aws::Vector&& value) { SetDependencies(std::move(value)); return *this;} + + /** + *

The dependencies for a step.

+ */ + inline StepDetailsEntity& AddDependencies(const Aws::String& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; } + + /** + *

The dependencies for a step.

+ */ + inline StepDetailsEntity& AddDependencies(Aws::String&& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(std::move(value)); return *this; } + + /** + *

The dependencies for a step.

+ */ + inline StepDetailsEntity& AddDependencies(const char* value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; } + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline StepDetailsEntity& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline StepDetailsEntity& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline StepDetailsEntity& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The schema version for a step template.

+ */ + inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; } + + /** + *

The schema version for a step template.

+ */ + inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; } + + /** + *

The schema version for a step template.

+ */ + inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; } + + /** + *

The schema version for a step template.

+ */ + inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); } + + /** + *

The schema version for a step template.

+ */ + inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); } + + /** + *

The schema version for a step template.

+ */ + inline StepDetailsEntity& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;} + + /** + *

The schema version for a step template.

+ */ + inline StepDetailsEntity& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;} + + /** + *

The schema version for a step template.

+ */ + inline StepDetailsEntity& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;} + + + /** + *

The step ID.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID.

+ */ + inline StepDetailsEntity& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID.

+ */ + inline StepDetailsEntity& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID.

+ */ + inline StepDetailsEntity& WithStepId(const char* value) { SetStepId(value); return *this;} + + + /** + *

The template for a step.

+ */ + inline Aws::Utils::DocumentView GetTemplate() const{ return m_template; } + + /** + *

The template for a step.

+ */ + inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } + + /** + *

The template for a step.

+ */ + inline void SetTemplate(const Aws::Utils::Document& value) { m_templateHasBeenSet = true; m_template = value; } + + /** + *

The template for a step.

+ */ + inline void SetTemplate(Aws::Utils::Document&& value) { m_templateHasBeenSet = true; m_template = std::move(value); } + + /** + *

The template for a step.

+ */ + inline StepDetailsEntity& WithTemplate(const Aws::Utils::Document& value) { SetTemplate(value); return *this;} + + /** + *

The template for a step.

+ */ + inline StepDetailsEntity& WithTemplate(Aws::Utils::Document&& value) { SetTemplate(std::move(value)); return *this;} + + private: + + Aws::Vector m_dependencies; + bool m_dependenciesHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_schemaVersion; + bool m_schemaVersionHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + + Aws::Utils::Document m_template; + bool m_templateHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepDetailsError.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepDetailsError.h new file mode 100644 index 00000000000..5f7a6db318a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepDetailsError.h @@ -0,0 +1,211 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of the step error.

See Also:

AWS + * API Reference

+ */ + class StepDetailsError + { + public: + AWS_DEADLINE_API StepDetailsError(); + AWS_DEADLINE_API StepDetailsError(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API StepDetailsError& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The error code.

+ */ + inline const JobEntityErrorCode& GetCode() const{ return m_code; } + + /** + *

The error code.

+ */ + inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } + + /** + *

The error code.

+ */ + inline void SetCode(const JobEntityErrorCode& value) { m_codeHasBeenSet = true; m_code = value; } + + /** + *

The error code.

+ */ + inline void SetCode(JobEntityErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } + + /** + *

The error code.

+ */ + inline StepDetailsError& WithCode(const JobEntityErrorCode& value) { SetCode(value); return *this;} + + /** + *

The error code.

+ */ + inline StepDetailsError& WithCode(JobEntityErrorCode&& value) { SetCode(std::move(value)); return *this;} + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline StepDetailsError& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline StepDetailsError& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline StepDetailsError& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The error message detailing the error's cause.

+ */ + inline const Aws::String& GetMessage() const{ return m_message; } + + /** + *

The error message detailing the error's cause.

+ */ + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + + /** + *

The error message detailing the error's cause.

+ */ + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + + /** + *

The error message detailing the error's cause.

+ */ + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + + /** + *

The error message detailing the error's cause.

+ */ + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + + /** + *

The error message detailing the error's cause.

+ */ + inline StepDetailsError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + + /** + *

The error message detailing the error's cause.

+ */ + inline StepDetailsError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + + /** + *

The error message detailing the error's cause.

+ */ + inline StepDetailsError& WithMessage(const char* value) { SetMessage(value); return *this;} + + + /** + *

The step ID.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID.

+ */ + inline StepDetailsError& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID.

+ */ + inline StepDetailsError& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID.

+ */ + inline StepDetailsError& WithStepId(const char* value) { SetStepId(value); return *this;} + + private: + + JobEntityErrorCode m_code; + bool m_codeHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepDetailsIdentifiers.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepDetailsIdentifiers.h new file mode 100644 index 00000000000..b11302b549d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepDetailsIdentifiers.h @@ -0,0 +1,132 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of identifiers for a step.

See Also:

AWS + * API Reference

+ */ + class StepDetailsIdentifiers + { + public: + AWS_DEADLINE_API StepDetailsIdentifiers(); + AWS_DEADLINE_API StepDetailsIdentifiers(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API StepDetailsIdentifiers& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline StepDetailsIdentifiers& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline StepDetailsIdentifiers& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline StepDetailsIdentifiers& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The step ID.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID.

+ */ + inline StepDetailsIdentifiers& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID.

+ */ + inline StepDetailsIdentifiers& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID.

+ */ + inline StepDetailsIdentifiers& WithStepId(const char* value) { SetStepId(value); return *this;} + + private: + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepLifecycleStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepLifecycleStatus.h new file mode 100644 index 00000000000..55cd2753d5b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepLifecycleStatus.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class StepLifecycleStatus + { + NOT_SET, + CREATE_COMPLETE, + UPDATE_IN_PROGRESS, + UPDATE_FAILED, + UPDATE_SUCCEEDED + }; + +namespace StepLifecycleStatusMapper +{ +AWS_DEADLINE_API StepLifecycleStatus GetStepLifecycleStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForStepLifecycleStatus(StepLifecycleStatus value); +} // namespace StepLifecycleStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepParameter.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepParameter.h new file mode 100644 index 00000000000..305fc11be93 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepParameter.h @@ -0,0 +1,123 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a step parameter.

See Also:

AWS + * API Reference

+ */ + class StepParameter + { + public: + AWS_DEADLINE_API StepParameter(); + AWS_DEADLINE_API StepParameter(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API StepParameter& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The name of the parameter.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the parameter.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The name of the parameter.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the parameter.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The name of the parameter.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The name of the parameter.

+ */ + inline StepParameter& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the parameter.

+ */ + inline StepParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The name of the parameter.

+ */ + inline StepParameter& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The data type of the parameter.

+ */ + inline const StepParameterType& GetType() const{ return m_type; } + + /** + *

The data type of the parameter.

+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *

The data type of the parameter.

+ */ + inline void SetType(const StepParameterType& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *

The data type of the parameter.

+ */ + inline void SetType(StepParameterType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *

The data type of the parameter.

+ */ + inline StepParameter& WithType(const StepParameterType& value) { SetType(value); return *this;} + + /** + *

The data type of the parameter.

+ */ + inline StepParameter& WithType(StepParameterType&& value) { SetType(std::move(value)); return *this;} + + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + StepParameterType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepParameterType.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepParameterType.h new file mode 100644 index 00000000000..e584a0a86f5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepParameterType.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class StepParameterType + { + NOT_SET, + INT, + FLOAT, + STRING, + PATH + }; + +namespace StepParameterTypeMapper +{ +AWS_DEADLINE_API StepParameterType GetStepParameterTypeForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForStepParameterType(StepParameterType value); +} // namespace StepParameterTypeMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepRequiredCapabilities.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepRequiredCapabilities.h new file mode 100644 index 00000000000..34573c348ad --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepRequiredCapabilities.h @@ -0,0 +1,134 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of required step capabilities.

See Also:

AWS + * API Reference

+ */ + class StepRequiredCapabilities + { + public: + AWS_DEADLINE_API StepRequiredCapabilities(); + AWS_DEADLINE_API StepRequiredCapabilities(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API StepRequiredCapabilities& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The capability amounts that the step requires.

+ */ + inline const Aws::Vector& GetAmounts() const{ return m_amounts; } + + /** + *

The capability amounts that the step requires.

+ */ + inline bool AmountsHasBeenSet() const { return m_amountsHasBeenSet; } + + /** + *

The capability amounts that the step requires.

+ */ + inline void SetAmounts(const Aws::Vector& value) { m_amountsHasBeenSet = true; m_amounts = value; } + + /** + *

The capability amounts that the step requires.

+ */ + inline void SetAmounts(Aws::Vector&& value) { m_amountsHasBeenSet = true; m_amounts = std::move(value); } + + /** + *

The capability amounts that the step requires.

+ */ + inline StepRequiredCapabilities& WithAmounts(const Aws::Vector& value) { SetAmounts(value); return *this;} + + /** + *

The capability amounts that the step requires.

+ */ + inline StepRequiredCapabilities& WithAmounts(Aws::Vector&& value) { SetAmounts(std::move(value)); return *this;} + + /** + *

The capability amounts that the step requires.

+ */ + inline StepRequiredCapabilities& AddAmounts(const StepAmountCapability& value) { m_amountsHasBeenSet = true; m_amounts.push_back(value); return *this; } + + /** + *

The capability amounts that the step requires.

+ */ + inline StepRequiredCapabilities& AddAmounts(StepAmountCapability&& value) { m_amountsHasBeenSet = true; m_amounts.push_back(std::move(value)); return *this; } + + + /** + *

The capability attributes that the step requires.

+ */ + inline const Aws::Vector& GetAttributes() const{ return m_attributes; } + + /** + *

The capability attributes that the step requires.

+ */ + inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } + + /** + *

The capability attributes that the step requires.

+ */ + inline void SetAttributes(const Aws::Vector& value) { m_attributesHasBeenSet = true; m_attributes = value; } + + /** + *

The capability attributes that the step requires.

+ */ + inline void SetAttributes(Aws::Vector&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } + + /** + *

The capability attributes that the step requires.

+ */ + inline StepRequiredCapabilities& WithAttributes(const Aws::Vector& value) { SetAttributes(value); return *this;} + + /** + *

The capability attributes that the step requires.

+ */ + inline StepRequiredCapabilities& WithAttributes(Aws::Vector&& value) { SetAttributes(std::move(value)); return *this;} + + /** + *

The capability attributes that the step requires.

+ */ + inline StepRequiredCapabilities& AddAttributes(const StepAttributeCapability& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; } + + /** + *

The capability attributes that the step requires.

+ */ + inline StepRequiredCapabilities& AddAttributes(StepAttributeCapability&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; } + + private: + + Aws::Vector m_amounts; + bool m_amountsHasBeenSet = false; + + Aws::Vector m_attributes; + bool m_attributesHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepSearchSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepSearchSummary.h new file mode 100644 index 00000000000..34b5892f0b2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepSearchSummary.h @@ -0,0 +1,612 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a step search.

See Also:

AWS + * API Reference

+ */ + class StepSearchSummary + { + public: + AWS_DEADLINE_API StepSearchSummary(); + AWS_DEADLINE_API StepSearchSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API StepSearchSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline StepSearchSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline StepSearchSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The date and time the resource ended running.

+ */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + + /** + *

The date and time the resource ended running.

+ */ + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + + /** + *

The date and time the resource ended running.

+ */ + inline StepSearchSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + + /** + *

The date and time the resource ended running.

+ */ + inline StepSearchSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline StepSearchSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline StepSearchSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline StepSearchSummary& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The life cycle status.

+ */ + inline const StepLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } + + /** + *

The life cycle status.

+ */ + inline bool LifecycleStatusHasBeenSet() const { return m_lifecycleStatusHasBeenSet; } + + /** + *

The life cycle status.

+ */ + inline void SetLifecycleStatus(const StepLifecycleStatus& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = value; } + + /** + *

The life cycle status.

+ */ + inline void SetLifecycleStatus(StepLifecycleStatus&& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = std::move(value); } + + /** + *

The life cycle status.

+ */ + inline StepSearchSummary& WithLifecycleStatus(const StepLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} + + /** + *

The life cycle status.

+ */ + inline StepSearchSummary& WithLifecycleStatus(StepLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} + + + /** + *

The life cycle status message.

+ */ + inline const Aws::String& GetLifecycleStatusMessage() const{ return m_lifecycleStatusMessage; } + + /** + *

The life cycle status message.

+ */ + inline bool LifecycleStatusMessageHasBeenSet() const { return m_lifecycleStatusMessageHasBeenSet; } + + /** + *

The life cycle status message.

+ */ + inline void SetLifecycleStatusMessage(const Aws::String& value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage = value; } + + /** + *

The life cycle status message.

+ */ + inline void SetLifecycleStatusMessage(Aws::String&& value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage = std::move(value); } + + /** + *

The life cycle status message.

+ */ + inline void SetLifecycleStatusMessage(const char* value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage.assign(value); } + + /** + *

The life cycle status message.

+ */ + inline StepSearchSummary& WithLifecycleStatusMessage(const Aws::String& value) { SetLifecycleStatusMessage(value); return *this;} + + /** + *

The life cycle status message.

+ */ + inline StepSearchSummary& WithLifecycleStatusMessage(Aws::String&& value) { SetLifecycleStatusMessage(std::move(value)); return *this;} + + /** + *

The life cycle status message.

+ */ + inline StepSearchSummary& WithLifecycleStatusMessage(const char* value) { SetLifecycleStatusMessage(value); return *this;} + + + /** + *

The step name.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The step name.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The step name.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The step name.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The step name.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The step name.

+ */ + inline StepSearchSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The step name.

+ */ + inline StepSearchSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The step name.

+ */ + inline StepSearchSummary& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The parameters and combination expressions for the search.

+ */ + inline const ParameterSpace& GetParameterSpace() const{ return m_parameterSpace; } + + /** + *

The parameters and combination expressions for the search.

+ */ + inline bool ParameterSpaceHasBeenSet() const { return m_parameterSpaceHasBeenSet; } + + /** + *

The parameters and combination expressions for the search.

+ */ + inline void SetParameterSpace(const ParameterSpace& value) { m_parameterSpaceHasBeenSet = true; m_parameterSpace = value; } + + /** + *

The parameters and combination expressions for the search.

+ */ + inline void SetParameterSpace(ParameterSpace&& value) { m_parameterSpaceHasBeenSet = true; m_parameterSpace = std::move(value); } + + /** + *

The parameters and combination expressions for the search.

+ */ + inline StepSearchSummary& WithParameterSpace(const ParameterSpace& value) { SetParameterSpace(value); return *this;} + + /** + *

The parameters and combination expressions for the search.

+ */ + inline StepSearchSummary& WithParameterSpace(ParameterSpace&& value) { SetParameterSpace(std::move(value)); return *this;} + + + /** + *

The queue ID.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID.

+ */ + inline StepSearchSummary& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID.

+ */ + inline StepSearchSummary& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID.

+ */ + inline StepSearchSummary& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The date and time the resource started running.

+ */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + + /** + *

The date and time the resource started running.

+ */ + inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } + + /** + *

The date and time the resource started running.

+ */ + inline StepSearchSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + + /** + *

The date and time the resource started running.

+ */ + inline StepSearchSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + + + /** + *

The step ID.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID.

+ */ + inline StepSearchSummary& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID.

+ */ + inline StepSearchSummary& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID.

+ */ + inline StepSearchSummary& WithStepId(const char* value) { SetStepId(value); return *this;} + + + /** + *

The task status to start with on the job.

+ */ + inline const StepTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } + + /** + *

The task status to start with on the job.

+ */ + inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } + + /** + *

The task status to start with on the job.

+ */ + inline void SetTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; } + + /** + *

The task status to start with on the job.

+ */ + inline void SetTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); } + + /** + *

The task status to start with on the job.

+ */ + inline StepSearchSummary& WithTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} + + /** + *

The task status to start with on the job.

+ */ + inline StepSearchSummary& WithTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to be processed.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to be run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline const TaskRunStatus& GetTaskRunStatus() const{ return m_taskRunStatus; } + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to be processed.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to be run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline bool TaskRunStatusHasBeenSet() const { return m_taskRunStatusHasBeenSet; } + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to be processed.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to be run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline void SetTaskRunStatus(const TaskRunStatus& value) { m_taskRunStatusHasBeenSet = true; m_taskRunStatus = value; } + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to be processed.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to be run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline void SetTaskRunStatus(TaskRunStatus&& value) { m_taskRunStatusHasBeenSet = true; m_taskRunStatus = std::move(value); } + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to be processed.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to be run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline StepSearchSummary& WithTaskRunStatus(const TaskRunStatus& value) { SetTaskRunStatus(value); return *this;} + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to be processed.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to be run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline StepSearchSummary& WithTaskRunStatus(TaskRunStatus&& value) { SetTaskRunStatus(std::move(value)); return *this;} + + + /** + *

The number of tasks running on the job.

+ */ + inline const Aws::Map& GetTaskRunStatusCounts() const{ return m_taskRunStatusCounts; } + + /** + *

The number of tasks running on the job.

+ */ + inline bool TaskRunStatusCountsHasBeenSet() const { return m_taskRunStatusCountsHasBeenSet; } + + /** + *

The number of tasks running on the job.

+ */ + inline void SetTaskRunStatusCounts(const Aws::Map& value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts = value; } + + /** + *

The number of tasks running on the job.

+ */ + inline void SetTaskRunStatusCounts(Aws::Map&& value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts = std::move(value); } + + /** + *

The number of tasks running on the job.

+ */ + inline StepSearchSummary& WithTaskRunStatusCounts(const Aws::Map& value) { SetTaskRunStatusCounts(value); return *this;} + + /** + *

The number of tasks running on the job.

+ */ + inline StepSearchSummary& WithTaskRunStatusCounts(Aws::Map&& value) { SetTaskRunStatusCounts(std::move(value)); return *this;} + + /** + *

The number of tasks running on the job.

+ */ + inline StepSearchSummary& AddTaskRunStatusCounts(const TaskRunStatus& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(key, value); return *this; } + + /** + *

The number of tasks running on the job.

+ */ + inline StepSearchSummary& AddTaskRunStatusCounts(TaskRunStatus&& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(std::move(key), value); return *this; } + + private: + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + StepLifecycleStatus m_lifecycleStatus; + bool m_lifecycleStatusHasBeenSet = false; + + Aws::String m_lifecycleStatusMessage; + bool m_lifecycleStatusMessageHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + ParameterSpace m_parameterSpace; + bool m_parameterSpaceHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::Utils::DateTime m_startedAt; + bool m_startedAtHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + + StepTargetTaskRunStatus m_targetTaskRunStatus; + bool m_targetTaskRunStatusHasBeenSet = false; + + TaskRunStatus m_taskRunStatus; + bool m_taskRunStatusHasBeenSet = false; + + Aws::Map m_taskRunStatusCounts; + bool m_taskRunStatusCountsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepSummary.h new file mode 100644 index 00000000000..f96db7a5b96 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepSummary.h @@ -0,0 +1,646 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details for a step.

See Also:

AWS + * API Reference

+ */ + class StepSummary + { + public: + AWS_DEADLINE_API StepSummary(); + AWS_DEADLINE_API StepSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API StepSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline StepSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline StepSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline StepSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline StepSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline StepSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The number of dependencies for the step.

+ */ + inline const DependencyCounts& GetDependencyCounts() const{ return m_dependencyCounts; } + + /** + *

The number of dependencies for the step.

+ */ + inline bool DependencyCountsHasBeenSet() const { return m_dependencyCountsHasBeenSet; } + + /** + *

The number of dependencies for the step.

+ */ + inline void SetDependencyCounts(const DependencyCounts& value) { m_dependencyCountsHasBeenSet = true; m_dependencyCounts = value; } + + /** + *

The number of dependencies for the step.

+ */ + inline void SetDependencyCounts(DependencyCounts&& value) { m_dependencyCountsHasBeenSet = true; m_dependencyCounts = std::move(value); } + + /** + *

The number of dependencies for the step.

+ */ + inline StepSummary& WithDependencyCounts(const DependencyCounts& value) { SetDependencyCounts(value); return *this;} + + /** + *

The number of dependencies for the step.

+ */ + inline StepSummary& WithDependencyCounts(DependencyCounts&& value) { SetDependencyCounts(std::move(value)); return *this;} + + + /** + *

The date and time the resource ended running.

+ */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + + /** + *

The date and time the resource ended running.

+ */ + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + + /** + *

The date and time the resource ended running.

+ */ + inline StepSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + + /** + *

The date and time the resource ended running.

+ */ + inline StepSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + + + /** + *

The life cycle status.

+ */ + inline const StepLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } + + /** + *

The life cycle status.

+ */ + inline bool LifecycleStatusHasBeenSet() const { return m_lifecycleStatusHasBeenSet; } + + /** + *

The life cycle status.

+ */ + inline void SetLifecycleStatus(const StepLifecycleStatus& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = value; } + + /** + *

The life cycle status.

+ */ + inline void SetLifecycleStatus(StepLifecycleStatus&& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = std::move(value); } + + /** + *

The life cycle status.

+ */ + inline StepSummary& WithLifecycleStatus(const StepLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} + + /** + *

The life cycle status.

+ */ + inline StepSummary& WithLifecycleStatus(StepLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} + + + /** + *

A message that describes the lifecycle of the step.

+ */ + inline const Aws::String& GetLifecycleStatusMessage() const{ return m_lifecycleStatusMessage; } + + /** + *

A message that describes the lifecycle of the step.

+ */ + inline bool LifecycleStatusMessageHasBeenSet() const { return m_lifecycleStatusMessageHasBeenSet; } + + /** + *

A message that describes the lifecycle of the step.

+ */ + inline void SetLifecycleStatusMessage(const Aws::String& value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage = value; } + + /** + *

A message that describes the lifecycle of the step.

+ */ + inline void SetLifecycleStatusMessage(Aws::String&& value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage = std::move(value); } + + /** + *

A message that describes the lifecycle of the step.

+ */ + inline void SetLifecycleStatusMessage(const char* value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage.assign(value); } + + /** + *

A message that describes the lifecycle of the step.

+ */ + inline StepSummary& WithLifecycleStatusMessage(const Aws::String& value) { SetLifecycleStatusMessage(value); return *this;} + + /** + *

A message that describes the lifecycle of the step.

+ */ + inline StepSummary& WithLifecycleStatusMessage(Aws::String&& value) { SetLifecycleStatusMessage(std::move(value)); return *this;} + + /** + *

A message that describes the lifecycle of the step.

+ */ + inline StepSummary& WithLifecycleStatusMessage(const char* value) { SetLifecycleStatusMessage(value); return *this;} + + + /** + *

The name of the step.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the step.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The name of the step.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the step.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The name of the step.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The name of the step.

+ */ + inline StepSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the step.

+ */ + inline StepSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The name of the step.

+ */ + inline StepSummary& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The date and time the resource started running.

+ */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + + /** + *

The date and time the resource started running.

+ */ + inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } + + /** + *

The date and time the resource started running.

+ */ + inline StepSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + + /** + *

The date and time the resource started running.

+ */ + inline StepSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + + + /** + *

The step ID.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID.

+ */ + inline StepSummary& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID.

+ */ + inline StepSummary& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID.

+ */ + inline StepSummary& WithStepId(const char* value) { SetStepId(value); return *this;} + + + /** + *

The task status to start with on the job.

+ */ + inline const StepTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } + + /** + *

The task status to start with on the job.

+ */ + inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } + + /** + *

The task status to start with on the job.

+ */ + inline void SetTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; } + + /** + *

The task status to start with on the job.

+ */ + inline void SetTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); } + + /** + *

The task status to start with on the job.

+ */ + inline StepSummary& WithTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} + + /** + *

The task status to start with on the job.

+ */ + inline StepSummary& WithTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to process.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline const TaskRunStatus& GetTaskRunStatus() const{ return m_taskRunStatus; } + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to process.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline bool TaskRunStatusHasBeenSet() const { return m_taskRunStatusHasBeenSet; } + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to process.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline void SetTaskRunStatus(const TaskRunStatus& value) { m_taskRunStatusHasBeenSet = true; m_taskRunStatus = value; } + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to process.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline void SetTaskRunStatus(TaskRunStatus&& value) { m_taskRunStatusHasBeenSet = true; m_taskRunStatus = std::move(value); } + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to process.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline StepSummary& WithTaskRunStatus(const TaskRunStatus& value) { SetTaskRunStatus(value); return *this;} + + /** + *

The task run status for the job.

  • + * PENDING–pending and waiting for resources.

  • + * READY–ready to process.

  • + * ASSIGNED–assigned and will run next on a worker.

  • + * SCHEDULED–scheduled to run on a worker.

  • + * INTERRUPTING–being interrupted.

  • + * RUNNING–running on a worker.

  • + * SUSPENDED–the task is suspended.

  • + * CANCELED–the task has been canceled.

  • + * FAILED–the task has failed.

  • + * SUCCEEDED–the task has succeeded.

+ */ + inline StepSummary& WithTaskRunStatus(TaskRunStatus&& value) { SetTaskRunStatus(std::move(value)); return *this;} + + + /** + *

The number of tasks running on the job.

+ */ + inline const Aws::Map& GetTaskRunStatusCounts() const{ return m_taskRunStatusCounts; } + + /** + *

The number of tasks running on the job.

+ */ + inline bool TaskRunStatusCountsHasBeenSet() const { return m_taskRunStatusCountsHasBeenSet; } + + /** + *

The number of tasks running on the job.

+ */ + inline void SetTaskRunStatusCounts(const Aws::Map& value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts = value; } + + /** + *

The number of tasks running on the job.

+ */ + inline void SetTaskRunStatusCounts(Aws::Map&& value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts = std::move(value); } + + /** + *

The number of tasks running on the job.

+ */ + inline StepSummary& WithTaskRunStatusCounts(const Aws::Map& value) { SetTaskRunStatusCounts(value); return *this;} + + /** + *

The number of tasks running on the job.

+ */ + inline StepSummary& WithTaskRunStatusCounts(Aws::Map&& value) { SetTaskRunStatusCounts(std::move(value)); return *this;} + + /** + *

The number of tasks running on the job.

+ */ + inline StepSummary& AddTaskRunStatusCounts(const TaskRunStatus& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(key, value); return *this; } + + /** + *

The number of tasks running on the job.

+ */ + inline StepSummary& AddTaskRunStatusCounts(TaskRunStatus&& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(std::move(key), value); return *this; } + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline StepSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline StepSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline StepSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline StepSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline StepSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + DependencyCounts m_dependencyCounts; + bool m_dependencyCountsHasBeenSet = false; + + Aws::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = false; + + StepLifecycleStatus m_lifecycleStatus; + bool m_lifecycleStatusHasBeenSet = false; + + Aws::String m_lifecycleStatusMessage; + bool m_lifecycleStatusMessageHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::Utils::DateTime m_startedAt; + bool m_startedAtHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + + StepTargetTaskRunStatus m_targetTaskRunStatus; + bool m_targetTaskRunStatusHasBeenSet = false; + + TaskRunStatus m_taskRunStatus; + bool m_taskRunStatusHasBeenSet = false; + + Aws::Map m_taskRunStatusCounts; + bool m_taskRunStatusCountsHasBeenSet = false; + + Aws::Utils::DateTime m_updatedAt; + bool m_updatedAtHasBeenSet = false; + + Aws::String m_updatedBy; + bool m_updatedByHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepTargetTaskRunStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepTargetTaskRunStatus.h new file mode 100644 index 00000000000..d407e178b36 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StepTargetTaskRunStatus.h @@ -0,0 +1,35 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class StepTargetTaskRunStatus + { + NOT_SET, + READY, + FAILED, + SUCCEEDED, + CANCELED, + SUSPENDED, + PENDING + }; + +namespace StepTargetTaskRunStatusMapper +{ +AWS_DEADLINE_API StepTargetTaskRunStatus GetStepTargetTaskRunStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForStepTargetTaskRunStatus(StepTargetTaskRunStatus value); +} // namespace StepTargetTaskRunStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StorageProfileOperatingSystemFamily.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StorageProfileOperatingSystemFamily.h new file mode 100644 index 00000000000..a76f3b597cf --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StorageProfileOperatingSystemFamily.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class StorageProfileOperatingSystemFamily + { + NOT_SET, + WINDOWS, + LINUX, + MACOS + }; + +namespace StorageProfileOperatingSystemFamilyMapper +{ +AWS_DEADLINE_API StorageProfileOperatingSystemFamily GetStorageProfileOperatingSystemFamilyForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForStorageProfileOperatingSystemFamily(StorageProfileOperatingSystemFamily value); +} // namespace StorageProfileOperatingSystemFamilyMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StorageProfileSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StorageProfileSummary.h new file mode 100644 index 00000000000..fd179253055 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StorageProfileSummary.h @@ -0,0 +1,167 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a storage profile.

See Also:

AWS + * API Reference

+ */ + class StorageProfileSummary + { + public: + AWS_DEADLINE_API StorageProfileSummary(); + AWS_DEADLINE_API StorageProfileSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API StorageProfileSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The display name of the storage profile summary to update.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the storage profile summary to update.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The display name of the storage profile summary to update.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The display name of the storage profile summary to update.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The display name of the storage profile summary to update.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The display name of the storage profile summary to update.

+ */ + inline StorageProfileSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the storage profile summary to update.

+ */ + inline StorageProfileSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the storage profile summary to update.

+ */ + inline StorageProfileSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The operating system (OS) family.

+ */ + inline const StorageProfileOperatingSystemFamily& GetOsFamily() const{ return m_osFamily; } + + /** + *

The operating system (OS) family.

+ */ + inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; } + + /** + *

The operating system (OS) family.

+ */ + inline void SetOsFamily(const StorageProfileOperatingSystemFamily& value) { m_osFamilyHasBeenSet = true; m_osFamily = value; } + + /** + *

The operating system (OS) family.

+ */ + inline void SetOsFamily(StorageProfileOperatingSystemFamily&& value) { m_osFamilyHasBeenSet = true; m_osFamily = std::move(value); } + + /** + *

The operating system (OS) family.

+ */ + inline StorageProfileSummary& WithOsFamily(const StorageProfileOperatingSystemFamily& value) { SetOsFamily(value); return *this;} + + /** + *

The operating system (OS) family.

+ */ + inline StorageProfileSummary& WithOsFamily(StorageProfileOperatingSystemFamily&& value) { SetOsFamily(std::move(value)); return *this;} + + + /** + *

The storage profile ID.

+ */ + inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } + + /** + *

The storage profile ID.

+ */ + inline bool StorageProfileIdHasBeenSet() const { return m_storageProfileIdHasBeenSet; } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = value; } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = std::move(value); } + + /** + *

The storage profile ID.

+ */ + inline void SetStorageProfileId(const char* value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId.assign(value); } + + /** + *

The storage profile ID.

+ */ + inline StorageProfileSummary& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} + + /** + *

The storage profile ID.

+ */ + inline StorageProfileSummary& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} + + /** + *

The storage profile ID.

+ */ + inline StorageProfileSummary& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} + + private: + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + StorageProfileOperatingSystemFamily m_osFamily; + bool m_osFamilyHasBeenSet = false; + + Aws::String m_storageProfileId; + bool m_storageProfileIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StringFilterExpression.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StringFilterExpression.h new file mode 100644 index 00000000000..a64903aa0f4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/StringFilterExpression.h @@ -0,0 +1,167 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Searches for a particular string.

See Also:

AWS + * API Reference

+ */ + class StringFilterExpression + { + public: + AWS_DEADLINE_API StringFilterExpression(); + AWS_DEADLINE_API StringFilterExpression(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API StringFilterExpression& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The field name to search.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The field name to search.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The field name to search.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The field name to search.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The field name to search.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The field name to search.

+ */ + inline StringFilterExpression& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The field name to search.

+ */ + inline StringFilterExpression& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The field name to search.

+ */ + inline StringFilterExpression& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The type of comparison to use for this search.

+ */ + inline const ComparisonOperator& GetOperator() const{ return m_operator; } + + /** + *

The type of comparison to use for this search.

+ */ + inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; } + + /** + *

The type of comparison to use for this search.

+ */ + inline void SetOperator(const ComparisonOperator& value) { m_operatorHasBeenSet = true; m_operator = value; } + + /** + *

The type of comparison to use for this search.

+ */ + inline void SetOperator(ComparisonOperator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); } + + /** + *

The type of comparison to use for this search.

+ */ + inline StringFilterExpression& WithOperator(const ComparisonOperator& value) { SetOperator(value); return *this;} + + /** + *

The type of comparison to use for this search.

+ */ + inline StringFilterExpression& WithOperator(ComparisonOperator&& value) { SetOperator(std::move(value)); return *this;} + + + /** + *

The string to search for.

+ */ + inline const Aws::String& GetValue() const{ return m_value; } + + /** + *

The string to search for.

+ */ + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + + /** + *

The string to search for.

+ */ + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + + /** + *

The string to search for.

+ */ + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + + /** + *

The string to search for.

+ */ + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + + /** + *

The string to search for.

+ */ + inline StringFilterExpression& WithValue(const Aws::String& value) { SetValue(value); return *this;} + + /** + *

The string to search for.

+ */ + inline StringFilterExpression& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + + /** + *

The string to search for.

+ */ + inline StringFilterExpression& WithValue(const char* value) { SetValue(value); return *this;} + + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + ComparisonOperator m_operator; + bool m_operatorHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SyncInputJobAttachmentsSessionActionDefinition.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SyncInputJobAttachmentsSessionActionDefinition.h new file mode 100644 index 00000000000..a9519cfb91d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SyncInputJobAttachmentsSessionActionDefinition.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The job attachment in a session action to sync.

See Also:

AWS + * API Reference

+ */ + class SyncInputJobAttachmentsSessionActionDefinition + { + public: + AWS_DEADLINE_API SyncInputJobAttachmentsSessionActionDefinition(); + AWS_DEADLINE_API SyncInputJobAttachmentsSessionActionDefinition(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API SyncInputJobAttachmentsSessionActionDefinition& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The step ID for the step in the job attachment.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID for the step in the job attachment.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID for the step in the job attachment.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID for the step in the job attachment.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID for the step in the job attachment.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID for the step in the job attachment.

+ */ + inline SyncInputJobAttachmentsSessionActionDefinition& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID for the step in the job attachment.

+ */ + inline SyncInputJobAttachmentsSessionActionDefinition& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID for the step in the job attachment.

+ */ + inline SyncInputJobAttachmentsSessionActionDefinition& WithStepId(const char* value) { SetStepId(value); return *this;} + + private: + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SyncInputJobAttachmentsSessionActionDefinitionSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SyncInputJobAttachmentsSessionActionDefinitionSummary.h new file mode 100644 index 00000000000..ef2dca168b0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/SyncInputJobAttachmentsSessionActionDefinitionSummary.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a synced job attachment.

See Also:

AWS + * API Reference

+ */ + class SyncInputJobAttachmentsSessionActionDefinitionSummary + { + public: + AWS_DEADLINE_API SyncInputJobAttachmentsSessionActionDefinitionSummary(); + AWS_DEADLINE_API SyncInputJobAttachmentsSessionActionDefinitionSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API SyncInputJobAttachmentsSessionActionDefinitionSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The step ID of the step in the job attachment.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID of the step in the job attachment.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID of the step in the job attachment.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID of the step in the job attachment.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID of the step in the job attachment.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID of the step in the job attachment.

+ */ + inline SyncInputJobAttachmentsSessionActionDefinitionSummary& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID of the step in the job attachment.

+ */ + inline SyncInputJobAttachmentsSessionActionDefinitionSummary& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID of the step in the job attachment.

+ */ + inline SyncInputJobAttachmentsSessionActionDefinitionSummary& WithStepId(const char* value) { SetStepId(value); return *this;} + + private: + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TagResourceRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TagResourceRequest.h new file mode 100644 index 00000000000..ac8c13c658d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TagResourceRequest.h @@ -0,0 +1,166 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class TagResourceRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API TagResourceRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "TagResource"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The ARN of the resource to apply tags to.

+ */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + + /** + *

The ARN of the resource to apply tags to.

+ */ + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + + /** + *

The ARN of the resource to apply tags to.

+ */ + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + + /** + *

The ARN of the resource to apply tags to.

+ */ + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + + /** + *

The ARN of the resource to apply tags to.

+ */ + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + + /** + *

The ARN of the resource to apply tags to.

+ */ + inline TagResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + + /** + *

The ARN of the resource to apply tags to.

+ */ + inline TagResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + + /** + *

The ARN of the resource to apply tags to.

+ */ + inline TagResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline const Aws::Map& GetTags() const{ return m_tags; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline TagResourceRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline TagResourceRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline TagResourceRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline TagResourceRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline TagResourceRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline TagResourceRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline TagResourceRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline TagResourceRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *

Each tag consists of a tag key and a tag value. Tag keys and values are both + * required, but tag values can be empty strings.

+ */ + inline TagResourceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TagResourceResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TagResourceResult.h new file mode 100644 index 00000000000..403c6544d1a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TagResourceResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class TagResourceResult + { + public: + AWS_DEADLINE_API TagResourceResult(); + AWS_DEADLINE_API TagResourceResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API TagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline TagResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline TagResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline TagResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskParameterValue.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskParameterValue.h new file mode 100644 index 00000000000..97c78286f36 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskParameterValue.h @@ -0,0 +1,228 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The data types for the task parameters.

See Also:

AWS + * API Reference

+ */ + class TaskParameterValue + { + public: + AWS_DEADLINE_API TaskParameterValue(); + AWS_DEADLINE_API TaskParameterValue(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API TaskParameterValue& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

A double precision IEEE-754 floating point number represented as a + * string.

+ */ + inline const Aws::String& GetFloat() const{ return m_float; } + + /** + *

A double precision IEEE-754 floating point number represented as a + * string.

+ */ + inline bool FloatHasBeenSet() const { return m_floatHasBeenSet; } + + /** + *

A double precision IEEE-754 floating point number represented as a + * string.

+ */ + inline void SetFloat(const Aws::String& value) { m_floatHasBeenSet = true; m_float = value; } + + /** + *

A double precision IEEE-754 floating point number represented as a + * string.

+ */ + inline void SetFloat(Aws::String&& value) { m_floatHasBeenSet = true; m_float = std::move(value); } + + /** + *

A double precision IEEE-754 floating point number represented as a + * string.

+ */ + inline void SetFloat(const char* value) { m_floatHasBeenSet = true; m_float.assign(value); } + + /** + *

A double precision IEEE-754 floating point number represented as a + * string.

+ */ + inline TaskParameterValue& WithFloat(const Aws::String& value) { SetFloat(value); return *this;} + + /** + *

A double precision IEEE-754 floating point number represented as a + * string.

+ */ + inline TaskParameterValue& WithFloat(Aws::String&& value) { SetFloat(std::move(value)); return *this;} + + /** + *

A double precision IEEE-754 floating point number represented as a + * string.

+ */ + inline TaskParameterValue& WithFloat(const char* value) { SetFloat(value); return *this;} + + + /** + *

A signed integer represented as a string.

+ */ + inline const Aws::String& GetInt() const{ return m_int; } + + /** + *

A signed integer represented as a string.

+ */ + inline bool IntHasBeenSet() const { return m_intHasBeenSet; } + + /** + *

A signed integer represented as a string.

+ */ + inline void SetInt(const Aws::String& value) { m_intHasBeenSet = true; m_int = value; } + + /** + *

A signed integer represented as a string.

+ */ + inline void SetInt(Aws::String&& value) { m_intHasBeenSet = true; m_int = std::move(value); } + + /** + *

A signed integer represented as a string.

+ */ + inline void SetInt(const char* value) { m_intHasBeenSet = true; m_int.assign(value); } + + /** + *

A signed integer represented as a string.

+ */ + inline TaskParameterValue& WithInt(const Aws::String& value) { SetInt(value); return *this;} + + /** + *

A signed integer represented as a string.

+ */ + inline TaskParameterValue& WithInt(Aws::String&& value) { SetInt(std::move(value)); return *this;} + + /** + *

A signed integer represented as a string.

+ */ + inline TaskParameterValue& WithInt(const char* value) { SetInt(value); return *this;} + + + /** + *

A file system path represented as a string.

+ */ + inline const Aws::String& GetPath() const{ return m_path; } + + /** + *

A file system path represented as a string.

+ */ + inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } + + /** + *

A file system path represented as a string.

+ */ + inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } + + /** + *

A file system path represented as a string.

+ */ + inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } + + /** + *

A file system path represented as a string.

+ */ + inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } + + /** + *

A file system path represented as a string.

+ */ + inline TaskParameterValue& WithPath(const Aws::String& value) { SetPath(value); return *this;} + + /** + *

A file system path represented as a string.

+ */ + inline TaskParameterValue& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} + + /** + *

A file system path represented as a string.

+ */ + inline TaskParameterValue& WithPath(const char* value) { SetPath(value); return *this;} + + + /** + *

A UTF-8 string.

+ */ + inline const Aws::String& GetString() const{ return m_string; } + + /** + *

A UTF-8 string.

+ */ + inline bool StringHasBeenSet() const { return m_stringHasBeenSet; } + + /** + *

A UTF-8 string.

+ */ + inline void SetString(const Aws::String& value) { m_stringHasBeenSet = true; m_string = value; } + + /** + *

A UTF-8 string.

+ */ + inline void SetString(Aws::String&& value) { m_stringHasBeenSet = true; m_string = std::move(value); } + + /** + *

A UTF-8 string.

+ */ + inline void SetString(const char* value) { m_stringHasBeenSet = true; m_string.assign(value); } + + /** + *

A UTF-8 string.

+ */ + inline TaskParameterValue& WithString(const Aws::String& value) { SetString(value); return *this;} + + /** + *

A UTF-8 string.

+ */ + inline TaskParameterValue& WithString(Aws::String&& value) { SetString(std::move(value)); return *this;} + + /** + *

A UTF-8 string.

+ */ + inline TaskParameterValue& WithString(const char* value) { SetString(value); return *this;} + + private: + + Aws::String m_float; + bool m_floatHasBeenSet = false; + + Aws::String m_int; + bool m_intHasBeenSet = false; + + Aws::String m_path; + bool m_pathHasBeenSet = false; + + Aws::String m_string; + bool m_stringHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskRunSessionActionDefinition.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskRunSessionActionDefinition.h new file mode 100644 index 00000000000..75989451994 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskRunSessionActionDefinition.h @@ -0,0 +1,199 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The task, step, and parameters for the task run in the session + * action.

See Also:

AWS + * API Reference

+ */ + class TaskRunSessionActionDefinition + { + public: + AWS_DEADLINE_API TaskRunSessionActionDefinition(); + AWS_DEADLINE_API TaskRunSessionActionDefinition(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API TaskRunSessionActionDefinition& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The task parameters.

+ */ + inline const Aws::Map& GetParameters() const{ return m_parameters; } + + /** + *

The task parameters.

+ */ + inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } + + /** + *

The task parameters.

+ */ + inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } + + /** + *

The task parameters.

+ */ + inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } + + /** + *

The task parameters.

+ */ + inline TaskRunSessionActionDefinition& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} + + /** + *

The task parameters.

+ */ + inline TaskRunSessionActionDefinition& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} + + /** + *

The task parameters.

+ */ + inline TaskRunSessionActionDefinition& AddParameters(const Aws::String& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + + /** + *

The task parameters.

+ */ + inline TaskRunSessionActionDefinition& AddParameters(Aws::String&& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } + + /** + *

The task parameters.

+ */ + inline TaskRunSessionActionDefinition& AddParameters(const Aws::String& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The task parameters.

+ */ + inline TaskRunSessionActionDefinition& AddParameters(Aws::String&& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The task parameters.

+ */ + inline TaskRunSessionActionDefinition& AddParameters(const char* key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The task parameters.

+ */ + inline TaskRunSessionActionDefinition& AddParameters(const char* key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + + + /** + *

The step ID.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID.

+ */ + inline TaskRunSessionActionDefinition& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID.

+ */ + inline TaskRunSessionActionDefinition& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID.

+ */ + inline TaskRunSessionActionDefinition& WithStepId(const char* value) { SetStepId(value); return *this;} + + + /** + *

The task ID.

+ */ + inline const Aws::String& GetTaskId() const{ return m_taskId; } + + /** + *

The task ID.

+ */ + inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } + + /** + *

The task ID.

+ */ + inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } + + /** + *

The task ID.

+ */ + inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } + + /** + *

The task ID.

+ */ + inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } + + /** + *

The task ID.

+ */ + inline TaskRunSessionActionDefinition& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} + + /** + *

The task ID.

+ */ + inline TaskRunSessionActionDefinition& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} + + /** + *

The task ID.

+ */ + inline TaskRunSessionActionDefinition& WithTaskId(const char* value) { SetTaskId(value); return *this;} + + private: + + Aws::Map m_parameters; + bool m_parametersHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + + Aws::String m_taskId; + bool m_taskIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskRunSessionActionDefinitionSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskRunSessionActionDefinitionSummary.h new file mode 100644 index 00000000000..d7b81918d92 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskRunSessionActionDefinitionSummary.h @@ -0,0 +1,132 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a task run in a session action.

See Also:

AWS + * API Reference

+ */ + class TaskRunSessionActionDefinitionSummary + { + public: + AWS_DEADLINE_API TaskRunSessionActionDefinitionSummary(); + AWS_DEADLINE_API TaskRunSessionActionDefinitionSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API TaskRunSessionActionDefinitionSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The step ID.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID.

+ */ + inline TaskRunSessionActionDefinitionSummary& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID.

+ */ + inline TaskRunSessionActionDefinitionSummary& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID.

+ */ + inline TaskRunSessionActionDefinitionSummary& WithStepId(const char* value) { SetStepId(value); return *this;} + + + /** + *

The task ID.

+ */ + inline const Aws::String& GetTaskId() const{ return m_taskId; } + + /** + *

The task ID.

+ */ + inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } + + /** + *

The task ID.

+ */ + inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } + + /** + *

The task ID.

+ */ + inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } + + /** + *

The task ID.

+ */ + inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } + + /** + *

The task ID.

+ */ + inline TaskRunSessionActionDefinitionSummary& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} + + /** + *

The task ID.

+ */ + inline TaskRunSessionActionDefinitionSummary& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} + + /** + *

The task ID.

+ */ + inline TaskRunSessionActionDefinitionSummary& WithTaskId(const char* value) { SetTaskId(value); return *this;} + + private: + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + + Aws::String m_taskId; + bool m_taskIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskRunStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskRunStatus.h new file mode 100644 index 00000000000..f1b9226b365 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskRunStatus.h @@ -0,0 +1,41 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class TaskRunStatus + { + NOT_SET, + PENDING, + READY, + ASSIGNED, + STARTING, + SCHEDULED, + INTERRUPTING, + RUNNING, + SUSPENDED, + CANCELED, + FAILED, + SUCCEEDED, + NOT_COMPATIBLE + }; + +namespace TaskRunStatusMapper +{ +AWS_DEADLINE_API TaskRunStatus GetTaskRunStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForTaskRunStatus(TaskRunStatus value); +} // namespace TaskRunStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskSearchSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskSearchSummary.h new file mode 100644 index 00000000000..fa0825d25d1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskSearchSummary.h @@ -0,0 +1,449 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a task search.

See Also:

AWS + * API Reference

+ */ + class TaskSearchSummary + { + public: + AWS_DEADLINE_API TaskSearchSummary(); + AWS_DEADLINE_API TaskSearchSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API TaskSearchSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The date and time the resource ended running.

+ */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + + /** + *

The date and time the resource ended running.

+ */ + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + + /** + *

The date and time the resource ended running.

+ */ + inline TaskSearchSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + + /** + *

The date and time the resource ended running.

+ */ + inline TaskSearchSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + + + /** + *

The number of times that the task failed and was retried.

+ */ + inline int GetFailureRetryCount() const{ return m_failureRetryCount; } + + /** + *

The number of times that the task failed and was retried.

+ */ + inline bool FailureRetryCountHasBeenSet() const { return m_failureRetryCountHasBeenSet; } + + /** + *

The number of times that the task failed and was retried.

+ */ + inline void SetFailureRetryCount(int value) { m_failureRetryCountHasBeenSet = true; m_failureRetryCount = value; } + + /** + *

The number of times that the task failed and was retried.

+ */ + inline TaskSearchSummary& WithFailureRetryCount(int value) { SetFailureRetryCount(value); return *this;} + + + /** + *

The job ID.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID.

+ */ + inline TaskSearchSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID.

+ */ + inline TaskSearchSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID.

+ */ + inline TaskSearchSummary& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The parameters to search for.

+ */ + inline const Aws::Map& GetParameters() const{ return m_parameters; } + + /** + *

The parameters to search for.

+ */ + inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } + + /** + *

The parameters to search for.

+ */ + inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } + + /** + *

The parameters to search for.

+ */ + inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } + + /** + *

The parameters to search for.

+ */ + inline TaskSearchSummary& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} + + /** + *

The parameters to search for.

+ */ + inline TaskSearchSummary& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} + + /** + *

The parameters to search for.

+ */ + inline TaskSearchSummary& AddParameters(const Aws::String& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + + /** + *

The parameters to search for.

+ */ + inline TaskSearchSummary& AddParameters(Aws::String&& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } + + /** + *

The parameters to search for.

+ */ + inline TaskSearchSummary& AddParameters(const Aws::String& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The parameters to search for.

+ */ + inline TaskSearchSummary& AddParameters(Aws::String&& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The parameters to search for.

+ */ + inline TaskSearchSummary& AddParameters(const char* key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The parameters to search for.

+ */ + inline TaskSearchSummary& AddParameters(const char* key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + + + /** + *

The queue ID.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID.

+ */ + inline TaskSearchSummary& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID.

+ */ + inline TaskSearchSummary& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID.

+ */ + inline TaskSearchSummary& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The run status of the task.

+ */ + inline const TaskRunStatus& GetRunStatus() const{ return m_runStatus; } + + /** + *

The run status of the task.

+ */ + inline bool RunStatusHasBeenSet() const { return m_runStatusHasBeenSet; } + + /** + *

The run status of the task.

+ */ + inline void SetRunStatus(const TaskRunStatus& value) { m_runStatusHasBeenSet = true; m_runStatus = value; } + + /** + *

The run status of the task.

+ */ + inline void SetRunStatus(TaskRunStatus&& value) { m_runStatusHasBeenSet = true; m_runStatus = std::move(value); } + + /** + *

The run status of the task.

+ */ + inline TaskSearchSummary& WithRunStatus(const TaskRunStatus& value) { SetRunStatus(value); return *this;} + + /** + *

The run status of the task.

+ */ + inline TaskSearchSummary& WithRunStatus(TaskRunStatus&& value) { SetRunStatus(std::move(value)); return *this;} + + + /** + *

The date and time the resource started running.

+ */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + + /** + *

The date and time the resource started running.

+ */ + inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } + + /** + *

The date and time the resource started running.

+ */ + inline TaskSearchSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + + /** + *

The date and time the resource started running.

+ */ + inline TaskSearchSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + + + /** + *

The step ID.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID.

+ */ + inline TaskSearchSummary& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID.

+ */ + inline TaskSearchSummary& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID.

+ */ + inline TaskSearchSummary& WithStepId(const char* value) { SetStepId(value); return *this;} + + + /** + *

The run status that the task is being updated to.

+ */ + inline const TaskTargetRunStatus& GetTargetRunStatus() const{ return m_targetRunStatus; } + + /** + *

The run status that the task is being updated to.

+ */ + inline bool TargetRunStatusHasBeenSet() const { return m_targetRunStatusHasBeenSet; } + + /** + *

The run status that the task is being updated to.

+ */ + inline void SetTargetRunStatus(const TaskTargetRunStatus& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = value; } + + /** + *

The run status that the task is being updated to.

+ */ + inline void SetTargetRunStatus(TaskTargetRunStatus&& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = std::move(value); } + + /** + *

The run status that the task is being updated to.

+ */ + inline TaskSearchSummary& WithTargetRunStatus(const TaskTargetRunStatus& value) { SetTargetRunStatus(value); return *this;} + + /** + *

The run status that the task is being updated to.

+ */ + inline TaskSearchSummary& WithTargetRunStatus(TaskTargetRunStatus&& value) { SetTargetRunStatus(std::move(value)); return *this;} + + + /** + *

The task ID.

+ */ + inline const Aws::String& GetTaskId() const{ return m_taskId; } + + /** + *

The task ID.

+ */ + inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } + + /** + *

The task ID.

+ */ + inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } + + /** + *

The task ID.

+ */ + inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } + + /** + *

The task ID.

+ */ + inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } + + /** + *

The task ID.

+ */ + inline TaskSearchSummary& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} + + /** + *

The task ID.

+ */ + inline TaskSearchSummary& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} + + /** + *

The task ID.

+ */ + inline TaskSearchSummary& WithTaskId(const char* value) { SetTaskId(value); return *this;} + + private: + + Aws::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = false; + + int m_failureRetryCount; + bool m_failureRetryCountHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::Map m_parameters; + bool m_parametersHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + TaskRunStatus m_runStatus; + bool m_runStatusHasBeenSet = false; + + Aws::Utils::DateTime m_startedAt; + bool m_startedAtHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + + TaskTargetRunStatus m_targetRunStatus; + bool m_targetRunStatusHasBeenSet = false; + + Aws::String m_taskId; + bool m_taskIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskSummary.h new file mode 100644 index 00000000000..1cde0638a26 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskSummary.h @@ -0,0 +1,517 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a task.

See Also:

AWS + * API Reference

+ */ + class TaskSummary + { + public: + AWS_DEADLINE_API TaskSummary(); + AWS_DEADLINE_API TaskSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API TaskSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline TaskSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline TaskSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline TaskSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline TaskSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline TaskSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The date and time the resource ended running.

+ */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + + /** + *

The date and time the resource ended running.

+ */ + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + + /** + *

The date and time the resource ended running.

+ */ + inline TaskSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + + /** + *

The date and time the resource ended running.

+ */ + inline TaskSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + + + /** + *

The number of times that the task failed and was retried.

+ */ + inline int GetFailureRetryCount() const{ return m_failureRetryCount; } + + /** + *

The number of times that the task failed and was retried.

+ */ + inline bool FailureRetryCountHasBeenSet() const { return m_failureRetryCountHasBeenSet; } + + /** + *

The number of times that the task failed and was retried.

+ */ + inline void SetFailureRetryCount(int value) { m_failureRetryCountHasBeenSet = true; m_failureRetryCount = value; } + + /** + *

The number of times that the task failed and was retried.

+ */ + inline TaskSummary& WithFailureRetryCount(int value) { SetFailureRetryCount(value); return *this;} + + + /** + *

The latest session action for the task.

+ */ + inline const Aws::String& GetLatestSessionActionId() const{ return m_latestSessionActionId; } + + /** + *

The latest session action for the task.

+ */ + inline bool LatestSessionActionIdHasBeenSet() const { return m_latestSessionActionIdHasBeenSet; } + + /** + *

The latest session action for the task.

+ */ + inline void SetLatestSessionActionId(const Aws::String& value) { m_latestSessionActionIdHasBeenSet = true; m_latestSessionActionId = value; } + + /** + *

The latest session action for the task.

+ */ + inline void SetLatestSessionActionId(Aws::String&& value) { m_latestSessionActionIdHasBeenSet = true; m_latestSessionActionId = std::move(value); } + + /** + *

The latest session action for the task.

+ */ + inline void SetLatestSessionActionId(const char* value) { m_latestSessionActionIdHasBeenSet = true; m_latestSessionActionId.assign(value); } + + /** + *

The latest session action for the task.

+ */ + inline TaskSummary& WithLatestSessionActionId(const Aws::String& value) { SetLatestSessionActionId(value); return *this;} + + /** + *

The latest session action for the task.

+ */ + inline TaskSummary& WithLatestSessionActionId(Aws::String&& value) { SetLatestSessionActionId(std::move(value)); return *this;} + + /** + *

The latest session action for the task.

+ */ + inline TaskSummary& WithLatestSessionActionId(const char* value) { SetLatestSessionActionId(value); return *this;} + + + /** + *

The task parameters.

+ */ + inline const Aws::Map& GetParameters() const{ return m_parameters; } + + /** + *

The task parameters.

+ */ + inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } + + /** + *

The task parameters.

+ */ + inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } + + /** + *

The task parameters.

+ */ + inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } + + /** + *

The task parameters.

+ */ + inline TaskSummary& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} + + /** + *

The task parameters.

+ */ + inline TaskSummary& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} + + /** + *

The task parameters.

+ */ + inline TaskSummary& AddParameters(const Aws::String& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + + /** + *

The task parameters.

+ */ + inline TaskSummary& AddParameters(Aws::String&& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } + + /** + *

The task parameters.

+ */ + inline TaskSummary& AddParameters(const Aws::String& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The task parameters.

+ */ + inline TaskSummary& AddParameters(Aws::String&& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The task parameters.

+ */ + inline TaskSummary& AddParameters(const char* key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + + /** + *

The task parameters.

+ */ + inline TaskSummary& AddParameters(const char* key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + + + /** + *

The run status of the task.

+ */ + inline const TaskRunStatus& GetRunStatus() const{ return m_runStatus; } + + /** + *

The run status of the task.

+ */ + inline bool RunStatusHasBeenSet() const { return m_runStatusHasBeenSet; } + + /** + *

The run status of the task.

+ */ + inline void SetRunStatus(const TaskRunStatus& value) { m_runStatusHasBeenSet = true; m_runStatus = value; } + + /** + *

The run status of the task.

+ */ + inline void SetRunStatus(TaskRunStatus&& value) { m_runStatusHasBeenSet = true; m_runStatus = std::move(value); } + + /** + *

The run status of the task.

+ */ + inline TaskSummary& WithRunStatus(const TaskRunStatus& value) { SetRunStatus(value); return *this;} + + /** + *

The run status of the task.

+ */ + inline TaskSummary& WithRunStatus(TaskRunStatus&& value) { SetRunStatus(std::move(value)); return *this;} + + + /** + *

The date and time the resource started running.

+ */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + + /** + *

The date and time the resource started running.

+ */ + inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } + + /** + *

The date and time the resource started running.

+ */ + inline TaskSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + + /** + *

The date and time the resource started running.

+ */ + inline TaskSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + + + /** + *

The run status on which the started.

+ */ + inline const TaskTargetRunStatus& GetTargetRunStatus() const{ return m_targetRunStatus; } + + /** + *

The run status on which the started.

+ */ + inline bool TargetRunStatusHasBeenSet() const { return m_targetRunStatusHasBeenSet; } + + /** + *

The run status on which the started.

+ */ + inline void SetTargetRunStatus(const TaskTargetRunStatus& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = value; } + + /** + *

The run status on which the started.

+ */ + inline void SetTargetRunStatus(TaskTargetRunStatus&& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = std::move(value); } + + /** + *

The run status on which the started.

+ */ + inline TaskSummary& WithTargetRunStatus(const TaskTargetRunStatus& value) { SetTargetRunStatus(value); return *this;} + + /** + *

The run status on which the started.

+ */ + inline TaskSummary& WithTargetRunStatus(TaskTargetRunStatus&& value) { SetTargetRunStatus(std::move(value)); return *this;} + + + /** + *

The task ID.

+ */ + inline const Aws::String& GetTaskId() const{ return m_taskId; } + + /** + *

The task ID.

+ */ + inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } + + /** + *

The task ID.

+ */ + inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } + + /** + *

The task ID.

+ */ + inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } + + /** + *

The task ID.

+ */ + inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } + + /** + *

The task ID.

+ */ + inline TaskSummary& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} + + /** + *

The task ID.

+ */ + inline TaskSummary& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} + + /** + *

The task ID.

+ */ + inline TaskSummary& WithTaskId(const char* value) { SetTaskId(value); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline TaskSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline TaskSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline TaskSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline TaskSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline TaskSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = false; + + int m_failureRetryCount; + bool m_failureRetryCountHasBeenSet = false; + + Aws::String m_latestSessionActionId; + bool m_latestSessionActionIdHasBeenSet = false; + + Aws::Map m_parameters; + bool m_parametersHasBeenSet = false; + + TaskRunStatus m_runStatus; + bool m_runStatusHasBeenSet = false; + + Aws::Utils::DateTime m_startedAt; + bool m_startedAtHasBeenSet = false; + + TaskTargetRunStatus m_targetRunStatus; + bool m_targetRunStatusHasBeenSet = false; + + Aws::String m_taskId; + bool m_taskIdHasBeenSet = false; + + Aws::Utils::DateTime m_updatedAt; + bool m_updatedAtHasBeenSet = false; + + Aws::String m_updatedBy; + bool m_updatedByHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskTargetRunStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskTargetRunStatus.h new file mode 100644 index 00000000000..bd30a0310ef --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/TaskTargetRunStatus.h @@ -0,0 +1,35 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class TaskTargetRunStatus + { + NOT_SET, + READY, + FAILED, + SUCCEEDED, + CANCELED, + SUSPENDED, + PENDING + }; + +namespace TaskTargetRunStatusMapper +{ +AWS_DEADLINE_API TaskTargetRunStatus GetTaskTargetRunStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForTaskTargetRunStatus(TaskTargetRunStatus value); +} // namespace TaskTargetRunStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ThrottlingException.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ThrottlingException.h new file mode 100644 index 00000000000..f03301bc60b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ThrottlingException.h @@ -0,0 +1,254 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Your request exceeded a request rate quota.

See Also:

AWS + * API Reference

+ */ + class ThrottlingException + { + public: + AWS_DEADLINE_API ThrottlingException(); + AWS_DEADLINE_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API ThrottlingException& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline const Aws::Map& GetContext() const{ return m_context; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline void SetContext(const Aws::Map& value) { m_contextHasBeenSet = true; m_context = value; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline void SetContext(Aws::Map&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ThrottlingException& WithContext(const Aws::Map& value) { SetContext(value); return *this;} + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ThrottlingException& WithContext(Aws::Map&& value) { SetContext(std::move(value)); return *this;} + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ThrottlingException& AddContext(const Aws::String& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ThrottlingException& AddContext(Aws::String&& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ThrottlingException& AddContext(const Aws::String& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ThrottlingException& AddContext(Aws::String&& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ThrottlingException& AddContext(const char* key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ThrottlingException& AddContext(Aws::String&& key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ThrottlingException& AddContext(const char* key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + + + + inline const Aws::String& GetMessage() const{ return m_message; } + + + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + + + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + + + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + + + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + + + inline ThrottlingException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + + + inline ThrottlingException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + + + inline ThrottlingException& WithMessage(const char* value) { SetMessage(value); return *this;} + + + /** + *

Identifies the quota that is being throttled.

+ */ + inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; } + + /** + *

Identifies the quota that is being throttled.

+ */ + inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } + + /** + *

Identifies the quota that is being throttled.

+ */ + inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; } + + /** + *

Identifies the quota that is being throttled.

+ */ + inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); } + + /** + *

Identifies the quota that is being throttled.

+ */ + inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); } + + /** + *

Identifies the quota that is being throttled.

+ */ + inline ThrottlingException& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;} + + /** + *

Identifies the quota that is being throttled.

+ */ + inline ThrottlingException& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;} + + /** + *

Identifies the quota that is being throttled.

+ */ + inline ThrottlingException& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;} + + + /** + *

The number of seconds a client should wait before retrying the request.

+ */ + inline int GetRetryAfterSeconds() const{ return m_retryAfterSeconds; } + + /** + *

The number of seconds a client should wait before retrying the request.

+ */ + inline bool RetryAfterSecondsHasBeenSet() const { return m_retryAfterSecondsHasBeenSet; } + + /** + *

The number of seconds a client should wait before retrying the request.

+ */ + inline void SetRetryAfterSeconds(int value) { m_retryAfterSecondsHasBeenSet = true; m_retryAfterSeconds = value; } + + /** + *

The number of seconds a client should wait before retrying the request.

+ */ + inline ThrottlingException& WithRetryAfterSeconds(int value) { SetRetryAfterSeconds(value); return *this;} + + + /** + *

Identifies the service that is being throttled.

+ */ + inline const Aws::String& GetServiceCode() const{ return m_serviceCode; } + + /** + *

Identifies the service that is being throttled.

+ */ + inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } + + /** + *

Identifies the service that is being throttled.

+ */ + inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; } + + /** + *

Identifies the service that is being throttled.

+ */ + inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); } + + /** + *

Identifies the service that is being throttled.

+ */ + inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); } + + /** + *

Identifies the service that is being throttled.

+ */ + inline ThrottlingException& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;} + + /** + *

Identifies the service that is being throttled.

+ */ + inline ThrottlingException& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} + + /** + *

Identifies the service that is being throttled.

+ */ + inline ThrottlingException& WithServiceCode(const char* value) { SetServiceCode(value); return *this;} + + private: + + Aws::Map m_context; + bool m_contextHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + Aws::String m_quotaCode; + bool m_quotaCodeHasBeenSet = false; + + int m_retryAfterSeconds; + bool m_retryAfterSecondsHasBeenSet = false; + + Aws::String m_serviceCode; + bool m_serviceCodeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UntagResourceRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UntagResourceRequest.h new file mode 100644 index 00000000000..0c5a43d1c3f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UntagResourceRequest.h @@ -0,0 +1,139 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace deadline +{ +namespace Model +{ + + /** + */ + class UntagResourceRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API UntagResourceRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UntagResource"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

The ARN of the resource to remove the tag from.

+ */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + + /** + *

The ARN of the resource to remove the tag from.

+ */ + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + + /** + *

The ARN of the resource to remove the tag from.

+ */ + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + + /** + *

The ARN of the resource to remove the tag from.

+ */ + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + + /** + *

The ARN of the resource to remove the tag from.

+ */ + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + + /** + *

The ARN of the resource to remove the tag from.

+ */ + inline UntagResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + + /** + *

The ARN of the resource to remove the tag from.

+ */ + inline UntagResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + + /** + *

The ARN of the resource to remove the tag from.

+ */ + inline UntagResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + + + /** + *

They keys of the tag.

+ */ + inline const Aws::Vector& GetTagKeys() const{ return m_tagKeys; } + + /** + *

They keys of the tag.

+ */ + inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; } + + /** + *

They keys of the tag.

+ */ + inline void SetTagKeys(const Aws::Vector& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; } + + /** + *

They keys of the tag.

+ */ + inline void SetTagKeys(Aws::Vector&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); } + + /** + *

They keys of the tag.

+ */ + inline UntagResourceRequest& WithTagKeys(const Aws::Vector& value) { SetTagKeys(value); return *this;} + + /** + *

They keys of the tag.

+ */ + inline UntagResourceRequest& WithTagKeys(Aws::Vector&& value) { SetTagKeys(std::move(value)); return *this;} + + /** + *

They keys of the tag.

+ */ + inline UntagResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; } + + /** + *

They keys of the tag.

+ */ + inline UntagResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; } + + /** + *

They keys of the tag.

+ */ + inline UntagResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; } + + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::Vector m_tagKeys; + bool m_tagKeysHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UntagResourceResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UntagResourceResult.h new file mode 100644 index 00000000000..92d28f5286c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UntagResourceResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class UntagResourceResult + { + public: + AWS_DEADLINE_API UntagResourceResult(); + AWS_DEADLINE_API UntagResourceResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API UntagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UntagResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UntagResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UntagResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateBudgetRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateBudgetRequest.h new file mode 100644 index 00000000000..52f1d2759e2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateBudgetRequest.h @@ -0,0 +1,481 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class UpdateBudgetRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API UpdateBudgetRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateBudget"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The budget actions to add. Budget actions specify what happens when the + * budget runs out.

+ */ + inline const Aws::Vector& GetActionsToAdd() const{ return m_actionsToAdd; } + + /** + *

The budget actions to add. Budget actions specify what happens when the + * budget runs out.

+ */ + inline bool ActionsToAddHasBeenSet() const { return m_actionsToAddHasBeenSet; } + + /** + *

The budget actions to add. Budget actions specify what happens when the + * budget runs out.

+ */ + inline void SetActionsToAdd(const Aws::Vector& value) { m_actionsToAddHasBeenSet = true; m_actionsToAdd = value; } + + /** + *

The budget actions to add. Budget actions specify what happens when the + * budget runs out.

+ */ + inline void SetActionsToAdd(Aws::Vector&& value) { m_actionsToAddHasBeenSet = true; m_actionsToAdd = std::move(value); } + + /** + *

The budget actions to add. Budget actions specify what happens when the + * budget runs out.

+ */ + inline UpdateBudgetRequest& WithActionsToAdd(const Aws::Vector& value) { SetActionsToAdd(value); return *this;} + + /** + *

The budget actions to add. Budget actions specify what happens when the + * budget runs out.

+ */ + inline UpdateBudgetRequest& WithActionsToAdd(Aws::Vector&& value) { SetActionsToAdd(std::move(value)); return *this;} + + /** + *

The budget actions to add. Budget actions specify what happens when the + * budget runs out.

+ */ + inline UpdateBudgetRequest& AddActionsToAdd(const BudgetActionToAdd& value) { m_actionsToAddHasBeenSet = true; m_actionsToAdd.push_back(value); return *this; } + + /** + *

The budget actions to add. Budget actions specify what happens when the + * budget runs out.

+ */ + inline UpdateBudgetRequest& AddActionsToAdd(BudgetActionToAdd&& value) { m_actionsToAddHasBeenSet = true; m_actionsToAdd.push_back(std::move(value)); return *this; } + + + /** + *

The budget actions to remove from the budget.

+ */ + inline const Aws::Vector& GetActionsToRemove() const{ return m_actionsToRemove; } + + /** + *

The budget actions to remove from the budget.

+ */ + inline bool ActionsToRemoveHasBeenSet() const { return m_actionsToRemoveHasBeenSet; } + + /** + *

The budget actions to remove from the budget.

+ */ + inline void SetActionsToRemove(const Aws::Vector& value) { m_actionsToRemoveHasBeenSet = true; m_actionsToRemove = value; } + + /** + *

The budget actions to remove from the budget.

+ */ + inline void SetActionsToRemove(Aws::Vector&& value) { m_actionsToRemoveHasBeenSet = true; m_actionsToRemove = std::move(value); } + + /** + *

The budget actions to remove from the budget.

+ */ + inline UpdateBudgetRequest& WithActionsToRemove(const Aws::Vector& value) { SetActionsToRemove(value); return *this;} + + /** + *

The budget actions to remove from the budget.

+ */ + inline UpdateBudgetRequest& WithActionsToRemove(Aws::Vector&& value) { SetActionsToRemove(std::move(value)); return *this;} + + /** + *

The budget actions to remove from the budget.

+ */ + inline UpdateBudgetRequest& AddActionsToRemove(const BudgetActionToRemove& value) { m_actionsToRemoveHasBeenSet = true; m_actionsToRemove.push_back(value); return *this; } + + /** + *

The budget actions to remove from the budget.

+ */ + inline UpdateBudgetRequest& AddActionsToRemove(BudgetActionToRemove&& value) { m_actionsToRemoveHasBeenSet = true; m_actionsToRemove.push_back(std::move(value)); return *this; } + + + /** + *

The dollar limit to update on the budget. Based on consumed usage.

+ */ + inline double GetApproximateDollarLimit() const{ return m_approximateDollarLimit; } + + /** + *

The dollar limit to update on the budget. Based on consumed usage.

+ */ + inline bool ApproximateDollarLimitHasBeenSet() const { return m_approximateDollarLimitHasBeenSet; } + + /** + *

The dollar limit to update on the budget. Based on consumed usage.

+ */ + inline void SetApproximateDollarLimit(double value) { m_approximateDollarLimitHasBeenSet = true; m_approximateDollarLimit = value; } + + /** + *

The dollar limit to update on the budget. Based on consumed usage.

+ */ + inline UpdateBudgetRequest& WithApproximateDollarLimit(double value) { SetApproximateDollarLimit(value); return *this;} + + + /** + *

The budget ID to update.

+ */ + inline const Aws::String& GetBudgetId() const{ return m_budgetId; } + + /** + *

The budget ID to update.

+ */ + inline bool BudgetIdHasBeenSet() const { return m_budgetIdHasBeenSet; } + + /** + *

The budget ID to update.

+ */ + inline void SetBudgetId(const Aws::String& value) { m_budgetIdHasBeenSet = true; m_budgetId = value; } + + /** + *

The budget ID to update.

+ */ + inline void SetBudgetId(Aws::String&& value) { m_budgetIdHasBeenSet = true; m_budgetId = std::move(value); } + + /** + *

The budget ID to update.

+ */ + inline void SetBudgetId(const char* value) { m_budgetIdHasBeenSet = true; m_budgetId.assign(value); } + + /** + *

The budget ID to update.

+ */ + inline UpdateBudgetRequest& WithBudgetId(const Aws::String& value) { SetBudgetId(value); return *this;} + + /** + *

The budget ID to update.

+ */ + inline UpdateBudgetRequest& WithBudgetId(Aws::String&& value) { SetBudgetId(std::move(value)); return *this;} + + /** + *

The budget ID to update.

+ */ + inline UpdateBudgetRequest& WithBudgetId(const char* value) { SetBudgetId(value); return *this;} + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateBudgetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateBudgetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateBudgetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The description of the budget to update.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

The description of the budget to update.

+ */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *

The description of the budget to update.

+ */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *

The description of the budget to update.

+ */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *

The description of the budget to update.

+ */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *

The description of the budget to update.

+ */ + inline UpdateBudgetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

The description of the budget to update.

+ */ + inline UpdateBudgetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

The description of the budget to update.

+ */ + inline UpdateBudgetRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

The display name of the budget to update.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the budget to update.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The display name of the budget to update.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The display name of the budget to update.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The display name of the budget to update.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The display name of the budget to update.

+ */ + inline UpdateBudgetRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the budget to update.

+ */ + inline UpdateBudgetRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the budget to update.

+ */ + inline UpdateBudgetRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The farm ID of the budget to update.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the budget to update.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the budget to update.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the budget to update.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the budget to update.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the budget to update.

+ */ + inline UpdateBudgetRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the budget to update.

+ */ + inline UpdateBudgetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the budget to update.

+ */ + inline UpdateBudgetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The schedule to update.

+ */ + inline const BudgetSchedule& GetSchedule() const{ return m_schedule; } + + /** + *

The schedule to update.

+ */ + inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; } + + /** + *

The schedule to update.

+ */ + inline void SetSchedule(const BudgetSchedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; } + + /** + *

The schedule to update.

+ */ + inline void SetSchedule(BudgetSchedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); } + + /** + *

The schedule to update.

+ */ + inline UpdateBudgetRequest& WithSchedule(const BudgetSchedule& value) { SetSchedule(value); return *this;} + + /** + *

The schedule to update.

+ */ + inline UpdateBudgetRequest& WithSchedule(BudgetSchedule&& value) { SetSchedule(std::move(value)); return *this;} + + + /** + *

Updates the status of the budget.

  • ACTIVE–The + * budget is being evaluated.

  • INACTIVE–The budget + * is inactive. This can include Expired, Canceled, or deleted Deleted + * statuses.

+ */ + inline const BudgetStatus& GetStatus() const{ return m_status; } + + /** + *

Updates the status of the budget.

  • ACTIVE–The + * budget is being evaluated.

  • INACTIVE–The budget + * is inactive. This can include Expired, Canceled, or deleted Deleted + * statuses.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

Updates the status of the budget.

  • ACTIVE–The + * budget is being evaluated.

  • INACTIVE–The budget + * is inactive. This can include Expired, Canceled, or deleted Deleted + * statuses.

+ */ + inline void SetStatus(const BudgetStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

Updates the status of the budget.

  • ACTIVE–The + * budget is being evaluated.

  • INACTIVE–The budget + * is inactive. This can include Expired, Canceled, or deleted Deleted + * statuses.

+ */ + inline void SetStatus(BudgetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

Updates the status of the budget.

  • ACTIVE–The + * budget is being evaluated.

  • INACTIVE–The budget + * is inactive. This can include Expired, Canceled, or deleted Deleted + * statuses.

+ */ + inline UpdateBudgetRequest& WithStatus(const BudgetStatus& value) { SetStatus(value); return *this;} + + /** + *

Updates the status of the budget.

  • ACTIVE–The + * budget is being evaluated.

  • INACTIVE–The budget + * is inactive. This can include Expired, Canceled, or deleted Deleted + * statuses.

+ */ + inline UpdateBudgetRequest& WithStatus(BudgetStatus&& value) { SetStatus(std::move(value)); return *this;} + + private: + + Aws::Vector m_actionsToAdd; + bool m_actionsToAddHasBeenSet = false; + + Aws::Vector m_actionsToRemove; + bool m_actionsToRemoveHasBeenSet = false; + + double m_approximateDollarLimit; + bool m_approximateDollarLimitHasBeenSet = false; + + Aws::String m_budgetId; + bool m_budgetIdHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + BudgetSchedule m_schedule; + bool m_scheduleHasBeenSet = false; + + BudgetStatus m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateBudgetResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateBudgetResult.h new file mode 100644 index 00000000000..1bcaba507c3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateBudgetResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class UpdateBudgetResult + { + public: + AWS_DEADLINE_API UpdateBudgetResult(); + AWS_DEADLINE_API UpdateBudgetResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API UpdateBudgetResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UpdateBudgetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UpdateBudgetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UpdateBudgetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateFarmRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateFarmRequest.h new file mode 100644 index 00000000000..6b1d77aace5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateFarmRequest.h @@ -0,0 +1,171 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class UpdateFarmRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API UpdateFarmRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateFarm"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The description of the farm to update.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

The description of the farm to update.

+ */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *

The description of the farm to update.

+ */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *

The description of the farm to update.

+ */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *

The description of the farm to update.

+ */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *

The description of the farm to update.

+ */ + inline UpdateFarmRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

The description of the farm to update.

+ */ + inline UpdateFarmRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

The description of the farm to update.

+ */ + inline UpdateFarmRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

The display name of the farm to update.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the farm to update.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The display name of the farm to update.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The display name of the farm to update.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The display name of the farm to update.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The display name of the farm to update.

+ */ + inline UpdateFarmRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the farm to update.

+ */ + inline UpdateFarmRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the farm to update.

+ */ + inline UpdateFarmRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The farm ID to update.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID to update.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID to update.

+ */ + inline UpdateFarmRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID to update.

+ */ + inline UpdateFarmRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID to update.

+ */ + inline UpdateFarmRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + private: + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateFarmResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateFarmResult.h new file mode 100644 index 00000000000..bb8698c1222 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateFarmResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class UpdateFarmResult + { + public: + AWS_DEADLINE_API UpdateFarmResult(); + AWS_DEADLINE_API UpdateFarmResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API UpdateFarmResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UpdateFarmResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UpdateFarmResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UpdateFarmResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateFleetRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateFleetRequest.h new file mode 100644 index 00000000000..396d46155a6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateFleetRequest.h @@ -0,0 +1,397 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class UpdateFleetRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API UpdateFleetRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateFleet"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateFleetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateFleetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateFleetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The fleet configuration to update.

+ */ + inline const FleetConfiguration& GetConfiguration() const{ return m_configuration; } + + /** + *

The fleet configuration to update.

+ */ + inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } + + /** + *

The fleet configuration to update.

+ */ + inline void SetConfiguration(const FleetConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } + + /** + *

The fleet configuration to update.

+ */ + inline void SetConfiguration(FleetConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } + + /** + *

The fleet configuration to update.

+ */ + inline UpdateFleetRequest& WithConfiguration(const FleetConfiguration& value) { SetConfiguration(value); return *this;} + + /** + *

The fleet configuration to update.

+ */ + inline UpdateFleetRequest& WithConfiguration(FleetConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} + + + /** + *

The description of the fleet to update.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

The description of the fleet to update.

+ */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *

The description of the fleet to update.

+ */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *

The description of the fleet to update.

+ */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *

The description of the fleet to update.

+ */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *

The description of the fleet to update.

+ */ + inline UpdateFleetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

The description of the fleet to update.

+ */ + inline UpdateFleetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

The description of the fleet to update.

+ */ + inline UpdateFleetRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

The display name of the fleet to update.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the fleet to update.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The display name of the fleet to update.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The display name of the fleet to update.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The display name of the fleet to update.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The display name of the fleet to update.

+ */ + inline UpdateFleetRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the fleet to update.

+ */ + inline UpdateFleetRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the fleet to update.

+ */ + inline UpdateFleetRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The farm ID to update.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID to update.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID to update.

+ */ + inline UpdateFleetRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID to update.

+ */ + inline UpdateFleetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID to update.

+ */ + inline UpdateFleetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID to update.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID to update.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID to update.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID to update.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID to update.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID to update.

+ */ + inline UpdateFleetRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID to update.

+ */ + inline UpdateFleetRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID to update.

+ */ + inline UpdateFleetRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The maximum number of workers in the fleet.

+ */ + inline int GetMaxWorkerCount() const{ return m_maxWorkerCount; } + + /** + *

The maximum number of workers in the fleet.

+ */ + inline bool MaxWorkerCountHasBeenSet() const { return m_maxWorkerCountHasBeenSet; } + + /** + *

The maximum number of workers in the fleet.

+ */ + inline void SetMaxWorkerCount(int value) { m_maxWorkerCountHasBeenSet = true; m_maxWorkerCount = value; } + + /** + *

The maximum number of workers in the fleet.

+ */ + inline UpdateFleetRequest& WithMaxWorkerCount(int value) { SetMaxWorkerCount(value); return *this;} + + + /** + *

The minimum number of workers in the fleet.

+ */ + inline int GetMinWorkerCount() const{ return m_minWorkerCount; } + + /** + *

The minimum number of workers in the fleet.

+ */ + inline bool MinWorkerCountHasBeenSet() const { return m_minWorkerCountHasBeenSet; } + + /** + *

The minimum number of workers in the fleet.

+ */ + inline void SetMinWorkerCount(int value) { m_minWorkerCountHasBeenSet = true; m_minWorkerCount = value; } + + /** + *

The minimum number of workers in the fleet.

+ */ + inline UpdateFleetRequest& WithMinWorkerCount(int value) { SetMinWorkerCount(value); return *this;} + + + /** + *

The IAM role ARN that the fleet's workers assume while running jobs.

+ */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + + /** + *

The IAM role ARN that the fleet's workers assume while running jobs.

+ */ + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + + /** + *

The IAM role ARN that the fleet's workers assume while running jobs.

+ */ + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + + /** + *

The IAM role ARN that the fleet's workers assume while running jobs.

+ */ + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + + /** + *

The IAM role ARN that the fleet's workers assume while running jobs.

+ */ + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + + /** + *

The IAM role ARN that the fleet's workers assume while running jobs.

+ */ + inline UpdateFleetRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + + /** + *

The IAM role ARN that the fleet's workers assume while running jobs.

+ */ + inline UpdateFleetRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + + /** + *

The IAM role ARN that the fleet's workers assume while running jobs.

+ */ + inline UpdateFleetRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + + private: + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + FleetConfiguration m_configuration; + bool m_configurationHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + int m_maxWorkerCount; + bool m_maxWorkerCountHasBeenSet = false; + + int m_minWorkerCount; + bool m_minWorkerCountHasBeenSet = false; + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateFleetResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateFleetResult.h new file mode 100644 index 00000000000..deade3b65f9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateFleetResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class UpdateFleetResult + { + public: + AWS_DEADLINE_API UpdateFleetResult(); + AWS_DEADLINE_API UpdateFleetResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API UpdateFleetResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UpdateFleetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UpdateFleetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UpdateFleetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateJobLifecycleStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateJobLifecycleStatus.h new file mode 100644 index 00000000000..99d7c34a78f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateJobLifecycleStatus.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class UpdateJobLifecycleStatus + { + NOT_SET, + ARCHIVED + }; + +namespace UpdateJobLifecycleStatusMapper +{ +AWS_DEADLINE_API UpdateJobLifecycleStatus GetUpdateJobLifecycleStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForUpdateJobLifecycleStatus(UpdateJobLifecycleStatus value); +} // namespace UpdateJobLifecycleStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateJobRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateJobRequest.h new file mode 100644 index 00000000000..a7715188b53 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateJobRequest.h @@ -0,0 +1,372 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class UpdateJobRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API UpdateJobRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateJob"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The farm ID of the job to update.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the job to update.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the job to update.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the job to update.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the job to update.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the job to update.

+ */ + inline UpdateJobRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the job to update.

+ */ + inline UpdateJobRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the job to update.

+ */ + inline UpdateJobRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID to update.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID to update.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID to update.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID to update.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID to update.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID to update.

+ */ + inline UpdateJobRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID to update.

+ */ + inline UpdateJobRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID to update.

+ */ + inline UpdateJobRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The status of a job in its lifecycle.

+ */ + inline const UpdateJobLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } + + /** + *

The status of a job in its lifecycle.

+ */ + inline bool LifecycleStatusHasBeenSet() const { return m_lifecycleStatusHasBeenSet; } + + /** + *

The status of a job in its lifecycle.

+ */ + inline void SetLifecycleStatus(const UpdateJobLifecycleStatus& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = value; } + + /** + *

The status of a job in its lifecycle.

+ */ + inline void SetLifecycleStatus(UpdateJobLifecycleStatus&& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = std::move(value); } + + /** + *

The status of a job in its lifecycle.

+ */ + inline UpdateJobRequest& WithLifecycleStatus(const UpdateJobLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} + + /** + *

The status of a job in its lifecycle.

+ */ + inline UpdateJobRequest& WithLifecycleStatus(UpdateJobLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} + + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline int GetMaxFailedTasksCount() const{ return m_maxFailedTasksCount; } + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline bool MaxFailedTasksCountHasBeenSet() const { return m_maxFailedTasksCountHasBeenSet; } + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline void SetMaxFailedTasksCount(int value) { m_maxFailedTasksCountHasBeenSet = true; m_maxFailedTasksCount = value; } + + /** + *

The number of task failures before the job stops running and is marked as + * FAILED.

+ */ + inline UpdateJobRequest& WithMaxFailedTasksCount(int value) { SetMaxFailedTasksCount(value); return *this;} + + + /** + *

The maximum number of retries for a job.

+ */ + inline int GetMaxRetriesPerTask() const{ return m_maxRetriesPerTask; } + + /** + *

The maximum number of retries for a job.

+ */ + inline bool MaxRetriesPerTaskHasBeenSet() const { return m_maxRetriesPerTaskHasBeenSet; } + + /** + *

The maximum number of retries for a job.

+ */ + inline void SetMaxRetriesPerTask(int value) { m_maxRetriesPerTaskHasBeenSet = true; m_maxRetriesPerTask = value; } + + /** + *

The maximum number of retries for a job.

+ */ + inline UpdateJobRequest& WithMaxRetriesPerTask(int value) { SetMaxRetriesPerTask(value); return *this;} + + + /** + *

The job priority to update.

+ */ + inline int GetPriority() const{ return m_priority; } + + /** + *

The job priority to update.

+ */ + inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } + + /** + *

The job priority to update.

+ */ + inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } + + /** + *

The job priority to update.

+ */ + inline UpdateJobRequest& WithPriority(int value) { SetPriority(value); return *this;} + + + /** + *

The queue ID of the job to update.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID of the job to update.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID of the job to update.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID of the job to update.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID of the job to update.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID of the job to update.

+ */ + inline UpdateJobRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID of the job to update.

+ */ + inline UpdateJobRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID of the job to update.

+ */ + inline UpdateJobRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The task status to update the job's tasks to.

+ */ + inline const JobTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } + + /** + *

The task status to update the job's tasks to.

+ */ + inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } + + /** + *

The task status to update the job's tasks to.

+ */ + inline void SetTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; } + + /** + *

The task status to update the job's tasks to.

+ */ + inline void SetTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); } + + /** + *

The task status to update the job's tasks to.

+ */ + inline UpdateJobRequest& WithTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} + + /** + *

The task status to update the job's tasks to.

+ */ + inline UpdateJobRequest& WithTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + + private: + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + UpdateJobLifecycleStatus m_lifecycleStatus; + bool m_lifecycleStatusHasBeenSet = false; + + int m_maxFailedTasksCount; + bool m_maxFailedTasksCountHasBeenSet = false; + + int m_maxRetriesPerTask; + bool m_maxRetriesPerTaskHasBeenSet = false; + + int m_priority; + bool m_priorityHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + JobTargetTaskRunStatus m_targetTaskRunStatus; + bool m_targetTaskRunStatusHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateJobResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateJobResult.h new file mode 100644 index 00000000000..4d3c5c88661 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateJobResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class UpdateJobResult + { + public: + AWS_DEADLINE_API UpdateJobResult(); + AWS_DEADLINE_API UpdateJobResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API UpdateJobResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UpdateJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UpdateJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UpdateJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateMonitorRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateMonitorRequest.h new file mode 100644 index 00000000000..79df3aa6fc0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateMonitorRequest.h @@ -0,0 +1,223 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class UpdateMonitorRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API UpdateMonitorRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateMonitor"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The new value to use for the monitor's display name.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The new value to use for the monitor's display name.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The new value to use for the monitor's display name.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The new value to use for the monitor's display name.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The new value to use for the monitor's display name.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The new value to use for the monitor's display name.

+ */ + inline UpdateMonitorRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The new value to use for the monitor's display name.

+ */ + inline UpdateMonitorRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The new value to use for the monitor's display name.

+ */ + inline UpdateMonitorRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The unique identifier of the monitor to update.

+ */ + inline const Aws::String& GetMonitorId() const{ return m_monitorId; } + + /** + *

The unique identifier of the monitor to update.

+ */ + inline bool MonitorIdHasBeenSet() const { return m_monitorIdHasBeenSet; } + + /** + *

The unique identifier of the monitor to update.

+ */ + inline void SetMonitorId(const Aws::String& value) { m_monitorIdHasBeenSet = true; m_monitorId = value; } + + /** + *

The unique identifier of the monitor to update.

+ */ + inline void SetMonitorId(Aws::String&& value) { m_monitorIdHasBeenSet = true; m_monitorId = std::move(value); } + + /** + *

The unique identifier of the monitor to update.

+ */ + inline void SetMonitorId(const char* value) { m_monitorIdHasBeenSet = true; m_monitorId.assign(value); } + + /** + *

The unique identifier of the monitor to update.

+ */ + inline UpdateMonitorRequest& WithMonitorId(const Aws::String& value) { SetMonitorId(value); return *this;} + + /** + *

The unique identifier of the monitor to update.

+ */ + inline UpdateMonitorRequest& WithMonitorId(Aws::String&& value) { SetMonitorId(std::move(value)); return *this;} + + /** + *

The unique identifier of the monitor to update.

+ */ + inline UpdateMonitorRequest& WithMonitorId(const char* value) { SetMonitorId(value); return *this;} + + + /** + *

The Amazon Resource Name (ARN) of the new IAM role to use with the + * monitor.

+ */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + + /** + *

The Amazon Resource Name (ARN) of the new IAM role to use with the + * monitor.

+ */ + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + + /** + *

The Amazon Resource Name (ARN) of the new IAM role to use with the + * monitor.

+ */ + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + + /** + *

The Amazon Resource Name (ARN) of the new IAM role to use with the + * monitor.

+ */ + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + + /** + *

The Amazon Resource Name (ARN) of the new IAM role to use with the + * monitor.

+ */ + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + + /** + *

The Amazon Resource Name (ARN) of the new IAM role to use with the + * monitor.

+ */ + inline UpdateMonitorRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the new IAM role to use with the + * monitor.

+ */ + inline UpdateMonitorRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + + /** + *

The Amazon Resource Name (ARN) of the new IAM role to use with the + * monitor.

+ */ + inline UpdateMonitorRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + + + /** + *

The new value of the subdomain to use when forming the monitor URL.

+ */ + inline const Aws::String& GetSubdomain() const{ return m_subdomain; } + + /** + *

The new value of the subdomain to use when forming the monitor URL.

+ */ + inline bool SubdomainHasBeenSet() const { return m_subdomainHasBeenSet; } + + /** + *

The new value of the subdomain to use when forming the monitor URL.

+ */ + inline void SetSubdomain(const Aws::String& value) { m_subdomainHasBeenSet = true; m_subdomain = value; } + + /** + *

The new value of the subdomain to use when forming the monitor URL.

+ */ + inline void SetSubdomain(Aws::String&& value) { m_subdomainHasBeenSet = true; m_subdomain = std::move(value); } + + /** + *

The new value of the subdomain to use when forming the monitor URL.

+ */ + inline void SetSubdomain(const char* value) { m_subdomainHasBeenSet = true; m_subdomain.assign(value); } + + /** + *

The new value of the subdomain to use when forming the monitor URL.

+ */ + inline UpdateMonitorRequest& WithSubdomain(const Aws::String& value) { SetSubdomain(value); return *this;} + + /** + *

The new value of the subdomain to use when forming the monitor URL.

+ */ + inline UpdateMonitorRequest& WithSubdomain(Aws::String&& value) { SetSubdomain(std::move(value)); return *this;} + + /** + *

The new value of the subdomain to use when forming the monitor URL.

+ */ + inline UpdateMonitorRequest& WithSubdomain(const char* value) { SetSubdomain(value); return *this;} + + private: + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_monitorId; + bool m_monitorIdHasBeenSet = false; + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; + + Aws::String m_subdomain; + bool m_subdomainHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateMonitorResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateMonitorResult.h new file mode 100644 index 00000000000..98db0674441 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateMonitorResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class UpdateMonitorResult + { + public: + AWS_DEADLINE_API UpdateMonitorResult(); + AWS_DEADLINE_API UpdateMonitorResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API UpdateMonitorResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UpdateMonitorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UpdateMonitorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UpdateMonitorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueEnvironmentRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueEnvironmentRequest.h new file mode 100644 index 00000000000..d247da5d82b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueEnvironmentRequest.h @@ -0,0 +1,329 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class UpdateQueueEnvironmentRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API UpdateQueueEnvironmentRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateQueueEnvironment"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateQueueEnvironmentRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateQueueEnvironmentRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateQueueEnvironmentRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The farm ID of the queue environment to update.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID of the queue environment to update.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID of the queue environment to update.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID of the queue environment to update.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID of the queue environment to update.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID of the queue environment to update.

+ */ + inline UpdateQueueEnvironmentRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID of the queue environment to update.

+ */ + inline UpdateQueueEnvironmentRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID of the queue environment to update.

+ */ + inline UpdateQueueEnvironmentRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The priority to update.

+ */ + inline int GetPriority() const{ return m_priority; } + + /** + *

The priority to update.

+ */ + inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } + + /** + *

The priority to update.

+ */ + inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } + + /** + *

The priority to update.

+ */ + inline UpdateQueueEnvironmentRequest& WithPriority(int value) { SetPriority(value); return *this;} + + + /** + *

The queue environment ID to update.

+ */ + inline const Aws::String& GetQueueEnvironmentId() const{ return m_queueEnvironmentId; } + + /** + *

The queue environment ID to update.

+ */ + inline bool QueueEnvironmentIdHasBeenSet() const { return m_queueEnvironmentIdHasBeenSet; } + + /** + *

The queue environment ID to update.

+ */ + inline void SetQueueEnvironmentId(const Aws::String& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = value; } + + /** + *

The queue environment ID to update.

+ */ + inline void SetQueueEnvironmentId(Aws::String&& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = std::move(value); } + + /** + *

The queue environment ID to update.

+ */ + inline void SetQueueEnvironmentId(const char* value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId.assign(value); } + + /** + *

The queue environment ID to update.

+ */ + inline UpdateQueueEnvironmentRequest& WithQueueEnvironmentId(const Aws::String& value) { SetQueueEnvironmentId(value); return *this;} + + /** + *

The queue environment ID to update.

+ */ + inline UpdateQueueEnvironmentRequest& WithQueueEnvironmentId(Aws::String&& value) { SetQueueEnvironmentId(std::move(value)); return *this;} + + /** + *

The queue environment ID to update.

+ */ + inline UpdateQueueEnvironmentRequest& WithQueueEnvironmentId(const char* value) { SetQueueEnvironmentId(value); return *this;} + + + /** + *

The queue ID of the queue environment to update.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID of the queue environment to update.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID of the queue environment to update.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID of the queue environment to update.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID of the queue environment to update.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID of the queue environment to update.

+ */ + inline UpdateQueueEnvironmentRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID of the queue environment to update.

+ */ + inline UpdateQueueEnvironmentRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID of the queue environment to update.

+ */ + inline UpdateQueueEnvironmentRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The template to update.

+ */ + inline const Aws::String& GetTemplate() const{ return m_template; } + + /** + *

The template to update.

+ */ + inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } + + /** + *

The template to update.

+ */ + inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; } + + /** + *

The template to update.

+ */ + inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); } + + /** + *

The template to update.

+ */ + inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); } + + /** + *

The template to update.

+ */ + inline UpdateQueueEnvironmentRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;} + + /** + *

The template to update.

+ */ + inline UpdateQueueEnvironmentRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;} + + /** + *

The template to update.

+ */ + inline UpdateQueueEnvironmentRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;} + + + /** + *

The template type to update.

+ */ + inline const EnvironmentTemplateType& GetTemplateType() const{ return m_templateType; } + + /** + *

The template type to update.

+ */ + inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; } + + /** + *

The template type to update.

+ */ + inline void SetTemplateType(const EnvironmentTemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; } + + /** + *

The template type to update.

+ */ + inline void SetTemplateType(EnvironmentTemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); } + + /** + *

The template type to update.

+ */ + inline UpdateQueueEnvironmentRequest& WithTemplateType(const EnvironmentTemplateType& value) { SetTemplateType(value); return *this;} + + /** + *

The template type to update.

+ */ + inline UpdateQueueEnvironmentRequest& WithTemplateType(EnvironmentTemplateType&& value) { SetTemplateType(std::move(value)); return *this;} + + private: + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + int m_priority; + bool m_priorityHasBeenSet = false; + + Aws::String m_queueEnvironmentId; + bool m_queueEnvironmentIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_template; + bool m_templateHasBeenSet = false; + + EnvironmentTemplateType m_templateType; + bool m_templateTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueEnvironmentResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueEnvironmentResult.h new file mode 100644 index 00000000000..f7e08cfd416 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueEnvironmentResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class UpdateQueueEnvironmentResult + { + public: + AWS_DEADLINE_API UpdateQueueEnvironmentResult(); + AWS_DEADLINE_API UpdateQueueEnvironmentResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API UpdateQueueEnvironmentResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UpdateQueueEnvironmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UpdateQueueEnvironmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UpdateQueueEnvironmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueFleetAssociationRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueFleetAssociationRequest.h new file mode 100644 index 00000000000..aa905a6609e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueFleetAssociationRequest.h @@ -0,0 +1,206 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class UpdateQueueFleetAssociationRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API UpdateQueueFleetAssociationRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateQueueFleetAssociation"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID to update.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID to update.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID to update.

+ */ + inline UpdateQueueFleetAssociationRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID to update.

+ */ + inline UpdateQueueFleetAssociationRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID to update.

+ */ + inline UpdateQueueFleetAssociationRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID to update.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID to update.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID to update.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID to update.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID to update.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID to update.

+ */ + inline UpdateQueueFleetAssociationRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID to update.

+ */ + inline UpdateQueueFleetAssociationRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID to update.

+ */ + inline UpdateQueueFleetAssociationRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The queue ID to update.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID to update.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID to update.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID to update.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID to update.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID to update.

+ */ + inline UpdateQueueFleetAssociationRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID to update.

+ */ + inline UpdateQueueFleetAssociationRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID to update.

+ */ + inline UpdateQueueFleetAssociationRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The status to update.

+ */ + inline const UpdateQueueFleetAssociationStatus& GetStatus() const{ return m_status; } + + /** + *

The status to update.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The status to update.

+ */ + inline void SetStatus(const UpdateQueueFleetAssociationStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The status to update.

+ */ + inline void SetStatus(UpdateQueueFleetAssociationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The status to update.

+ */ + inline UpdateQueueFleetAssociationRequest& WithStatus(const UpdateQueueFleetAssociationStatus& value) { SetStatus(value); return *this;} + + /** + *

The status to update.

+ */ + inline UpdateQueueFleetAssociationRequest& WithStatus(UpdateQueueFleetAssociationStatus&& value) { SetStatus(std::move(value)); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + UpdateQueueFleetAssociationStatus m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueFleetAssociationResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueFleetAssociationResult.h new file mode 100644 index 00000000000..fbac1b2a024 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueFleetAssociationResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class UpdateQueueFleetAssociationResult + { + public: + AWS_DEADLINE_API UpdateQueueFleetAssociationResult(); + AWS_DEADLINE_API UpdateQueueFleetAssociationResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API UpdateQueueFleetAssociationResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UpdateQueueFleetAssociationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UpdateQueueFleetAssociationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UpdateQueueFleetAssociationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueFleetAssociationStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueFleetAssociationStatus.h new file mode 100644 index 00000000000..7cd29393d0e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueFleetAssociationStatus.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class UpdateQueueFleetAssociationStatus + { + NOT_SET, + ACTIVE, + STOP_SCHEDULING_AND_COMPLETE_TASKS, + STOP_SCHEDULING_AND_CANCEL_TASKS + }; + +namespace UpdateQueueFleetAssociationStatusMapper +{ +AWS_DEADLINE_API UpdateQueueFleetAssociationStatus GetUpdateQueueFleetAssociationStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForUpdateQueueFleetAssociationStatus(UpdateQueueFleetAssociationStatus value); +} // namespace UpdateQueueFleetAssociationStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueRequest.h new file mode 100644 index 00000000000..19dacc7d294 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueRequest.h @@ -0,0 +1,614 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class UpdateQueueRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API UpdateQueueRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateQueue"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The storage profile IDs to add.

+ */ + inline const Aws::Vector& GetAllowedStorageProfileIdsToAdd() const{ return m_allowedStorageProfileIdsToAdd; } + + /** + *

The storage profile IDs to add.

+ */ + inline bool AllowedStorageProfileIdsToAddHasBeenSet() const { return m_allowedStorageProfileIdsToAddHasBeenSet; } + + /** + *

The storage profile IDs to add.

+ */ + inline void SetAllowedStorageProfileIdsToAdd(const Aws::Vector& value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd = value; } + + /** + *

The storage profile IDs to add.

+ */ + inline void SetAllowedStorageProfileIdsToAdd(Aws::Vector&& value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd = std::move(value); } + + /** + *

The storage profile IDs to add.

+ */ + inline UpdateQueueRequest& WithAllowedStorageProfileIdsToAdd(const Aws::Vector& value) { SetAllowedStorageProfileIdsToAdd(value); return *this;} + + /** + *

The storage profile IDs to add.

+ */ + inline UpdateQueueRequest& WithAllowedStorageProfileIdsToAdd(Aws::Vector&& value) { SetAllowedStorageProfileIdsToAdd(std::move(value)); return *this;} + + /** + *

The storage profile IDs to add.

+ */ + inline UpdateQueueRequest& AddAllowedStorageProfileIdsToAdd(const Aws::String& value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd.push_back(value); return *this; } + + /** + *

The storage profile IDs to add.

+ */ + inline UpdateQueueRequest& AddAllowedStorageProfileIdsToAdd(Aws::String&& value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd.push_back(std::move(value)); return *this; } + + /** + *

The storage profile IDs to add.

+ */ + inline UpdateQueueRequest& AddAllowedStorageProfileIdsToAdd(const char* value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd.push_back(value); return *this; } + + + /** + *

The storage profile ID to remove.

+ */ + inline const Aws::Vector& GetAllowedStorageProfileIdsToRemove() const{ return m_allowedStorageProfileIdsToRemove; } + + /** + *

The storage profile ID to remove.

+ */ + inline bool AllowedStorageProfileIdsToRemoveHasBeenSet() const { return m_allowedStorageProfileIdsToRemoveHasBeenSet; } + + /** + *

The storage profile ID to remove.

+ */ + inline void SetAllowedStorageProfileIdsToRemove(const Aws::Vector& value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove = value; } + + /** + *

The storage profile ID to remove.

+ */ + inline void SetAllowedStorageProfileIdsToRemove(Aws::Vector&& value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove = std::move(value); } + + /** + *

The storage profile ID to remove.

+ */ + inline UpdateQueueRequest& WithAllowedStorageProfileIdsToRemove(const Aws::Vector& value) { SetAllowedStorageProfileIdsToRemove(value); return *this;} + + /** + *

The storage profile ID to remove.

+ */ + inline UpdateQueueRequest& WithAllowedStorageProfileIdsToRemove(Aws::Vector&& value) { SetAllowedStorageProfileIdsToRemove(std::move(value)); return *this;} + + /** + *

The storage profile ID to remove.

+ */ + inline UpdateQueueRequest& AddAllowedStorageProfileIdsToRemove(const Aws::String& value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove.push_back(value); return *this; } + + /** + *

The storage profile ID to remove.

+ */ + inline UpdateQueueRequest& AddAllowedStorageProfileIdsToRemove(Aws::String&& value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove.push_back(std::move(value)); return *this; } + + /** + *

The storage profile ID to remove.

+ */ + inline UpdateQueueRequest& AddAllowedStorageProfileIdsToRemove(const char* value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove.push_back(value); return *this; } + + + /** + *

The idempotency token to update in the queue.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The idempotency token to update in the queue.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The idempotency token to update in the queue.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The idempotency token to update in the queue.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The idempotency token to update in the queue.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The idempotency token to update in the queue.

+ */ + inline UpdateQueueRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The idempotency token to update in the queue.

+ */ + inline UpdateQueueRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The idempotency token to update in the queue.

+ */ + inline UpdateQueueRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The default action to take for a queue update if a budget isn't + * configured.

+ */ + inline const DefaultQueueBudgetAction& GetDefaultBudgetAction() const{ return m_defaultBudgetAction; } + + /** + *

The default action to take for a queue update if a budget isn't + * configured.

+ */ + inline bool DefaultBudgetActionHasBeenSet() const { return m_defaultBudgetActionHasBeenSet; } + + /** + *

The default action to take for a queue update if a budget isn't + * configured.

+ */ + inline void SetDefaultBudgetAction(const DefaultQueueBudgetAction& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = value; } + + /** + *

The default action to take for a queue update if a budget isn't + * configured.

+ */ + inline void SetDefaultBudgetAction(DefaultQueueBudgetAction&& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = std::move(value); } + + /** + *

The default action to take for a queue update if a budget isn't + * configured.

+ */ + inline UpdateQueueRequest& WithDefaultBudgetAction(const DefaultQueueBudgetAction& value) { SetDefaultBudgetAction(value); return *this;} + + /** + *

The default action to take for a queue update if a budget isn't + * configured.

+ */ + inline UpdateQueueRequest& WithDefaultBudgetAction(DefaultQueueBudgetAction&& value) { SetDefaultBudgetAction(std::move(value)); return *this;} + + + /** + *

The description of the queue to update.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

The description of the queue to update.

+ */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *

The description of the queue to update.

+ */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *

The description of the queue to update.

+ */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *

The description of the queue to update.

+ */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *

The description of the queue to update.

+ */ + inline UpdateQueueRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

The description of the queue to update.

+ */ + inline UpdateQueueRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

The description of the queue to update.

+ */ + inline UpdateQueueRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

The display name of the queue to update.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the queue to update.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The display name of the queue to update.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The display name of the queue to update.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The display name of the queue to update.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The display name of the queue to update.

+ */ + inline UpdateQueueRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the queue to update.

+ */ + inline UpdateQueueRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the queue to update.

+ */ + inline UpdateQueueRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The farm ID to update in the queue.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID to update in the queue.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID to update in the queue.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID to update in the queue.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID to update in the queue.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID to update in the queue.

+ */ + inline UpdateQueueRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID to update in the queue.

+ */ + inline UpdateQueueRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID to update in the queue.

+ */ + inline UpdateQueueRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job attachment settings to update for the queue.

+ */ + inline const JobAttachmentSettings& GetJobAttachmentSettings() const{ return m_jobAttachmentSettings; } + + /** + *

The job attachment settings to update for the queue.

+ */ + inline bool JobAttachmentSettingsHasBeenSet() const { return m_jobAttachmentSettingsHasBeenSet; } + + /** + *

The job attachment settings to update for the queue.

+ */ + inline void SetJobAttachmentSettings(const JobAttachmentSettings& value) { m_jobAttachmentSettingsHasBeenSet = true; m_jobAttachmentSettings = value; } + + /** + *

The job attachment settings to update for the queue.

+ */ + inline void SetJobAttachmentSettings(JobAttachmentSettings&& value) { m_jobAttachmentSettingsHasBeenSet = true; m_jobAttachmentSettings = std::move(value); } + + /** + *

The job attachment settings to update for the queue.

+ */ + inline UpdateQueueRequest& WithJobAttachmentSettings(const JobAttachmentSettings& value) { SetJobAttachmentSettings(value); return *this;} + + /** + *

The job attachment settings to update for the queue.

+ */ + inline UpdateQueueRequest& WithJobAttachmentSettings(JobAttachmentSettings&& value) { SetJobAttachmentSettings(std::move(value)); return *this;} + + + /** + *

Update the jobs in the queue to run as a specified POSIX user.

+ */ + inline const JobRunAsUser& GetJobRunAsUser() const{ return m_jobRunAsUser; } + + /** + *

Update the jobs in the queue to run as a specified POSIX user.

+ */ + inline bool JobRunAsUserHasBeenSet() const { return m_jobRunAsUserHasBeenSet; } + + /** + *

Update the jobs in the queue to run as a specified POSIX user.

+ */ + inline void SetJobRunAsUser(const JobRunAsUser& value) { m_jobRunAsUserHasBeenSet = true; m_jobRunAsUser = value; } + + /** + *

Update the jobs in the queue to run as a specified POSIX user.

+ */ + inline void SetJobRunAsUser(JobRunAsUser&& value) { m_jobRunAsUserHasBeenSet = true; m_jobRunAsUser = std::move(value); } + + /** + *

Update the jobs in the queue to run as a specified POSIX user.

+ */ + inline UpdateQueueRequest& WithJobRunAsUser(const JobRunAsUser& value) { SetJobRunAsUser(value); return *this;} + + /** + *

Update the jobs in the queue to run as a specified POSIX user.

+ */ + inline UpdateQueueRequest& WithJobRunAsUser(JobRunAsUser&& value) { SetJobRunAsUser(std::move(value)); return *this;} + + + /** + *

The queue ID to update.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID to update.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID to update.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID to update.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID to update.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID to update.

+ */ + inline UpdateQueueRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID to update.

+ */ + inline UpdateQueueRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID to update.

+ */ + inline UpdateQueueRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The required file system location names to add to the queue.

+ */ + inline const Aws::Vector& GetRequiredFileSystemLocationNamesToAdd() const{ return m_requiredFileSystemLocationNamesToAdd; } + + /** + *

The required file system location names to add to the queue.

+ */ + inline bool RequiredFileSystemLocationNamesToAddHasBeenSet() const { return m_requiredFileSystemLocationNamesToAddHasBeenSet; } + + /** + *

The required file system location names to add to the queue.

+ */ + inline void SetRequiredFileSystemLocationNamesToAdd(const Aws::Vector& value) { m_requiredFileSystemLocationNamesToAddHasBeenSet = true; m_requiredFileSystemLocationNamesToAdd = value; } + + /** + *

The required file system location names to add to the queue.

+ */ + inline void SetRequiredFileSystemLocationNamesToAdd(Aws::Vector&& value) { m_requiredFileSystemLocationNamesToAddHasBeenSet = true; m_requiredFileSystemLocationNamesToAdd = std::move(value); } + + /** + *

The required file system location names to add to the queue.

+ */ + inline UpdateQueueRequest& WithRequiredFileSystemLocationNamesToAdd(const Aws::Vector& value) { SetRequiredFileSystemLocationNamesToAdd(value); return *this;} + + /** + *

The required file system location names to add to the queue.

+ */ + inline UpdateQueueRequest& WithRequiredFileSystemLocationNamesToAdd(Aws::Vector&& value) { SetRequiredFileSystemLocationNamesToAdd(std::move(value)); return *this;} + + /** + *

The required file system location names to add to the queue.

+ */ + inline UpdateQueueRequest& AddRequiredFileSystemLocationNamesToAdd(const Aws::String& value) { m_requiredFileSystemLocationNamesToAddHasBeenSet = true; m_requiredFileSystemLocationNamesToAdd.push_back(value); return *this; } + + /** + *

The required file system location names to add to the queue.

+ */ + inline UpdateQueueRequest& AddRequiredFileSystemLocationNamesToAdd(Aws::String&& value) { m_requiredFileSystemLocationNamesToAddHasBeenSet = true; m_requiredFileSystemLocationNamesToAdd.push_back(std::move(value)); return *this; } + + /** + *

The required file system location names to add to the queue.

+ */ + inline UpdateQueueRequest& AddRequiredFileSystemLocationNamesToAdd(const char* value) { m_requiredFileSystemLocationNamesToAddHasBeenSet = true; m_requiredFileSystemLocationNamesToAdd.push_back(value); return *this; } + + + /** + *

The required file system location names to remove from the queue.

+ */ + inline const Aws::Vector& GetRequiredFileSystemLocationNamesToRemove() const{ return m_requiredFileSystemLocationNamesToRemove; } + + /** + *

The required file system location names to remove from the queue.

+ */ + inline bool RequiredFileSystemLocationNamesToRemoveHasBeenSet() const { return m_requiredFileSystemLocationNamesToRemoveHasBeenSet; } + + /** + *

The required file system location names to remove from the queue.

+ */ + inline void SetRequiredFileSystemLocationNamesToRemove(const Aws::Vector& value) { m_requiredFileSystemLocationNamesToRemoveHasBeenSet = true; m_requiredFileSystemLocationNamesToRemove = value; } + + /** + *

The required file system location names to remove from the queue.

+ */ + inline void SetRequiredFileSystemLocationNamesToRemove(Aws::Vector&& value) { m_requiredFileSystemLocationNamesToRemoveHasBeenSet = true; m_requiredFileSystemLocationNamesToRemove = std::move(value); } + + /** + *

The required file system location names to remove from the queue.

+ */ + inline UpdateQueueRequest& WithRequiredFileSystemLocationNamesToRemove(const Aws::Vector& value) { SetRequiredFileSystemLocationNamesToRemove(value); return *this;} + + /** + *

The required file system location names to remove from the queue.

+ */ + inline UpdateQueueRequest& WithRequiredFileSystemLocationNamesToRemove(Aws::Vector&& value) { SetRequiredFileSystemLocationNamesToRemove(std::move(value)); return *this;} + + /** + *

The required file system location names to remove from the queue.

+ */ + inline UpdateQueueRequest& AddRequiredFileSystemLocationNamesToRemove(const Aws::String& value) { m_requiredFileSystemLocationNamesToRemoveHasBeenSet = true; m_requiredFileSystemLocationNamesToRemove.push_back(value); return *this; } + + /** + *

The required file system location names to remove from the queue.

+ */ + inline UpdateQueueRequest& AddRequiredFileSystemLocationNamesToRemove(Aws::String&& value) { m_requiredFileSystemLocationNamesToRemoveHasBeenSet = true; m_requiredFileSystemLocationNamesToRemove.push_back(std::move(value)); return *this; } + + /** + *

The required file system location names to remove from the queue.

+ */ + inline UpdateQueueRequest& AddRequiredFileSystemLocationNamesToRemove(const char* value) { m_requiredFileSystemLocationNamesToRemoveHasBeenSet = true; m_requiredFileSystemLocationNamesToRemove.push_back(value); return *this; } + + + /** + *

The IAM role ARN that's used to run jobs from this queue.

+ */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + + /** + *

The IAM role ARN that's used to run jobs from this queue.

+ */ + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + + /** + *

The IAM role ARN that's used to run jobs from this queue.

+ */ + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + + /** + *

The IAM role ARN that's used to run jobs from this queue.

+ */ + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + + /** + *

The IAM role ARN that's used to run jobs from this queue.

+ */ + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + + /** + *

The IAM role ARN that's used to run jobs from this queue.

+ */ + inline UpdateQueueRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + + /** + *

The IAM role ARN that's used to run jobs from this queue.

+ */ + inline UpdateQueueRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + + /** + *

The IAM role ARN that's used to run jobs from this queue.

+ */ + inline UpdateQueueRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + + private: + + Aws::Vector m_allowedStorageProfileIdsToAdd; + bool m_allowedStorageProfileIdsToAddHasBeenSet = false; + + Aws::Vector m_allowedStorageProfileIdsToRemove; + bool m_allowedStorageProfileIdsToRemoveHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + DefaultQueueBudgetAction m_defaultBudgetAction; + bool m_defaultBudgetActionHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + JobAttachmentSettings m_jobAttachmentSettings; + bool m_jobAttachmentSettingsHasBeenSet = false; + + JobRunAsUser m_jobRunAsUser; + bool m_jobRunAsUserHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::Vector m_requiredFileSystemLocationNamesToAdd; + bool m_requiredFileSystemLocationNamesToAddHasBeenSet = false; + + Aws::Vector m_requiredFileSystemLocationNamesToRemove; + bool m_requiredFileSystemLocationNamesToRemoveHasBeenSet = false; + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueResult.h new file mode 100644 index 00000000000..47c314ac68e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateQueueResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class UpdateQueueResult + { + public: + AWS_DEADLINE_API UpdateQueueResult(); + AWS_DEADLINE_API UpdateQueueResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API UpdateQueueResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UpdateQueueResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UpdateQueueResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UpdateQueueResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateSessionRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateSessionRequest.h new file mode 100644 index 00000000000..26f531656f5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateSessionRequest.h @@ -0,0 +1,305 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class UpdateSessionRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API UpdateSessionRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateSession"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateSessionRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateSessionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateSessionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The farm ID to update in the session.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID to update in the session.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID to update in the session.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID to update in the session.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID to update in the session.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID to update in the session.

+ */ + inline UpdateSessionRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID to update in the session.

+ */ + inline UpdateSessionRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID to update in the session.

+ */ + inline UpdateSessionRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID to update in the session.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID to update in the session.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID to update in the session.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID to update in the session.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID to update in the session.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID to update in the session.

+ */ + inline UpdateSessionRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID to update in the session.

+ */ + inline UpdateSessionRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID to update in the session.

+ */ + inline UpdateSessionRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The queue ID to update in the session.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID to update in the session.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID to update in the session.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID to update in the session.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID to update in the session.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID to update in the session.

+ */ + inline UpdateSessionRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID to update in the session.

+ */ + inline UpdateSessionRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID to update in the session.

+ */ + inline UpdateSessionRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The session ID to update.

+ */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + + /** + *

The session ID to update.

+ */ + inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } + + /** + *

The session ID to update.

+ */ + inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } + + /** + *

The session ID to update.

+ */ + inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } + + /** + *

The session ID to update.

+ */ + inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } + + /** + *

The session ID to update.

+ */ + inline UpdateSessionRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + + /** + *

The session ID to update.

+ */ + inline UpdateSessionRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + + /** + *

The session ID to update.

+ */ + inline UpdateSessionRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;} + + + /** + *

The life cycle status to update in the session.

+ */ + inline const SessionLifecycleTargetStatus& GetTargetLifecycleStatus() const{ return m_targetLifecycleStatus; } + + /** + *

The life cycle status to update in the session.

+ */ + inline bool TargetLifecycleStatusHasBeenSet() const { return m_targetLifecycleStatusHasBeenSet; } + + /** + *

The life cycle status to update in the session.

+ */ + inline void SetTargetLifecycleStatus(const SessionLifecycleTargetStatus& value) { m_targetLifecycleStatusHasBeenSet = true; m_targetLifecycleStatus = value; } + + /** + *

The life cycle status to update in the session.

+ */ + inline void SetTargetLifecycleStatus(SessionLifecycleTargetStatus&& value) { m_targetLifecycleStatusHasBeenSet = true; m_targetLifecycleStatus = std::move(value); } + + /** + *

The life cycle status to update in the session.

+ */ + inline UpdateSessionRequest& WithTargetLifecycleStatus(const SessionLifecycleTargetStatus& value) { SetTargetLifecycleStatus(value); return *this;} + + /** + *

The life cycle status to update in the session.

+ */ + inline UpdateSessionRequest& WithTargetLifecycleStatus(SessionLifecycleTargetStatus&& value) { SetTargetLifecycleStatus(std::move(value)); return *this;} + + private: + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_sessionId; + bool m_sessionIdHasBeenSet = false; + + SessionLifecycleTargetStatus m_targetLifecycleStatus; + bool m_targetLifecycleStatusHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateSessionResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateSessionResult.h new file mode 100644 index 00000000000..335ca098f4c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateSessionResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class UpdateSessionResult + { + public: + AWS_DEADLINE_API UpdateSessionResult(); + AWS_DEADLINE_API UpdateSessionResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API UpdateSessionResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UpdateSessionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UpdateSessionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UpdateSessionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateStepRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateStepRequest.h new file mode 100644 index 00000000000..94a02b758fe --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateStepRequest.h @@ -0,0 +1,305 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class UpdateStepRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API UpdateStepRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateStep"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateStepRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateStepRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateStepRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The farm ID to update.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID to update.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID to update.

+ */ + inline UpdateStepRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID to update.

+ */ + inline UpdateStepRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID to update.

+ */ + inline UpdateStepRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID to update.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID to update.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID to update.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID to update.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID to update.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID to update.

+ */ + inline UpdateStepRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID to update.

+ */ + inline UpdateStepRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID to update.

+ */ + inline UpdateStepRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The queue ID to update.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID to update.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID to update.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID to update.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID to update.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID to update.

+ */ + inline UpdateStepRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID to update.

+ */ + inline UpdateStepRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID to update.

+ */ + inline UpdateStepRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The step ID to update.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID to update.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID to update.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID to update.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID to update.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID to update.

+ */ + inline UpdateStepRequest& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID to update.

+ */ + inline UpdateStepRequest& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID to update.

+ */ + inline UpdateStepRequest& WithStepId(const char* value) { SetStepId(value); return *this;} + + + /** + *

The task status to update the step's tasks to.

+ */ + inline const StepTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } + + /** + *

The task status to update the step's tasks to.

+ */ + inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } + + /** + *

The task status to update the step's tasks to.

+ */ + inline void SetTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; } + + /** + *

The task status to update the step's tasks to.

+ */ + inline void SetTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); } + + /** + *

The task status to update the step's tasks to.

+ */ + inline UpdateStepRequest& WithTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} + + /** + *

The task status to update the step's tasks to.

+ */ + inline UpdateStepRequest& WithTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + + private: + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + + StepTargetTaskRunStatus m_targetTaskRunStatus; + bool m_targetTaskRunStatusHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateStepResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateStepResult.h new file mode 100644 index 00000000000..d3955f3079b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateStepResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class UpdateStepResult + { + public: + AWS_DEADLINE_API UpdateStepResult(); + AWS_DEADLINE_API UpdateStepResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API UpdateStepResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UpdateStepResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UpdateStepResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UpdateStepResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateStorageProfileRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateStorageProfileRequest.h new file mode 100644 index 00000000000..236cb796d11 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateStorageProfileRequest.h @@ -0,0 +1,351 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class UpdateStorageProfileRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API UpdateStorageProfileRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateStorageProfile"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateStorageProfileRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateStorageProfileRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateStorageProfileRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The display name of the storage profile to update.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + + /** + *

The display name of the storage profile to update.

+ */ + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + + /** + *

The display name of the storage profile to update.

+ */ + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + + /** + *

The display name of the storage profile to update.

+ */ + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + + /** + *

The display name of the storage profile to update.

+ */ + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + + /** + *

The display name of the storage profile to update.

+ */ + inline UpdateStorageProfileRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + + /** + *

The display name of the storage profile to update.

+ */ + inline UpdateStorageProfileRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + + /** + *

The display name of the storage profile to update.

+ */ + inline UpdateStorageProfileRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + + + /** + *

The farm ID to update.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID to update.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID to update.

+ */ + inline UpdateStorageProfileRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID to update.

+ */ + inline UpdateStorageProfileRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID to update.

+ */ + inline UpdateStorageProfileRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The file system location names to add.

+ */ + inline const Aws::Vector& GetFileSystemLocationsToAdd() const{ return m_fileSystemLocationsToAdd; } + + /** + *

The file system location names to add.

+ */ + inline bool FileSystemLocationsToAddHasBeenSet() const { return m_fileSystemLocationsToAddHasBeenSet; } + + /** + *

The file system location names to add.

+ */ + inline void SetFileSystemLocationsToAdd(const Aws::Vector& value) { m_fileSystemLocationsToAddHasBeenSet = true; m_fileSystemLocationsToAdd = value; } + + /** + *

The file system location names to add.

+ */ + inline void SetFileSystemLocationsToAdd(Aws::Vector&& value) { m_fileSystemLocationsToAddHasBeenSet = true; m_fileSystemLocationsToAdd = std::move(value); } + + /** + *

The file system location names to add.

+ */ + inline UpdateStorageProfileRequest& WithFileSystemLocationsToAdd(const Aws::Vector& value) { SetFileSystemLocationsToAdd(value); return *this;} + + /** + *

The file system location names to add.

+ */ + inline UpdateStorageProfileRequest& WithFileSystemLocationsToAdd(Aws::Vector&& value) { SetFileSystemLocationsToAdd(std::move(value)); return *this;} + + /** + *

The file system location names to add.

+ */ + inline UpdateStorageProfileRequest& AddFileSystemLocationsToAdd(const FileSystemLocation& value) { m_fileSystemLocationsToAddHasBeenSet = true; m_fileSystemLocationsToAdd.push_back(value); return *this; } + + /** + *

The file system location names to add.

+ */ + inline UpdateStorageProfileRequest& AddFileSystemLocationsToAdd(FileSystemLocation&& value) { m_fileSystemLocationsToAddHasBeenSet = true; m_fileSystemLocationsToAdd.push_back(std::move(value)); return *this; } + + + /** + *

The file system location names to remove.

+ */ + inline const Aws::Vector& GetFileSystemLocationsToRemove() const{ return m_fileSystemLocationsToRemove; } + + /** + *

The file system location names to remove.

+ */ + inline bool FileSystemLocationsToRemoveHasBeenSet() const { return m_fileSystemLocationsToRemoveHasBeenSet; } + + /** + *

The file system location names to remove.

+ */ + inline void SetFileSystemLocationsToRemove(const Aws::Vector& value) { m_fileSystemLocationsToRemoveHasBeenSet = true; m_fileSystemLocationsToRemove = value; } + + /** + *

The file system location names to remove.

+ */ + inline void SetFileSystemLocationsToRemove(Aws::Vector&& value) { m_fileSystemLocationsToRemoveHasBeenSet = true; m_fileSystemLocationsToRemove = std::move(value); } + + /** + *

The file system location names to remove.

+ */ + inline UpdateStorageProfileRequest& WithFileSystemLocationsToRemove(const Aws::Vector& value) { SetFileSystemLocationsToRemove(value); return *this;} + + /** + *

The file system location names to remove.

+ */ + inline UpdateStorageProfileRequest& WithFileSystemLocationsToRemove(Aws::Vector&& value) { SetFileSystemLocationsToRemove(std::move(value)); return *this;} + + /** + *

The file system location names to remove.

+ */ + inline UpdateStorageProfileRequest& AddFileSystemLocationsToRemove(const FileSystemLocation& value) { m_fileSystemLocationsToRemoveHasBeenSet = true; m_fileSystemLocationsToRemove.push_back(value); return *this; } + + /** + *

The file system location names to remove.

+ */ + inline UpdateStorageProfileRequest& AddFileSystemLocationsToRemove(FileSystemLocation&& value) { m_fileSystemLocationsToRemoveHasBeenSet = true; m_fileSystemLocationsToRemove.push_back(std::move(value)); return *this; } + + + /** + *

The OS system to update.

+ */ + inline const StorageProfileOperatingSystemFamily& GetOsFamily() const{ return m_osFamily; } + + /** + *

The OS system to update.

+ */ + inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; } + + /** + *

The OS system to update.

+ */ + inline void SetOsFamily(const StorageProfileOperatingSystemFamily& value) { m_osFamilyHasBeenSet = true; m_osFamily = value; } + + /** + *

The OS system to update.

+ */ + inline void SetOsFamily(StorageProfileOperatingSystemFamily&& value) { m_osFamilyHasBeenSet = true; m_osFamily = std::move(value); } + + /** + *

The OS system to update.

+ */ + inline UpdateStorageProfileRequest& WithOsFamily(const StorageProfileOperatingSystemFamily& value) { SetOsFamily(value); return *this;} + + /** + *

The OS system to update.

+ */ + inline UpdateStorageProfileRequest& WithOsFamily(StorageProfileOperatingSystemFamily&& value) { SetOsFamily(std::move(value)); return *this;} + + + /** + *

The storage profile ID to update.

+ */ + inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } + + /** + *

The storage profile ID to update.

+ */ + inline bool StorageProfileIdHasBeenSet() const { return m_storageProfileIdHasBeenSet; } + + /** + *

The storage profile ID to update.

+ */ + inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = value; } + + /** + *

The storage profile ID to update.

+ */ + inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = std::move(value); } + + /** + *

The storage profile ID to update.

+ */ + inline void SetStorageProfileId(const char* value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId.assign(value); } + + /** + *

The storage profile ID to update.

+ */ + inline UpdateStorageProfileRequest& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} + + /** + *

The storage profile ID to update.

+ */ + inline UpdateStorageProfileRequest& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} + + /** + *

The storage profile ID to update.

+ */ + inline UpdateStorageProfileRequest& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} + + private: + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::Vector m_fileSystemLocationsToAdd; + bool m_fileSystemLocationsToAddHasBeenSet = false; + + Aws::Vector m_fileSystemLocationsToRemove; + bool m_fileSystemLocationsToRemoveHasBeenSet = false; + + StorageProfileOperatingSystemFamily m_osFamily; + bool m_osFamilyHasBeenSet = false; + + Aws::String m_storageProfileId; + bool m_storageProfileIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateStorageProfileResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateStorageProfileResult.h new file mode 100644 index 00000000000..d14f93203b9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateStorageProfileResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class UpdateStorageProfileResult + { + public: + AWS_DEADLINE_API UpdateStorageProfileResult(); + AWS_DEADLINE_API UpdateStorageProfileResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API UpdateStorageProfileResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UpdateStorageProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UpdateStorageProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UpdateStorageProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateTaskRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateTaskRequest.h new file mode 100644 index 00000000000..50ec48a0fcb --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateTaskRequest.h @@ -0,0 +1,349 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class UpdateTaskRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API UpdateTaskRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateTask"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateTaskRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateTaskRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline UpdateTaskRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + + + /** + *

The farm ID to update.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID to update.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID to update.

+ */ + inline UpdateTaskRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID to update.

+ */ + inline UpdateTaskRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID to update.

+ */ + inline UpdateTaskRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The job ID to update.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID to update.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID to update.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID to update.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID to update.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID to update.

+ */ + inline UpdateTaskRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID to update.

+ */ + inline UpdateTaskRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID to update.

+ */ + inline UpdateTaskRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The queue ID to update.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID to update.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID to update.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID to update.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID to update.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID to update.

+ */ + inline UpdateTaskRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID to update.

+ */ + inline UpdateTaskRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID to update.

+ */ + inline UpdateTaskRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The step ID to update.

+ */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + + /** + *

The step ID to update.

+ */ + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + + /** + *

The step ID to update.

+ */ + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + + /** + *

The step ID to update.

+ */ + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + + /** + *

The step ID to update.

+ */ + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + + /** + *

The step ID to update.

+ */ + inline UpdateTaskRequest& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + + /** + *

The step ID to update.

+ */ + inline UpdateTaskRequest& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + + /** + *

The step ID to update.

+ */ + inline UpdateTaskRequest& WithStepId(const char* value) { SetStepId(value); return *this;} + + + /** + *

The run status with which to start the task.

+ */ + inline const TaskTargetRunStatus& GetTargetRunStatus() const{ return m_targetRunStatus; } + + /** + *

The run status with which to start the task.

+ */ + inline bool TargetRunStatusHasBeenSet() const { return m_targetRunStatusHasBeenSet; } + + /** + *

The run status with which to start the task.

+ */ + inline void SetTargetRunStatus(const TaskTargetRunStatus& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = value; } + + /** + *

The run status with which to start the task.

+ */ + inline void SetTargetRunStatus(TaskTargetRunStatus&& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = std::move(value); } + + /** + *

The run status with which to start the task.

+ */ + inline UpdateTaskRequest& WithTargetRunStatus(const TaskTargetRunStatus& value) { SetTargetRunStatus(value); return *this;} + + /** + *

The run status with which to start the task.

+ */ + inline UpdateTaskRequest& WithTargetRunStatus(TaskTargetRunStatus&& value) { SetTargetRunStatus(std::move(value)); return *this;} + + + /** + *

The task ID to update.

+ */ + inline const Aws::String& GetTaskId() const{ return m_taskId; } + + /** + *

The task ID to update.

+ */ + inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } + + /** + *

The task ID to update.

+ */ + inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } + + /** + *

The task ID to update.

+ */ + inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } + + /** + *

The task ID to update.

+ */ + inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } + + /** + *

The task ID to update.

+ */ + inline UpdateTaskRequest& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} + + /** + *

The task ID to update.

+ */ + inline UpdateTaskRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} + + /** + *

The task ID to update.

+ */ + inline UpdateTaskRequest& WithTaskId(const char* value) { SetTaskId(value); return *this;} + + private: + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + + TaskTargetRunStatus m_targetRunStatus; + bool m_targetRunStatusHasBeenSet = false; + + Aws::String m_taskId; + bool m_taskIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateTaskResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateTaskResult.h new file mode 100644 index 00000000000..c42ab189487 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateTaskResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class UpdateTaskResult + { + public: + AWS_DEADLINE_API UpdateTaskResult(); + AWS_DEADLINE_API UpdateTaskResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API UpdateTaskResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UpdateTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UpdateTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UpdateTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateWorkerRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateWorkerRequest.h new file mode 100644 index 00000000000..6de30543586 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateWorkerRequest.h @@ -0,0 +1,276 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class UpdateWorkerRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API UpdateWorkerRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateWorker"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The worker capabilities to update.

+ */ + inline const WorkerCapabilities& GetCapabilities() const{ return m_capabilities; } + + /** + *

The worker capabilities to update.

+ */ + inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; } + + /** + *

The worker capabilities to update.

+ */ + inline void SetCapabilities(const WorkerCapabilities& value) { m_capabilitiesHasBeenSet = true; m_capabilities = value; } + + /** + *

The worker capabilities to update.

+ */ + inline void SetCapabilities(WorkerCapabilities&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::move(value); } + + /** + *

The worker capabilities to update.

+ */ + inline UpdateWorkerRequest& WithCapabilities(const WorkerCapabilities& value) { SetCapabilities(value); return *this;} + + /** + *

The worker capabilities to update.

+ */ + inline UpdateWorkerRequest& WithCapabilities(WorkerCapabilities&& value) { SetCapabilities(std::move(value)); return *this;} + + + /** + *

The farm ID to update.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID to update.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID to update.

+ */ + inline UpdateWorkerRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID to update.

+ */ + inline UpdateWorkerRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID to update.

+ */ + inline UpdateWorkerRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID to update.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID to update.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID to update.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID to update.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID to update.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID to update.

+ */ + inline UpdateWorkerRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID to update.

+ */ + inline UpdateWorkerRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID to update.

+ */ + inline UpdateWorkerRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The host properties to update.

+ */ + inline const HostPropertiesRequest& GetHostProperties() const{ return m_hostProperties; } + + /** + *

The host properties to update.

+ */ + inline bool HostPropertiesHasBeenSet() const { return m_hostPropertiesHasBeenSet; } + + /** + *

The host properties to update.

+ */ + inline void SetHostProperties(const HostPropertiesRequest& value) { m_hostPropertiesHasBeenSet = true; m_hostProperties = value; } + + /** + *

The host properties to update.

+ */ + inline void SetHostProperties(HostPropertiesRequest&& value) { m_hostPropertiesHasBeenSet = true; m_hostProperties = std::move(value); } + + /** + *

The host properties to update.

+ */ + inline UpdateWorkerRequest& WithHostProperties(const HostPropertiesRequest& value) { SetHostProperties(value); return *this;} + + /** + *

The host properties to update.

+ */ + inline UpdateWorkerRequest& WithHostProperties(HostPropertiesRequest&& value) { SetHostProperties(std::move(value)); return *this;} + + + /** + *

The worker status to update.

+ */ + inline const UpdatedWorkerStatus& GetStatus() const{ return m_status; } + + /** + *

The worker status to update.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The worker status to update.

+ */ + inline void SetStatus(const UpdatedWorkerStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The worker status to update.

+ */ + inline void SetStatus(UpdatedWorkerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The worker status to update.

+ */ + inline UpdateWorkerRequest& WithStatus(const UpdatedWorkerStatus& value) { SetStatus(value); return *this;} + + /** + *

The worker status to update.

+ */ + inline UpdateWorkerRequest& WithStatus(UpdatedWorkerStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The worker ID to update.

+ */ + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + + /** + *

The worker ID to update.

+ */ + inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } + + /** + *

The worker ID to update.

+ */ + inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } + + /** + *

The worker ID to update.

+ */ + inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } + + /** + *

The worker ID to update.

+ */ + inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } + + /** + *

The worker ID to update.

+ */ + inline UpdateWorkerRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + + /** + *

The worker ID to update.

+ */ + inline UpdateWorkerRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + + /** + *

The worker ID to update.

+ */ + inline UpdateWorkerRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + + private: + + WorkerCapabilities m_capabilities; + bool m_capabilitiesHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + HostPropertiesRequest m_hostProperties; + bool m_hostPropertiesHasBeenSet = false; + + UpdatedWorkerStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::String m_workerId; + bool m_workerIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateWorkerResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateWorkerResult.h new file mode 100644 index 00000000000..9cfc5823dfd --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateWorkerResult.h @@ -0,0 +1,92 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class UpdateWorkerResult + { + public: + AWS_DEADLINE_API UpdateWorkerResult(); + AWS_DEADLINE_API UpdateWorkerResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API UpdateWorkerResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The worker log to update.

+ */ + inline const LogConfiguration& GetLog() const{ return m_log; } + + /** + *

The worker log to update.

+ */ + inline void SetLog(const LogConfiguration& value) { m_log = value; } + + /** + *

The worker log to update.

+ */ + inline void SetLog(LogConfiguration&& value) { m_log = std::move(value); } + + /** + *

The worker log to update.

+ */ + inline UpdateWorkerResult& WithLog(const LogConfiguration& value) { SetLog(value); return *this;} + + /** + *

The worker log to update.

+ */ + inline UpdateWorkerResult& WithLog(LogConfiguration&& value) { SetLog(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UpdateWorkerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UpdateWorkerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UpdateWorkerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + LogConfiguration m_log; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateWorkerScheduleRequest.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateWorkerScheduleRequest.h new file mode 100644 index 00000000000..4ef380cd257 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateWorkerScheduleRequest.h @@ -0,0 +1,237 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + + /** + */ + class UpdateWorkerScheduleRequest : public DeadlineRequest + { + public: + AWS_DEADLINE_API UpdateWorkerScheduleRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateWorkerSchedule"; } + + AWS_DEADLINE_API Aws::String SerializePayload() const override; + + + /** + *

The farm ID to update.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID to update.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID to update.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID to update.

+ */ + inline UpdateWorkerScheduleRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID to update.

+ */ + inline UpdateWorkerScheduleRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID to update.

+ */ + inline UpdateWorkerScheduleRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID to update.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID to update.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID to update.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID to update.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID to update.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID to update.

+ */ + inline UpdateWorkerScheduleRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID to update.

+ */ + inline UpdateWorkerScheduleRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID to update.

+ */ + inline UpdateWorkerScheduleRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The session actions associated with the worker schedule to update.

+ */ + inline const Aws::Map& GetUpdatedSessionActions() const{ return m_updatedSessionActions; } + + /** + *

The session actions associated with the worker schedule to update.

+ */ + inline bool UpdatedSessionActionsHasBeenSet() const { return m_updatedSessionActionsHasBeenSet; } + + /** + *

The session actions associated with the worker schedule to update.

+ */ + inline void SetUpdatedSessionActions(const Aws::Map& value) { m_updatedSessionActionsHasBeenSet = true; m_updatedSessionActions = value; } + + /** + *

The session actions associated with the worker schedule to update.

+ */ + inline void SetUpdatedSessionActions(Aws::Map&& value) { m_updatedSessionActionsHasBeenSet = true; m_updatedSessionActions = std::move(value); } + + /** + *

The session actions associated with the worker schedule to update.

+ */ + inline UpdateWorkerScheduleRequest& WithUpdatedSessionActions(const Aws::Map& value) { SetUpdatedSessionActions(value); return *this;} + + /** + *

The session actions associated with the worker schedule to update.

+ */ + inline UpdateWorkerScheduleRequest& WithUpdatedSessionActions(Aws::Map&& value) { SetUpdatedSessionActions(std::move(value)); return *this;} + + /** + *

The session actions associated with the worker schedule to update.

+ */ + inline UpdateWorkerScheduleRequest& AddUpdatedSessionActions(const Aws::String& key, const UpdatedSessionActionInfo& value) { m_updatedSessionActionsHasBeenSet = true; m_updatedSessionActions.emplace(key, value); return *this; } + + /** + *

The session actions associated with the worker schedule to update.

+ */ + inline UpdateWorkerScheduleRequest& AddUpdatedSessionActions(Aws::String&& key, const UpdatedSessionActionInfo& value) { m_updatedSessionActionsHasBeenSet = true; m_updatedSessionActions.emplace(std::move(key), value); return *this; } + + /** + *

The session actions associated with the worker schedule to update.

+ */ + inline UpdateWorkerScheduleRequest& AddUpdatedSessionActions(const Aws::String& key, UpdatedSessionActionInfo&& value) { m_updatedSessionActionsHasBeenSet = true; m_updatedSessionActions.emplace(key, std::move(value)); return *this; } + + /** + *

The session actions associated with the worker schedule to update.

+ */ + inline UpdateWorkerScheduleRequest& AddUpdatedSessionActions(Aws::String&& key, UpdatedSessionActionInfo&& value) { m_updatedSessionActionsHasBeenSet = true; m_updatedSessionActions.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The session actions associated with the worker schedule to update.

+ */ + inline UpdateWorkerScheduleRequest& AddUpdatedSessionActions(const char* key, UpdatedSessionActionInfo&& value) { m_updatedSessionActionsHasBeenSet = true; m_updatedSessionActions.emplace(key, std::move(value)); return *this; } + + /** + *

The session actions associated with the worker schedule to update.

+ */ + inline UpdateWorkerScheduleRequest& AddUpdatedSessionActions(const char* key, const UpdatedSessionActionInfo& value) { m_updatedSessionActionsHasBeenSet = true; m_updatedSessionActions.emplace(key, value); return *this; } + + + /** + *

The worker ID to update.

+ */ + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + + /** + *

The worker ID to update.

+ */ + inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } + + /** + *

The worker ID to update.

+ */ + inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } + + /** + *

The worker ID to update.

+ */ + inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } + + /** + *

The worker ID to update.

+ */ + inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } + + /** + *

The worker ID to update.

+ */ + inline UpdateWorkerScheduleRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + + /** + *

The worker ID to update.

+ */ + inline UpdateWorkerScheduleRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + + /** + *

The worker ID to update.

+ */ + inline UpdateWorkerScheduleRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + + private: + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + Aws::Map m_updatedSessionActions; + bool m_updatedSessionActionsHasBeenSet = false; + + Aws::String m_workerId; + bool m_workerIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateWorkerScheduleResult.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateWorkerScheduleResult.h new file mode 100644 index 00000000000..e46fd41db66 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdateWorkerScheduleResult.h @@ -0,0 +1,229 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + class UpdateWorkerScheduleResult + { + public: + AWS_DEADLINE_API UpdateWorkerScheduleResult(); + AWS_DEADLINE_API UpdateWorkerScheduleResult(const Aws::AmazonWebServiceResult& result); + AWS_DEADLINE_API UpdateWorkerScheduleResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The assigned sessions to update.

+ */ + inline const Aws::Map& GetAssignedSessions() const{ return m_assignedSessions; } + + /** + *

The assigned sessions to update.

+ */ + inline void SetAssignedSessions(const Aws::Map& value) { m_assignedSessions = value; } + + /** + *

The assigned sessions to update.

+ */ + inline void SetAssignedSessions(Aws::Map&& value) { m_assignedSessions = std::move(value); } + + /** + *

The assigned sessions to update.

+ */ + inline UpdateWorkerScheduleResult& WithAssignedSessions(const Aws::Map& value) { SetAssignedSessions(value); return *this;} + + /** + *

The assigned sessions to update.

+ */ + inline UpdateWorkerScheduleResult& WithAssignedSessions(Aws::Map&& value) { SetAssignedSessions(std::move(value)); return *this;} + + /** + *

The assigned sessions to update.

+ */ + inline UpdateWorkerScheduleResult& AddAssignedSessions(const Aws::String& key, const AssignedSession& value) { m_assignedSessions.emplace(key, value); return *this; } + + /** + *

The assigned sessions to update.

+ */ + inline UpdateWorkerScheduleResult& AddAssignedSessions(Aws::String&& key, const AssignedSession& value) { m_assignedSessions.emplace(std::move(key), value); return *this; } + + /** + *

The assigned sessions to update.

+ */ + inline UpdateWorkerScheduleResult& AddAssignedSessions(const Aws::String& key, AssignedSession&& value) { m_assignedSessions.emplace(key, std::move(value)); return *this; } + + /** + *

The assigned sessions to update.

+ */ + inline UpdateWorkerScheduleResult& AddAssignedSessions(Aws::String&& key, AssignedSession&& value) { m_assignedSessions.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The assigned sessions to update.

+ */ + inline UpdateWorkerScheduleResult& AddAssignedSessions(const char* key, AssignedSession&& value) { m_assignedSessions.emplace(key, std::move(value)); return *this; } + + /** + *

The assigned sessions to update.

+ */ + inline UpdateWorkerScheduleResult& AddAssignedSessions(const char* key, const AssignedSession& value) { m_assignedSessions.emplace(key, value); return *this; } + + + /** + *

The session actions associated with the worker schedule to cancel.

+ */ + inline const Aws::Map>& GetCancelSessionActions() const{ return m_cancelSessionActions; } + + /** + *

The session actions associated with the worker schedule to cancel.

+ */ + inline void SetCancelSessionActions(const Aws::Map>& value) { m_cancelSessionActions = value; } + + /** + *

The session actions associated with the worker schedule to cancel.

+ */ + inline void SetCancelSessionActions(Aws::Map>&& value) { m_cancelSessionActions = std::move(value); } + + /** + *

The session actions associated with the worker schedule to cancel.

+ */ + inline UpdateWorkerScheduleResult& WithCancelSessionActions(const Aws::Map>& value) { SetCancelSessionActions(value); return *this;} + + /** + *

The session actions associated with the worker schedule to cancel.

+ */ + inline UpdateWorkerScheduleResult& WithCancelSessionActions(Aws::Map>&& value) { SetCancelSessionActions(std::move(value)); return *this;} + + /** + *

The session actions associated with the worker schedule to cancel.

+ */ + inline UpdateWorkerScheduleResult& AddCancelSessionActions(const Aws::String& key, const Aws::Vector& value) { m_cancelSessionActions.emplace(key, value); return *this; } + + /** + *

The session actions associated with the worker schedule to cancel.

+ */ + inline UpdateWorkerScheduleResult& AddCancelSessionActions(Aws::String&& key, const Aws::Vector& value) { m_cancelSessionActions.emplace(std::move(key), value); return *this; } + + /** + *

The session actions associated with the worker schedule to cancel.

+ */ + inline UpdateWorkerScheduleResult& AddCancelSessionActions(const Aws::String& key, Aws::Vector&& value) { m_cancelSessionActions.emplace(key, std::move(value)); return *this; } + + /** + *

The session actions associated with the worker schedule to cancel.

+ */ + inline UpdateWorkerScheduleResult& AddCancelSessionActions(Aws::String&& key, Aws::Vector&& value) { m_cancelSessionActions.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

The session actions associated with the worker schedule to cancel.

+ */ + inline UpdateWorkerScheduleResult& AddCancelSessionActions(const char* key, Aws::Vector&& value) { m_cancelSessionActions.emplace(key, std::move(value)); return *this; } + + /** + *

The session actions associated with the worker schedule to cancel.

+ */ + inline UpdateWorkerScheduleResult& AddCancelSessionActions(const char* key, const Aws::Vector& value) { m_cancelSessionActions.emplace(key, value); return *this; } + + + /** + *

The status to update the worker to.

+ */ + inline const DesiredWorkerStatus& GetDesiredWorkerStatus() const{ return m_desiredWorkerStatus; } + + /** + *

The status to update the worker to.

+ */ + inline void SetDesiredWorkerStatus(const DesiredWorkerStatus& value) { m_desiredWorkerStatus = value; } + + /** + *

The status to update the worker to.

+ */ + inline void SetDesiredWorkerStatus(DesiredWorkerStatus&& value) { m_desiredWorkerStatus = std::move(value); } + + /** + *

The status to update the worker to.

+ */ + inline UpdateWorkerScheduleResult& WithDesiredWorkerStatus(const DesiredWorkerStatus& value) { SetDesiredWorkerStatus(value); return *this;} + + /** + *

The status to update the worker to.

+ */ + inline UpdateWorkerScheduleResult& WithDesiredWorkerStatus(DesiredWorkerStatus&& value) { SetDesiredWorkerStatus(std::move(value)); return *this;} + + + /** + *

Updates the time interval (in seconds) for the schedule.

+ */ + inline int GetUpdateIntervalSeconds() const{ return m_updateIntervalSeconds; } + + /** + *

Updates the time interval (in seconds) for the schedule.

+ */ + inline void SetUpdateIntervalSeconds(int value) { m_updateIntervalSeconds = value; } + + /** + *

Updates the time interval (in seconds) for the schedule.

+ */ + inline UpdateWorkerScheduleResult& WithUpdateIntervalSeconds(int value) { SetUpdateIntervalSeconds(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline UpdateWorkerScheduleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UpdateWorkerScheduleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UpdateWorkerScheduleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Map m_assignedSessions; + + Aws::Map> m_cancelSessionActions; + + DesiredWorkerStatus m_desiredWorkerStatus; + + int m_updateIntervalSeconds; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdatedSessionActionInfo.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdatedSessionActionInfo.h new file mode 100644 index 00000000000..d80d817e975 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdatedSessionActionInfo.h @@ -0,0 +1,275 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The updated session action information as it relates to completion and + * progress of the session.

See Also:

AWS + * API Reference

+ */ + class UpdatedSessionActionInfo + { + public: + AWS_DEADLINE_API UpdatedSessionActionInfo(); + AWS_DEADLINE_API UpdatedSessionActionInfo(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API UpdatedSessionActionInfo& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The status of the session upon completion.

+ */ + inline const CompletedStatus& GetCompletedStatus() const{ return m_completedStatus; } + + /** + *

The status of the session upon completion.

+ */ + inline bool CompletedStatusHasBeenSet() const { return m_completedStatusHasBeenSet; } + + /** + *

The status of the session upon completion.

+ */ + inline void SetCompletedStatus(const CompletedStatus& value) { m_completedStatusHasBeenSet = true; m_completedStatus = value; } + + /** + *

The status of the session upon completion.

+ */ + inline void SetCompletedStatus(CompletedStatus&& value) { m_completedStatusHasBeenSet = true; m_completedStatus = std::move(value); } + + /** + *

The status of the session upon completion.

+ */ + inline UpdatedSessionActionInfo& WithCompletedStatus(const CompletedStatus& value) { SetCompletedStatus(value); return *this;} + + /** + *

The status of the session upon completion.

+ */ + inline UpdatedSessionActionInfo& WithCompletedStatus(CompletedStatus&& value) { SetCompletedStatus(std::move(value)); return *this;} + + + /** + *

The date and time the resource ended running.

+ */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + + /** + *

The date and time the resource ended running.

+ */ + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + + /** + *

The date and time the resource ended running.

+ */ + inline UpdatedSessionActionInfo& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + + /** + *

The date and time the resource ended running.

+ */ + inline UpdatedSessionActionInfo& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + + + /** + *

The process exit code.

+ */ + inline int GetProcessExitCode() const{ return m_processExitCode; } + + /** + *

The process exit code.

+ */ + inline bool ProcessExitCodeHasBeenSet() const { return m_processExitCodeHasBeenSet; } + + /** + *

The process exit code.

+ */ + inline void SetProcessExitCode(int value) { m_processExitCodeHasBeenSet = true; m_processExitCode = value; } + + /** + *

The process exit code.

+ */ + inline UpdatedSessionActionInfo& WithProcessExitCode(int value) { SetProcessExitCode(value); return *this;} + + + /** + *

A message to indicate the progress of the updated session action.

+ */ + inline const Aws::String& GetProgressMessage() const{ return m_progressMessage; } + + /** + *

A message to indicate the progress of the updated session action.

+ */ + inline bool ProgressMessageHasBeenSet() const { return m_progressMessageHasBeenSet; } + + /** + *

A message to indicate the progress of the updated session action.

+ */ + inline void SetProgressMessage(const Aws::String& value) { m_progressMessageHasBeenSet = true; m_progressMessage = value; } + + /** + *

A message to indicate the progress of the updated session action.

+ */ + inline void SetProgressMessage(Aws::String&& value) { m_progressMessageHasBeenSet = true; m_progressMessage = std::move(value); } + + /** + *

A message to indicate the progress of the updated session action.

+ */ + inline void SetProgressMessage(const char* value) { m_progressMessageHasBeenSet = true; m_progressMessage.assign(value); } + + /** + *

A message to indicate the progress of the updated session action.

+ */ + inline UpdatedSessionActionInfo& WithProgressMessage(const Aws::String& value) { SetProgressMessage(value); return *this;} + + /** + *

A message to indicate the progress of the updated session action.

+ */ + inline UpdatedSessionActionInfo& WithProgressMessage(Aws::String&& value) { SetProgressMessage(std::move(value)); return *this;} + + /** + *

A message to indicate the progress of the updated session action.

+ */ + inline UpdatedSessionActionInfo& WithProgressMessage(const char* value) { SetProgressMessage(value); return *this;} + + + /** + *

The percentage completed.

+ */ + inline double GetProgressPercent() const{ return m_progressPercent; } + + /** + *

The percentage completed.

+ */ + inline bool ProgressPercentHasBeenSet() const { return m_progressPercentHasBeenSet; } + + /** + *

The percentage completed.

+ */ + inline void SetProgressPercent(double value) { m_progressPercentHasBeenSet = true; m_progressPercent = value; } + + /** + *

The percentage completed.

+ */ + inline UpdatedSessionActionInfo& WithProgressPercent(double value) { SetProgressPercent(value); return *this;} + + + /** + *

The date and time the resource started running.

+ */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + + /** + *

The date and time the resource started running.

+ */ + inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } + + /** + *

The date and time the resource started running.

+ */ + inline UpdatedSessionActionInfo& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + + /** + *

The date and time the resource started running.

+ */ + inline UpdatedSessionActionInfo& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + + + /** + *

The updated time.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The updated time.

+ */ + inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } + + /** + *

The updated time.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } + + /** + *

The updated time.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } + + /** + *

The updated time.

+ */ + inline UpdatedSessionActionInfo& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The updated time.

+ */ + inline UpdatedSessionActionInfo& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + private: + + CompletedStatus m_completedStatus; + bool m_completedStatusHasBeenSet = false; + + Aws::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = false; + + int m_processExitCode; + bool m_processExitCodeHasBeenSet = false; + + Aws::String m_progressMessage; + bool m_progressMessageHasBeenSet = false; + + double m_progressPercent; + bool m_progressPercentHasBeenSet = false; + + Aws::Utils::DateTime m_startedAt; + bool m_startedAtHasBeenSet = false; + + Aws::Utils::DateTime m_updatedAt; + bool m_updatedAtHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdatedWorkerStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdatedWorkerStatus.h new file mode 100644 index 00000000000..0ff3775d3a2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UpdatedWorkerStatus.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class UpdatedWorkerStatus + { + NOT_SET, + STARTED, + STOPPING, + STOPPED + }; + +namespace UpdatedWorkerStatusMapper +{ +AWS_DEADLINE_API UpdatedWorkerStatus GetUpdatedWorkerStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForUpdatedWorkerStatus(UpdatedWorkerStatus value); +} // namespace UpdatedWorkerStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UsageGroupByField.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UsageGroupByField.h new file mode 100644 index 00000000000..ccf279ab008 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UsageGroupByField.h @@ -0,0 +1,36 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class UsageGroupByField + { + NOT_SET, + QUEUE_ID, + FLEET_ID, + JOB_ID, + USER_ID, + USAGE_TYPE, + INSTANCE_TYPE, + LICENSE_PRODUCT + }; + +namespace UsageGroupByFieldMapper +{ +AWS_DEADLINE_API UsageGroupByField GetUsageGroupByFieldForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForUsageGroupByField(UsageGroupByField value); +} // namespace UsageGroupByFieldMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UsageStatistic.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UsageStatistic.h new file mode 100644 index 00000000000..86764d67e34 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UsageStatistic.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class UsageStatistic + { + NOT_SET, + SUM, + MIN, + MAX, + AVG + }; + +namespace UsageStatisticMapper +{ +AWS_DEADLINE_API UsageStatistic GetUsageStatisticForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForUsageStatistic(UsageStatistic value); +} // namespace UsageStatisticMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UsageTrackingResource.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UsageTrackingResource.h new file mode 100644 index 00000000000..4607904566f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UsageTrackingResource.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The usage details of the allotted budget.

See Also:

AWS + * API Reference

+ */ + class UsageTrackingResource + { + public: + AWS_DEADLINE_API UsageTrackingResource(); + AWS_DEADLINE_API UsageTrackingResource(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API UsageTrackingResource& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The queue ID.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID.

+ */ + inline UsageTrackingResource& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID.

+ */ + inline UsageTrackingResource& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID.

+ */ + inline UsageTrackingResource& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + private: + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UsageType.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UsageType.h new file mode 100644 index 00000000000..d75fb4bd734 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UsageType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class UsageType + { + NOT_SET, + COMPUTE, + LICENSE + }; + +namespace UsageTypeMapper +{ +AWS_DEADLINE_API UsageType GetUsageTypeForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForUsageType(UsageType value); +} // namespace UsageTypeMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UserJobsFirst.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UserJobsFirst.h new file mode 100644 index 00000000000..e34bbdd20ee --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/UserJobsFirst.h @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Allows setting a specific user's job to run first.

See Also:

+ * AWS + * API Reference

+ */ + class UserJobsFirst + { + public: + AWS_DEADLINE_API UserJobsFirst(); + AWS_DEADLINE_API UserJobsFirst(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API UserJobsFirst& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The user's ID.

+ */ + inline const Aws::String& GetUserIdentityId() const{ return m_userIdentityId; } + + /** + *

The user's ID.

+ */ + inline bool UserIdentityIdHasBeenSet() const { return m_userIdentityIdHasBeenSet; } + + /** + *

The user's ID.

+ */ + inline void SetUserIdentityId(const Aws::String& value) { m_userIdentityIdHasBeenSet = true; m_userIdentityId = value; } + + /** + *

The user's ID.

+ */ + inline void SetUserIdentityId(Aws::String&& value) { m_userIdentityIdHasBeenSet = true; m_userIdentityId = std::move(value); } + + /** + *

The user's ID.

+ */ + inline void SetUserIdentityId(const char* value) { m_userIdentityIdHasBeenSet = true; m_userIdentityId.assign(value); } + + /** + *

The user's ID.

+ */ + inline UserJobsFirst& WithUserIdentityId(const Aws::String& value) { SetUserIdentityId(value); return *this;} + + /** + *

The user's ID.

+ */ + inline UserJobsFirst& WithUserIdentityId(Aws::String&& value) { SetUserIdentityId(std::move(value)); return *this;} + + /** + *

The user's ID.

+ */ + inline UserJobsFirst& WithUserIdentityId(const char* value) { SetUserIdentityId(value); return *this;} + + private: + + Aws::String m_userIdentityId; + bool m_userIdentityIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/VCpuCountRange.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/VCpuCountRange.h new file mode 100644 index 00000000000..b139dab9a56 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/VCpuCountRange.h @@ -0,0 +1,91 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The allowable range of vCPU processing power for the fleet.

See + * Also:

AWS + * API Reference

+ */ + class VCpuCountRange + { + public: + AWS_DEADLINE_API VCpuCountRange(); + AWS_DEADLINE_API VCpuCountRange(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API VCpuCountRange& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The maximum amount of vCPU.

+ */ + inline int GetMax() const{ return m_max; } + + /** + *

The maximum amount of vCPU.

+ */ + inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } + + /** + *

The maximum amount of vCPU.

+ */ + inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; } + + /** + *

The maximum amount of vCPU.

+ */ + inline VCpuCountRange& WithMax(int value) { SetMax(value); return *this;} + + + /** + *

The minimum amount of vCPU.

+ */ + inline int GetMin() const{ return m_min; } + + /** + *

The minimum amount of vCPU.

+ */ + inline bool MinHasBeenSet() const { return m_minHasBeenSet; } + + /** + *

The minimum amount of vCPU.

+ */ + inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; } + + /** + *

The minimum amount of vCPU.

+ */ + inline VCpuCountRange& WithMin(int value) { SetMin(value); return *this;} + + private: + + int m_max; + bool m_maxHasBeenSet = false; + + int m_min; + bool m_minHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ValidationException.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ValidationException.h new file mode 100644 index 00000000000..8392ad71f0e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ValidationException.h @@ -0,0 +1,224 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The request isn't valid. This can occur if your request contains malformed + * JSON or unsupported characters.

See Also:

AWS + * API Reference

+ */ + class ValidationException + { + public: + AWS_DEADLINE_API ValidationException(); + AWS_DEADLINE_API ValidationException(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API ValidationException& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline const Aws::Map& GetContext() const{ return m_context; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline void SetContext(const Aws::Map& value) { m_contextHasBeenSet = true; m_context = value; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline void SetContext(Aws::Map&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ValidationException& WithContext(const Aws::Map& value) { SetContext(value); return *this;} + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ValidationException& WithContext(Aws::Map&& value) { SetContext(std::move(value)); return *this;} + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ValidationException& AddContext(const Aws::String& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ValidationException& AddContext(Aws::String&& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ValidationException& AddContext(const Aws::String& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ValidationException& AddContext(Aws::String&& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ValidationException& AddContext(const char* key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ValidationException& AddContext(Aws::String&& key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline ValidationException& AddContext(const char* key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + + + /** + *

A list of fields that failed validation.

+ */ + inline const Aws::Vector& GetFieldList() const{ return m_fieldList; } + + /** + *

A list of fields that failed validation.

+ */ + inline bool FieldListHasBeenSet() const { return m_fieldListHasBeenSet; } + + /** + *

A list of fields that failed validation.

+ */ + inline void SetFieldList(const Aws::Vector& value) { m_fieldListHasBeenSet = true; m_fieldList = value; } + + /** + *

A list of fields that failed validation.

+ */ + inline void SetFieldList(Aws::Vector&& value) { m_fieldListHasBeenSet = true; m_fieldList = std::move(value); } + + /** + *

A list of fields that failed validation.

+ */ + inline ValidationException& WithFieldList(const Aws::Vector& value) { SetFieldList(value); return *this;} + + /** + *

A list of fields that failed validation.

+ */ + inline ValidationException& WithFieldList(Aws::Vector&& value) { SetFieldList(std::move(value)); return *this;} + + /** + *

A list of fields that failed validation.

+ */ + inline ValidationException& AddFieldList(const ValidationExceptionField& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(value); return *this; } + + /** + *

A list of fields that failed validation.

+ */ + inline ValidationException& AddFieldList(ValidationExceptionField&& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(std::move(value)); return *this; } + + + + inline const Aws::String& GetMessage() const{ return m_message; } + + + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + + + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + + + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + + + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + + + inline ValidationException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + + + inline ValidationException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + + + inline ValidationException& WithMessage(const char* value) { SetMessage(value); return *this;} + + + /** + *

The reason that the request failed validation.

+ */ + inline const ValidationExceptionReason& GetReason() const{ return m_reason; } + + /** + *

The reason that the request failed validation.

+ */ + inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } + + /** + *

The reason that the request failed validation.

+ */ + inline void SetReason(const ValidationExceptionReason& value) { m_reasonHasBeenSet = true; m_reason = value; } + + /** + *

The reason that the request failed validation.

+ */ + inline void SetReason(ValidationExceptionReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } + + /** + *

The reason that the request failed validation.

+ */ + inline ValidationException& WithReason(const ValidationExceptionReason& value) { SetReason(value); return *this;} + + /** + *

The reason that the request failed validation.

+ */ + inline ValidationException& WithReason(ValidationExceptionReason&& value) { SetReason(std::move(value)); return *this;} + + private: + + Aws::Map m_context; + bool m_contextHasBeenSet = false; + + Aws::Vector m_fieldList; + bool m_fieldListHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + ValidationExceptionReason m_reason; + bool m_reasonHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ValidationExceptionField.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ValidationExceptionField.h new file mode 100644 index 00000000000..2f5e6fa7b5b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ValidationExceptionField.h @@ -0,0 +1,132 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a validation exception.

See Also:

AWS + * API Reference

+ */ + class ValidationExceptionField + { + public: + AWS_DEADLINE_API ValidationExceptionField(); + AWS_DEADLINE_API ValidationExceptionField(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API ValidationExceptionField& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The error message for the validation exception.

+ */ + inline const Aws::String& GetMessage() const{ return m_message; } + + /** + *

The error message for the validation exception.

+ */ + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + + /** + *

The error message for the validation exception.

+ */ + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + + /** + *

The error message for the validation exception.

+ */ + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + + /** + *

The error message for the validation exception.

+ */ + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + + /** + *

The error message for the validation exception.

+ */ + inline ValidationExceptionField& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + + /** + *

The error message for the validation exception.

+ */ + inline ValidationExceptionField& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + + /** + *

The error message for the validation exception.

+ */ + inline ValidationExceptionField& WithMessage(const char* value) { SetMessage(value); return *this;} + + + /** + *

The name of the validation exception.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the validation exception.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The name of the validation exception.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the validation exception.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The name of the validation exception.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The name of the validation exception.

+ */ + inline ValidationExceptionField& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the validation exception.

+ */ + inline ValidationExceptionField& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The name of the validation exception.

+ */ + inline ValidationExceptionField& WithName(const char* value) { SetName(value); return *this;} + + private: + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ValidationExceptionReason.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ValidationExceptionReason.h new file mode 100644 index 00000000000..e2a612f44da --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/ValidationExceptionReason.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class ValidationExceptionReason + { + NOT_SET, + UNKNOWN_OPERATION, + CANNOT_PARSE, + FIELD_VALIDATION_FAILED, + OTHER + }; + +namespace ValidationExceptionReasonMapper +{ +AWS_DEADLINE_API ValidationExceptionReason GetValidationExceptionReasonForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForValidationExceptionReason(ValidationExceptionReason value); +} // namespace ValidationExceptionReasonMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WindowsUser.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WindowsUser.h new file mode 100644 index 00000000000..a49eef3ae48 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WindowsUser.h @@ -0,0 +1,132 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The Windows user details.

See Also:

AWS + * API Reference

+ */ + class WindowsUser + { + public: + AWS_DEADLINE_API WindowsUser(); + AWS_DEADLINE_API WindowsUser(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API WindowsUser& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The password ARN for the Windows user.

+ */ + inline const Aws::String& GetPasswordArn() const{ return m_passwordArn; } + + /** + *

The password ARN for the Windows user.

+ */ + inline bool PasswordArnHasBeenSet() const { return m_passwordArnHasBeenSet; } + + /** + *

The password ARN for the Windows user.

+ */ + inline void SetPasswordArn(const Aws::String& value) { m_passwordArnHasBeenSet = true; m_passwordArn = value; } + + /** + *

The password ARN for the Windows user.

+ */ + inline void SetPasswordArn(Aws::String&& value) { m_passwordArnHasBeenSet = true; m_passwordArn = std::move(value); } + + /** + *

The password ARN for the Windows user.

+ */ + inline void SetPasswordArn(const char* value) { m_passwordArnHasBeenSet = true; m_passwordArn.assign(value); } + + /** + *

The password ARN for the Windows user.

+ */ + inline WindowsUser& WithPasswordArn(const Aws::String& value) { SetPasswordArn(value); return *this;} + + /** + *

The password ARN for the Windows user.

+ */ + inline WindowsUser& WithPasswordArn(Aws::String&& value) { SetPasswordArn(std::move(value)); return *this;} + + /** + *

The password ARN for the Windows user.

+ */ + inline WindowsUser& WithPasswordArn(const char* value) { SetPasswordArn(value); return *this;} + + + /** + *

The user.

+ */ + inline const Aws::String& GetUser() const{ return m_user; } + + /** + *

The user.

+ */ + inline bool UserHasBeenSet() const { return m_userHasBeenSet; } + + /** + *

The user.

+ */ + inline void SetUser(const Aws::String& value) { m_userHasBeenSet = true; m_user = value; } + + /** + *

The user.

+ */ + inline void SetUser(Aws::String&& value) { m_userHasBeenSet = true; m_user = std::move(value); } + + /** + *

The user.

+ */ + inline void SetUser(const char* value) { m_userHasBeenSet = true; m_user.assign(value); } + + /** + *

The user.

+ */ + inline WindowsUser& WithUser(const Aws::String& value) { SetUser(value); return *this;} + + /** + *

The user.

+ */ + inline WindowsUser& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;} + + /** + *

The user.

+ */ + inline WindowsUser& WithUser(const char* value) { SetUser(value); return *this;} + + private: + + Aws::String m_passwordArn; + bool m_passwordArnHasBeenSet = false; + + Aws::String m_user; + bool m_userHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerAmountCapability.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerAmountCapability.h new file mode 100644 index 00000000000..22f3323964b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerAmountCapability.h @@ -0,0 +1,112 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of the worker amount capability.

See Also:

AWS + * API Reference

+ */ + class WorkerAmountCapability + { + public: + AWS_DEADLINE_API WorkerAmountCapability(); + AWS_DEADLINE_API WorkerAmountCapability(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API WorkerAmountCapability& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The name of the worker amount capability.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the worker amount capability.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The name of the worker amount capability.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the worker amount capability.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The name of the worker amount capability.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The name of the worker amount capability.

+ */ + inline WorkerAmountCapability& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the worker amount capability.

+ */ + inline WorkerAmountCapability& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The name of the worker amount capability.

+ */ + inline WorkerAmountCapability& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The value of the worker amount capability.

+ */ + inline double GetValue() const{ return m_value; } + + /** + *

The value of the worker amount capability.

+ */ + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + + /** + *

The value of the worker amount capability.

+ */ + inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; } + + /** + *

The value of the worker amount capability.

+ */ + inline WorkerAmountCapability& WithValue(double value) { SetValue(value); return *this;} + + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + double m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerAttributeCapability.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerAttributeCapability.h new file mode 100644 index 00000000000..a78021ca5e0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerAttributeCapability.h @@ -0,0 +1,138 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of the worker attribute capability.

See Also:

AWS + * API Reference

+ */ + class WorkerAttributeCapability + { + public: + AWS_DEADLINE_API WorkerAttributeCapability(); + AWS_DEADLINE_API WorkerAttributeCapability(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API WorkerAttributeCapability& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The name of the worker attribute capability.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the worker attribute capability.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The name of the worker attribute capability.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the worker attribute capability.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The name of the worker attribute capability.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The name of the worker attribute capability.

+ */ + inline WorkerAttributeCapability& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the worker attribute capability.

+ */ + inline WorkerAttributeCapability& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The name of the worker attribute capability.

+ */ + inline WorkerAttributeCapability& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The values of the worker amount capability.

+ */ + inline const Aws::Vector& GetValues() const{ return m_values; } + + /** + *

The values of the worker amount capability.

+ */ + inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } + + /** + *

The values of the worker amount capability.

+ */ + inline void SetValues(const Aws::Vector& value) { m_valuesHasBeenSet = true; m_values = value; } + + /** + *

The values of the worker amount capability.

+ */ + inline void SetValues(Aws::Vector&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); } + + /** + *

The values of the worker amount capability.

+ */ + inline WorkerAttributeCapability& WithValues(const Aws::Vector& value) { SetValues(value); return *this;} + + /** + *

The values of the worker amount capability.

+ */ + inline WorkerAttributeCapability& WithValues(Aws::Vector&& value) { SetValues(std::move(value)); return *this;} + + /** + *

The values of the worker amount capability.

+ */ + inline WorkerAttributeCapability& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } + + /** + *

The values of the worker amount capability.

+ */ + inline WorkerAttributeCapability& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } + + /** + *

The values of the worker amount capability.

+ */ + inline WorkerAttributeCapability& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } + + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::Vector m_values; + bool m_valuesHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerCapabilities.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerCapabilities.h new file mode 100644 index 00000000000..f587e74a625 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerCapabilities.h @@ -0,0 +1,134 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details for worker capabilities.

See Also:

AWS + * API Reference

+ */ + class WorkerCapabilities + { + public: + AWS_DEADLINE_API WorkerCapabilities(); + AWS_DEADLINE_API WorkerCapabilities(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API WorkerCapabilities& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The worker capabilities amounts on a list of worker capabilities.

+ */ + inline const Aws::Vector& GetAmounts() const{ return m_amounts; } + + /** + *

The worker capabilities amounts on a list of worker capabilities.

+ */ + inline bool AmountsHasBeenSet() const { return m_amountsHasBeenSet; } + + /** + *

The worker capabilities amounts on a list of worker capabilities.

+ */ + inline void SetAmounts(const Aws::Vector& value) { m_amountsHasBeenSet = true; m_amounts = value; } + + /** + *

The worker capabilities amounts on a list of worker capabilities.

+ */ + inline void SetAmounts(Aws::Vector&& value) { m_amountsHasBeenSet = true; m_amounts = std::move(value); } + + /** + *

The worker capabilities amounts on a list of worker capabilities.

+ */ + inline WorkerCapabilities& WithAmounts(const Aws::Vector& value) { SetAmounts(value); return *this;} + + /** + *

The worker capabilities amounts on a list of worker capabilities.

+ */ + inline WorkerCapabilities& WithAmounts(Aws::Vector&& value) { SetAmounts(std::move(value)); return *this;} + + /** + *

The worker capabilities amounts on a list of worker capabilities.

+ */ + inline WorkerCapabilities& AddAmounts(const WorkerAmountCapability& value) { m_amountsHasBeenSet = true; m_amounts.push_back(value); return *this; } + + /** + *

The worker capabilities amounts on a list of worker capabilities.

+ */ + inline WorkerCapabilities& AddAmounts(WorkerAmountCapability&& value) { m_amountsHasBeenSet = true; m_amounts.push_back(std::move(value)); return *this; } + + + /** + *

The worker attribute capabilities in the list of attribute capabilities.

+ */ + inline const Aws::Vector& GetAttributes() const{ return m_attributes; } + + /** + *

The worker attribute capabilities in the list of attribute capabilities.

+ */ + inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } + + /** + *

The worker attribute capabilities in the list of attribute capabilities.

+ */ + inline void SetAttributes(const Aws::Vector& value) { m_attributesHasBeenSet = true; m_attributes = value; } + + /** + *

The worker attribute capabilities in the list of attribute capabilities.

+ */ + inline void SetAttributes(Aws::Vector&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } + + /** + *

The worker attribute capabilities in the list of attribute capabilities.

+ */ + inline WorkerCapabilities& WithAttributes(const Aws::Vector& value) { SetAttributes(value); return *this;} + + /** + *

The worker attribute capabilities in the list of attribute capabilities.

+ */ + inline WorkerCapabilities& WithAttributes(Aws::Vector&& value) { SetAttributes(std::move(value)); return *this;} + + /** + *

The worker attribute capabilities in the list of attribute capabilities.

+ */ + inline WorkerCapabilities& AddAttributes(const WorkerAttributeCapability& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; } + + /** + *

The worker attribute capabilities in the list of attribute capabilities.

+ */ + inline WorkerCapabilities& AddAttributes(WorkerAttributeCapability&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; } + + private: + + Aws::Vector m_amounts; + bool m_amountsHasBeenSet = false; + + Aws::Vector m_attributes; + bool m_attributesHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerSearchSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerSearchSummary.h new file mode 100644 index 00000000000..142c815d202 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerSearchSummary.h @@ -0,0 +1,359 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The details of a worker search.

See Also:

AWS + * API Reference

+ */ + class WorkerSearchSummary + { + public: + AWS_DEADLINE_API WorkerSearchSummary(); + AWS_DEADLINE_API WorkerSearchSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API WorkerSearchSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline WorkerSearchSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline WorkerSearchSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline WorkerSearchSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline WorkerSearchSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline WorkerSearchSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The fleet ID.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID.

+ */ + inline WorkerSearchSummary& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID.

+ */ + inline WorkerSearchSummary& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID.

+ */ + inline WorkerSearchSummary& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

Provides the Amazon EC2 instance properties of the worker host.

+ */ + inline const HostPropertiesResponse& GetHostProperties() const{ return m_hostProperties; } + + /** + *

Provides the Amazon EC2 instance properties of the worker host.

+ */ + inline bool HostPropertiesHasBeenSet() const { return m_hostPropertiesHasBeenSet; } + + /** + *

Provides the Amazon EC2 instance properties of the worker host.

+ */ + inline void SetHostProperties(const HostPropertiesResponse& value) { m_hostPropertiesHasBeenSet = true; m_hostProperties = value; } + + /** + *

Provides the Amazon EC2 instance properties of the worker host.

+ */ + inline void SetHostProperties(HostPropertiesResponse&& value) { m_hostPropertiesHasBeenSet = true; m_hostProperties = std::move(value); } + + /** + *

Provides the Amazon EC2 instance properties of the worker host.

+ */ + inline WorkerSearchSummary& WithHostProperties(const HostPropertiesResponse& value) { SetHostProperties(value); return *this;} + + /** + *

Provides the Amazon EC2 instance properties of the worker host.

+ */ + inline WorkerSearchSummary& WithHostProperties(HostPropertiesResponse&& value) { SetHostProperties(std::move(value)); return *this;} + + + /** + *

The status of the worker search.

+ */ + inline const WorkerStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the worker search.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The status of the worker search.

+ */ + inline void SetStatus(const WorkerStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The status of the worker search.

+ */ + inline void SetStatus(WorkerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The status of the worker search.

+ */ + inline WorkerSearchSummary& WithStatus(const WorkerStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the worker search.

+ */ + inline WorkerSearchSummary& WithStatus(WorkerStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline WorkerSearchSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline WorkerSearchSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline WorkerSearchSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline WorkerSearchSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline WorkerSearchSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + /** + *

The worker ID.

+ */ + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + + /** + *

The worker ID.

+ */ + inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } + + /** + *

The worker ID.

+ */ + inline WorkerSearchSummary& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + + /** + *

The worker ID.

+ */ + inline WorkerSearchSummary& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + + /** + *

The worker ID.

+ */ + inline WorkerSearchSummary& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + HostPropertiesResponse m_hostProperties; + bool m_hostPropertiesHasBeenSet = false; + + WorkerStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::Utils::DateTime m_updatedAt; + bool m_updatedAtHasBeenSet = false; + + Aws::String m_updatedBy; + bool m_updatedByHasBeenSet = false; + + Aws::String m_workerId; + bool m_workerIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerSessionSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerSessionSummary.h new file mode 100644 index 00000000000..a446bc6e5c9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerSessionSummary.h @@ -0,0 +1,315 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

Summarizes the session for a particular worker.

See Also:

AWS + * API Reference

+ */ + class WorkerSessionSummary + { + public: + AWS_DEADLINE_API WorkerSessionSummary(); + AWS_DEADLINE_API WorkerSessionSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API WorkerSessionSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The date and time the resource ended running.

+ */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + + /** + *

The date and time the resource ended running.

+ */ + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + + /** + *

The date and time the resource ended running.

+ */ + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + + /** + *

The date and time the resource ended running.

+ */ + inline WorkerSessionSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + + /** + *

The date and time the resource ended running.

+ */ + inline WorkerSessionSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + + + /** + *

The job ID for the job associated with the worker's session.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + + /** + *

The job ID for the job associated with the worker's session.

+ */ + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + + /** + *

The job ID for the job associated with the worker's session.

+ */ + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + + /** + *

The job ID for the job associated with the worker's session.

+ */ + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + + /** + *

The job ID for the job associated with the worker's session.

+ */ + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + + /** + *

The job ID for the job associated with the worker's session.

+ */ + inline WorkerSessionSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + + /** + *

The job ID for the job associated with the worker's session.

+ */ + inline WorkerSessionSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + + /** + *

The job ID for the job associated with the worker's session.

+ */ + inline WorkerSessionSummary& WithJobId(const char* value) { SetJobId(value); return *this;} + + + /** + *

The life cycle status for the worker's session.

+ */ + inline const SessionLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } + + /** + *

The life cycle status for the worker's session.

+ */ + inline bool LifecycleStatusHasBeenSet() const { return m_lifecycleStatusHasBeenSet; } + + /** + *

The life cycle status for the worker's session.

+ */ + inline void SetLifecycleStatus(const SessionLifecycleStatus& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = value; } + + /** + *

The life cycle status for the worker's session.

+ */ + inline void SetLifecycleStatus(SessionLifecycleStatus&& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = std::move(value); } + + /** + *

The life cycle status for the worker's session.

+ */ + inline WorkerSessionSummary& WithLifecycleStatus(const SessionLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} + + /** + *

The life cycle status for the worker's session.

+ */ + inline WorkerSessionSummary& WithLifecycleStatus(SessionLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} + + + /** + *

The queue ID for the queue associated to the worker.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + + /** + *

The queue ID for the queue associated to the worker.

+ */ + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + + /** + *

The queue ID for the queue associated to the worker.

+ */ + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + + /** + *

The queue ID for the queue associated to the worker.

+ */ + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + + /** + *

The queue ID for the queue associated to the worker.

+ */ + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + + /** + *

The queue ID for the queue associated to the worker.

+ */ + inline WorkerSessionSummary& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + + /** + *

The queue ID for the queue associated to the worker.

+ */ + inline WorkerSessionSummary& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + + /** + *

The queue ID for the queue associated to the worker.

+ */ + inline WorkerSessionSummary& WithQueueId(const char* value) { SetQueueId(value); return *this;} + + + /** + *

The session ID for the session action.

+ */ + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + + /** + *

The session ID for the session action.

+ */ + inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } + + /** + *

The session ID for the session action.

+ */ + inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } + + /** + *

The session ID for the session action.

+ */ + inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } + + /** + *

The session ID for the session action.

+ */ + inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } + + /** + *

The session ID for the session action.

+ */ + inline WorkerSessionSummary& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + + /** + *

The session ID for the session action.

+ */ + inline WorkerSessionSummary& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + + /** + *

The session ID for the session action.

+ */ + inline WorkerSessionSummary& WithSessionId(const char* value) { SetSessionId(value); return *this;} + + + /** + *

The date and time the resource started running.

+ */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + + /** + *

The date and time the resource started running.

+ */ + inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } + + /** + *

The date and time the resource started running.

+ */ + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } + + /** + *

The date and time the resource started running.

+ */ + inline WorkerSessionSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + + /** + *

The date and time the resource started running.

+ */ + inline WorkerSessionSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + + + /** + *

The life cycle status

+ */ + inline const SessionLifecycleTargetStatus& GetTargetLifecycleStatus() const{ return m_targetLifecycleStatus; } + + /** + *

The life cycle status

+ */ + inline bool TargetLifecycleStatusHasBeenSet() const { return m_targetLifecycleStatusHasBeenSet; } + + /** + *

The life cycle status

+ */ + inline void SetTargetLifecycleStatus(const SessionLifecycleTargetStatus& value) { m_targetLifecycleStatusHasBeenSet = true; m_targetLifecycleStatus = value; } + + /** + *

The life cycle status

+ */ + inline void SetTargetLifecycleStatus(SessionLifecycleTargetStatus&& value) { m_targetLifecycleStatusHasBeenSet = true; m_targetLifecycleStatus = std::move(value); } + + /** + *

The life cycle status

+ */ + inline WorkerSessionSummary& WithTargetLifecycleStatus(const SessionLifecycleTargetStatus& value) { SetTargetLifecycleStatus(value); return *this;} + + /** + *

The life cycle status

+ */ + inline WorkerSessionSummary& WithTargetLifecycleStatus(SessionLifecycleTargetStatus&& value) { SetTargetLifecycleStatus(std::move(value)); return *this;} + + private: + + Aws::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + + SessionLifecycleStatus m_lifecycleStatus; + bool m_lifecycleStatusHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_sessionId; + bool m_sessionIdHasBeenSet = false; + + Aws::Utils::DateTime m_startedAt; + bool m_startedAtHasBeenSet = false; + + SessionLifecycleTargetStatus m_targetLifecycleStatus; + bool m_targetLifecycleStatusHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerStatus.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerStatus.h new file mode 100644 index 00000000000..3832daaddc6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerStatus.h @@ -0,0 +1,37 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + enum class WorkerStatus + { + NOT_SET, + CREATED, + STARTED, + STOPPING, + STOPPED, + NOT_RESPONDING, + NOT_COMPATIBLE, + RUNNING, + IDLE + }; + +namespace WorkerStatusMapper +{ +AWS_DEADLINE_API WorkerStatus GetWorkerStatusForName(const Aws::String& name); + +AWS_DEADLINE_API Aws::String GetNameForWorkerStatus(WorkerStatus value); +} // namespace WorkerStatusMapper +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerSummary.h b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerSummary.h new file mode 100644 index 00000000000..cd8717a98df --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/model/WorkerSummary.h @@ -0,0 +1,438 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace deadline +{ +namespace Model +{ + + /** + *

The summary of details for a worker.

See Also:

AWS + * API Reference

+ */ + class WorkerSummary + { + public: + AWS_DEADLINE_API WorkerSummary(); + AWS_DEADLINE_API WorkerSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API WorkerSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + + /** + *

The date and time the resource was created.

+ */ + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + + /** + *

The date and time the resource was created.

+ */ + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + + /** + *

The date and time the resource was created.

+ */ + inline WorkerSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + + /** + *

The date and time the resource was created.

+ */ + inline WorkerSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + + /** + *

The user or system that created this resource.

+ */ + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + + /** + *

The user or system that created this resource.

+ */ + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + + /** + *

The user or system that created this resource.

+ */ + inline WorkerSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline WorkerSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + + /** + *

The user or system that created this resource.

+ */ + inline WorkerSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + + + /** + *

The farm ID.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + + /** + *

The farm ID.

+ */ + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + + /** + *

The farm ID.

+ */ + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + + /** + *

The farm ID.

+ */ + inline WorkerSummary& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + + /** + *

The farm ID.

+ */ + inline WorkerSummary& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + + /** + *

The farm ID.

+ */ + inline WorkerSummary& WithFarmId(const char* value) { SetFarmId(value); return *this;} + + + /** + *

The fleet ID.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + + /** + *

The fleet ID.

+ */ + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + + /** + *

The fleet ID.

+ */ + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + + /** + *

The fleet ID.

+ */ + inline WorkerSummary& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + + /** + *

The fleet ID.

+ */ + inline WorkerSummary& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + + /** + *

The fleet ID.

+ */ + inline WorkerSummary& WithFleetId(const char* value) { SetFleetId(value); return *this;} + + + /** + *

The host properties of the worker.

+ */ + inline const HostPropertiesResponse& GetHostProperties() const{ return m_hostProperties; } + + /** + *

The host properties of the worker.

+ */ + inline bool HostPropertiesHasBeenSet() const { return m_hostPropertiesHasBeenSet; } + + /** + *

The host properties of the worker.

+ */ + inline void SetHostProperties(const HostPropertiesResponse& value) { m_hostPropertiesHasBeenSet = true; m_hostProperties = value; } + + /** + *

The host properties of the worker.

+ */ + inline void SetHostProperties(HostPropertiesResponse&& value) { m_hostPropertiesHasBeenSet = true; m_hostProperties = std::move(value); } + + /** + *

The host properties of the worker.

+ */ + inline WorkerSummary& WithHostProperties(const HostPropertiesResponse& value) { SetHostProperties(value); return *this;} + + /** + *

The host properties of the worker.

+ */ + inline WorkerSummary& WithHostProperties(HostPropertiesResponse&& value) { SetHostProperties(std::move(value)); return *this;} + + + /** + *

The log configuration for the worker.

+ */ + inline const LogConfiguration& GetLog() const{ return m_log; } + + /** + *

The log configuration for the worker.

+ */ + inline bool LogHasBeenSet() const { return m_logHasBeenSet; } + + /** + *

The log configuration for the worker.

+ */ + inline void SetLog(const LogConfiguration& value) { m_logHasBeenSet = true; m_log = value; } + + /** + *

The log configuration for the worker.

+ */ + inline void SetLog(LogConfiguration&& value) { m_logHasBeenSet = true; m_log = std::move(value); } + + /** + *

The log configuration for the worker.

+ */ + inline WorkerSummary& WithLog(const LogConfiguration& value) { SetLog(value); return *this;} + + /** + *

The log configuration for the worker.

+ */ + inline WorkerSummary& WithLog(LogConfiguration&& value) { SetLog(std::move(value)); return *this;} + + + /** + *

The status of the worker.

+ */ + inline const WorkerStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the worker.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The status of the worker.

+ */ + inline void SetStatus(const WorkerStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The status of the worker.

+ */ + inline void SetStatus(WorkerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The status of the worker.

+ */ + inline WorkerSummary& WithStatus(const WorkerStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the worker.

+ */ + inline WorkerSummary& WithStatus(WorkerStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The date and time the resource was updated.

+ */ + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + + /** + *

The date and time the resource was updated.

+ */ + inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } + + /** + *

The date and time the resource was updated.

+ */ + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } + + /** + *

The date and time the resource was updated.

+ */ + inline WorkerSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + + /** + *

The date and time the resource was updated.

+ */ + inline WorkerSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + + + /** + *

The user or system that updated this resource.

+ */ + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + + /** + *

The user or system that updated this resource.

+ */ + inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); } + + /** + *

The user or system that updated this resource.

+ */ + inline WorkerSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline WorkerSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + + /** + *

The user or system that updated this resource.

+ */ + inline WorkerSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + + + /** + *

The worker ID.

+ */ + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + + /** + *

The worker ID.

+ */ + inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } + + /** + *

The worker ID.

+ */ + inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } + + /** + *

The worker ID.

+ */ + inline WorkerSummary& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + + /** + *

The worker ID.

+ */ + inline WorkerSummary& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + + /** + *

The worker ID.

+ */ + inline WorkerSummary& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + + private: + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; + + HostPropertiesResponse m_hostProperties; + bool m_hostPropertiesHasBeenSet = false; + + LogConfiguration m_log; + bool m_logHasBeenSet = false; + + WorkerStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::Utils::DateTime m_updatedAt; + bool m_updatedAtHasBeenSet = false; + + Aws::String m_updatedBy; + bool m_updatedByHasBeenSet = false; + + Aws::String m_workerId; + bool m_workerIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/DeadlineClient.cpp b/generated/src/aws-cpp-sdk-deadline/source/DeadlineClient.cpp new file mode 100644 index 00000000000..3f9c4301f68 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/DeadlineClient.cpp @@ -0,0 +1,4675 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + + +using namespace Aws; +using namespace Aws::Auth; +using namespace Aws::Client; +using namespace Aws::deadline; +using namespace Aws::deadline::Model; +using namespace Aws::Http; +using namespace Aws::Utils::Json; +using namespace smithy::components::tracing; +using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; + +namespace Aws +{ + namespace deadline + { + const char SERVICE_NAME[] = "deadline"; + const char ALLOCATION_TAG[] = "DeadlineClient"; + } +} +const char* DeadlineClient::GetServiceName() {return SERVICE_NAME;} +const char* DeadlineClient::GetAllocationTag() {return ALLOCATION_TAG;} + +DeadlineClient::DeadlineClient(const deadline::DeadlineClientConfiguration& clientConfiguration, + std::shared_ptr endpointProvider) : + BASECLASS(clientConfiguration, + Aws::MakeShared(ALLOCATION_TAG, + Aws::MakeShared(ALLOCATION_TAG), + SERVICE_NAME, + Aws::Region::ComputeSignerRegion(clientConfiguration.region)), + Aws::MakeShared(ALLOCATION_TAG)), + m_clientConfiguration(clientConfiguration), + m_executor(clientConfiguration.executor), + m_endpointProvider(endpointProvider ? std::move(endpointProvider) : Aws::MakeShared(ALLOCATION_TAG)) +{ + init(m_clientConfiguration); +} + +DeadlineClient::DeadlineClient(const AWSCredentials& credentials, + std::shared_ptr endpointProvider, + const deadline::DeadlineClientConfiguration& clientConfiguration) : + BASECLASS(clientConfiguration, + Aws::MakeShared(ALLOCATION_TAG, + Aws::MakeShared(ALLOCATION_TAG, credentials), + SERVICE_NAME, + Aws::Region::ComputeSignerRegion(clientConfiguration.region)), + Aws::MakeShared(ALLOCATION_TAG)), + m_clientConfiguration(clientConfiguration), + m_executor(clientConfiguration.executor), + m_endpointProvider(endpointProvider ? std::move(endpointProvider) : Aws::MakeShared(ALLOCATION_TAG)) +{ + init(m_clientConfiguration); +} + +DeadlineClient::DeadlineClient(const std::shared_ptr& credentialsProvider, + std::shared_ptr endpointProvider, + const deadline::DeadlineClientConfiguration& clientConfiguration) : + BASECLASS(clientConfiguration, + Aws::MakeShared(ALLOCATION_TAG, + credentialsProvider, + SERVICE_NAME, + Aws::Region::ComputeSignerRegion(clientConfiguration.region)), + Aws::MakeShared(ALLOCATION_TAG)), + m_clientConfiguration(clientConfiguration), + m_executor(clientConfiguration.executor), + m_endpointProvider(endpointProvider ? std::move(endpointProvider) : Aws::MakeShared(ALLOCATION_TAG)) +{ + init(m_clientConfiguration); +} + + /* Legacy constructors due deprecation */ + DeadlineClient::DeadlineClient(const Client::ClientConfiguration& clientConfiguration) : + BASECLASS(clientConfiguration, + Aws::MakeShared(ALLOCATION_TAG, + Aws::MakeShared(ALLOCATION_TAG), + SERVICE_NAME, + Aws::Region::ComputeSignerRegion(clientConfiguration.region)), + Aws::MakeShared(ALLOCATION_TAG)), + m_clientConfiguration(clientConfiguration), + m_executor(clientConfiguration.executor), + m_endpointProvider(Aws::MakeShared(ALLOCATION_TAG)) +{ + init(m_clientConfiguration); +} + +DeadlineClient::DeadlineClient(const AWSCredentials& credentials, + const Client::ClientConfiguration& clientConfiguration) : + BASECLASS(clientConfiguration, + Aws::MakeShared(ALLOCATION_TAG, + Aws::MakeShared(ALLOCATION_TAG, credentials), + SERVICE_NAME, + Aws::Region::ComputeSignerRegion(clientConfiguration.region)), + Aws::MakeShared(ALLOCATION_TAG)), + m_clientConfiguration(clientConfiguration), + m_executor(clientConfiguration.executor), + m_endpointProvider(Aws::MakeShared(ALLOCATION_TAG)) +{ + init(m_clientConfiguration); +} + +DeadlineClient::DeadlineClient(const std::shared_ptr& credentialsProvider, + const Client::ClientConfiguration& clientConfiguration) : + BASECLASS(clientConfiguration, + Aws::MakeShared(ALLOCATION_TAG, + credentialsProvider, + SERVICE_NAME, + Aws::Region::ComputeSignerRegion(clientConfiguration.region)), + Aws::MakeShared(ALLOCATION_TAG)), + m_clientConfiguration(clientConfiguration), + m_executor(clientConfiguration.executor), + m_endpointProvider(Aws::MakeShared(ALLOCATION_TAG)) +{ + init(m_clientConfiguration); +} + + /* End of legacy constructors due deprecation */ +DeadlineClient::~DeadlineClient() +{ + ShutdownSdkClient(this, -1); +} + +std::shared_ptr& DeadlineClient::accessEndpointProvider() +{ + return m_endpointProvider; +} + +void DeadlineClient::init(const deadline::DeadlineClientConfiguration& config) +{ + AWSClient::SetServiceClientName("deadline"); + AWS_CHECK_PTR(SERVICE_NAME, m_endpointProvider); + m_endpointProvider->InitBuiltInParameters(config); +} + +void DeadlineClient::OverrideEndpoint(const Aws::String& endpoint) +{ + AWS_CHECK_PTR(SERVICE_NAME, m_endpointProvider); + m_endpointProvider->OverrideEndpoint(endpoint); +} + +AssociateMemberToFarmOutcome DeadlineClient::AssociateMemberToFarm(const AssociateMemberToFarmRequest& request) const +{ + AWS_OPERATION_GUARD(AssociateMemberToFarm); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, AssociateMemberToFarm, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssociateMemberToFarm", "Required field: FarmId, is not set"); + return AssociateMemberToFarmOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.PrincipalIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssociateMemberToFarm", "Required field: PrincipalId, is not set"); + return AssociateMemberToFarmOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [PrincipalId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, AssociateMemberToFarm, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, AssociateMemberToFarm, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".AssociateMemberToFarm", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> AssociateMemberToFarmOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, AssociateMemberToFarm, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), AssociateMemberToFarmOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/members/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetPrincipalId()); + return AssociateMemberToFarmOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +AssociateMemberToFleetOutcome DeadlineClient::AssociateMemberToFleet(const AssociateMemberToFleetRequest& request) const +{ + AWS_OPERATION_GUARD(AssociateMemberToFleet); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, AssociateMemberToFleet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssociateMemberToFleet", "Required field: FarmId, is not set"); + return AssociateMemberToFleetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssociateMemberToFleet", "Required field: FleetId, is not set"); + return AssociateMemberToFleetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + if (!request.PrincipalIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssociateMemberToFleet", "Required field: PrincipalId, is not set"); + return AssociateMemberToFleetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [PrincipalId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, AssociateMemberToFleet, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, AssociateMemberToFleet, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".AssociateMemberToFleet", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> AssociateMemberToFleetOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, AssociateMemberToFleet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), AssociateMemberToFleetOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/members/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetPrincipalId()); + return AssociateMemberToFleetOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +AssociateMemberToJobOutcome DeadlineClient::AssociateMemberToJob(const AssociateMemberToJobRequest& request) const +{ + AWS_OPERATION_GUARD(AssociateMemberToJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, AssociateMemberToJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssociateMemberToJob", "Required field: FarmId, is not set"); + return AssociateMemberToJobOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssociateMemberToJob", "Required field: JobId, is not set"); + return AssociateMemberToJobOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.PrincipalIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssociateMemberToJob", "Required field: PrincipalId, is not set"); + return AssociateMemberToJobOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [PrincipalId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssociateMemberToJob", "Required field: QueueId, is not set"); + return AssociateMemberToJobOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, AssociateMemberToJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, AssociateMemberToJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".AssociateMemberToJob", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> AssociateMemberToJobOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, AssociateMemberToJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), AssociateMemberToJobOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/members/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetPrincipalId()); + return AssociateMemberToJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +AssociateMemberToQueueOutcome DeadlineClient::AssociateMemberToQueue(const AssociateMemberToQueueRequest& request) const +{ + AWS_OPERATION_GUARD(AssociateMemberToQueue); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, AssociateMemberToQueue, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssociateMemberToQueue", "Required field: FarmId, is not set"); + return AssociateMemberToQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.PrincipalIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssociateMemberToQueue", "Required field: PrincipalId, is not set"); + return AssociateMemberToQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [PrincipalId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssociateMemberToQueue", "Required field: QueueId, is not set"); + return AssociateMemberToQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, AssociateMemberToQueue, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, AssociateMemberToQueue, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".AssociateMemberToQueue", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> AssociateMemberToQueueOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, AssociateMemberToQueue, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), AssociateMemberToQueueOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/members/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetPrincipalId()); + return AssociateMemberToQueueOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +AssumeFleetRoleForReadOutcome DeadlineClient::AssumeFleetRoleForRead(const AssumeFleetRoleForReadRequest& request) const +{ + AWS_OPERATION_GUARD(AssumeFleetRoleForRead); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, AssumeFleetRoleForRead, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssumeFleetRoleForRead", "Required field: FarmId, is not set"); + return AssumeFleetRoleForReadOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssumeFleetRoleForRead", "Required field: FleetId, is not set"); + return AssumeFleetRoleForReadOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, AssumeFleetRoleForRead, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, AssumeFleetRoleForRead, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".AssumeFleetRoleForRead", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> AssumeFleetRoleForReadOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, AssumeFleetRoleForRead, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), AssumeFleetRoleForReadOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/read-roles"); + return AssumeFleetRoleForReadOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +AssumeFleetRoleForWorkerOutcome DeadlineClient::AssumeFleetRoleForWorker(const AssumeFleetRoleForWorkerRequest& request) const +{ + AWS_OPERATION_GUARD(AssumeFleetRoleForWorker); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, AssumeFleetRoleForWorker, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssumeFleetRoleForWorker", "Required field: FarmId, is not set"); + return AssumeFleetRoleForWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssumeFleetRoleForWorker", "Required field: FleetId, is not set"); + return AssumeFleetRoleForWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + if (!request.WorkerIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssumeFleetRoleForWorker", "Required field: WorkerId, is not set"); + return AssumeFleetRoleForWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [WorkerId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, AssumeFleetRoleForWorker, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, AssumeFleetRoleForWorker, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".AssumeFleetRoleForWorker", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> AssumeFleetRoleForWorkerOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, AssumeFleetRoleForWorker, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("scheduling."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), AssumeFleetRoleForWorkerOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/workers/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetWorkerId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleet-roles"); + return AssumeFleetRoleForWorkerOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +AssumeQueueRoleForReadOutcome DeadlineClient::AssumeQueueRoleForRead(const AssumeQueueRoleForReadRequest& request) const +{ + AWS_OPERATION_GUARD(AssumeQueueRoleForRead); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, AssumeQueueRoleForRead, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssumeQueueRoleForRead", "Required field: FarmId, is not set"); + return AssumeQueueRoleForReadOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssumeQueueRoleForRead", "Required field: QueueId, is not set"); + return AssumeQueueRoleForReadOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, AssumeQueueRoleForRead, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, AssumeQueueRoleForRead, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".AssumeQueueRoleForRead", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> AssumeQueueRoleForReadOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, AssumeQueueRoleForRead, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), AssumeQueueRoleForReadOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/read-roles"); + return AssumeQueueRoleForReadOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +AssumeQueueRoleForUserOutcome DeadlineClient::AssumeQueueRoleForUser(const AssumeQueueRoleForUserRequest& request) const +{ + AWS_OPERATION_GUARD(AssumeQueueRoleForUser); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, AssumeQueueRoleForUser, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssumeQueueRoleForUser", "Required field: FarmId, is not set"); + return AssumeQueueRoleForUserOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssumeQueueRoleForUser", "Required field: QueueId, is not set"); + return AssumeQueueRoleForUserOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, AssumeQueueRoleForUser, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, AssumeQueueRoleForUser, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".AssumeQueueRoleForUser", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> AssumeQueueRoleForUserOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, AssumeQueueRoleForUser, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), AssumeQueueRoleForUserOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/user-roles"); + return AssumeQueueRoleForUserOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +AssumeQueueRoleForWorkerOutcome DeadlineClient::AssumeQueueRoleForWorker(const AssumeQueueRoleForWorkerRequest& request) const +{ + AWS_OPERATION_GUARD(AssumeQueueRoleForWorker); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, AssumeQueueRoleForWorker, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssumeQueueRoleForWorker", "Required field: FarmId, is not set"); + return AssumeQueueRoleForWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssumeQueueRoleForWorker", "Required field: FleetId, is not set"); + return AssumeQueueRoleForWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssumeQueueRoleForWorker", "Required field: QueueId, is not set"); + return AssumeQueueRoleForWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + if (!request.WorkerIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssumeQueueRoleForWorker", "Required field: WorkerId, is not set"); + return AssumeQueueRoleForWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [WorkerId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, AssumeQueueRoleForWorker, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, AssumeQueueRoleForWorker, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".AssumeQueueRoleForWorker", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> AssumeQueueRoleForWorkerOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, AssumeQueueRoleForWorker, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("scheduling."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), AssumeQueueRoleForWorkerOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/workers/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetWorkerId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queue-roles"); + return AssumeQueueRoleForWorkerOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +BatchGetJobEntityOutcome DeadlineClient::BatchGetJobEntity(const BatchGetJobEntityRequest& request) const +{ + AWS_OPERATION_GUARD(BatchGetJobEntity); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, BatchGetJobEntity, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("BatchGetJobEntity", "Required field: FarmId, is not set"); + return BatchGetJobEntityOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("BatchGetJobEntity", "Required field: FleetId, is not set"); + return BatchGetJobEntityOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + if (!request.WorkerIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("BatchGetJobEntity", "Required field: WorkerId, is not set"); + return BatchGetJobEntityOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [WorkerId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, BatchGetJobEntity, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, BatchGetJobEntity, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".BatchGetJobEntity", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> BatchGetJobEntityOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, BatchGetJobEntity, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("scheduling."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), BatchGetJobEntityOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/workers/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetWorkerId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/batchGetJobEntity"); + return BatchGetJobEntityOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +CopyJobTemplateOutcome DeadlineClient::CopyJobTemplate(const CopyJobTemplateRequest& request) const +{ + AWS_OPERATION_GUARD(CopyJobTemplate); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CopyJobTemplate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CopyJobTemplate", "Required field: FarmId, is not set"); + return CopyJobTemplateOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CopyJobTemplate", "Required field: JobId, is not set"); + return CopyJobTemplateOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CopyJobTemplate", "Required field: QueueId, is not set"); + return CopyJobTemplateOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CopyJobTemplate, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CopyJobTemplate, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CopyJobTemplate", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CopyJobTemplateOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CopyJobTemplate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), CopyJobTemplateOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/template"); + return CopyJobTemplateOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +CreateBudgetOutcome DeadlineClient::CreateBudget(const CreateBudgetRequest& request) const +{ + AWS_OPERATION_GUARD(CreateBudget); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateBudget, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateBudget", "Required field: FarmId, is not set"); + return CreateBudgetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateBudget, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateBudget, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateBudget", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreateBudgetOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateBudget, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), CreateBudgetOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/budgets"); + return CreateBudgetOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +CreateFarmOutcome DeadlineClient::CreateFarm(const CreateFarmRequest& request) const +{ + AWS_OPERATION_GUARD(CreateFarm); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateFarm, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateFarm, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateFarm, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateFarm", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreateFarmOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateFarm, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), CreateFarmOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms"); + return CreateFarmOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +CreateFleetOutcome DeadlineClient::CreateFleet(const CreateFleetRequest& request) const +{ + AWS_OPERATION_GUARD(CreateFleet); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateFleet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateFleet", "Required field: FarmId, is not set"); + return CreateFleetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateFleet, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateFleet, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateFleet", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreateFleetOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateFleet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), CreateFleetOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets"); + return CreateFleetOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +CreateJobOutcome DeadlineClient::CreateJob(const CreateJobRequest& request) const +{ + AWS_OPERATION_GUARD(CreateJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateJob", "Required field: FarmId, is not set"); + return CreateJobOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateJob", "Required field: QueueId, is not set"); + return CreateJobOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateJob", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreateJobOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), CreateJobOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs"); + return CreateJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +CreateLicenseEndpointOutcome DeadlineClient::CreateLicenseEndpoint(const CreateLicenseEndpointRequest& request) const +{ + AWS_OPERATION_GUARD(CreateLicenseEndpoint); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateLicenseEndpoint, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateLicenseEndpoint, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateLicenseEndpoint, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateLicenseEndpoint", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreateLicenseEndpointOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateLicenseEndpoint, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), CreateLicenseEndpointOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/license-endpoints"); + return CreateLicenseEndpointOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +CreateMonitorOutcome DeadlineClient::CreateMonitor(const CreateMonitorRequest& request) const +{ + AWS_OPERATION_GUARD(CreateMonitor); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateMonitor, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateMonitor, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateMonitor, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateMonitor", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreateMonitorOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateMonitor, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), CreateMonitorOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/monitors"); + return CreateMonitorOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +CreateQueueOutcome DeadlineClient::CreateQueue(const CreateQueueRequest& request) const +{ + AWS_OPERATION_GUARD(CreateQueue); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateQueue, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateQueue", "Required field: FarmId, is not set"); + return CreateQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateQueue, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateQueue, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateQueue", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreateQueueOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateQueue, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), CreateQueueOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues"); + return CreateQueueOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +CreateQueueEnvironmentOutcome DeadlineClient::CreateQueueEnvironment(const CreateQueueEnvironmentRequest& request) const +{ + AWS_OPERATION_GUARD(CreateQueueEnvironment); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateQueueEnvironment, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateQueueEnvironment", "Required field: FarmId, is not set"); + return CreateQueueEnvironmentOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateQueueEnvironment", "Required field: QueueId, is not set"); + return CreateQueueEnvironmentOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateQueueEnvironment, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateQueueEnvironment, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateQueueEnvironment", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreateQueueEnvironmentOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateQueueEnvironment, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), CreateQueueEnvironmentOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/environments"); + return CreateQueueEnvironmentOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +CreateQueueFleetAssociationOutcome DeadlineClient::CreateQueueFleetAssociation(const CreateQueueFleetAssociationRequest& request) const +{ + AWS_OPERATION_GUARD(CreateQueueFleetAssociation); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateQueueFleetAssociation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateQueueFleetAssociation", "Required field: FarmId, is not set"); + return CreateQueueFleetAssociationOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateQueueFleetAssociation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateQueueFleetAssociation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateQueueFleetAssociation", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreateQueueFleetAssociationOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateQueueFleetAssociation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), CreateQueueFleetAssociationOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queue-fleet-associations"); + return CreateQueueFleetAssociationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +CreateStorageProfileOutcome DeadlineClient::CreateStorageProfile(const CreateStorageProfileRequest& request) const +{ + AWS_OPERATION_GUARD(CreateStorageProfile); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateStorageProfile, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateStorageProfile", "Required field: FarmId, is not set"); + return CreateStorageProfileOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateStorageProfile, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateStorageProfile, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateStorageProfile", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreateStorageProfileOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateStorageProfile, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), CreateStorageProfileOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/storage-profiles"); + return CreateStorageProfileOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +CreateWorkerOutcome DeadlineClient::CreateWorker(const CreateWorkerRequest& request) const +{ + AWS_OPERATION_GUARD(CreateWorker); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateWorker, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateWorker", "Required field: FarmId, is not set"); + return CreateWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateWorker", "Required field: FleetId, is not set"); + return CreateWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateWorker, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateWorker, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateWorker", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreateWorkerOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateWorker, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("scheduling."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), CreateWorkerOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/workers"); + return CreateWorkerOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +DeleteBudgetOutcome DeadlineClient::DeleteBudget(const DeleteBudgetRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteBudget); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteBudget, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.BudgetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBudget", "Required field: BudgetId, is not set"); + return DeleteBudgetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [BudgetId]", false)); + } + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteBudget", "Required field: FarmId, is not set"); + return DeleteBudgetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteBudget, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteBudget, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteBudget", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DeleteBudgetOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteBudget, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), DeleteBudgetOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/budgets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetBudgetId()); + return DeleteBudgetOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +DeleteFarmOutcome DeadlineClient::DeleteFarm(const DeleteFarmRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteFarm); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteFarm, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteFarm", "Required field: FarmId, is not set"); + return DeleteFarmOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteFarm, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteFarm, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteFarm", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DeleteFarmOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteFarm, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), DeleteFarmOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + return DeleteFarmOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +DeleteFleetOutcome DeadlineClient::DeleteFleet(const DeleteFleetRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteFleet); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteFleet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteFleet", "Required field: FarmId, is not set"); + return DeleteFleetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteFleet", "Required field: FleetId, is not set"); + return DeleteFleetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteFleet, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteFleet, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteFleet", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DeleteFleetOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteFleet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), DeleteFleetOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + return DeleteFleetOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +DeleteLicenseEndpointOutcome DeadlineClient::DeleteLicenseEndpoint(const DeleteLicenseEndpointRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteLicenseEndpoint); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteLicenseEndpoint, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.LicenseEndpointIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteLicenseEndpoint", "Required field: LicenseEndpointId, is not set"); + return DeleteLicenseEndpointOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [LicenseEndpointId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteLicenseEndpoint, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteLicenseEndpoint, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteLicenseEndpoint", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DeleteLicenseEndpointOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteLicenseEndpoint, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), DeleteLicenseEndpointOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/license-endpoints/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetLicenseEndpointId()); + return DeleteLicenseEndpointOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +DeleteMeteredProductOutcome DeadlineClient::DeleteMeteredProduct(const DeleteMeteredProductRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteMeteredProduct); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteMeteredProduct, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.LicenseEndpointIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteMeteredProduct", "Required field: LicenseEndpointId, is not set"); + return DeleteMeteredProductOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [LicenseEndpointId]", false)); + } + if (!request.ProductIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteMeteredProduct", "Required field: ProductId, is not set"); + return DeleteMeteredProductOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ProductId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteMeteredProduct, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteMeteredProduct, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteMeteredProduct", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DeleteMeteredProductOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteMeteredProduct, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), DeleteMeteredProductOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/license-endpoints/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetLicenseEndpointId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/metered-products/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProductId()); + return DeleteMeteredProductOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +DeleteMonitorOutcome DeadlineClient::DeleteMonitor(const DeleteMonitorRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteMonitor); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteMonitor, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.MonitorIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteMonitor", "Required field: MonitorId, is not set"); + return DeleteMonitorOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [MonitorId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteMonitor, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteMonitor, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteMonitor", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DeleteMonitorOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteMonitor, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), DeleteMonitorOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/monitors/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetMonitorId()); + return DeleteMonitorOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +DeleteQueueOutcome DeadlineClient::DeleteQueue(const DeleteQueueRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteQueue); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteQueue, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteQueue", "Required field: FarmId, is not set"); + return DeleteQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteQueue", "Required field: QueueId, is not set"); + return DeleteQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteQueue, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteQueue, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteQueue", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DeleteQueueOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteQueue, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), DeleteQueueOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + return DeleteQueueOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +DeleteQueueEnvironmentOutcome DeadlineClient::DeleteQueueEnvironment(const DeleteQueueEnvironmentRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteQueueEnvironment); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteQueueEnvironment, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteQueueEnvironment", "Required field: FarmId, is not set"); + return DeleteQueueEnvironmentOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.QueueEnvironmentIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteQueueEnvironment", "Required field: QueueEnvironmentId, is not set"); + return DeleteQueueEnvironmentOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueEnvironmentId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteQueueEnvironment", "Required field: QueueId, is not set"); + return DeleteQueueEnvironmentOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteQueueEnvironment, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteQueueEnvironment, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteQueueEnvironment", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DeleteQueueEnvironmentOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteQueueEnvironment, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), DeleteQueueEnvironmentOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/environments/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueEnvironmentId()); + return DeleteQueueEnvironmentOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +DeleteQueueFleetAssociationOutcome DeadlineClient::DeleteQueueFleetAssociation(const DeleteQueueFleetAssociationRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteQueueFleetAssociation); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteQueueFleetAssociation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteQueueFleetAssociation", "Required field: FarmId, is not set"); + return DeleteQueueFleetAssociationOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteQueueFleetAssociation", "Required field: FleetId, is not set"); + return DeleteQueueFleetAssociationOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteQueueFleetAssociation", "Required field: QueueId, is not set"); + return DeleteQueueFleetAssociationOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteQueueFleetAssociation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteQueueFleetAssociation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteQueueFleetAssociation", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DeleteQueueFleetAssociationOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteQueueFleetAssociation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), DeleteQueueFleetAssociationOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queue-fleet-associations/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + return DeleteQueueFleetAssociationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +DeleteStorageProfileOutcome DeadlineClient::DeleteStorageProfile(const DeleteStorageProfileRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteStorageProfile); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteStorageProfile, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteStorageProfile", "Required field: FarmId, is not set"); + return DeleteStorageProfileOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.StorageProfileIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteStorageProfile", "Required field: StorageProfileId, is not set"); + return DeleteStorageProfileOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [StorageProfileId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteStorageProfile, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteStorageProfile, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteStorageProfile", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DeleteStorageProfileOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteStorageProfile, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), DeleteStorageProfileOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/storage-profiles/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetStorageProfileId()); + return DeleteStorageProfileOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +DeleteWorkerOutcome DeadlineClient::DeleteWorker(const DeleteWorkerRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteWorker); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteWorker, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteWorker", "Required field: FarmId, is not set"); + return DeleteWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteWorker", "Required field: FleetId, is not set"); + return DeleteWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + if (!request.WorkerIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteWorker", "Required field: WorkerId, is not set"); + return DeleteWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [WorkerId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteWorker, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteWorker, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteWorker", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DeleteWorkerOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteWorker, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), DeleteWorkerOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/workers/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetWorkerId()); + return DeleteWorkerOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +DisassociateMemberFromFarmOutcome DeadlineClient::DisassociateMemberFromFarm(const DisassociateMemberFromFarmRequest& request) const +{ + AWS_OPERATION_GUARD(DisassociateMemberFromFarm); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DisassociateMemberFromFarm, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateMemberFromFarm", "Required field: FarmId, is not set"); + return DisassociateMemberFromFarmOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.PrincipalIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateMemberFromFarm", "Required field: PrincipalId, is not set"); + return DisassociateMemberFromFarmOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [PrincipalId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DisassociateMemberFromFarm, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DisassociateMemberFromFarm, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DisassociateMemberFromFarm", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DisassociateMemberFromFarmOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DisassociateMemberFromFarm, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), DisassociateMemberFromFarmOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/members/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetPrincipalId()); + return DisassociateMemberFromFarmOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +DisassociateMemberFromFleetOutcome DeadlineClient::DisassociateMemberFromFleet(const DisassociateMemberFromFleetRequest& request) const +{ + AWS_OPERATION_GUARD(DisassociateMemberFromFleet); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DisassociateMemberFromFleet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateMemberFromFleet", "Required field: FarmId, is not set"); + return DisassociateMemberFromFleetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateMemberFromFleet", "Required field: FleetId, is not set"); + return DisassociateMemberFromFleetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + if (!request.PrincipalIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateMemberFromFleet", "Required field: PrincipalId, is not set"); + return DisassociateMemberFromFleetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [PrincipalId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DisassociateMemberFromFleet, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DisassociateMemberFromFleet, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DisassociateMemberFromFleet", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DisassociateMemberFromFleetOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DisassociateMemberFromFleet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), DisassociateMemberFromFleetOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/members/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetPrincipalId()); + return DisassociateMemberFromFleetOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +DisassociateMemberFromJobOutcome DeadlineClient::DisassociateMemberFromJob(const DisassociateMemberFromJobRequest& request) const +{ + AWS_OPERATION_GUARD(DisassociateMemberFromJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DisassociateMemberFromJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateMemberFromJob", "Required field: FarmId, is not set"); + return DisassociateMemberFromJobOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateMemberFromJob", "Required field: JobId, is not set"); + return DisassociateMemberFromJobOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.PrincipalIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateMemberFromJob", "Required field: PrincipalId, is not set"); + return DisassociateMemberFromJobOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [PrincipalId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateMemberFromJob", "Required field: QueueId, is not set"); + return DisassociateMemberFromJobOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DisassociateMemberFromJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DisassociateMemberFromJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DisassociateMemberFromJob", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DisassociateMemberFromJobOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DisassociateMemberFromJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), DisassociateMemberFromJobOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/members/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetPrincipalId()); + return DisassociateMemberFromJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +DisassociateMemberFromQueueOutcome DeadlineClient::DisassociateMemberFromQueue(const DisassociateMemberFromQueueRequest& request) const +{ + AWS_OPERATION_GUARD(DisassociateMemberFromQueue); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DisassociateMemberFromQueue, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateMemberFromQueue", "Required field: FarmId, is not set"); + return DisassociateMemberFromQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.PrincipalIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateMemberFromQueue", "Required field: PrincipalId, is not set"); + return DisassociateMemberFromQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [PrincipalId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateMemberFromQueue", "Required field: QueueId, is not set"); + return DisassociateMemberFromQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DisassociateMemberFromQueue, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DisassociateMemberFromQueue, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DisassociateMemberFromQueue", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DisassociateMemberFromQueueOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DisassociateMemberFromQueue, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), DisassociateMemberFromQueueOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/members/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetPrincipalId()); + return DisassociateMemberFromQueueOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetBudgetOutcome DeadlineClient::GetBudget(const GetBudgetRequest& request) const +{ + AWS_OPERATION_GUARD(GetBudget); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetBudget, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.BudgetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBudget", "Required field: BudgetId, is not set"); + return GetBudgetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [BudgetId]", false)); + } + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetBudget", "Required field: FarmId, is not set"); + return GetBudgetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetBudget, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetBudget, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetBudget", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetBudgetOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetBudget, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), GetBudgetOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/budgets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetBudgetId()); + return GetBudgetOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetFarmOutcome DeadlineClient::GetFarm(const GetFarmRequest& request) const +{ + AWS_OPERATION_GUARD(GetFarm); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetFarm, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetFarm", "Required field: FarmId, is not set"); + return GetFarmOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetFarm, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetFarm, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetFarm", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetFarmOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetFarm, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), GetFarmOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + return GetFarmOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetFleetOutcome DeadlineClient::GetFleet(const GetFleetRequest& request) const +{ + AWS_OPERATION_GUARD(GetFleet); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetFleet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetFleet", "Required field: FarmId, is not set"); + return GetFleetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetFleet", "Required field: FleetId, is not set"); + return GetFleetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetFleet, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetFleet, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetFleet", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetFleetOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetFleet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), GetFleetOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + return GetFleetOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetJobOutcome DeadlineClient::GetJob(const GetJobRequest& request) const +{ + AWS_OPERATION_GUARD(GetJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetJob", "Required field: FarmId, is not set"); + return GetJobOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetJob", "Required field: JobId, is not set"); + return GetJobOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetJob", "Required field: QueueId, is not set"); + return GetJobOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetJob", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetJobOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), GetJobOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + return GetJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetLicenseEndpointOutcome DeadlineClient::GetLicenseEndpoint(const GetLicenseEndpointRequest& request) const +{ + AWS_OPERATION_GUARD(GetLicenseEndpoint); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetLicenseEndpoint, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.LicenseEndpointIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetLicenseEndpoint", "Required field: LicenseEndpointId, is not set"); + return GetLicenseEndpointOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [LicenseEndpointId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetLicenseEndpoint, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetLicenseEndpoint, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetLicenseEndpoint", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetLicenseEndpointOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetLicenseEndpoint, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), GetLicenseEndpointOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/license-endpoints/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetLicenseEndpointId()); + return GetLicenseEndpointOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetMonitorOutcome DeadlineClient::GetMonitor(const GetMonitorRequest& request) const +{ + AWS_OPERATION_GUARD(GetMonitor); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetMonitor, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.MonitorIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetMonitor", "Required field: MonitorId, is not set"); + return GetMonitorOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [MonitorId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetMonitor, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetMonitor, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetMonitor", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetMonitorOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetMonitor, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), GetMonitorOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/monitors/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetMonitorId()); + return GetMonitorOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetQueueOutcome DeadlineClient::GetQueue(const GetQueueRequest& request) const +{ + AWS_OPERATION_GUARD(GetQueue); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetQueue, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetQueue", "Required field: FarmId, is not set"); + return GetQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetQueue", "Required field: QueueId, is not set"); + return GetQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetQueue, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetQueue, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetQueue", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetQueueOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetQueue, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), GetQueueOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + return GetQueueOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetQueueEnvironmentOutcome DeadlineClient::GetQueueEnvironment(const GetQueueEnvironmentRequest& request) const +{ + AWS_OPERATION_GUARD(GetQueueEnvironment); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetQueueEnvironment, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetQueueEnvironment", "Required field: FarmId, is not set"); + return GetQueueEnvironmentOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.QueueEnvironmentIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetQueueEnvironment", "Required field: QueueEnvironmentId, is not set"); + return GetQueueEnvironmentOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueEnvironmentId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetQueueEnvironment", "Required field: QueueId, is not set"); + return GetQueueEnvironmentOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetQueueEnvironment, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetQueueEnvironment, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetQueueEnvironment", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetQueueEnvironmentOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetQueueEnvironment, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), GetQueueEnvironmentOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/environments/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueEnvironmentId()); + return GetQueueEnvironmentOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetQueueFleetAssociationOutcome DeadlineClient::GetQueueFleetAssociation(const GetQueueFleetAssociationRequest& request) const +{ + AWS_OPERATION_GUARD(GetQueueFleetAssociation); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetQueueFleetAssociation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetQueueFleetAssociation", "Required field: FarmId, is not set"); + return GetQueueFleetAssociationOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetQueueFleetAssociation", "Required field: FleetId, is not set"); + return GetQueueFleetAssociationOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetQueueFleetAssociation", "Required field: QueueId, is not set"); + return GetQueueFleetAssociationOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetQueueFleetAssociation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetQueueFleetAssociation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetQueueFleetAssociation", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetQueueFleetAssociationOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetQueueFleetAssociation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), GetQueueFleetAssociationOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queue-fleet-associations/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + return GetQueueFleetAssociationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetSessionOutcome DeadlineClient::GetSession(const GetSessionRequest& request) const +{ + AWS_OPERATION_GUARD(GetSession); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetSession, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetSession", "Required field: FarmId, is not set"); + return GetSessionOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetSession", "Required field: JobId, is not set"); + return GetSessionOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetSession", "Required field: QueueId, is not set"); + return GetSessionOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + if (!request.SessionIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetSession", "Required field: SessionId, is not set"); + return GetSessionOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [SessionId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetSession, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetSession, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetSession", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetSessionOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetSession, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), GetSessionOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/sessions/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetSessionId()); + return GetSessionOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetSessionActionOutcome DeadlineClient::GetSessionAction(const GetSessionActionRequest& request) const +{ + AWS_OPERATION_GUARD(GetSessionAction); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetSessionAction, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetSessionAction", "Required field: FarmId, is not set"); + return GetSessionActionOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetSessionAction", "Required field: JobId, is not set"); + return GetSessionActionOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetSessionAction", "Required field: QueueId, is not set"); + return GetSessionActionOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + if (!request.SessionActionIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetSessionAction", "Required field: SessionActionId, is not set"); + return GetSessionActionOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [SessionActionId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetSessionAction, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetSessionAction, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetSessionAction", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetSessionActionOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetSessionAction, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), GetSessionActionOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/session-actions/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetSessionActionId()); + return GetSessionActionOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetSessionsStatisticsAggregationOutcome DeadlineClient::GetSessionsStatisticsAggregation(const GetSessionsStatisticsAggregationRequest& request) const +{ + AWS_OPERATION_GUARD(GetSessionsStatisticsAggregation); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetSessionsStatisticsAggregation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AggregationIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetSessionsStatisticsAggregation", "Required field: AggregationId, is not set"); + return GetSessionsStatisticsAggregationOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AggregationId]", false)); + } + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetSessionsStatisticsAggregation", "Required field: FarmId, is not set"); + return GetSessionsStatisticsAggregationOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetSessionsStatisticsAggregation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetSessionsStatisticsAggregation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetSessionsStatisticsAggregation", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetSessionsStatisticsAggregationOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetSessionsStatisticsAggregation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), GetSessionsStatisticsAggregationOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/sessions-statistics-aggregation"); + return GetSessionsStatisticsAggregationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetStepOutcome DeadlineClient::GetStep(const GetStepRequest& request) const +{ + AWS_OPERATION_GUARD(GetStep); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetStep, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetStep", "Required field: FarmId, is not set"); + return GetStepOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetStep", "Required field: JobId, is not set"); + return GetStepOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetStep", "Required field: QueueId, is not set"); + return GetStepOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + if (!request.StepIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetStep", "Required field: StepId, is not set"); + return GetStepOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [StepId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetStep, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetStep, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetStep", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetStepOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetStep, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), GetStepOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/steps/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetStepId()); + return GetStepOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetStorageProfileOutcome DeadlineClient::GetStorageProfile(const GetStorageProfileRequest& request) const +{ + AWS_OPERATION_GUARD(GetStorageProfile); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetStorageProfile, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetStorageProfile", "Required field: FarmId, is not set"); + return GetStorageProfileOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.StorageProfileIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetStorageProfile", "Required field: StorageProfileId, is not set"); + return GetStorageProfileOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [StorageProfileId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetStorageProfile, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetStorageProfile, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetStorageProfile", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetStorageProfileOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetStorageProfile, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), GetStorageProfileOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/storage-profiles/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetStorageProfileId()); + return GetStorageProfileOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetStorageProfileForQueueOutcome DeadlineClient::GetStorageProfileForQueue(const GetStorageProfileForQueueRequest& request) const +{ + AWS_OPERATION_GUARD(GetStorageProfileForQueue); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetStorageProfileForQueue, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetStorageProfileForQueue", "Required field: FarmId, is not set"); + return GetStorageProfileForQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetStorageProfileForQueue", "Required field: QueueId, is not set"); + return GetStorageProfileForQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + if (!request.StorageProfileIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetStorageProfileForQueue", "Required field: StorageProfileId, is not set"); + return GetStorageProfileForQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [StorageProfileId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetStorageProfileForQueue, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetStorageProfileForQueue, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetStorageProfileForQueue", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetStorageProfileForQueueOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetStorageProfileForQueue, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), GetStorageProfileForQueueOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/storage-profiles/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetStorageProfileId()); + return GetStorageProfileForQueueOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetTaskOutcome DeadlineClient::GetTask(const GetTaskRequest& request) const +{ + AWS_OPERATION_GUARD(GetTask); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetTask, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTask", "Required field: FarmId, is not set"); + return GetTaskOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTask", "Required field: JobId, is not set"); + return GetTaskOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTask", "Required field: QueueId, is not set"); + return GetTaskOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + if (!request.StepIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTask", "Required field: StepId, is not set"); + return GetTaskOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [StepId]", false)); + } + if (!request.TaskIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetTask", "Required field: TaskId, is not set"); + return GetTaskOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TaskId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetTask, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetTask, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetTask", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetTaskOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetTask, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), GetTaskOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/steps/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetStepId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tasks/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTaskId()); + return GetTaskOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetWorkerOutcome DeadlineClient::GetWorker(const GetWorkerRequest& request) const +{ + AWS_OPERATION_GUARD(GetWorker); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetWorker, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetWorker", "Required field: FarmId, is not set"); + return GetWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetWorker", "Required field: FleetId, is not set"); + return GetWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + if (!request.WorkerIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetWorker", "Required field: WorkerId, is not set"); + return GetWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [WorkerId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetWorker, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetWorker, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetWorker", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetWorkerOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetWorker, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), GetWorkerOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/workers/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetWorkerId()); + return GetWorkerOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListAvailableMeteredProductsOutcome DeadlineClient::ListAvailableMeteredProducts(const ListAvailableMeteredProductsRequest& request) const +{ + AWS_OPERATION_GUARD(ListAvailableMeteredProducts); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListAvailableMeteredProducts, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListAvailableMeteredProducts, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListAvailableMeteredProducts, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListAvailableMeteredProducts", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListAvailableMeteredProductsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListAvailableMeteredProducts, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListAvailableMeteredProductsOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/metered-products"); + return ListAvailableMeteredProductsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListBudgetsOutcome DeadlineClient::ListBudgets(const ListBudgetsRequest& request) const +{ + AWS_OPERATION_GUARD(ListBudgets); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListBudgets, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListBudgets", "Required field: FarmId, is not set"); + return ListBudgetsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListBudgets, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListBudgets, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListBudgets", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListBudgetsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListBudgets, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListBudgetsOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/budgets"); + return ListBudgetsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListFarmMembersOutcome DeadlineClient::ListFarmMembers(const ListFarmMembersRequest& request) const +{ + AWS_OPERATION_GUARD(ListFarmMembers); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListFarmMembers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListFarmMembers", "Required field: FarmId, is not set"); + return ListFarmMembersOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListFarmMembers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListFarmMembers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListFarmMembers", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListFarmMembersOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListFarmMembers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListFarmMembersOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/members"); + return ListFarmMembersOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListFarmsOutcome DeadlineClient::ListFarms(const ListFarmsRequest& request) const +{ + AWS_OPERATION_GUARD(ListFarms); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListFarms, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListFarms, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListFarms, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListFarms", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListFarmsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListFarms, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListFarmsOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms"); + return ListFarmsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListFleetMembersOutcome DeadlineClient::ListFleetMembers(const ListFleetMembersRequest& request) const +{ + AWS_OPERATION_GUARD(ListFleetMembers); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListFleetMembers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListFleetMembers", "Required field: FarmId, is not set"); + return ListFleetMembersOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListFleetMembers", "Required field: FleetId, is not set"); + return ListFleetMembersOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListFleetMembers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListFleetMembers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListFleetMembers", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListFleetMembersOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListFleetMembers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListFleetMembersOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/members"); + return ListFleetMembersOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListFleetsOutcome DeadlineClient::ListFleets(const ListFleetsRequest& request) const +{ + AWS_OPERATION_GUARD(ListFleets); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListFleets, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListFleets", "Required field: FarmId, is not set"); + return ListFleetsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListFleets, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListFleets, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListFleets", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListFleetsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListFleets, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListFleetsOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets"); + return ListFleetsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListJobMembersOutcome DeadlineClient::ListJobMembers(const ListJobMembersRequest& request) const +{ + AWS_OPERATION_GUARD(ListJobMembers); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListJobMembers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListJobMembers", "Required field: FarmId, is not set"); + return ListJobMembersOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListJobMembers", "Required field: JobId, is not set"); + return ListJobMembersOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListJobMembers", "Required field: QueueId, is not set"); + return ListJobMembersOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListJobMembers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListJobMembers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListJobMembers", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListJobMembersOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListJobMembers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListJobMembersOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/members"); + return ListJobMembersOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListJobsOutcome DeadlineClient::ListJobs(const ListJobsRequest& request) const +{ + AWS_OPERATION_GUARD(ListJobs); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListJobs", "Required field: FarmId, is not set"); + return ListJobsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListJobs", "Required field: QueueId, is not set"); + return ListJobsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListJobs", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListJobsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListJobsOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs"); + return ListJobsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListLicenseEndpointsOutcome DeadlineClient::ListLicenseEndpoints(const ListLicenseEndpointsRequest& request) const +{ + AWS_OPERATION_GUARD(ListLicenseEndpoints); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListLicenseEndpoints, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListLicenseEndpoints, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListLicenseEndpoints, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListLicenseEndpoints", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListLicenseEndpointsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListLicenseEndpoints, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListLicenseEndpointsOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/license-endpoints"); + return ListLicenseEndpointsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListMeteredProductsOutcome DeadlineClient::ListMeteredProducts(const ListMeteredProductsRequest& request) const +{ + AWS_OPERATION_GUARD(ListMeteredProducts); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListMeteredProducts, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.LicenseEndpointIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListMeteredProducts", "Required field: LicenseEndpointId, is not set"); + return ListMeteredProductsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [LicenseEndpointId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListMeteredProducts, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListMeteredProducts, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListMeteredProducts", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListMeteredProductsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListMeteredProducts, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListMeteredProductsOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/license-endpoints/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetLicenseEndpointId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/metered-products"); + return ListMeteredProductsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListMonitorsOutcome DeadlineClient::ListMonitors(const ListMonitorsRequest& request) const +{ + AWS_OPERATION_GUARD(ListMonitors); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListMonitors, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListMonitors, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListMonitors, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListMonitors", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListMonitorsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListMonitors, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListMonitorsOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/monitors"); + return ListMonitorsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListQueueEnvironmentsOutcome DeadlineClient::ListQueueEnvironments(const ListQueueEnvironmentsRequest& request) const +{ + AWS_OPERATION_GUARD(ListQueueEnvironments); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListQueueEnvironments, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListQueueEnvironments", "Required field: FarmId, is not set"); + return ListQueueEnvironmentsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListQueueEnvironments", "Required field: QueueId, is not set"); + return ListQueueEnvironmentsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListQueueEnvironments, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListQueueEnvironments, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListQueueEnvironments", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListQueueEnvironmentsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListQueueEnvironments, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListQueueEnvironmentsOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/environments"); + return ListQueueEnvironmentsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListQueueFleetAssociationsOutcome DeadlineClient::ListQueueFleetAssociations(const ListQueueFleetAssociationsRequest& request) const +{ + AWS_OPERATION_GUARD(ListQueueFleetAssociations); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListQueueFleetAssociations, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListQueueFleetAssociations", "Required field: FarmId, is not set"); + return ListQueueFleetAssociationsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListQueueFleetAssociations, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListQueueFleetAssociations, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListQueueFleetAssociations", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListQueueFleetAssociationsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListQueueFleetAssociations, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListQueueFleetAssociationsOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queue-fleet-associations"); + return ListQueueFleetAssociationsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListQueueMembersOutcome DeadlineClient::ListQueueMembers(const ListQueueMembersRequest& request) const +{ + AWS_OPERATION_GUARD(ListQueueMembers); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListQueueMembers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListQueueMembers", "Required field: FarmId, is not set"); + return ListQueueMembersOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListQueueMembers", "Required field: QueueId, is not set"); + return ListQueueMembersOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListQueueMembers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListQueueMembers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListQueueMembers", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListQueueMembersOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListQueueMembers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListQueueMembersOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/members"); + return ListQueueMembersOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListQueuesOutcome DeadlineClient::ListQueues(const ListQueuesRequest& request) const +{ + AWS_OPERATION_GUARD(ListQueues); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListQueues, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListQueues", "Required field: FarmId, is not set"); + return ListQueuesOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListQueues, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListQueues, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListQueues", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListQueuesOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListQueues, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListQueuesOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues"); + return ListQueuesOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListSessionActionsOutcome DeadlineClient::ListSessionActions(const ListSessionActionsRequest& request) const +{ + AWS_OPERATION_GUARD(ListSessionActions); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListSessionActions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListSessionActions", "Required field: FarmId, is not set"); + return ListSessionActionsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListSessionActions", "Required field: JobId, is not set"); + return ListSessionActionsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListSessionActions", "Required field: QueueId, is not set"); + return ListSessionActionsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListSessionActions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListSessionActions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListSessionActions", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListSessionActionsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListSessionActions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListSessionActionsOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/session-actions"); + return ListSessionActionsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListSessionsOutcome DeadlineClient::ListSessions(const ListSessionsRequest& request) const +{ + AWS_OPERATION_GUARD(ListSessions); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListSessions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListSessions", "Required field: FarmId, is not set"); + return ListSessionsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListSessions", "Required field: JobId, is not set"); + return ListSessionsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListSessions", "Required field: QueueId, is not set"); + return ListSessionsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListSessions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListSessions, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListSessions", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListSessionsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListSessions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListSessionsOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/sessions"); + return ListSessionsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListSessionsForWorkerOutcome DeadlineClient::ListSessionsForWorker(const ListSessionsForWorkerRequest& request) const +{ + AWS_OPERATION_GUARD(ListSessionsForWorker); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListSessionsForWorker, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListSessionsForWorker", "Required field: FarmId, is not set"); + return ListSessionsForWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListSessionsForWorker", "Required field: FleetId, is not set"); + return ListSessionsForWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + if (!request.WorkerIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListSessionsForWorker", "Required field: WorkerId, is not set"); + return ListSessionsForWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [WorkerId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListSessionsForWorker, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListSessionsForWorker, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListSessionsForWorker", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListSessionsForWorkerOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListSessionsForWorker, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListSessionsForWorkerOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/workers/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetWorkerId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/sessions"); + return ListSessionsForWorkerOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListStepConsumersOutcome DeadlineClient::ListStepConsumers(const ListStepConsumersRequest& request) const +{ + AWS_OPERATION_GUARD(ListStepConsumers); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListStepConsumers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListStepConsumers", "Required field: FarmId, is not set"); + return ListStepConsumersOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListStepConsumers", "Required field: JobId, is not set"); + return ListStepConsumersOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListStepConsumers", "Required field: QueueId, is not set"); + return ListStepConsumersOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + if (!request.StepIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListStepConsumers", "Required field: StepId, is not set"); + return ListStepConsumersOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [StepId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListStepConsumers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListStepConsumers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListStepConsumers", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListStepConsumersOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListStepConsumers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListStepConsumersOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/steps/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetStepId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/consumers"); + return ListStepConsumersOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListStepDependenciesOutcome DeadlineClient::ListStepDependencies(const ListStepDependenciesRequest& request) const +{ + AWS_OPERATION_GUARD(ListStepDependencies); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListStepDependencies, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListStepDependencies", "Required field: FarmId, is not set"); + return ListStepDependenciesOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListStepDependencies", "Required field: JobId, is not set"); + return ListStepDependenciesOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListStepDependencies", "Required field: QueueId, is not set"); + return ListStepDependenciesOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + if (!request.StepIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListStepDependencies", "Required field: StepId, is not set"); + return ListStepDependenciesOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [StepId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListStepDependencies, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListStepDependencies, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListStepDependencies", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListStepDependenciesOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListStepDependencies, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListStepDependenciesOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/steps/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetStepId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/dependencies"); + return ListStepDependenciesOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListStepsOutcome DeadlineClient::ListSteps(const ListStepsRequest& request) const +{ + AWS_OPERATION_GUARD(ListSteps); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListSteps, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListSteps", "Required field: FarmId, is not set"); + return ListStepsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListSteps", "Required field: JobId, is not set"); + return ListStepsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListSteps", "Required field: QueueId, is not set"); + return ListStepsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListSteps, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListSteps, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListSteps", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListStepsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListSteps, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListStepsOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/steps"); + return ListStepsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListStorageProfilesOutcome DeadlineClient::ListStorageProfiles(const ListStorageProfilesRequest& request) const +{ + AWS_OPERATION_GUARD(ListStorageProfiles); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListStorageProfiles, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListStorageProfiles", "Required field: FarmId, is not set"); + return ListStorageProfilesOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListStorageProfiles, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListStorageProfiles, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListStorageProfiles", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListStorageProfilesOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListStorageProfiles, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListStorageProfilesOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/storage-profiles"); + return ListStorageProfilesOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListStorageProfilesForQueueOutcome DeadlineClient::ListStorageProfilesForQueue(const ListStorageProfilesForQueueRequest& request) const +{ + AWS_OPERATION_GUARD(ListStorageProfilesForQueue); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListStorageProfilesForQueue, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListStorageProfilesForQueue", "Required field: FarmId, is not set"); + return ListStorageProfilesForQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListStorageProfilesForQueue", "Required field: QueueId, is not set"); + return ListStorageProfilesForQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListStorageProfilesForQueue, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListStorageProfilesForQueue, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListStorageProfilesForQueue", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListStorageProfilesForQueueOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListStorageProfilesForQueue, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListStorageProfilesForQueueOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/storage-profiles"); + return ListStorageProfilesForQueueOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListTagsForResourceOutcome DeadlineClient::ListTagsForResource(const ListTagsForResourceRequest& request) const +{ + AWS_OPERATION_GUARD(ListTagsForResource); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListTagsForResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ResourceArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListTagsForResource", "Required field: ResourceArn, is not set"); + return ListTagsForResourceOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ResourceArn]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListTagsForResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListTagsForResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListTagsForResource", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListTagsForResourceOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListTagsForResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListTagsForResourceOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/tags/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetResourceArn()); + return ListTagsForResourceOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListTasksOutcome DeadlineClient::ListTasks(const ListTasksRequest& request) const +{ + AWS_OPERATION_GUARD(ListTasks); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListTasks, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListTasks", "Required field: FarmId, is not set"); + return ListTasksOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListTasks", "Required field: JobId, is not set"); + return ListTasksOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListTasks", "Required field: QueueId, is not set"); + return ListTasksOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + if (!request.StepIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListTasks", "Required field: StepId, is not set"); + return ListTasksOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [StepId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListTasks, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListTasks, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListTasks", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListTasksOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListTasks, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListTasksOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/steps/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetStepId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tasks"); + return ListTasksOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListWorkersOutcome DeadlineClient::ListWorkers(const ListWorkersRequest& request) const +{ + AWS_OPERATION_GUARD(ListWorkers); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListWorkers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListWorkers", "Required field: FarmId, is not set"); + return ListWorkersOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListWorkers", "Required field: FleetId, is not set"); + return ListWorkersOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListWorkers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListWorkers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListWorkers", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListWorkersOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListWorkers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ListWorkersOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/workers"); + return ListWorkersOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +PutMeteredProductOutcome DeadlineClient::PutMeteredProduct(const PutMeteredProductRequest& request) const +{ + AWS_OPERATION_GUARD(PutMeteredProduct); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, PutMeteredProduct, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.LicenseEndpointIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutMeteredProduct", "Required field: LicenseEndpointId, is not set"); + return PutMeteredProductOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [LicenseEndpointId]", false)); + } + if (!request.ProductIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutMeteredProduct", "Required field: ProductId, is not set"); + return PutMeteredProductOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ProductId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, PutMeteredProduct, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, PutMeteredProduct, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".PutMeteredProduct", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> PutMeteredProductOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, PutMeteredProduct, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), PutMeteredProductOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/license-endpoints/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetLicenseEndpointId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/metered-products/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProductId()); + return PutMeteredProductOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +SearchJobsOutcome DeadlineClient::SearchJobs(const SearchJobsRequest& request) const +{ + AWS_OPERATION_GUARD(SearchJobs); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, SearchJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("SearchJobs", "Required field: FarmId, is not set"); + return SearchJobsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, SearchJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, SearchJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".SearchJobs", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> SearchJobsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, SearchJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), SearchJobsOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/search/jobs"); + return SearchJobsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +SearchStepsOutcome DeadlineClient::SearchSteps(const SearchStepsRequest& request) const +{ + AWS_OPERATION_GUARD(SearchSteps); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, SearchSteps, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("SearchSteps", "Required field: FarmId, is not set"); + return SearchStepsOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, SearchSteps, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, SearchSteps, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".SearchSteps", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> SearchStepsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, SearchSteps, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), SearchStepsOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/search/steps"); + return SearchStepsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +SearchTasksOutcome DeadlineClient::SearchTasks(const SearchTasksRequest& request) const +{ + AWS_OPERATION_GUARD(SearchTasks); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, SearchTasks, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("SearchTasks", "Required field: FarmId, is not set"); + return SearchTasksOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, SearchTasks, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, SearchTasks, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".SearchTasks", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> SearchTasksOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, SearchTasks, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), SearchTasksOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/search/tasks"); + return SearchTasksOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +SearchWorkersOutcome DeadlineClient::SearchWorkers(const SearchWorkersRequest& request) const +{ + AWS_OPERATION_GUARD(SearchWorkers); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, SearchWorkers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("SearchWorkers", "Required field: FarmId, is not set"); + return SearchWorkersOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, SearchWorkers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, SearchWorkers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".SearchWorkers", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> SearchWorkersOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, SearchWorkers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), SearchWorkersOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/search/workers"); + return SearchWorkersOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +StartSessionsStatisticsAggregationOutcome DeadlineClient::StartSessionsStatisticsAggregation(const StartSessionsStatisticsAggregationRequest& request) const +{ + AWS_OPERATION_GUARD(StartSessionsStatisticsAggregation); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartSessionsStatisticsAggregation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("StartSessionsStatisticsAggregation", "Required field: FarmId, is not set"); + return StartSessionsStatisticsAggregationOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartSessionsStatisticsAggregation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartSessionsStatisticsAggregation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartSessionsStatisticsAggregation", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> StartSessionsStatisticsAggregationOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, StartSessionsStatisticsAggregation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), StartSessionsStatisticsAggregationOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/sessions-statistics-aggregation"); + return StartSessionsStatisticsAggregationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +TagResourceOutcome DeadlineClient::TagResource(const TagResourceRequest& request) const +{ + AWS_OPERATION_GUARD(TagResource); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, TagResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ResourceArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("TagResource", "Required field: ResourceArn, is not set"); + return TagResourceOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ResourceArn]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, TagResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, TagResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".TagResource", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> TagResourceOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, TagResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), TagResourceOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/tags/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetResourceArn()); + return TagResourceOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UntagResourceOutcome DeadlineClient::UntagResource(const UntagResourceRequest& request) const +{ + AWS_OPERATION_GUARD(UntagResource); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UntagResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ResourceArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UntagResource", "Required field: ResourceArn, is not set"); + return UntagResourceOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ResourceArn]", false)); + } + if (!request.TagKeysHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UntagResource", "Required field: TagKeys, is not set"); + return UntagResourceOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TagKeys]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UntagResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UntagResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UntagResource", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UntagResourceOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UntagResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), UntagResourceOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/tags/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetResourceArn()); + return UntagResourceOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateBudgetOutcome DeadlineClient::UpdateBudget(const UpdateBudgetRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateBudget); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateBudget, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.BudgetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateBudget", "Required field: BudgetId, is not set"); + return UpdateBudgetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [BudgetId]", false)); + } + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateBudget", "Required field: FarmId, is not set"); + return UpdateBudgetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateBudget, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateBudget, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateBudget", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateBudgetOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateBudget, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), UpdateBudgetOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/budgets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetBudgetId()); + return UpdateBudgetOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateFarmOutcome DeadlineClient::UpdateFarm(const UpdateFarmRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateFarm); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateFarm, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateFarm", "Required field: FarmId, is not set"); + return UpdateFarmOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateFarm, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateFarm, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateFarm", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateFarmOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateFarm, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), UpdateFarmOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + return UpdateFarmOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateFleetOutcome DeadlineClient::UpdateFleet(const UpdateFleetRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateFleet); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateFleet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateFleet", "Required field: FarmId, is not set"); + return UpdateFleetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateFleet", "Required field: FleetId, is not set"); + return UpdateFleetOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateFleet, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateFleet, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateFleet", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateFleetOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateFleet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), UpdateFleetOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + return UpdateFleetOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateJobOutcome DeadlineClient::UpdateJob(const UpdateJobRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateJob", "Required field: FarmId, is not set"); + return UpdateJobOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateJob", "Required field: JobId, is not set"); + return UpdateJobOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateJob", "Required field: QueueId, is not set"); + return UpdateJobOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateJob", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateJobOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), UpdateJobOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + return UpdateJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateMonitorOutcome DeadlineClient::UpdateMonitor(const UpdateMonitorRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateMonitor); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateMonitor, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.MonitorIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateMonitor", "Required field: MonitorId, is not set"); + return UpdateMonitorOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [MonitorId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateMonitor, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateMonitor, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateMonitor", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateMonitorOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateMonitor, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), UpdateMonitorOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/monitors/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetMonitorId()); + return UpdateMonitorOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateQueueOutcome DeadlineClient::UpdateQueue(const UpdateQueueRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateQueue); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateQueue, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateQueue", "Required field: FarmId, is not set"); + return UpdateQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateQueue", "Required field: QueueId, is not set"); + return UpdateQueueOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateQueue, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateQueue, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateQueue", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateQueueOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateQueue, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), UpdateQueueOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + return UpdateQueueOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateQueueEnvironmentOutcome DeadlineClient::UpdateQueueEnvironment(const UpdateQueueEnvironmentRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateQueueEnvironment); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateQueueEnvironment, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateQueueEnvironment", "Required field: FarmId, is not set"); + return UpdateQueueEnvironmentOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.QueueEnvironmentIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateQueueEnvironment", "Required field: QueueEnvironmentId, is not set"); + return UpdateQueueEnvironmentOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueEnvironmentId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateQueueEnvironment", "Required field: QueueId, is not set"); + return UpdateQueueEnvironmentOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateQueueEnvironment, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateQueueEnvironment, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateQueueEnvironment", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateQueueEnvironmentOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateQueueEnvironment, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), UpdateQueueEnvironmentOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/environments/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueEnvironmentId()); + return UpdateQueueEnvironmentOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateQueueFleetAssociationOutcome DeadlineClient::UpdateQueueFleetAssociation(const UpdateQueueFleetAssociationRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateQueueFleetAssociation); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateQueueFleetAssociation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateQueueFleetAssociation", "Required field: FarmId, is not set"); + return UpdateQueueFleetAssociationOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateQueueFleetAssociation", "Required field: FleetId, is not set"); + return UpdateQueueFleetAssociationOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateQueueFleetAssociation", "Required field: QueueId, is not set"); + return UpdateQueueFleetAssociationOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateQueueFleetAssociation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateQueueFleetAssociation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateQueueFleetAssociation", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateQueueFleetAssociationOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateQueueFleetAssociation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), UpdateQueueFleetAssociationOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queue-fleet-associations/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + return UpdateQueueFleetAssociationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateSessionOutcome DeadlineClient::UpdateSession(const UpdateSessionRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateSession); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateSession, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateSession", "Required field: FarmId, is not set"); + return UpdateSessionOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateSession", "Required field: JobId, is not set"); + return UpdateSessionOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateSession", "Required field: QueueId, is not set"); + return UpdateSessionOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + if (!request.SessionIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateSession", "Required field: SessionId, is not set"); + return UpdateSessionOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [SessionId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateSession, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateSession, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateSession", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateSessionOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateSession, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), UpdateSessionOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/sessions/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetSessionId()); + return UpdateSessionOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateStepOutcome DeadlineClient::UpdateStep(const UpdateStepRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateStep); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateStep, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateStep", "Required field: FarmId, is not set"); + return UpdateStepOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateStep", "Required field: JobId, is not set"); + return UpdateStepOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateStep", "Required field: QueueId, is not set"); + return UpdateStepOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + if (!request.StepIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateStep", "Required field: StepId, is not set"); + return UpdateStepOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [StepId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateStep, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateStep, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateStep", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateStepOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateStep, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), UpdateStepOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/steps/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetStepId()); + return UpdateStepOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateStorageProfileOutcome DeadlineClient::UpdateStorageProfile(const UpdateStorageProfileRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateStorageProfile); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateStorageProfile, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateStorageProfile", "Required field: FarmId, is not set"); + return UpdateStorageProfileOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.StorageProfileIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateStorageProfile", "Required field: StorageProfileId, is not set"); + return UpdateStorageProfileOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [StorageProfileId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateStorageProfile, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateStorageProfile, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateStorageProfile", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateStorageProfileOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateStorageProfile, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), UpdateStorageProfileOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/storage-profiles/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetStorageProfileId()); + return UpdateStorageProfileOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateTaskOutcome DeadlineClient::UpdateTask(const UpdateTaskRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateTask); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTask, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTask", "Required field: FarmId, is not set"); + return UpdateTaskOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.JobIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTask", "Required field: JobId, is not set"); + return UpdateTaskOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobId]", false)); + } + if (!request.QueueIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTask", "Required field: QueueId, is not set"); + return UpdateTaskOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [QueueId]", false)); + } + if (!request.StepIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTask", "Required field: StepId, is not set"); + return UpdateTaskOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [StepId]", false)); + } + if (!request.TaskIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateTask", "Required field: TaskId, is not set"); + return UpdateTaskOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TaskId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTask, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateTask, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTask", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateTaskOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateTask, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("management."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), UpdateTaskOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/queues/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetQueueId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/steps/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetStepId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tasks/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTaskId()); + return UpdateTaskOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateWorkerOutcome DeadlineClient::UpdateWorker(const UpdateWorkerRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateWorker); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateWorker, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateWorker", "Required field: FarmId, is not set"); + return UpdateWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateWorker", "Required field: FleetId, is not set"); + return UpdateWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + if (!request.WorkerIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateWorker", "Required field: WorkerId, is not set"); + return UpdateWorkerOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [WorkerId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateWorker, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateWorker, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateWorker", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateWorkerOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateWorker, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("scheduling."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), UpdateWorkerOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/workers/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetWorkerId()); + return UpdateWorkerOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UpdateWorkerScheduleOutcome DeadlineClient::UpdateWorkerSchedule(const UpdateWorkerScheduleRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateWorkerSchedule); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateWorkerSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FarmIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateWorkerSchedule", "Required field: FarmId, is not set"); + return UpdateWorkerScheduleOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FarmId]", false)); + } + if (!request.FleetIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateWorkerSchedule", "Required field: FleetId, is not set"); + return UpdateWorkerScheduleOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FleetId]", false)); + } + if (!request.WorkerIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateWorkerSchedule", "Required field: WorkerId, is not set"); + return UpdateWorkerScheduleOutcome(Aws::Client::AWSError(DeadlineErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [WorkerId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateWorkerSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateWorkerSchedule, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateWorkerSchedule", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateWorkerScheduleOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateWorkerSchedule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("scheduling."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), UpdateWorkerScheduleOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/2023-10-12/farms/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFarmId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/fleets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFleetId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/workers/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetWorkerId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/schedule"); + return UpdateWorkerScheduleOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + diff --git a/generated/src/aws-cpp-sdk-deadline/source/DeadlineEndpointProvider.cpp b/generated/src/aws-cpp-sdk-deadline/source/DeadlineEndpointProvider.cpp new file mode 100644 index 00000000000..fc75a6b3c77 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/DeadlineEndpointProvider.cpp @@ -0,0 +1,16 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include + +namespace Aws +{ +namespace deadline +{ +namespace Endpoint +{ +} // namespace Endpoint +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/DeadlineEndpointRules.cpp b/generated/src/aws-cpp-sdk-deadline/source/DeadlineEndpointRules.cpp new file mode 100644 index 00000000000..6b6790da9d9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/DeadlineEndpointRules.cpp @@ -0,0 +1,176 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +namespace Aws +{ +namespace deadline +{ +const size_t DeadlineEndpointRules::RulesBlobStrLen = 3732; +const size_t DeadlineEndpointRules::RulesBlobSize = 3733; + +using RulesBlobT = Aws::Array; +static constexpr RulesBlobT RulesBlob = {{ +'{','"','v','e','r','s','i','o','n','"',':','"','1','.','0','"',',','"','p','a','r','a','m','e','t', +'e','r','s','"',':','{','"','R','e','g','i','o','n','"',':','{','"','b','u','i','l','t','I','n','"', +':','"','A','W','S',':',':','R','e','g','i','o','n','"',',','"','r','e','q','u','i','r','e','d','"', +':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"',':','"','T', +'h','e',' ','A','W','S',' ','r','e','g','i','o','n',' ','u','s','e','d',' ','t','o',' ','d','i','s', +'p','a','t','c','h',' ','t','h','e',' ','r','e','q','u','e','s','t','.','"',',','"','t','y','p','e', +'"',':','"','S','t','r','i','n','g','"','}',',','"','U','s','e','D','u','a','l','S','t','a','c','k', +'"',':','{','"','b','u','i','l','t','I','n','"',':','"','A','W','S',':',':','U','s','e','D','u','a', +'l','S','t','a','c','k','"',',','"','r','e','q','u','i','r','e','d','"',':','t','r','u','e',',','"', +'d','e','f','a','u','l','t','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a', +'t','i','o','n','"',':','"','W','h','e','n',' ','t','r','u','e',',',' ','u','s','e',' ','t','h','e', +' ','d','u','a','l','-','s','t','a','c','k',' ','e','n','d','p','o','i','n','t','.',' ','I','f',' ', +'t','h','e',' ','c','o','n','f','i','g','u','r','e','d',' ','e','n','d','p','o','i','n','t',' ','d', +'o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','d','u','a','l','-','s','t','a','c', +'k',',',' ','d','i','s','p','a','t','c','h','i','n','g',' ','t','h','e',' ','r','e','q','u','e','s', +'t',' ','M','A','Y',' ','r','e','t','u','r','n',' ','a','n',' ','e','r','r','o','r','.','"',',','"', +'t','y','p','e','"',':','"','B','o','o','l','e','a','n','"','}',',','"','U','s','e','F','I','P','S', +'"',':','{','"','b','u','i','l','t','I','n','"',':','"','A','W','S',':',':','U','s','e','F','I','P', +'S','"',',','"','r','e','q','u','i','r','e','d','"',':','t','r','u','e',',','"','d','e','f','a','u', +'l','t','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"', +':','"','W','h','e','n',' ','t','r','u','e',',',' ','s','e','n','d',' ','t','h','i','s',' ','r','e', +'q','u','e','s','t',' ','t','o',' ','t','h','e',' ','F','I','P','S','-','c','o','m','p','l','i','a', +'n','t',' ','r','e','g','i','o','n','a','l',' ','e','n','d','p','o','i','n','t','.',' ','I','f',' ', +'t','h','e',' ','c','o','n','f','i','g','u','r','e','d',' ','e','n','d','p','o','i','n','t',' ','d', +'o','e','s',' ','n','o','t',' ','h','a','v','e',' ','a',' ','F','I','P','S',' ','c','o','m','p','l', +'i','a','n','t',' ','e','n','d','p','o','i','n','t',',',' ','d','i','s','p','a','t','c','h','i','n', +'g',' ','t','h','e',' ','r','e','q','u','e','s','t',' ','w','i','l','l',' ','r','e','t','u','r','n', +' ','a','n',' ','e','r','r','o','r','.','"',',','"','t','y','p','e','"',':','"','B','o','o','l','e', +'a','n','"','}',',','"','E','n','d','p','o','i','n','t','"',':','{','"','b','u','i','l','t','I','n', +'"',':','"','S','D','K',':',':','E','n','d','p','o','i','n','t','"',',','"','r','e','q','u','i','r', +'e','d','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"', +':','"','O','v','e','r','r','i','d','e',' ','t','h','e',' ','e','n','d','p','o','i','n','t',' ','u', +'s','e','d',' ','t','o',' ','s','e','n','d',' ','t','h','i','s',' ','r','e','q','u','e','s','t','"', +',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', +'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', +'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', +',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', +'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k', +'"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l', +'i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a', +'c','k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r', +'e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"', +'e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', +'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':', +'"','E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':', +'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', +'e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d', +'i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s','S','e','t','"',',','"','a', +'r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']','}',']', +',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +'{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r', +'g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a', +'s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}', +']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', +'r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t', +'r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l', +'s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a', +'l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':', +'[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o', +'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e', +',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[', +'{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}', +',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"', +':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[', +'t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u', +'l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']', +'}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':', +'"','h','t','t','p','s',':','/','/','d','e','a','d','l','i','n','e','-','f','i','p','s','.','{','R', +'e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d', +'u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p', +'e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',', +'"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e', +'"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', +',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"', +':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ', +'e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i', +'o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o', +'r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',', +'"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s', +'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S', +'"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n', +'d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E', +'q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t', +'A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r', +'t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F', +'I','P','S','"',']','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{', +'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','r','u','l','e','s','"',':','[', +'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n', +'t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','d','e','a','d','l','i', +'n','e','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i', +'o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o', +'p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}', +',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p', +'e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r', +'"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h', +'i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p', +'p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"', +'}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', +'a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D', +'u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s', +'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', +'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r', +'u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"', +':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t', +'"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']', +'}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', +'"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h', +'t','t','p','s',':','/','/','d','e','a','d','l','i','n','e','.','{','R','e','g','i','o','n','}','.', +'{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c', +'k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"', +':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':', +'"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', +'"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d', +'i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S', +'t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ', +'p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r', +'t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o', +'r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n', +'d','i','t','i','o','n','s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', +'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','d','e','a','d','l','i','n','e','.','{', +'R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#', +'d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':', +'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', +'e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"', +':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', +',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u', +'r','a','t','i','o','n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"',',','"', +'t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t', +'r','e','e','"','}',']','}','\0' +}}; + +const char* DeadlineEndpointRules::GetRulesBlob() +{ + return RulesBlob.data(); +} + +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/DeadlineErrorMarshaller.cpp b/generated/src/aws-cpp-sdk-deadline/source/DeadlineErrorMarshaller.cpp new file mode 100644 index 00000000000..43dd5c3bf8a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/DeadlineErrorMarshaller.cpp @@ -0,0 +1,22 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +using namespace Aws::Client; +using namespace Aws::deadline; + +AWSError DeadlineErrorMarshaller::FindErrorByName(const char* errorName) const +{ + AWSError error = DeadlineErrorMapper::GetErrorForName(errorName); + if(error.GetErrorType() != CoreErrors::UNKNOWN) + { + return error; + } + + return AWSErrorMarshaller::FindErrorByName(errorName); +} \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-deadline/source/DeadlineErrors.cpp b/generated/src/aws-cpp-sdk-deadline/source/DeadlineErrors.cpp new file mode 100644 index 00000000000..ae7c83863cb --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/DeadlineErrors.cpp @@ -0,0 +1,97 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +using namespace Aws::Client; +using namespace Aws::Utils; +using namespace Aws::deadline; +using namespace Aws::deadline::Model; + +namespace Aws +{ +namespace deadline +{ +template<> AWS_DEADLINE_API ConflictException DeadlineError::GetModeledError() +{ + assert(this->GetErrorType() == DeadlineErrors::CONFLICT); + return ConflictException(this->GetJsonPayload().View()); +} + +template<> AWS_DEADLINE_API ThrottlingException DeadlineError::GetModeledError() +{ + assert(this->GetErrorType() == DeadlineErrors::THROTTLING); + return ThrottlingException(this->GetJsonPayload().View()); +} + +template<> AWS_DEADLINE_API ServiceQuotaExceededException DeadlineError::GetModeledError() +{ + assert(this->GetErrorType() == DeadlineErrors::SERVICE_QUOTA_EXCEEDED); + return ServiceQuotaExceededException(this->GetJsonPayload().View()); +} + +template<> AWS_DEADLINE_API ResourceNotFoundException DeadlineError::GetModeledError() +{ + assert(this->GetErrorType() == DeadlineErrors::RESOURCE_NOT_FOUND); + return ResourceNotFoundException(this->GetJsonPayload().View()); +} + +template<> AWS_DEADLINE_API ValidationException DeadlineError::GetModeledError() +{ + assert(this->GetErrorType() == DeadlineErrors::VALIDATION); + return ValidationException(this->GetJsonPayload().View()); +} + +template<> AWS_DEADLINE_API AccessDeniedException DeadlineError::GetModeledError() +{ + assert(this->GetErrorType() == DeadlineErrors::ACCESS_DENIED); + return AccessDeniedException(this->GetJsonPayload().View()); +} + +template<> AWS_DEADLINE_API InternalServerErrorException DeadlineError::GetModeledError() +{ + assert(this->GetErrorType() == DeadlineErrors::INTERNAL_SERVER_ERROR); + return InternalServerErrorException(this->GetJsonPayload().View()); +} + +namespace DeadlineErrorMapper +{ + +static const int CONFLICT_HASH = HashingUtils::HashString("ConflictException"); +static const int SERVICE_QUOTA_EXCEEDED_HASH = HashingUtils::HashString("ServiceQuotaExceededException"); +static const int INTERNAL_SERVER_ERROR_HASH = HashingUtils::HashString("InternalServerErrorException"); + + +AWSError GetErrorForName(const char* errorName) +{ + int hashCode = HashingUtils::HashString(errorName); + + if (hashCode == CONFLICT_HASH) + { + return AWSError(static_cast(DeadlineErrors::CONFLICT), RetryableType::NOT_RETRYABLE); + } + else if (hashCode == SERVICE_QUOTA_EXCEEDED_HASH) + { + return AWSError(static_cast(DeadlineErrors::SERVICE_QUOTA_EXCEEDED), RetryableType::NOT_RETRYABLE); + } + else if (hashCode == INTERNAL_SERVER_ERROR_HASH) + { + return AWSError(static_cast(DeadlineErrors::INTERNAL_SERVER_ERROR), RetryableType::RETRYABLE); + } + return AWSError(CoreErrors::UNKNOWN, false); +} + +} // namespace DeadlineErrorMapper +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/DeadlineRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/DeadlineRequest.cpp new file mode 100644 index 00000000000..4d08547cd50 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/DeadlineRequest.cpp @@ -0,0 +1,14 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + + +#include + +namespace Aws +{ +namespace deadline +{ +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorCountRange.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorCountRange.cpp new file mode 100644 index 00000000000..47927332ac6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorCountRange.cpp @@ -0,0 +1,78 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +AcceleratorCountRange::AcceleratorCountRange() : + m_max(0), + m_maxHasBeenSet(false), + m_min(0), + m_minHasBeenSet(false) +{ +} + +AcceleratorCountRange::AcceleratorCountRange(JsonView jsonValue) : + m_max(0), + m_maxHasBeenSet(false), + m_min(0), + m_minHasBeenSet(false) +{ + *this = jsonValue; +} + +AcceleratorCountRange& AcceleratorCountRange::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("max")) + { + m_max = jsonValue.GetInteger("max"); + + m_maxHasBeenSet = true; + } + + if(jsonValue.ValueExists("min")) + { + m_min = jsonValue.GetInteger("min"); + + m_minHasBeenSet = true; + } + + return *this; +} + +JsonValue AcceleratorCountRange::Jsonize() const +{ + JsonValue payload; + + if(m_maxHasBeenSet) + { + payload.WithInteger("max", m_max); + + } + + if(m_minHasBeenSet) + { + payload.WithInteger("min", m_min); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorTotalMemoryMiBRange.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorTotalMemoryMiBRange.cpp new file mode 100644 index 00000000000..f84856251a6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorTotalMemoryMiBRange.cpp @@ -0,0 +1,78 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +AcceleratorTotalMemoryMiBRange::AcceleratorTotalMemoryMiBRange() : + m_max(0), + m_maxHasBeenSet(false), + m_min(0), + m_minHasBeenSet(false) +{ +} + +AcceleratorTotalMemoryMiBRange::AcceleratorTotalMemoryMiBRange(JsonView jsonValue) : + m_max(0), + m_maxHasBeenSet(false), + m_min(0), + m_minHasBeenSet(false) +{ + *this = jsonValue; +} + +AcceleratorTotalMemoryMiBRange& AcceleratorTotalMemoryMiBRange::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("max")) + { + m_max = jsonValue.GetInteger("max"); + + m_maxHasBeenSet = true; + } + + if(jsonValue.ValueExists("min")) + { + m_min = jsonValue.GetInteger("min"); + + m_minHasBeenSet = true; + } + + return *this; +} + +JsonValue AcceleratorTotalMemoryMiBRange::Jsonize() const +{ + JsonValue payload; + + if(m_maxHasBeenSet) + { + payload.WithInteger("max", m_max); + + } + + if(m_minHasBeenSet) + { + payload.WithInteger("min", m_min); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorType.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorType.cpp new file mode 100644 index 00000000000..c84d4b09b49 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorType.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace AcceleratorTypeMapper + { + + static const int gpu_HASH = HashingUtils::HashString("gpu"); + + + AcceleratorType GetAcceleratorTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == gpu_HASH) + { + return AcceleratorType::gpu; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return AcceleratorType::NOT_SET; + } + + Aws::String GetNameForAcceleratorType(AcceleratorType enumValue) + { + switch(enumValue) + { + case AcceleratorType::NOT_SET: + return {}; + case AcceleratorType::gpu: + return "gpu"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace AcceleratorTypeMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AccessDeniedException.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AccessDeniedException.cpp new file mode 100644 index 00000000000..f07234fb259 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AccessDeniedException.cpp @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +AccessDeniedException::AccessDeniedException() : + m_contextHasBeenSet(false), + m_messageHasBeenSet(false) +{ +} + +AccessDeniedException::AccessDeniedException(JsonView jsonValue) : + m_contextHasBeenSet(false), + m_messageHasBeenSet(false) +{ + *this = jsonValue; +} + +AccessDeniedException& AccessDeniedException::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("context")) + { + Aws::Map contextJsonMap = jsonValue.GetObject("context").GetAllObjects(); + for(auto& contextItem : contextJsonMap) + { + m_context[contextItem.first] = contextItem.second.AsString(); + } + m_contextHasBeenSet = true; + } + + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + return *this; +} + +JsonValue AccessDeniedException::Jsonize() const +{ + JsonValue payload; + + if(m_contextHasBeenSet) + { + JsonValue contextJsonMap; + for(auto& contextItem : m_context) + { + contextJsonMap.WithString(contextItem.first, contextItem.second); + } + payload.WithObject("context", std::move(contextJsonMap)); + + } + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssignedEnvironmentEnterSessionActionDefinition.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedEnvironmentEnterSessionActionDefinition.cpp new file mode 100644 index 00000000000..679eb7d5b96 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedEnvironmentEnterSessionActionDefinition.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +AssignedEnvironmentEnterSessionActionDefinition::AssignedEnvironmentEnterSessionActionDefinition() : + m_environmentIdHasBeenSet(false) +{ +} + +AssignedEnvironmentEnterSessionActionDefinition::AssignedEnvironmentEnterSessionActionDefinition(JsonView jsonValue) : + m_environmentIdHasBeenSet(false) +{ + *this = jsonValue; +} + +AssignedEnvironmentEnterSessionActionDefinition& AssignedEnvironmentEnterSessionActionDefinition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("environmentId")) + { + m_environmentId = jsonValue.GetString("environmentId"); + + m_environmentIdHasBeenSet = true; + } + + return *this; +} + +JsonValue AssignedEnvironmentEnterSessionActionDefinition::Jsonize() const +{ + JsonValue payload; + + if(m_environmentIdHasBeenSet) + { + payload.WithString("environmentId", m_environmentId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssignedEnvironmentExitSessionActionDefinition.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedEnvironmentExitSessionActionDefinition.cpp new file mode 100644 index 00000000000..9415c96179b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedEnvironmentExitSessionActionDefinition.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +AssignedEnvironmentExitSessionActionDefinition::AssignedEnvironmentExitSessionActionDefinition() : + m_environmentIdHasBeenSet(false) +{ +} + +AssignedEnvironmentExitSessionActionDefinition::AssignedEnvironmentExitSessionActionDefinition(JsonView jsonValue) : + m_environmentIdHasBeenSet(false) +{ + *this = jsonValue; +} + +AssignedEnvironmentExitSessionActionDefinition& AssignedEnvironmentExitSessionActionDefinition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("environmentId")) + { + m_environmentId = jsonValue.GetString("environmentId"); + + m_environmentIdHasBeenSet = true; + } + + return *this; +} + +JsonValue AssignedEnvironmentExitSessionActionDefinition::Jsonize() const +{ + JsonValue payload; + + if(m_environmentIdHasBeenSet) + { + payload.WithString("environmentId", m_environmentId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSession.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSession.cpp new file mode 100644 index 00000000000..4f50e4e3fa6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSession.cpp @@ -0,0 +1,112 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +AssignedSession::AssignedSession() : + m_jobIdHasBeenSet(false), + m_logConfigurationHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_sessionActionsHasBeenSet(false) +{ +} + +AssignedSession::AssignedSession(JsonView jsonValue) : + m_jobIdHasBeenSet(false), + m_logConfigurationHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_sessionActionsHasBeenSet(false) +{ + *this = jsonValue; +} + +AssignedSession& AssignedSession::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("logConfiguration")) + { + m_logConfiguration = jsonValue.GetObject("logConfiguration"); + + m_logConfigurationHasBeenSet = true; + } + + if(jsonValue.ValueExists("queueId")) + { + m_queueId = jsonValue.GetString("queueId"); + + m_queueIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("sessionActions")) + { + Aws::Utils::Array sessionActionsJsonList = jsonValue.GetArray("sessionActions"); + for(unsigned sessionActionsIndex = 0; sessionActionsIndex < sessionActionsJsonList.GetLength(); ++sessionActionsIndex) + { + m_sessionActions.push_back(sessionActionsJsonList[sessionActionsIndex].AsObject()); + } + m_sessionActionsHasBeenSet = true; + } + + return *this; +} + +JsonValue AssignedSession::Jsonize() const +{ + JsonValue payload; + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_logConfigurationHasBeenSet) + { + payload.WithObject("logConfiguration", m_logConfiguration.Jsonize()); + + } + + if(m_queueIdHasBeenSet) + { + payload.WithString("queueId", m_queueId); + + } + + if(m_sessionActionsHasBeenSet) + { + Aws::Utils::Array sessionActionsJsonList(m_sessionActions.size()); + for(unsigned sessionActionsIndex = 0; sessionActionsIndex < sessionActionsJsonList.GetLength(); ++sessionActionsIndex) + { + sessionActionsJsonList[sessionActionsIndex].AsObject(m_sessionActions[sessionActionsIndex].Jsonize()); + } + payload.WithArray("sessionActions", std::move(sessionActionsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSessionAction.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSessionAction.cpp new file mode 100644 index 00000000000..d6f65e44abb --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSessionAction.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +AssignedSessionAction::AssignedSessionAction() : + m_definitionHasBeenSet(false), + m_sessionActionIdHasBeenSet(false) +{ +} + +AssignedSessionAction::AssignedSessionAction(JsonView jsonValue) : + m_definitionHasBeenSet(false), + m_sessionActionIdHasBeenSet(false) +{ + *this = jsonValue; +} + +AssignedSessionAction& AssignedSessionAction::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("definition")) + { + m_definition = jsonValue.GetObject("definition"); + + m_definitionHasBeenSet = true; + } + + if(jsonValue.ValueExists("sessionActionId")) + { + m_sessionActionId = jsonValue.GetString("sessionActionId"); + + m_sessionActionIdHasBeenSet = true; + } + + return *this; +} + +JsonValue AssignedSessionAction::Jsonize() const +{ + JsonValue payload; + + if(m_definitionHasBeenSet) + { + payload.WithObject("definition", m_definition.Jsonize()); + + } + + if(m_sessionActionIdHasBeenSet) + { + payload.WithString("sessionActionId", m_sessionActionId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSessionActionDefinition.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSessionActionDefinition.cpp new file mode 100644 index 00000000000..3941931d835 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSessionActionDefinition.cpp @@ -0,0 +1,104 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +AssignedSessionActionDefinition::AssignedSessionActionDefinition() : + m_envEnterHasBeenSet(false), + m_envExitHasBeenSet(false), + m_syncInputJobAttachmentsHasBeenSet(false), + m_taskRunHasBeenSet(false) +{ +} + +AssignedSessionActionDefinition::AssignedSessionActionDefinition(JsonView jsonValue) : + m_envEnterHasBeenSet(false), + m_envExitHasBeenSet(false), + m_syncInputJobAttachmentsHasBeenSet(false), + m_taskRunHasBeenSet(false) +{ + *this = jsonValue; +} + +AssignedSessionActionDefinition& AssignedSessionActionDefinition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("envEnter")) + { + m_envEnter = jsonValue.GetObject("envEnter"); + + m_envEnterHasBeenSet = true; + } + + if(jsonValue.ValueExists("envExit")) + { + m_envExit = jsonValue.GetObject("envExit"); + + m_envExitHasBeenSet = true; + } + + if(jsonValue.ValueExists("syncInputJobAttachments")) + { + m_syncInputJobAttachments = jsonValue.GetObject("syncInputJobAttachments"); + + m_syncInputJobAttachmentsHasBeenSet = true; + } + + if(jsonValue.ValueExists("taskRun")) + { + m_taskRun = jsonValue.GetObject("taskRun"); + + m_taskRunHasBeenSet = true; + } + + return *this; +} + +JsonValue AssignedSessionActionDefinition::Jsonize() const +{ + JsonValue payload; + + if(m_envEnterHasBeenSet) + { + payload.WithObject("envEnter", m_envEnter.Jsonize()); + + } + + if(m_envExitHasBeenSet) + { + payload.WithObject("envExit", m_envExit.Jsonize()); + + } + + if(m_syncInputJobAttachmentsHasBeenSet) + { + payload.WithObject("syncInputJobAttachments", m_syncInputJobAttachments.Jsonize()); + + } + + if(m_taskRunHasBeenSet) + { + payload.WithObject("taskRun", m_taskRun.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSyncInputJobAttachmentsSessionActionDefinition.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSyncInputJobAttachmentsSessionActionDefinition.cpp new file mode 100644 index 00000000000..73646a6e04d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSyncInputJobAttachmentsSessionActionDefinition.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +AssignedSyncInputJobAttachmentsSessionActionDefinition::AssignedSyncInputJobAttachmentsSessionActionDefinition() : + m_stepIdHasBeenSet(false) +{ +} + +AssignedSyncInputJobAttachmentsSessionActionDefinition::AssignedSyncInputJobAttachmentsSessionActionDefinition(JsonView jsonValue) : + m_stepIdHasBeenSet(false) +{ + *this = jsonValue; +} + +AssignedSyncInputJobAttachmentsSessionActionDefinition& AssignedSyncInputJobAttachmentsSessionActionDefinition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("stepId")) + { + m_stepId = jsonValue.GetString("stepId"); + + m_stepIdHasBeenSet = true; + } + + return *this; +} + +JsonValue AssignedSyncInputJobAttachmentsSessionActionDefinition::Jsonize() const +{ + JsonValue payload; + + if(m_stepIdHasBeenSet) + { + payload.WithString("stepId", m_stepId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssignedTaskRunSessionActionDefinition.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedTaskRunSessionActionDefinition.cpp new file mode 100644 index 00000000000..1c24f521eb2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedTaskRunSessionActionDefinition.cpp @@ -0,0 +1,97 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +AssignedTaskRunSessionActionDefinition::AssignedTaskRunSessionActionDefinition() : + m_parametersHasBeenSet(false), + m_stepIdHasBeenSet(false), + m_taskIdHasBeenSet(false) +{ +} + +AssignedTaskRunSessionActionDefinition::AssignedTaskRunSessionActionDefinition(JsonView jsonValue) : + m_parametersHasBeenSet(false), + m_stepIdHasBeenSet(false), + m_taskIdHasBeenSet(false) +{ + *this = jsonValue; +} + +AssignedTaskRunSessionActionDefinition& AssignedTaskRunSessionActionDefinition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("parameters")) + { + Aws::Map parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); + for(auto& parametersItem : parametersJsonMap) + { + m_parameters[parametersItem.first] = parametersItem.second.AsObject(); + } + m_parametersHasBeenSet = true; + } + + if(jsonValue.ValueExists("stepId")) + { + m_stepId = jsonValue.GetString("stepId"); + + m_stepIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("taskId")) + { + m_taskId = jsonValue.GetString("taskId"); + + m_taskIdHasBeenSet = true; + } + + return *this; +} + +JsonValue AssignedTaskRunSessionActionDefinition::Jsonize() const +{ + JsonValue payload; + + if(m_parametersHasBeenSet) + { + JsonValue parametersJsonMap; + for(auto& parametersItem : m_parameters) + { + parametersJsonMap.WithObject(parametersItem.first, parametersItem.second.Jsonize()); + } + payload.WithObject("parameters", std::move(parametersJsonMap)); + + } + + if(m_stepIdHasBeenSet) + { + payload.WithString("stepId", m_stepId); + + } + + if(m_taskIdHasBeenSet) + { + payload.WithString("taskId", m_taskId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFarmRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFarmRequest.cpp new file mode 100644 index 00000000000..3080c1f6a18 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFarmRequest.cpp @@ -0,0 +1,51 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +AssociateMemberToFarmRequest::AssociateMemberToFarmRequest() : + m_farmIdHasBeenSet(false), + m_identityStoreIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false), + m_principalIdHasBeenSet(false), + m_principalType(PrincipalType::NOT_SET), + m_principalTypeHasBeenSet(false) +{ +} + +Aws::String AssociateMemberToFarmRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_identityStoreIdHasBeenSet) + { + payload.WithString("identityStoreId", m_identityStoreId); + + } + + if(m_membershipLevelHasBeenSet) + { + payload.WithString("membershipLevel", MembershipLevelMapper::GetNameForMembershipLevel(m_membershipLevel)); + } + + if(m_principalTypeHasBeenSet) + { + payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFarmResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFarmResult.cpp new file mode 100644 index 00000000000..5de2fd45680 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFarmResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +AssociateMemberToFarmResult::AssociateMemberToFarmResult() +{ +} + +AssociateMemberToFarmResult::AssociateMemberToFarmResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +AssociateMemberToFarmResult& AssociateMemberToFarmResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFleetRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFleetRequest.cpp new file mode 100644 index 00000000000..830085f2f29 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFleetRequest.cpp @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +AssociateMemberToFleetRequest::AssociateMemberToFleetRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_identityStoreIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false), + m_principalIdHasBeenSet(false), + m_principalType(PrincipalType::NOT_SET), + m_principalTypeHasBeenSet(false) +{ +} + +Aws::String AssociateMemberToFleetRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_identityStoreIdHasBeenSet) + { + payload.WithString("identityStoreId", m_identityStoreId); + + } + + if(m_membershipLevelHasBeenSet) + { + payload.WithString("membershipLevel", MembershipLevelMapper::GetNameForMembershipLevel(m_membershipLevel)); + } + + if(m_principalTypeHasBeenSet) + { + payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFleetResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFleetResult.cpp new file mode 100644 index 00000000000..c0872af4cbd --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFleetResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +AssociateMemberToFleetResult::AssociateMemberToFleetResult() +{ +} + +AssociateMemberToFleetResult::AssociateMemberToFleetResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +AssociateMemberToFleetResult& AssociateMemberToFleetResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToJobRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToJobRequest.cpp new file mode 100644 index 00000000000..c5b2bda456a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToJobRequest.cpp @@ -0,0 +1,53 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +AssociateMemberToJobRequest::AssociateMemberToJobRequest() : + m_farmIdHasBeenSet(false), + m_identityStoreIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false), + m_principalIdHasBeenSet(false), + m_principalType(PrincipalType::NOT_SET), + m_principalTypeHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String AssociateMemberToJobRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_identityStoreIdHasBeenSet) + { + payload.WithString("identityStoreId", m_identityStoreId); + + } + + if(m_membershipLevelHasBeenSet) + { + payload.WithString("membershipLevel", MembershipLevelMapper::GetNameForMembershipLevel(m_membershipLevel)); + } + + if(m_principalTypeHasBeenSet) + { + payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToJobResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToJobResult.cpp new file mode 100644 index 00000000000..ac97ab1b372 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToJobResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +AssociateMemberToJobResult::AssociateMemberToJobResult() +{ +} + +AssociateMemberToJobResult::AssociateMemberToJobResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +AssociateMemberToJobResult& AssociateMemberToJobResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToQueueRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToQueueRequest.cpp new file mode 100644 index 00000000000..b95e90a3cf4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToQueueRequest.cpp @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +AssociateMemberToQueueRequest::AssociateMemberToQueueRequest() : + m_farmIdHasBeenSet(false), + m_identityStoreIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false), + m_principalIdHasBeenSet(false), + m_principalType(PrincipalType::NOT_SET), + m_principalTypeHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String AssociateMemberToQueueRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_identityStoreIdHasBeenSet) + { + payload.WithString("identityStoreId", m_identityStoreId); + + } + + if(m_membershipLevelHasBeenSet) + { + payload.WithString("membershipLevel", MembershipLevelMapper::GetNameForMembershipLevel(m_membershipLevel)); + } + + if(m_principalTypeHasBeenSet) + { + payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToQueueResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToQueueResult.cpp new file mode 100644 index 00000000000..e0f4602dd1c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToQueueResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +AssociateMemberToQueueResult::AssociateMemberToQueueResult() +{ +} + +AssociateMemberToQueueResult::AssociateMemberToQueueResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +AssociateMemberToQueueResult& AssociateMemberToQueueResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssumeFleetRoleForReadRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeFleetRoleForReadRequest.cpp new file mode 100644 index 00000000000..78084a0a15d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeFleetRoleForReadRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +AssumeFleetRoleForReadRequest::AssumeFleetRoleForReadRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false) +{ +} + +Aws::String AssumeFleetRoleForReadRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssumeFleetRoleForReadResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeFleetRoleForReadResult.cpp new file mode 100644 index 00000000000..b47627b7518 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeFleetRoleForReadResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +AssumeFleetRoleForReadResult::AssumeFleetRoleForReadResult() +{ +} + +AssumeFleetRoleForReadResult::AssumeFleetRoleForReadResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +AssumeFleetRoleForReadResult& AssumeFleetRoleForReadResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("credentials")) + { + m_credentials = jsonValue.GetObject("credentials"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssumeFleetRoleForWorkerRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeFleetRoleForWorkerRequest.cpp new file mode 100644 index 00000000000..7d13816dae2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeFleetRoleForWorkerRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +AssumeFleetRoleForWorkerRequest::AssumeFleetRoleForWorkerRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_workerIdHasBeenSet(false) +{ +} + +Aws::String AssumeFleetRoleForWorkerRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssumeFleetRoleForWorkerResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeFleetRoleForWorkerResult.cpp new file mode 100644 index 00000000000..6b5918168de --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeFleetRoleForWorkerResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +AssumeFleetRoleForWorkerResult::AssumeFleetRoleForWorkerResult() +{ +} + +AssumeFleetRoleForWorkerResult::AssumeFleetRoleForWorkerResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +AssumeFleetRoleForWorkerResult& AssumeFleetRoleForWorkerResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("credentials")) + { + m_credentials = jsonValue.GetObject("credentials"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForReadRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForReadRequest.cpp new file mode 100644 index 00000000000..3b4e592f34b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForReadRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +AssumeQueueRoleForReadRequest::AssumeQueueRoleForReadRequest() : + m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String AssumeQueueRoleForReadRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForReadResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForReadResult.cpp new file mode 100644 index 00000000000..be1cd61a338 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForReadResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +AssumeQueueRoleForReadResult::AssumeQueueRoleForReadResult() +{ +} + +AssumeQueueRoleForReadResult::AssumeQueueRoleForReadResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +AssumeQueueRoleForReadResult& AssumeQueueRoleForReadResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("credentials")) + { + m_credentials = jsonValue.GetObject("credentials"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForUserRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForUserRequest.cpp new file mode 100644 index 00000000000..afdce14458c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForUserRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +AssumeQueueRoleForUserRequest::AssumeQueueRoleForUserRequest() : + m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String AssumeQueueRoleForUserRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForUserResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForUserResult.cpp new file mode 100644 index 00000000000..618a54025ad --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForUserResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +AssumeQueueRoleForUserResult::AssumeQueueRoleForUserResult() +{ +} + +AssumeQueueRoleForUserResult::AssumeQueueRoleForUserResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +AssumeQueueRoleForUserResult& AssumeQueueRoleForUserResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("credentials")) + { + m_credentials = jsonValue.GetObject("credentials"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForWorkerRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForWorkerRequest.cpp new file mode 100644 index 00000000000..c5f8c85b483 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForWorkerRequest.cpp @@ -0,0 +1,44 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +AssumeQueueRoleForWorkerRequest::AssumeQueueRoleForWorkerRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_workerIdHasBeenSet(false) +{ +} + +Aws::String AssumeQueueRoleForWorkerRequest::SerializePayload() const +{ + return {}; +} + +void AssumeQueueRoleForWorkerRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_queueIdHasBeenSet) + { + ss << m_queueId; + uri.AddQueryStringParameter("queueId", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForWorkerResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForWorkerResult.cpp new file mode 100644 index 00000000000..a88ad876879 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForWorkerResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +AssumeQueueRoleForWorkerResult::AssumeQueueRoleForWorkerResult() +{ +} + +AssumeQueueRoleForWorkerResult::AssumeQueueRoleForWorkerResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +AssumeQueueRoleForWorkerResult& AssumeQueueRoleForWorkerResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("credentials")) + { + m_credentials = jsonValue.GetObject("credentials"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/Attachments.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/Attachments.cpp new file mode 100644 index 00000000000..3541801d1d6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/Attachments.cpp @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +Attachments::Attachments() : + m_fileSystem(JobAttachmentsFileSystem::NOT_SET), + m_fileSystemHasBeenSet(false), + m_manifestsHasBeenSet(false) +{ +} + +Attachments::Attachments(JsonView jsonValue) : + m_fileSystem(JobAttachmentsFileSystem::NOT_SET), + m_fileSystemHasBeenSet(false), + m_manifestsHasBeenSet(false) +{ + *this = jsonValue; +} + +Attachments& Attachments::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("fileSystem")) + { + m_fileSystem = JobAttachmentsFileSystemMapper::GetJobAttachmentsFileSystemForName(jsonValue.GetString("fileSystem")); + + m_fileSystemHasBeenSet = true; + } + + if(jsonValue.ValueExists("manifests")) + { + Aws::Utils::Array manifestsJsonList = jsonValue.GetArray("manifests"); + for(unsigned manifestsIndex = 0; manifestsIndex < manifestsJsonList.GetLength(); ++manifestsIndex) + { + m_manifests.push_back(manifestsJsonList[manifestsIndex].AsObject()); + } + m_manifestsHasBeenSet = true; + } + + return *this; +} + +JsonValue Attachments::Jsonize() const +{ + JsonValue payload; + + if(m_fileSystemHasBeenSet) + { + payload.WithString("fileSystem", JobAttachmentsFileSystemMapper::GetNameForJobAttachmentsFileSystem(m_fileSystem)); + } + + if(m_manifestsHasBeenSet) + { + Aws::Utils::Array manifestsJsonList(m_manifests.size()); + for(unsigned manifestsIndex = 0; manifestsIndex < manifestsJsonList.GetLength(); ++manifestsIndex) + { + manifestsJsonList[manifestsIndex].AsObject(m_manifests[manifestsIndex].Jsonize()); + } + payload.WithArray("manifests", std::move(manifestsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AutoScalingMode.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AutoScalingMode.cpp new file mode 100644 index 00000000000..e8fef5db315 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AutoScalingMode.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace AutoScalingModeMapper + { + + static const int NO_SCALING_HASH = HashingUtils::HashString("NO_SCALING"); + static const int EVENT_BASED_AUTO_SCALING_HASH = HashingUtils::HashString("EVENT_BASED_AUTO_SCALING"); + + + AutoScalingMode GetAutoScalingModeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == NO_SCALING_HASH) + { + return AutoScalingMode::NO_SCALING; + } + else if (hashCode == EVENT_BASED_AUTO_SCALING_HASH) + { + return AutoScalingMode::EVENT_BASED_AUTO_SCALING; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return AutoScalingMode::NOT_SET; + } + + Aws::String GetNameForAutoScalingMode(AutoScalingMode enumValue) + { + switch(enumValue) + { + case AutoScalingMode::NOT_SET: + return {}; + case AutoScalingMode::NO_SCALING: + return "NO_SCALING"; + case AutoScalingMode::EVENT_BASED_AUTO_SCALING: + return "EVENT_BASED_AUTO_SCALING"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace AutoScalingModeMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AutoScalingStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AutoScalingStatus.cpp new file mode 100644 index 00000000000..003217a506f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AutoScalingStatus.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace AutoScalingStatusMapper + { + + static const int GROWING_HASH = HashingUtils::HashString("GROWING"); + static const int STEADY_HASH = HashingUtils::HashString("STEADY"); + static const int SHRINKING_HASH = HashingUtils::HashString("SHRINKING"); + + + AutoScalingStatus GetAutoScalingStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == GROWING_HASH) + { + return AutoScalingStatus::GROWING; + } + else if (hashCode == STEADY_HASH) + { + return AutoScalingStatus::STEADY; + } + else if (hashCode == SHRINKING_HASH) + { + return AutoScalingStatus::SHRINKING; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return AutoScalingStatus::NOT_SET; + } + + Aws::String GetNameForAutoScalingStatus(AutoScalingStatus enumValue) + { + switch(enumValue) + { + case AutoScalingStatus::NOT_SET: + return {}; + case AutoScalingStatus::GROWING: + return "GROWING"; + case AutoScalingStatus::STEADY: + return "STEADY"; + case AutoScalingStatus::SHRINKING: + return "SHRINKING"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace AutoScalingStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AwsCredentials.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AwsCredentials.cpp new file mode 100644 index 00000000000..69a05809fe8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AwsCredentials.cpp @@ -0,0 +1,103 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +AwsCredentials::AwsCredentials() : + m_accessKeyIdHasBeenSet(false), + m_expirationHasBeenSet(false), + m_secretAccessKeyHasBeenSet(false), + m_sessionTokenHasBeenSet(false) +{ +} + +AwsCredentials::AwsCredentials(JsonView jsonValue) : + m_accessKeyIdHasBeenSet(false), + m_expirationHasBeenSet(false), + m_secretAccessKeyHasBeenSet(false), + m_sessionTokenHasBeenSet(false) +{ + *this = jsonValue; +} + +AwsCredentials& AwsCredentials::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("accessKeyId")) + { + m_accessKeyId = jsonValue.GetString("accessKeyId"); + + m_accessKeyIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("expiration")) + { + m_expiration = jsonValue.GetString("expiration"); + + m_expirationHasBeenSet = true; + } + + if(jsonValue.ValueExists("secretAccessKey")) + { + m_secretAccessKey = jsonValue.GetString("secretAccessKey"); + + m_secretAccessKeyHasBeenSet = true; + } + + if(jsonValue.ValueExists("sessionToken")) + { + m_sessionToken = jsonValue.GetString("sessionToken"); + + m_sessionTokenHasBeenSet = true; + } + + return *this; +} + +JsonValue AwsCredentials::Jsonize() const +{ + JsonValue payload; + + if(m_accessKeyIdHasBeenSet) + { + payload.WithString("accessKeyId", m_accessKeyId); + + } + + if(m_expirationHasBeenSet) + { + payload.WithString("expiration", m_expiration.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_secretAccessKeyHasBeenSet) + { + payload.WithString("secretAccessKey", m_secretAccessKey); + + } + + if(m_sessionTokenHasBeenSet) + { + payload.WithString("sessionToken", m_sessionToken); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/BatchGetJobEntityRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/BatchGetJobEntityRequest.cpp new file mode 100644 index 00000000000..8a015c35c11 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/BatchGetJobEntityRequest.cpp @@ -0,0 +1,43 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +BatchGetJobEntityRequest::BatchGetJobEntityRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_identifiersHasBeenSet(false), + m_workerIdHasBeenSet(false) +{ +} + +Aws::String BatchGetJobEntityRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_identifiersHasBeenSet) + { + Aws::Utils::Array identifiersJsonList(m_identifiers.size()); + for(unsigned identifiersIndex = 0; identifiersIndex < identifiersJsonList.GetLength(); ++identifiersIndex) + { + identifiersJsonList[identifiersIndex].AsObject(m_identifiers[identifiersIndex].Jsonize()); + } + payload.WithArray("identifiers", std::move(identifiersJsonList)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/BatchGetJobEntityResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/BatchGetJobEntityResult.cpp new file mode 100644 index 00000000000..9a39eedd59a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/BatchGetJobEntityResult.cpp @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +BatchGetJobEntityResult::BatchGetJobEntityResult() +{ +} + +BatchGetJobEntityResult::BatchGetJobEntityResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +BatchGetJobEntityResult& BatchGetJobEntityResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("entities")) + { + Aws::Utils::Array entitiesJsonList = jsonValue.GetArray("entities"); + for(unsigned entitiesIndex = 0; entitiesIndex < entitiesJsonList.GetLength(); ++entitiesIndex) + { + m_entities.push_back(entitiesJsonList[entitiesIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("errors")) + { + Aws::Utils::Array errorsJsonList = jsonValue.GetArray("errors"); + for(unsigned errorsIndex = 0; errorsIndex < errorsJsonList.GetLength(); ++errorsIndex) + { + m_errors.push_back(errorsJsonList[errorsIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionToAdd.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionToAdd.cpp new file mode 100644 index 00000000000..f3b12680c61 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionToAdd.cpp @@ -0,0 +1,92 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +BudgetActionToAdd::BudgetActionToAdd() : + m_descriptionHasBeenSet(false), + m_thresholdPercentage(0.0), + m_thresholdPercentageHasBeenSet(false), + m_type(BudgetActionType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +BudgetActionToAdd::BudgetActionToAdd(JsonView jsonValue) : + m_descriptionHasBeenSet(false), + m_thresholdPercentage(0.0), + m_thresholdPercentageHasBeenSet(false), + m_type(BudgetActionType::NOT_SET), + m_typeHasBeenSet(false) +{ + *this = jsonValue; +} + +BudgetActionToAdd& BudgetActionToAdd::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + m_descriptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("thresholdPercentage")) + { + m_thresholdPercentage = jsonValue.GetDouble("thresholdPercentage"); + + m_thresholdPercentageHasBeenSet = true; + } + + if(jsonValue.ValueExists("type")) + { + m_type = BudgetActionTypeMapper::GetBudgetActionTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue BudgetActionToAdd::Jsonize() const +{ + JsonValue payload; + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_thresholdPercentageHasBeenSet) + { + payload.WithDouble("thresholdPercentage", m_thresholdPercentage); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", BudgetActionTypeMapper::GetNameForBudgetActionType(m_type)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionToRemove.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionToRemove.cpp new file mode 100644 index 00000000000..8df07879968 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionToRemove.cpp @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +BudgetActionToRemove::BudgetActionToRemove() : + m_thresholdPercentage(0.0), + m_thresholdPercentageHasBeenSet(false), + m_type(BudgetActionType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +BudgetActionToRemove::BudgetActionToRemove(JsonView jsonValue) : + m_thresholdPercentage(0.0), + m_thresholdPercentageHasBeenSet(false), + m_type(BudgetActionType::NOT_SET), + m_typeHasBeenSet(false) +{ + *this = jsonValue; +} + +BudgetActionToRemove& BudgetActionToRemove::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("thresholdPercentage")) + { + m_thresholdPercentage = jsonValue.GetDouble("thresholdPercentage"); + + m_thresholdPercentageHasBeenSet = true; + } + + if(jsonValue.ValueExists("type")) + { + m_type = BudgetActionTypeMapper::GetBudgetActionTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue BudgetActionToRemove::Jsonize() const +{ + JsonValue payload; + + if(m_thresholdPercentageHasBeenSet) + { + payload.WithDouble("thresholdPercentage", m_thresholdPercentage); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", BudgetActionTypeMapper::GetNameForBudgetActionType(m_type)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionType.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionType.cpp new file mode 100644 index 00000000000..66fc3b0fae7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace BudgetActionTypeMapper + { + + static const int STOP_SCHEDULING_AND_COMPLETE_TASKS_HASH = HashingUtils::HashString("STOP_SCHEDULING_AND_COMPLETE_TASKS"); + static const int STOP_SCHEDULING_AND_CANCEL_TASKS_HASH = HashingUtils::HashString("STOP_SCHEDULING_AND_CANCEL_TASKS"); + + + BudgetActionType GetBudgetActionTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == STOP_SCHEDULING_AND_COMPLETE_TASKS_HASH) + { + return BudgetActionType::STOP_SCHEDULING_AND_COMPLETE_TASKS; + } + else if (hashCode == STOP_SCHEDULING_AND_CANCEL_TASKS_HASH) + { + return BudgetActionType::STOP_SCHEDULING_AND_CANCEL_TASKS; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return BudgetActionType::NOT_SET; + } + + Aws::String GetNameForBudgetActionType(BudgetActionType enumValue) + { + switch(enumValue) + { + case BudgetActionType::NOT_SET: + return {}; + case BudgetActionType::STOP_SCHEDULING_AND_COMPLETE_TASKS: + return "STOP_SCHEDULING_AND_COMPLETE_TASKS"; + case BudgetActionType::STOP_SCHEDULING_AND_CANCEL_TASKS: + return "STOP_SCHEDULING_AND_CANCEL_TASKS"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace BudgetActionTypeMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/BudgetSchedule.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetSchedule.cpp new file mode 100644 index 00000000000..b9f4728066f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetSchedule.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +BudgetSchedule::BudgetSchedule() : + m_fixedHasBeenSet(false) +{ +} + +BudgetSchedule::BudgetSchedule(JsonView jsonValue) : + m_fixedHasBeenSet(false) +{ + *this = jsonValue; +} + +BudgetSchedule& BudgetSchedule::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("fixed")) + { + m_fixed = jsonValue.GetObject("fixed"); + + m_fixedHasBeenSet = true; + } + + return *this; +} + +JsonValue BudgetSchedule::Jsonize() const +{ + JsonValue payload; + + if(m_fixedHasBeenSet) + { + payload.WithObject("fixed", m_fixed.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/BudgetStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetStatus.cpp new file mode 100644 index 00000000000..53018fcba3c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetStatus.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace BudgetStatusMapper + { + + static const int ACTIVE_HASH = HashingUtils::HashString("ACTIVE"); + static const int INACTIVE_HASH = HashingUtils::HashString("INACTIVE"); + + + BudgetStatus GetBudgetStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ACTIVE_HASH) + { + return BudgetStatus::ACTIVE; + } + else if (hashCode == INACTIVE_HASH) + { + return BudgetStatus::INACTIVE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return BudgetStatus::NOT_SET; + } + + Aws::String GetNameForBudgetStatus(BudgetStatus enumValue) + { + switch(enumValue) + { + case BudgetStatus::NOT_SET: + return {}; + case BudgetStatus::ACTIVE: + return "ACTIVE"; + case BudgetStatus::INACTIVE: + return "INACTIVE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace BudgetStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/BudgetSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetSummary.cpp new file mode 100644 index 00000000000..87b58598bb1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetSummary.cpp @@ -0,0 +1,210 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +BudgetSummary::BudgetSummary() : + m_approximateDollarLimit(0.0), + m_approximateDollarLimitHasBeenSet(false), + m_budgetIdHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_status(BudgetStatus::NOT_SET), + m_statusHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false), + m_usageTrackingResourceHasBeenSet(false), + m_usagesHasBeenSet(false) +{ +} + +BudgetSummary::BudgetSummary(JsonView jsonValue) : + m_approximateDollarLimit(0.0), + m_approximateDollarLimitHasBeenSet(false), + m_budgetIdHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_status(BudgetStatus::NOT_SET), + m_statusHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false), + m_usageTrackingResourceHasBeenSet(false), + m_usagesHasBeenSet(false) +{ + *this = jsonValue; +} + +BudgetSummary& BudgetSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("approximateDollarLimit")) + { + m_approximateDollarLimit = jsonValue.GetDouble("approximateDollarLimit"); + + m_approximateDollarLimitHasBeenSet = true; + } + + if(jsonValue.ValueExists("budgetId")) + { + m_budgetId = jsonValue.GetString("budgetId"); + + m_budgetIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + m_descriptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("displayName")) + { + m_displayName = jsonValue.GetString("displayName"); + + m_displayNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = BudgetStatusMapper::GetBudgetStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + m_updatedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + m_updatedByHasBeenSet = true; + } + + if(jsonValue.ValueExists("usageTrackingResource")) + { + m_usageTrackingResource = jsonValue.GetObject("usageTrackingResource"); + + m_usageTrackingResourceHasBeenSet = true; + } + + if(jsonValue.ValueExists("usages")) + { + m_usages = jsonValue.GetObject("usages"); + + m_usagesHasBeenSet = true; + } + + return *this; +} + +JsonValue BudgetSummary::Jsonize() const +{ + JsonValue payload; + + if(m_approximateDollarLimitHasBeenSet) + { + payload.WithDouble("approximateDollarLimit", m_approximateDollarLimit); + + } + + if(m_budgetIdHasBeenSet) + { + payload.WithString("budgetId", m_budgetId); + + } + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", BudgetStatusMapper::GetNameForBudgetStatus(m_status)); + } + + if(m_updatedAtHasBeenSet) + { + payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_updatedByHasBeenSet) + { + payload.WithString("updatedBy", m_updatedBy); + + } + + if(m_usageTrackingResourceHasBeenSet) + { + payload.WithObject("usageTrackingResource", m_usageTrackingResource.Jsonize()); + + } + + if(m_usagesHasBeenSet) + { + payload.WithObject("usages", m_usages.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ComparisonOperator.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ComparisonOperator.cpp new file mode 100644 index 00000000000..c92df502f26 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ComparisonOperator.cpp @@ -0,0 +1,100 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace ComparisonOperatorMapper + { + + static const int EQUAL_HASH = HashingUtils::HashString("EQUAL"); + static const int NOT_EQUAL_HASH = HashingUtils::HashString("NOT_EQUAL"); + static const int GREATER_THAN_EQUAL_TO_HASH = HashingUtils::HashString("GREATER_THAN_EQUAL_TO"); + static const int GREATER_THAN_HASH = HashingUtils::HashString("GREATER_THAN"); + static const int LESS_THAN_EQUAL_TO_HASH = HashingUtils::HashString("LESS_THAN_EQUAL_TO"); + static const int LESS_THAN_HASH = HashingUtils::HashString("LESS_THAN"); + + + ComparisonOperator GetComparisonOperatorForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == EQUAL_HASH) + { + return ComparisonOperator::EQUAL; + } + else if (hashCode == NOT_EQUAL_HASH) + { + return ComparisonOperator::NOT_EQUAL; + } + else if (hashCode == GREATER_THAN_EQUAL_TO_HASH) + { + return ComparisonOperator::GREATER_THAN_EQUAL_TO; + } + else if (hashCode == GREATER_THAN_HASH) + { + return ComparisonOperator::GREATER_THAN; + } + else if (hashCode == LESS_THAN_EQUAL_TO_HASH) + { + return ComparisonOperator::LESS_THAN_EQUAL_TO; + } + else if (hashCode == LESS_THAN_HASH) + { + return ComparisonOperator::LESS_THAN; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ComparisonOperator::NOT_SET; + } + + Aws::String GetNameForComparisonOperator(ComparisonOperator enumValue) + { + switch(enumValue) + { + case ComparisonOperator::NOT_SET: + return {}; + case ComparisonOperator::EQUAL: + return "EQUAL"; + case ComparisonOperator::NOT_EQUAL: + return "NOT_EQUAL"; + case ComparisonOperator::GREATER_THAN_EQUAL_TO: + return "GREATER_THAN_EQUAL_TO"; + case ComparisonOperator::GREATER_THAN: + return "GREATER_THAN"; + case ComparisonOperator::LESS_THAN_EQUAL_TO: + return "LESS_THAN_EQUAL_TO"; + case ComparisonOperator::LESS_THAN: + return "LESS_THAN"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ComparisonOperatorMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CompletedStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CompletedStatus.cpp new file mode 100644 index 00000000000..0646581019c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CompletedStatus.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace CompletedStatusMapper + { + + static const int SUCCEEDED_HASH = HashingUtils::HashString("SUCCEEDED"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + static const int INTERRUPTED_HASH = HashingUtils::HashString("INTERRUPTED"); + static const int CANCELED_HASH = HashingUtils::HashString("CANCELED"); + static const int NEVER_ATTEMPTED_HASH = HashingUtils::HashString("NEVER_ATTEMPTED"); + + + CompletedStatus GetCompletedStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == SUCCEEDED_HASH) + { + return CompletedStatus::SUCCEEDED; + } + else if (hashCode == FAILED_HASH) + { + return CompletedStatus::FAILED; + } + else if (hashCode == INTERRUPTED_HASH) + { + return CompletedStatus::INTERRUPTED; + } + else if (hashCode == CANCELED_HASH) + { + return CompletedStatus::CANCELED; + } + else if (hashCode == NEVER_ATTEMPTED_HASH) + { + return CompletedStatus::NEVER_ATTEMPTED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return CompletedStatus::NOT_SET; + } + + Aws::String GetNameForCompletedStatus(CompletedStatus enumValue) + { + switch(enumValue) + { + case CompletedStatus::NOT_SET: + return {}; + case CompletedStatus::SUCCEEDED: + return "SUCCEEDED"; + case CompletedStatus::FAILED: + return "FAILED"; + case CompletedStatus::INTERRUPTED: + return "INTERRUPTED"; + case CompletedStatus::CANCELED: + return "CANCELED"; + case CompletedStatus::NEVER_ATTEMPTED: + return "NEVER_ATTEMPTED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace CompletedStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ConflictException.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ConflictException.cpp new file mode 100644 index 00000000000..712050f76ad --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ConflictException.cpp @@ -0,0 +1,128 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +ConflictException::ConflictException() : + m_contextHasBeenSet(false), + m_messageHasBeenSet(false), + m_reason(ConflictExceptionReason::NOT_SET), + m_reasonHasBeenSet(false), + m_resourceIdHasBeenSet(false), + m_resourceTypeHasBeenSet(false) +{ +} + +ConflictException::ConflictException(JsonView jsonValue) : + m_contextHasBeenSet(false), + m_messageHasBeenSet(false), + m_reason(ConflictExceptionReason::NOT_SET), + m_reasonHasBeenSet(false), + m_resourceIdHasBeenSet(false), + m_resourceTypeHasBeenSet(false) +{ + *this = jsonValue; +} + +ConflictException& ConflictException::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("context")) + { + Aws::Map contextJsonMap = jsonValue.GetObject("context").GetAllObjects(); + for(auto& contextItem : contextJsonMap) + { + m_context[contextItem.first] = contextItem.second.AsString(); + } + m_contextHasBeenSet = true; + } + + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("reason")) + { + m_reason = ConflictExceptionReasonMapper::GetConflictExceptionReasonForName(jsonValue.GetString("reason")); + + m_reasonHasBeenSet = true; + } + + if(jsonValue.ValueExists("resourceId")) + { + m_resourceId = jsonValue.GetString("resourceId"); + + m_resourceIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("resourceType")) + { + m_resourceType = jsonValue.GetString("resourceType"); + + m_resourceTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue ConflictException::Jsonize() const +{ + JsonValue payload; + + if(m_contextHasBeenSet) + { + JsonValue contextJsonMap; + for(auto& contextItem : m_context) + { + contextJsonMap.WithString(contextItem.first, contextItem.second); + } + payload.WithObject("context", std::move(contextJsonMap)); + + } + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + if(m_reasonHasBeenSet) + { + payload.WithString("reason", ConflictExceptionReasonMapper::GetNameForConflictExceptionReason(m_reason)); + } + + if(m_resourceIdHasBeenSet) + { + payload.WithString("resourceId", m_resourceId); + + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("resourceType", m_resourceType); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ConflictExceptionReason.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ConflictExceptionReason.cpp new file mode 100644 index 00000000000..b62b657c445 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ConflictExceptionReason.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace ConflictExceptionReasonMapper + { + + static const int CONFLICT_EXCEPTION_HASH = HashingUtils::HashString("CONFLICT_EXCEPTION"); + static const int CONCURRENT_MODIFICATION_HASH = HashingUtils::HashString("CONCURRENT_MODIFICATION"); + static const int RESOURCE_ALREADY_EXISTS_HASH = HashingUtils::HashString("RESOURCE_ALREADY_EXISTS"); + static const int RESOURCE_IN_USE_HASH = HashingUtils::HashString("RESOURCE_IN_USE"); + static const int STATUS_CONFLICT_HASH = HashingUtils::HashString("STATUS_CONFLICT"); + + + ConflictExceptionReason GetConflictExceptionReasonForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CONFLICT_EXCEPTION_HASH) + { + return ConflictExceptionReason::CONFLICT_EXCEPTION; + } + else if (hashCode == CONCURRENT_MODIFICATION_HASH) + { + return ConflictExceptionReason::CONCURRENT_MODIFICATION; + } + else if (hashCode == RESOURCE_ALREADY_EXISTS_HASH) + { + return ConflictExceptionReason::RESOURCE_ALREADY_EXISTS; + } + else if (hashCode == RESOURCE_IN_USE_HASH) + { + return ConflictExceptionReason::RESOURCE_IN_USE; + } + else if (hashCode == STATUS_CONFLICT_HASH) + { + return ConflictExceptionReason::STATUS_CONFLICT; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ConflictExceptionReason::NOT_SET; + } + + Aws::String GetNameForConflictExceptionReason(ConflictExceptionReason enumValue) + { + switch(enumValue) + { + case ConflictExceptionReason::NOT_SET: + return {}; + case ConflictExceptionReason::CONFLICT_EXCEPTION: + return "CONFLICT_EXCEPTION"; + case ConflictExceptionReason::CONCURRENT_MODIFICATION: + return "CONCURRENT_MODIFICATION"; + case ConflictExceptionReason::RESOURCE_ALREADY_EXISTS: + return "RESOURCE_ALREADY_EXISTS"; + case ConflictExceptionReason::RESOURCE_IN_USE: + return "RESOURCE_IN_USE"; + case ConflictExceptionReason::STATUS_CONFLICT: + return "STATUS_CONFLICT"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ConflictExceptionReasonMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ConsumedUsages.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ConsumedUsages.cpp new file mode 100644 index 00000000000..3a190af0825 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ConsumedUsages.cpp @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +ConsumedUsages::ConsumedUsages() : + m_approximateDollarUsage(0.0), + m_approximateDollarUsageHasBeenSet(false) +{ +} + +ConsumedUsages::ConsumedUsages(JsonView jsonValue) : + m_approximateDollarUsage(0.0), + m_approximateDollarUsageHasBeenSet(false) +{ + *this = jsonValue; +} + +ConsumedUsages& ConsumedUsages::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("approximateDollarUsage")) + { + m_approximateDollarUsage = jsonValue.GetDouble("approximateDollarUsage"); + + m_approximateDollarUsageHasBeenSet = true; + } + + return *this; +} + +JsonValue ConsumedUsages::Jsonize() const +{ + JsonValue payload; + + if(m_approximateDollarUsageHasBeenSet) + { + payload.WithDouble("approximateDollarUsage", m_approximateDollarUsage); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CopyJobTemplateRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CopyJobTemplateRequest.cpp new file mode 100644 index 00000000000..48d76354a1e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CopyJobTemplateRequest.cpp @@ -0,0 +1,38 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CopyJobTemplateRequest::CopyJobTemplateRequest() : + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_targetS3LocationHasBeenSet(false) +{ +} + +Aws::String CopyJobTemplateRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_targetS3LocationHasBeenSet) + { + payload.WithObject("targetS3Location", m_targetS3Location.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CopyJobTemplateResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CopyJobTemplateResult.cpp new file mode 100644 index 00000000000..d904db98efa --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CopyJobTemplateResult.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CopyJobTemplateResult::CopyJobTemplateResult() : + m_templateType(JobTemplateType::NOT_SET) +{ +} + +CopyJobTemplateResult::CopyJobTemplateResult(const Aws::AmazonWebServiceResult& result) : + m_templateType(JobTemplateType::NOT_SET) +{ + *this = result; +} + +CopyJobTemplateResult& CopyJobTemplateResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("templateType")) + { + m_templateType = JobTemplateTypeMapper::GetJobTemplateTypeForName(jsonValue.GetString("templateType")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CpuArchitectureType.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CpuArchitectureType.cpp new file mode 100644 index 00000000000..a275784a610 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CpuArchitectureType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace CpuArchitectureTypeMapper + { + + static const int x86_64_HASH = HashingUtils::HashString("x86_64"); + static const int arm64_HASH = HashingUtils::HashString("arm64"); + + + CpuArchitectureType GetCpuArchitectureTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == x86_64_HASH) + { + return CpuArchitectureType::x86_64; + } + else if (hashCode == arm64_HASH) + { + return CpuArchitectureType::arm64; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return CpuArchitectureType::NOT_SET; + } + + Aws::String GetNameForCpuArchitectureType(CpuArchitectureType enumValue) + { + switch(enumValue) + { + case CpuArchitectureType::NOT_SET: + return {}; + case CpuArchitectureType::x86_64: + return "x86_64"; + case CpuArchitectureType::arm64: + return "arm64"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace CpuArchitectureTypeMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateBudgetRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateBudgetRequest.cpp new file mode 100644 index 00000000000..08a2812fd6e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateBudgetRequest.cpp @@ -0,0 +1,95 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateBudgetRequest::CreateBudgetRequest() : + m_actionsHasBeenSet(false), + m_approximateDollarLimit(0.0), + m_approximateDollarLimitHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_descriptionHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_scheduleHasBeenSet(false), + m_usageTrackingResourceHasBeenSet(false) +{ +} + +Aws::String CreateBudgetRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_actionsHasBeenSet) + { + Aws::Utils::Array actionsJsonList(m_actions.size()); + for(unsigned actionsIndex = 0; actionsIndex < actionsJsonList.GetLength(); ++actionsIndex) + { + actionsJsonList[actionsIndex].AsObject(m_actions[actionsIndex].Jsonize()); + } + payload.WithArray("actions", std::move(actionsJsonList)); + + } + + if(m_approximateDollarLimitHasBeenSet) + { + payload.WithDouble("approximateDollarLimit", m_approximateDollarLimit); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_scheduleHasBeenSet) + { + payload.WithObject("schedule", m_schedule.Jsonize()); + + } + + if(m_usageTrackingResourceHasBeenSet) + { + payload.WithObject("usageTrackingResource", m_usageTrackingResource.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreateBudgetRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateBudgetResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateBudgetResult.cpp new file mode 100644 index 00000000000..0ffdfc72d05 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateBudgetResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateBudgetResult::CreateBudgetResult() +{ +} + +CreateBudgetResult::CreateBudgetResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateBudgetResult& CreateBudgetResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("budgetId")) + { + m_budgetId = jsonValue.GetString("budgetId"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateFarmRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateFarmRequest.cpp new file mode 100644 index 00000000000..9711cc2af53 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateFarmRequest.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateFarmRequest::CreateFarmRequest() : + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_descriptionHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_kmsKeyArnHasBeenSet(false), + m_tagsHasBeenSet(false) +{ +} + +Aws::String CreateFarmRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_kmsKeyArnHasBeenSet) + { + payload.WithString("kmsKeyArn", m_kmsKeyArn); + + } + + if(m_tagsHasBeenSet) + { + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("tags", std::move(tagsJsonMap)); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreateFarmRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateFarmResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateFarmResult.cpp new file mode 100644 index 00000000000..ae0b3c79906 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateFarmResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateFarmResult::CreateFarmResult() +{ +} + +CreateFarmResult::CreateFarmResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateFarmResult& CreateFarmResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("farmId")) + { + m_farmId = jsonValue.GetString("farmId"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateFleetRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateFleetRequest.cpp new file mode 100644 index 00000000000..82f11f6d937 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateFleetRequest.cpp @@ -0,0 +1,103 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateFleetRequest::CreateFleetRequest() : + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_configurationHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_maxWorkerCount(0), + m_maxWorkerCountHasBeenSet(false), + m_minWorkerCount(0), + m_minWorkerCountHasBeenSet(false), + m_roleArnHasBeenSet(false), + m_tagsHasBeenSet(false) +{ +} + +Aws::String CreateFleetRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_configurationHasBeenSet) + { + payload.WithObject("configuration", m_configuration.Jsonize()); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_maxWorkerCountHasBeenSet) + { + payload.WithInteger("maxWorkerCount", m_maxWorkerCount); + + } + + if(m_minWorkerCountHasBeenSet) + { + payload.WithInteger("minWorkerCount", m_minWorkerCount); + + } + + if(m_roleArnHasBeenSet) + { + payload.WithString("roleArn", m_roleArn); + + } + + if(m_tagsHasBeenSet) + { + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("tags", std::move(tagsJsonMap)); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreateFleetRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateFleetResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateFleetResult.cpp new file mode 100644 index 00000000000..341e05d91b1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateFleetResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateFleetResult::CreateFleetResult() +{ +} + +CreateFleetResult::CreateFleetResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateFleetResult& CreateFleetResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("fleetId")) + { + m_fleetId = jsonValue.GetString("fleetId"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateJobRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateJobRequest.cpp new file mode 100644 index 00000000000..cf0b852da84 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateJobRequest.cpp @@ -0,0 +1,119 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateJobRequest::CreateJobRequest() : + m_attachmentsHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_farmIdHasBeenSet(false), + m_maxFailedTasksCount(0), + m_maxFailedTasksCountHasBeenSet(false), + m_maxRetriesPerTask(0), + m_maxRetriesPerTaskHasBeenSet(false), + m_parametersHasBeenSet(false), + m_priority(0), + m_priorityHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_storageProfileIdHasBeenSet(false), + m_targetTaskRunStatus(CreateJobTargetTaskRunStatus::NOT_SET), + m_targetTaskRunStatusHasBeenSet(false), + m_templateHasBeenSet(false), + m_templateType(JobTemplateType::NOT_SET), + m_templateTypeHasBeenSet(false) +{ +} + +Aws::String CreateJobRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_attachmentsHasBeenSet) + { + payload.WithObject("attachments", m_attachments.Jsonize()); + + } + + if(m_maxFailedTasksCountHasBeenSet) + { + payload.WithInteger("maxFailedTasksCount", m_maxFailedTasksCount); + + } + + if(m_maxRetriesPerTaskHasBeenSet) + { + payload.WithInteger("maxRetriesPerTask", m_maxRetriesPerTask); + + } + + if(m_parametersHasBeenSet) + { + JsonValue parametersJsonMap; + for(auto& parametersItem : m_parameters) + { + parametersJsonMap.WithObject(parametersItem.first, parametersItem.second.Jsonize()); + } + payload.WithObject("parameters", std::move(parametersJsonMap)); + + } + + if(m_priorityHasBeenSet) + { + payload.WithInteger("priority", m_priority); + + } + + if(m_storageProfileIdHasBeenSet) + { + payload.WithString("storageProfileId", m_storageProfileId); + + } + + if(m_targetTaskRunStatusHasBeenSet) + { + payload.WithString("targetTaskRunStatus", CreateJobTargetTaskRunStatusMapper::GetNameForCreateJobTargetTaskRunStatus(m_targetTaskRunStatus)); + } + + if(m_templateHasBeenSet) + { + payload.WithString("template", m_template); + + } + + if(m_templateTypeHasBeenSet) + { + payload.WithString("templateType", JobTemplateTypeMapper::GetNameForJobTemplateType(m_templateType)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreateJobRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateJobResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateJobResult.cpp new file mode 100644 index 00000000000..98b052e7ab0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateJobResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateJobResult::CreateJobResult() +{ +} + +CreateJobResult::CreateJobResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateJobResult& CreateJobResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateJobTargetTaskRunStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateJobTargetTaskRunStatus.cpp new file mode 100644 index 00000000000..9bcea56de83 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateJobTargetTaskRunStatus.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace CreateJobTargetTaskRunStatusMapper + { + + static const int READY_HASH = HashingUtils::HashString("READY"); + static const int SUSPENDED_HASH = HashingUtils::HashString("SUSPENDED"); + + + CreateJobTargetTaskRunStatus GetCreateJobTargetTaskRunStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == READY_HASH) + { + return CreateJobTargetTaskRunStatus::READY; + } + else if (hashCode == SUSPENDED_HASH) + { + return CreateJobTargetTaskRunStatus::SUSPENDED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return CreateJobTargetTaskRunStatus::NOT_SET; + } + + Aws::String GetNameForCreateJobTargetTaskRunStatus(CreateJobTargetTaskRunStatus enumValue) + { + switch(enumValue) + { + case CreateJobTargetTaskRunStatus::NOT_SET: + return {}; + case CreateJobTargetTaskRunStatus::READY: + return "READY"; + case CreateJobTargetTaskRunStatus::SUSPENDED: + return "SUSPENDED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace CreateJobTargetTaskRunStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateLicenseEndpointRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateLicenseEndpointRequest.cpp new file mode 100644 index 00000000000..13ba326bd46 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateLicenseEndpointRequest.cpp @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateLicenseEndpointRequest::CreateLicenseEndpointRequest() : + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_securityGroupIdsHasBeenSet(false), + m_subnetIdsHasBeenSet(false), + m_tagsHasBeenSet(false), + m_vpcIdHasBeenSet(false) +{ +} + +Aws::String CreateLicenseEndpointRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_securityGroupIdsHasBeenSet) + { + Aws::Utils::Array securityGroupIdsJsonList(m_securityGroupIds.size()); + for(unsigned securityGroupIdsIndex = 0; securityGroupIdsIndex < securityGroupIdsJsonList.GetLength(); ++securityGroupIdsIndex) + { + securityGroupIdsJsonList[securityGroupIdsIndex].AsString(m_securityGroupIds[securityGroupIdsIndex]); + } + payload.WithArray("securityGroupIds", std::move(securityGroupIdsJsonList)); + + } + + if(m_subnetIdsHasBeenSet) + { + Aws::Utils::Array subnetIdsJsonList(m_subnetIds.size()); + for(unsigned subnetIdsIndex = 0; subnetIdsIndex < subnetIdsJsonList.GetLength(); ++subnetIdsIndex) + { + subnetIdsJsonList[subnetIdsIndex].AsString(m_subnetIds[subnetIdsIndex]); + } + payload.WithArray("subnetIds", std::move(subnetIdsJsonList)); + + } + + if(m_tagsHasBeenSet) + { + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("tags", std::move(tagsJsonMap)); + + } + + if(m_vpcIdHasBeenSet) + { + payload.WithString("vpcId", m_vpcId); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreateLicenseEndpointRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateLicenseEndpointResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateLicenseEndpointResult.cpp new file mode 100644 index 00000000000..38ad14a62f1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateLicenseEndpointResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateLicenseEndpointResult::CreateLicenseEndpointResult() +{ +} + +CreateLicenseEndpointResult::CreateLicenseEndpointResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateLicenseEndpointResult& CreateLicenseEndpointResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("licenseEndpointId")) + { + m_licenseEndpointId = jsonValue.GetString("licenseEndpointId"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateMonitorRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateMonitorRequest.cpp new file mode 100644 index 00000000000..ecfeebbdde9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateMonitorRequest.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateMonitorRequest::CreateMonitorRequest() : + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_displayNameHasBeenSet(false), + m_identityCenterInstanceArnHasBeenSet(false), + m_roleArnHasBeenSet(false), + m_subdomainHasBeenSet(false) +{ +} + +Aws::String CreateMonitorRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_identityCenterInstanceArnHasBeenSet) + { + payload.WithString("identityCenterInstanceArn", m_identityCenterInstanceArn); + + } + + if(m_roleArnHasBeenSet) + { + payload.WithString("roleArn", m_roleArn); + + } + + if(m_subdomainHasBeenSet) + { + payload.WithString("subdomain", m_subdomain); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreateMonitorRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateMonitorResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateMonitorResult.cpp new file mode 100644 index 00000000000..48dfdbe045a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateMonitorResult.cpp @@ -0,0 +1,54 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateMonitorResult::CreateMonitorResult() +{ +} + +CreateMonitorResult::CreateMonitorResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateMonitorResult& CreateMonitorResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("identityCenterApplicationArn")) + { + m_identityCenterApplicationArn = jsonValue.GetString("identityCenterApplicationArn"); + + } + + if(jsonValue.ValueExists("monitorId")) + { + m_monitorId = jsonValue.GetString("monitorId"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueEnvironmentRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueEnvironmentRequest.cpp new file mode 100644 index 00000000000..2e9d959434d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueEnvironmentRequest.cpp @@ -0,0 +1,70 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateQueueEnvironmentRequest::CreateQueueEnvironmentRequest() : + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_farmIdHasBeenSet(false), + m_priority(0), + m_priorityHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_templateHasBeenSet(false), + m_templateType(EnvironmentTemplateType::NOT_SET), + m_templateTypeHasBeenSet(false) +{ +} + +Aws::String CreateQueueEnvironmentRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_priorityHasBeenSet) + { + payload.WithInteger("priority", m_priority); + + } + + if(m_templateHasBeenSet) + { + payload.WithString("template", m_template); + + } + + if(m_templateTypeHasBeenSet) + { + payload.WithString("templateType", EnvironmentTemplateTypeMapper::GetNameForEnvironmentTemplateType(m_templateType)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreateQueueEnvironmentRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueEnvironmentResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueEnvironmentResult.cpp new file mode 100644 index 00000000000..0d3575360c9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueEnvironmentResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateQueueEnvironmentResult::CreateQueueEnvironmentResult() +{ +} + +CreateQueueEnvironmentResult::CreateQueueEnvironmentResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateQueueEnvironmentResult& CreateQueueEnvironmentResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("queueEnvironmentId")) + { + m_queueEnvironmentId = jsonValue.GetString("queueEnvironmentId"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueFleetAssociationRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueFleetAssociationRequest.cpp new file mode 100644 index 00000000000..7881a2828e2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueFleetAssociationRequest.cpp @@ -0,0 +1,43 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateQueueFleetAssociationRequest::CreateQueueFleetAssociationRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String CreateQueueFleetAssociationRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_fleetIdHasBeenSet) + { + payload.WithString("fleetId", m_fleetId); + + } + + if(m_queueIdHasBeenSet) + { + payload.WithString("queueId", m_queueId); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueFleetAssociationResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueFleetAssociationResult.cpp new file mode 100644 index 00000000000..f4c4900dcef --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueFleetAssociationResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateQueueFleetAssociationResult::CreateQueueFleetAssociationResult() +{ +} + +CreateQueueFleetAssociationResult::CreateQueueFleetAssociationResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateQueueFleetAssociationResult& CreateQueueFleetAssociationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueRequest.cpp new file mode 100644 index 00000000000..363339ab1bc --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueRequest.cpp @@ -0,0 +1,125 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateQueueRequest::CreateQueueRequest() : + m_allowedStorageProfileIdsHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_defaultBudgetAction(DefaultQueueBudgetAction::NOT_SET), + m_defaultBudgetActionHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_jobAttachmentSettingsHasBeenSet(false), + m_jobRunAsUserHasBeenSet(false), + m_requiredFileSystemLocationNamesHasBeenSet(false), + m_roleArnHasBeenSet(false), + m_tagsHasBeenSet(false) +{ +} + +Aws::String CreateQueueRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_allowedStorageProfileIdsHasBeenSet) + { + Aws::Utils::Array allowedStorageProfileIdsJsonList(m_allowedStorageProfileIds.size()); + for(unsigned allowedStorageProfileIdsIndex = 0; allowedStorageProfileIdsIndex < allowedStorageProfileIdsJsonList.GetLength(); ++allowedStorageProfileIdsIndex) + { + allowedStorageProfileIdsJsonList[allowedStorageProfileIdsIndex].AsString(m_allowedStorageProfileIds[allowedStorageProfileIdsIndex]); + } + payload.WithArray("allowedStorageProfileIds", std::move(allowedStorageProfileIdsJsonList)); + + } + + if(m_defaultBudgetActionHasBeenSet) + { + payload.WithString("defaultBudgetAction", DefaultQueueBudgetActionMapper::GetNameForDefaultQueueBudgetAction(m_defaultBudgetAction)); + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_jobAttachmentSettingsHasBeenSet) + { + payload.WithObject("jobAttachmentSettings", m_jobAttachmentSettings.Jsonize()); + + } + + if(m_jobRunAsUserHasBeenSet) + { + payload.WithObject("jobRunAsUser", m_jobRunAsUser.Jsonize()); + + } + + if(m_requiredFileSystemLocationNamesHasBeenSet) + { + Aws::Utils::Array requiredFileSystemLocationNamesJsonList(m_requiredFileSystemLocationNames.size()); + for(unsigned requiredFileSystemLocationNamesIndex = 0; requiredFileSystemLocationNamesIndex < requiredFileSystemLocationNamesJsonList.GetLength(); ++requiredFileSystemLocationNamesIndex) + { + requiredFileSystemLocationNamesJsonList[requiredFileSystemLocationNamesIndex].AsString(m_requiredFileSystemLocationNames[requiredFileSystemLocationNamesIndex]); + } + payload.WithArray("requiredFileSystemLocationNames", std::move(requiredFileSystemLocationNamesJsonList)); + + } + + if(m_roleArnHasBeenSet) + { + payload.WithString("roleArn", m_roleArn); + + } + + if(m_tagsHasBeenSet) + { + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("tags", std::move(tagsJsonMap)); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreateQueueRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueResult.cpp new file mode 100644 index 00000000000..caafdfd1b37 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateQueueResult::CreateQueueResult() +{ +} + +CreateQueueResult::CreateQueueResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateQueueResult& CreateQueueResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("queueId")) + { + m_queueId = jsonValue.GetString("queueId"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateStorageProfileRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateStorageProfileRequest.cpp new file mode 100644 index 00000000000..9c3192db814 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateStorageProfileRequest.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateStorageProfileRequest::CreateStorageProfileRequest() : + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_displayNameHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_fileSystemLocationsHasBeenSet(false), + m_osFamily(StorageProfileOperatingSystemFamily::NOT_SET), + m_osFamilyHasBeenSet(false) +{ +} + +Aws::String CreateStorageProfileRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_fileSystemLocationsHasBeenSet) + { + Aws::Utils::Array fileSystemLocationsJsonList(m_fileSystemLocations.size()); + for(unsigned fileSystemLocationsIndex = 0; fileSystemLocationsIndex < fileSystemLocationsJsonList.GetLength(); ++fileSystemLocationsIndex) + { + fileSystemLocationsJsonList[fileSystemLocationsIndex].AsObject(m_fileSystemLocations[fileSystemLocationsIndex].Jsonize()); + } + payload.WithArray("fileSystemLocations", std::move(fileSystemLocationsJsonList)); + + } + + if(m_osFamilyHasBeenSet) + { + payload.WithString("osFamily", StorageProfileOperatingSystemFamilyMapper::GetNameForStorageProfileOperatingSystemFamily(m_osFamily)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreateStorageProfileRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateStorageProfileResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateStorageProfileResult.cpp new file mode 100644 index 00000000000..484f41b5038 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateStorageProfileResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateStorageProfileResult::CreateStorageProfileResult() +{ +} + +CreateStorageProfileResult::CreateStorageProfileResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateStorageProfileResult& CreateStorageProfileResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("storageProfileId")) + { + m_storageProfileId = jsonValue.GetString("storageProfileId"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateWorkerRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateWorkerRequest.cpp new file mode 100644 index 00000000000..b80581685e3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateWorkerRequest.cpp @@ -0,0 +1,55 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateWorkerRequest::CreateWorkerRequest() : + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_hostPropertiesHasBeenSet(false) +{ +} + +Aws::String CreateWorkerRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_hostPropertiesHasBeenSet) + { + payload.WithObject("hostProperties", m_hostProperties.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection CreateWorkerRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateWorkerResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateWorkerResult.cpp new file mode 100644 index 00000000000..b7a479cd066 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateWorkerResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateWorkerResult::CreateWorkerResult() +{ +} + +CreateWorkerResult::CreateWorkerResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateWorkerResult& CreateWorkerResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("workerId")) + { + m_workerId = jsonValue.GetString("workerId"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedFleetConfiguration.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedFleetConfiguration.cpp new file mode 100644 index 00000000000..38b93657766 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedFleetConfiguration.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +CustomerManagedFleetConfiguration::CustomerManagedFleetConfiguration() : + m_mode(AutoScalingMode::NOT_SET), + m_modeHasBeenSet(false), + m_storageProfileIdHasBeenSet(false), + m_workerCapabilitiesHasBeenSet(false) +{ +} + +CustomerManagedFleetConfiguration::CustomerManagedFleetConfiguration(JsonView jsonValue) : + m_mode(AutoScalingMode::NOT_SET), + m_modeHasBeenSet(false), + m_storageProfileIdHasBeenSet(false), + m_workerCapabilitiesHasBeenSet(false) +{ + *this = jsonValue; +} + +CustomerManagedFleetConfiguration& CustomerManagedFleetConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("mode")) + { + m_mode = AutoScalingModeMapper::GetAutoScalingModeForName(jsonValue.GetString("mode")); + + m_modeHasBeenSet = true; + } + + if(jsonValue.ValueExists("storageProfileId")) + { + m_storageProfileId = jsonValue.GetString("storageProfileId"); + + m_storageProfileIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("workerCapabilities")) + { + m_workerCapabilities = jsonValue.GetObject("workerCapabilities"); + + m_workerCapabilitiesHasBeenSet = true; + } + + return *this; +} + +JsonValue CustomerManagedFleetConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_modeHasBeenSet) + { + payload.WithString("mode", AutoScalingModeMapper::GetNameForAutoScalingMode(m_mode)); + } + + if(m_storageProfileIdHasBeenSet) + { + payload.WithString("storageProfileId", m_storageProfileId); + + } + + if(m_workerCapabilitiesHasBeenSet) + { + payload.WithObject("workerCapabilities", m_workerCapabilities.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedFleetOperatingSystemFamily.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedFleetOperatingSystemFamily.cpp new file mode 100644 index 00000000000..323aa43d39e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedFleetOperatingSystemFamily.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace CustomerManagedFleetOperatingSystemFamilyMapper + { + + static const int WINDOWS_HASH = HashingUtils::HashString("WINDOWS"); + static const int LINUX_HASH = HashingUtils::HashString("LINUX"); + static const int MACOS_HASH = HashingUtils::HashString("MACOS"); + + + CustomerManagedFleetOperatingSystemFamily GetCustomerManagedFleetOperatingSystemFamilyForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == WINDOWS_HASH) + { + return CustomerManagedFleetOperatingSystemFamily::WINDOWS; + } + else if (hashCode == LINUX_HASH) + { + return CustomerManagedFleetOperatingSystemFamily::LINUX; + } + else if (hashCode == MACOS_HASH) + { + return CustomerManagedFleetOperatingSystemFamily::MACOS; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return CustomerManagedFleetOperatingSystemFamily::NOT_SET; + } + + Aws::String GetNameForCustomerManagedFleetOperatingSystemFamily(CustomerManagedFleetOperatingSystemFamily enumValue) + { + switch(enumValue) + { + case CustomerManagedFleetOperatingSystemFamily::NOT_SET: + return {}; + case CustomerManagedFleetOperatingSystemFamily::WINDOWS: + return "WINDOWS"; + case CustomerManagedFleetOperatingSystemFamily::LINUX: + return "LINUX"; + case CustomerManagedFleetOperatingSystemFamily::MACOS: + return "MACOS"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace CustomerManagedFleetOperatingSystemFamilyMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedWorkerCapabilities.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedWorkerCapabilities.cpp new file mode 100644 index 00000000000..6918f2aba2f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedWorkerCapabilities.cpp @@ -0,0 +1,205 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +CustomerManagedWorkerCapabilities::CustomerManagedWorkerCapabilities() : + m_acceleratorCountHasBeenSet(false), + m_acceleratorTotalMemoryMiBHasBeenSet(false), + m_acceleratorTypesHasBeenSet(false), + m_cpuArchitectureType(CpuArchitectureType::NOT_SET), + m_cpuArchitectureTypeHasBeenSet(false), + m_customAmountsHasBeenSet(false), + m_customAttributesHasBeenSet(false), + m_memoryMiBHasBeenSet(false), + m_osFamily(CustomerManagedFleetOperatingSystemFamily::NOT_SET), + m_osFamilyHasBeenSet(false), + m_vCpuCountHasBeenSet(false) +{ +} + +CustomerManagedWorkerCapabilities::CustomerManagedWorkerCapabilities(JsonView jsonValue) : + m_acceleratorCountHasBeenSet(false), + m_acceleratorTotalMemoryMiBHasBeenSet(false), + m_acceleratorTypesHasBeenSet(false), + m_cpuArchitectureType(CpuArchitectureType::NOT_SET), + m_cpuArchitectureTypeHasBeenSet(false), + m_customAmountsHasBeenSet(false), + m_customAttributesHasBeenSet(false), + m_memoryMiBHasBeenSet(false), + m_osFamily(CustomerManagedFleetOperatingSystemFamily::NOT_SET), + m_osFamilyHasBeenSet(false), + m_vCpuCountHasBeenSet(false) +{ + *this = jsonValue; +} + +CustomerManagedWorkerCapabilities& CustomerManagedWorkerCapabilities::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("acceleratorCount")) + { + m_acceleratorCount = jsonValue.GetObject("acceleratorCount"); + + m_acceleratorCountHasBeenSet = true; + } + + if(jsonValue.ValueExists("acceleratorTotalMemoryMiB")) + { + m_acceleratorTotalMemoryMiB = jsonValue.GetObject("acceleratorTotalMemoryMiB"); + + m_acceleratorTotalMemoryMiBHasBeenSet = true; + } + + if(jsonValue.ValueExists("acceleratorTypes")) + { + Aws::Utils::Array acceleratorTypesJsonList = jsonValue.GetArray("acceleratorTypes"); + for(unsigned acceleratorTypesIndex = 0; acceleratorTypesIndex < acceleratorTypesJsonList.GetLength(); ++acceleratorTypesIndex) + { + m_acceleratorTypes.push_back(AcceleratorTypeMapper::GetAcceleratorTypeForName(acceleratorTypesJsonList[acceleratorTypesIndex].AsString())); + } + m_acceleratorTypesHasBeenSet = true; + } + + if(jsonValue.ValueExists("cpuArchitectureType")) + { + m_cpuArchitectureType = CpuArchitectureTypeMapper::GetCpuArchitectureTypeForName(jsonValue.GetString("cpuArchitectureType")); + + m_cpuArchitectureTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("customAmounts")) + { + Aws::Utils::Array customAmountsJsonList = jsonValue.GetArray("customAmounts"); + for(unsigned customAmountsIndex = 0; customAmountsIndex < customAmountsJsonList.GetLength(); ++customAmountsIndex) + { + m_customAmounts.push_back(customAmountsJsonList[customAmountsIndex].AsObject()); + } + m_customAmountsHasBeenSet = true; + } + + if(jsonValue.ValueExists("customAttributes")) + { + Aws::Utils::Array customAttributesJsonList = jsonValue.GetArray("customAttributes"); + for(unsigned customAttributesIndex = 0; customAttributesIndex < customAttributesJsonList.GetLength(); ++customAttributesIndex) + { + m_customAttributes.push_back(customAttributesJsonList[customAttributesIndex].AsObject()); + } + m_customAttributesHasBeenSet = true; + } + + if(jsonValue.ValueExists("memoryMiB")) + { + m_memoryMiB = jsonValue.GetObject("memoryMiB"); + + m_memoryMiBHasBeenSet = true; + } + + if(jsonValue.ValueExists("osFamily")) + { + m_osFamily = CustomerManagedFleetOperatingSystemFamilyMapper::GetCustomerManagedFleetOperatingSystemFamilyForName(jsonValue.GetString("osFamily")); + + m_osFamilyHasBeenSet = true; + } + + if(jsonValue.ValueExists("vCpuCount")) + { + m_vCpuCount = jsonValue.GetObject("vCpuCount"); + + m_vCpuCountHasBeenSet = true; + } + + return *this; +} + +JsonValue CustomerManagedWorkerCapabilities::Jsonize() const +{ + JsonValue payload; + + if(m_acceleratorCountHasBeenSet) + { + payload.WithObject("acceleratorCount", m_acceleratorCount.Jsonize()); + + } + + if(m_acceleratorTotalMemoryMiBHasBeenSet) + { + payload.WithObject("acceleratorTotalMemoryMiB", m_acceleratorTotalMemoryMiB.Jsonize()); + + } + + if(m_acceleratorTypesHasBeenSet) + { + Aws::Utils::Array acceleratorTypesJsonList(m_acceleratorTypes.size()); + for(unsigned acceleratorTypesIndex = 0; acceleratorTypesIndex < acceleratorTypesJsonList.GetLength(); ++acceleratorTypesIndex) + { + acceleratorTypesJsonList[acceleratorTypesIndex].AsString(AcceleratorTypeMapper::GetNameForAcceleratorType(m_acceleratorTypes[acceleratorTypesIndex])); + } + payload.WithArray("acceleratorTypes", std::move(acceleratorTypesJsonList)); + + } + + if(m_cpuArchitectureTypeHasBeenSet) + { + payload.WithString("cpuArchitectureType", CpuArchitectureTypeMapper::GetNameForCpuArchitectureType(m_cpuArchitectureType)); + } + + if(m_customAmountsHasBeenSet) + { + Aws::Utils::Array customAmountsJsonList(m_customAmounts.size()); + for(unsigned customAmountsIndex = 0; customAmountsIndex < customAmountsJsonList.GetLength(); ++customAmountsIndex) + { + customAmountsJsonList[customAmountsIndex].AsObject(m_customAmounts[customAmountsIndex].Jsonize()); + } + payload.WithArray("customAmounts", std::move(customAmountsJsonList)); + + } + + if(m_customAttributesHasBeenSet) + { + Aws::Utils::Array customAttributesJsonList(m_customAttributes.size()); + for(unsigned customAttributesIndex = 0; customAttributesIndex < customAttributesJsonList.GetLength(); ++customAttributesIndex) + { + customAttributesJsonList[customAttributesIndex].AsObject(m_customAttributes[customAttributesIndex].Jsonize()); + } + payload.WithArray("customAttributes", std::move(customAttributesJsonList)); + + } + + if(m_memoryMiBHasBeenSet) + { + payload.WithObject("memoryMiB", m_memoryMiB.Jsonize()); + + } + + if(m_osFamilyHasBeenSet) + { + payload.WithString("osFamily", CustomerManagedFleetOperatingSystemFamilyMapper::GetNameForCustomerManagedFleetOperatingSystemFamily(m_osFamily)); + } + + if(m_vCpuCountHasBeenSet) + { + payload.WithObject("vCpuCount", m_vCpuCount.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DateTimeFilterExpression.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DateTimeFilterExpression.cpp new file mode 100644 index 00000000000..58e6178da56 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DateTimeFilterExpression.cpp @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +DateTimeFilterExpression::DateTimeFilterExpression() : + m_dateTimeHasBeenSet(false), + m_nameHasBeenSet(false), + m_operator(ComparisonOperator::NOT_SET), + m_operatorHasBeenSet(false) +{ +} + +DateTimeFilterExpression::DateTimeFilterExpression(JsonView jsonValue) : + m_dateTimeHasBeenSet(false), + m_nameHasBeenSet(false), + m_operator(ComparisonOperator::NOT_SET), + m_operatorHasBeenSet(false) +{ + *this = jsonValue; +} + +DateTimeFilterExpression& DateTimeFilterExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("dateTime")) + { + m_dateTime = jsonValue.GetString("dateTime"); + + m_dateTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("operator")) + { + m_operator = ComparisonOperatorMapper::GetComparisonOperatorForName(jsonValue.GetString("operator")); + + m_operatorHasBeenSet = true; + } + + return *this; +} + +JsonValue DateTimeFilterExpression::Jsonize() const +{ + JsonValue payload; + + if(m_dateTimeHasBeenSet) + { + payload.WithString("dateTime", m_dateTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_operatorHasBeenSet) + { + payload.WithString("operator", ComparisonOperatorMapper::GetNameForComparisonOperator(m_operator)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DefaultQueueBudgetAction.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DefaultQueueBudgetAction.cpp new file mode 100644 index 00000000000..1c7b32521fc --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DefaultQueueBudgetAction.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace DefaultQueueBudgetActionMapper + { + + static const int NONE_HASH = HashingUtils::HashString("NONE"); + static const int STOP_SCHEDULING_AND_COMPLETE_TASKS_HASH = HashingUtils::HashString("STOP_SCHEDULING_AND_COMPLETE_TASKS"); + static const int STOP_SCHEDULING_AND_CANCEL_TASKS_HASH = HashingUtils::HashString("STOP_SCHEDULING_AND_CANCEL_TASKS"); + + + DefaultQueueBudgetAction GetDefaultQueueBudgetActionForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == NONE_HASH) + { + return DefaultQueueBudgetAction::NONE; + } + else if (hashCode == STOP_SCHEDULING_AND_COMPLETE_TASKS_HASH) + { + return DefaultQueueBudgetAction::STOP_SCHEDULING_AND_COMPLETE_TASKS; + } + else if (hashCode == STOP_SCHEDULING_AND_CANCEL_TASKS_HASH) + { + return DefaultQueueBudgetAction::STOP_SCHEDULING_AND_CANCEL_TASKS; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return DefaultQueueBudgetAction::NOT_SET; + } + + Aws::String GetNameForDefaultQueueBudgetAction(DefaultQueueBudgetAction enumValue) + { + switch(enumValue) + { + case DefaultQueueBudgetAction::NOT_SET: + return {}; + case DefaultQueueBudgetAction::NONE: + return "NONE"; + case DefaultQueueBudgetAction::STOP_SCHEDULING_AND_COMPLETE_TASKS: + return "STOP_SCHEDULING_AND_COMPLETE_TASKS"; + case DefaultQueueBudgetAction::STOP_SCHEDULING_AND_CANCEL_TASKS: + return "STOP_SCHEDULING_AND_CANCEL_TASKS"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace DefaultQueueBudgetActionMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteBudgetRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteBudgetRequest.cpp new file mode 100644 index 00000000000..ad6f639c832 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteBudgetRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteBudgetRequest::DeleteBudgetRequest() : + m_budgetIdHasBeenSet(false), + m_farmIdHasBeenSet(false) +{ +} + +Aws::String DeleteBudgetRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteBudgetResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteBudgetResult.cpp new file mode 100644 index 00000000000..98549bdd160 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteBudgetResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteBudgetResult::DeleteBudgetResult() +{ +} + +DeleteBudgetResult::DeleteBudgetResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteBudgetResult& DeleteBudgetResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteFarmRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteFarmRequest.cpp new file mode 100644 index 00000000000..1893d84bd8f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteFarmRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteFarmRequest::DeleteFarmRequest() : + m_farmIdHasBeenSet(false) +{ +} + +Aws::String DeleteFarmRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteFarmResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteFarmResult.cpp new file mode 100644 index 00000000000..1f1ee901ff6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteFarmResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteFarmResult::DeleteFarmResult() +{ +} + +DeleteFarmResult::DeleteFarmResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteFarmResult& DeleteFarmResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteFleetRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteFleetRequest.cpp new file mode 100644 index 00000000000..b38f32cbbef --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteFleetRequest.cpp @@ -0,0 +1,46 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteFleetRequest::DeleteFleetRequest() : + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false) +{ +} + +Aws::String DeleteFleetRequest::SerializePayload() const +{ + return {}; +} + +Aws::Http::HeaderValueCollection DeleteFleetRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteFleetResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteFleetResult.cpp new file mode 100644 index 00000000000..7981f35607e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteFleetResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteFleetResult::DeleteFleetResult() +{ +} + +DeleteFleetResult::DeleteFleetResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteFleetResult& DeleteFleetResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteLicenseEndpointRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteLicenseEndpointRequest.cpp new file mode 100644 index 00000000000..a1789d00548 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteLicenseEndpointRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteLicenseEndpointRequest::DeleteLicenseEndpointRequest() : + m_licenseEndpointIdHasBeenSet(false) +{ +} + +Aws::String DeleteLicenseEndpointRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteLicenseEndpointResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteLicenseEndpointResult.cpp new file mode 100644 index 00000000000..b6c4fffcbea --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteLicenseEndpointResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteLicenseEndpointResult::DeleteLicenseEndpointResult() +{ +} + +DeleteLicenseEndpointResult::DeleteLicenseEndpointResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteLicenseEndpointResult& DeleteLicenseEndpointResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteMeteredProductRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteMeteredProductRequest.cpp new file mode 100644 index 00000000000..0a0e87c5020 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteMeteredProductRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteMeteredProductRequest::DeleteMeteredProductRequest() : + m_licenseEndpointIdHasBeenSet(false), + m_productIdHasBeenSet(false) +{ +} + +Aws::String DeleteMeteredProductRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteMeteredProductResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteMeteredProductResult.cpp new file mode 100644 index 00000000000..50f4afc80b7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteMeteredProductResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteMeteredProductResult::DeleteMeteredProductResult() +{ +} + +DeleteMeteredProductResult::DeleteMeteredProductResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteMeteredProductResult& DeleteMeteredProductResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteMonitorRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteMonitorRequest.cpp new file mode 100644 index 00000000000..4a7d64308f3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteMonitorRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteMonitorRequest::DeleteMonitorRequest() : + m_monitorIdHasBeenSet(false) +{ +} + +Aws::String DeleteMonitorRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteMonitorResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteMonitorResult.cpp new file mode 100644 index 00000000000..3f64aa91453 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteMonitorResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteMonitorResult::DeleteMonitorResult() +{ +} + +DeleteMonitorResult::DeleteMonitorResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteMonitorResult& DeleteMonitorResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueEnvironmentRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueEnvironmentRequest.cpp new file mode 100644 index 00000000000..573efe715ff --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueEnvironmentRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteQueueEnvironmentRequest::DeleteQueueEnvironmentRequest() : + m_farmIdHasBeenSet(false), + m_queueEnvironmentIdHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String DeleteQueueEnvironmentRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueEnvironmentResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueEnvironmentResult.cpp new file mode 100644 index 00000000000..8a0c0db4988 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueEnvironmentResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteQueueEnvironmentResult::DeleteQueueEnvironmentResult() +{ +} + +DeleteQueueEnvironmentResult::DeleteQueueEnvironmentResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteQueueEnvironmentResult& DeleteQueueEnvironmentResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueFleetAssociationRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueFleetAssociationRequest.cpp new file mode 100644 index 00000000000..edf7eba8f51 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueFleetAssociationRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteQueueFleetAssociationRequest::DeleteQueueFleetAssociationRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String DeleteQueueFleetAssociationRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueFleetAssociationResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueFleetAssociationResult.cpp new file mode 100644 index 00000000000..34cc79c9bd5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueFleetAssociationResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteQueueFleetAssociationResult::DeleteQueueFleetAssociationResult() +{ +} + +DeleteQueueFleetAssociationResult::DeleteQueueFleetAssociationResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteQueueFleetAssociationResult& DeleteQueueFleetAssociationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueRequest.cpp new file mode 100644 index 00000000000..3818676e182 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteQueueRequest::DeleteQueueRequest() : + m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String DeleteQueueRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueResult.cpp new file mode 100644 index 00000000000..d87fa89caeb --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteQueueResult::DeleteQueueResult() +{ +} + +DeleteQueueResult::DeleteQueueResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteQueueResult& DeleteQueueResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteStorageProfileRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteStorageProfileRequest.cpp new file mode 100644 index 00000000000..c87ed842d02 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteStorageProfileRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteStorageProfileRequest::DeleteStorageProfileRequest() : + m_farmIdHasBeenSet(false), + m_storageProfileIdHasBeenSet(false) +{ +} + +Aws::String DeleteStorageProfileRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteStorageProfileResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteStorageProfileResult.cpp new file mode 100644 index 00000000000..18b7319a74d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteStorageProfileResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteStorageProfileResult::DeleteStorageProfileResult() +{ +} + +DeleteStorageProfileResult::DeleteStorageProfileResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteStorageProfileResult& DeleteStorageProfileResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteWorkerRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteWorkerRequest.cpp new file mode 100644 index 00000000000..08381a70b2f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteWorkerRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteWorkerRequest::DeleteWorkerRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_workerIdHasBeenSet(false) +{ +} + +Aws::String DeleteWorkerRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteWorkerResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteWorkerResult.cpp new file mode 100644 index 00000000000..40d712b4298 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteWorkerResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteWorkerResult::DeleteWorkerResult() +{ +} + +DeleteWorkerResult::DeleteWorkerResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteWorkerResult& DeleteWorkerResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DependencyConsumerResolutionStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DependencyConsumerResolutionStatus.cpp new file mode 100644 index 00000000000..fb5dfe4fdc0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DependencyConsumerResolutionStatus.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace DependencyConsumerResolutionStatusMapper + { + + static const int RESOLVED_HASH = HashingUtils::HashString("RESOLVED"); + static const int UNRESOLVED_HASH = HashingUtils::HashString("UNRESOLVED"); + + + DependencyConsumerResolutionStatus GetDependencyConsumerResolutionStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == RESOLVED_HASH) + { + return DependencyConsumerResolutionStatus::RESOLVED; + } + else if (hashCode == UNRESOLVED_HASH) + { + return DependencyConsumerResolutionStatus::UNRESOLVED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return DependencyConsumerResolutionStatus::NOT_SET; + } + + Aws::String GetNameForDependencyConsumerResolutionStatus(DependencyConsumerResolutionStatus enumValue) + { + switch(enumValue) + { + case DependencyConsumerResolutionStatus::NOT_SET: + return {}; + case DependencyConsumerResolutionStatus::RESOLVED: + return "RESOLVED"; + case DependencyConsumerResolutionStatus::UNRESOLVED: + return "UNRESOLVED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace DependencyConsumerResolutionStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DependencyCounts.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DependencyCounts.cpp new file mode 100644 index 00000000000..ace0e0c742c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DependencyCounts.cpp @@ -0,0 +1,112 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +DependencyCounts::DependencyCounts() : + m_consumersResolved(0), + m_consumersResolvedHasBeenSet(false), + m_consumersUnresolved(0), + m_consumersUnresolvedHasBeenSet(false), + m_dependenciesResolved(0), + m_dependenciesResolvedHasBeenSet(false), + m_dependenciesUnresolved(0), + m_dependenciesUnresolvedHasBeenSet(false) +{ +} + +DependencyCounts::DependencyCounts(JsonView jsonValue) : + m_consumersResolved(0), + m_consumersResolvedHasBeenSet(false), + m_consumersUnresolved(0), + m_consumersUnresolvedHasBeenSet(false), + m_dependenciesResolved(0), + m_dependenciesResolvedHasBeenSet(false), + m_dependenciesUnresolved(0), + m_dependenciesUnresolvedHasBeenSet(false) +{ + *this = jsonValue; +} + +DependencyCounts& DependencyCounts::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("consumersResolved")) + { + m_consumersResolved = jsonValue.GetInteger("consumersResolved"); + + m_consumersResolvedHasBeenSet = true; + } + + if(jsonValue.ValueExists("consumersUnresolved")) + { + m_consumersUnresolved = jsonValue.GetInteger("consumersUnresolved"); + + m_consumersUnresolvedHasBeenSet = true; + } + + if(jsonValue.ValueExists("dependenciesResolved")) + { + m_dependenciesResolved = jsonValue.GetInteger("dependenciesResolved"); + + m_dependenciesResolvedHasBeenSet = true; + } + + if(jsonValue.ValueExists("dependenciesUnresolved")) + { + m_dependenciesUnresolved = jsonValue.GetInteger("dependenciesUnresolved"); + + m_dependenciesUnresolvedHasBeenSet = true; + } + + return *this; +} + +JsonValue DependencyCounts::Jsonize() const +{ + JsonValue payload; + + if(m_consumersResolvedHasBeenSet) + { + payload.WithInteger("consumersResolved", m_consumersResolved); + + } + + if(m_consumersUnresolvedHasBeenSet) + { + payload.WithInteger("consumersUnresolved", m_consumersUnresolved); + + } + + if(m_dependenciesResolvedHasBeenSet) + { + payload.WithInteger("dependenciesResolved", m_dependenciesResolved); + + } + + if(m_dependenciesUnresolvedHasBeenSet) + { + payload.WithInteger("dependenciesUnresolved", m_dependenciesUnresolved); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DesiredWorkerStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DesiredWorkerStatus.cpp new file mode 100644 index 00000000000..dd7ceaed7ce --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DesiredWorkerStatus.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace DesiredWorkerStatusMapper + { + + static const int STOPPED_HASH = HashingUtils::HashString("STOPPED"); + + + DesiredWorkerStatus GetDesiredWorkerStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == STOPPED_HASH) + { + return DesiredWorkerStatus::STOPPED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return DesiredWorkerStatus::NOT_SET; + } + + Aws::String GetNameForDesiredWorkerStatus(DesiredWorkerStatus enumValue) + { + switch(enumValue) + { + case DesiredWorkerStatus::NOT_SET: + return {}; + case DesiredWorkerStatus::STOPPED: + return "STOPPED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace DesiredWorkerStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromFarmRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromFarmRequest.cpp new file mode 100644 index 00000000000..c4ca0fc6251 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromFarmRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DisassociateMemberFromFarmRequest::DisassociateMemberFromFarmRequest() : + m_farmIdHasBeenSet(false), + m_principalIdHasBeenSet(false) +{ +} + +Aws::String DisassociateMemberFromFarmRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromFarmResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromFarmResult.cpp new file mode 100644 index 00000000000..266bb0421d2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromFarmResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DisassociateMemberFromFarmResult::DisassociateMemberFromFarmResult() +{ +} + +DisassociateMemberFromFarmResult::DisassociateMemberFromFarmResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DisassociateMemberFromFarmResult& DisassociateMemberFromFarmResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromFleetRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromFleetRequest.cpp new file mode 100644 index 00000000000..aef4576cc96 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromFleetRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DisassociateMemberFromFleetRequest::DisassociateMemberFromFleetRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_principalIdHasBeenSet(false) +{ +} + +Aws::String DisassociateMemberFromFleetRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromFleetResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromFleetResult.cpp new file mode 100644 index 00000000000..f0473b6e689 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromFleetResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DisassociateMemberFromFleetResult::DisassociateMemberFromFleetResult() +{ +} + +DisassociateMemberFromFleetResult::DisassociateMemberFromFleetResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DisassociateMemberFromFleetResult& DisassociateMemberFromFleetResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromJobRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromJobRequest.cpp new file mode 100644 index 00000000000..f4bfa61a9e4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromJobRequest.cpp @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DisassociateMemberFromJobRequest::DisassociateMemberFromJobRequest() : + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_principalIdHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String DisassociateMemberFromJobRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromJobResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromJobResult.cpp new file mode 100644 index 00000000000..381fce5c701 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromJobResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DisassociateMemberFromJobResult::DisassociateMemberFromJobResult() +{ +} + +DisassociateMemberFromJobResult::DisassociateMemberFromJobResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DisassociateMemberFromJobResult& DisassociateMemberFromJobResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromQueueRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromQueueRequest.cpp new file mode 100644 index 00000000000..41e62db78cd --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromQueueRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DisassociateMemberFromQueueRequest::DisassociateMemberFromQueueRequest() : + m_farmIdHasBeenSet(false), + m_principalIdHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String DisassociateMemberFromQueueRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromQueueResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromQueueResult.cpp new file mode 100644 index 00000000000..101a16ec909 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromQueueResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DisassociateMemberFromQueueResult::DisassociateMemberFromQueueResult() +{ +} + +DisassociateMemberFromQueueResult::DisassociateMemberFromQueueResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DisassociateMemberFromQueueResult& DisassociateMemberFromQueueResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/Ec2EbsVolume.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/Ec2EbsVolume.cpp new file mode 100644 index 00000000000..04152998cf8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/Ec2EbsVolume.cpp @@ -0,0 +1,95 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +Ec2EbsVolume::Ec2EbsVolume() : + m_iops(0), + m_iopsHasBeenSet(false), + m_sizeGiB(0), + m_sizeGiBHasBeenSet(false), + m_throughputMiB(0), + m_throughputMiBHasBeenSet(false) +{ +} + +Ec2EbsVolume::Ec2EbsVolume(JsonView jsonValue) : + m_iops(0), + m_iopsHasBeenSet(false), + m_sizeGiB(0), + m_sizeGiBHasBeenSet(false), + m_throughputMiB(0), + m_throughputMiBHasBeenSet(false) +{ + *this = jsonValue; +} + +Ec2EbsVolume& Ec2EbsVolume::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("iops")) + { + m_iops = jsonValue.GetInteger("iops"); + + m_iopsHasBeenSet = true; + } + + if(jsonValue.ValueExists("sizeGiB")) + { + m_sizeGiB = jsonValue.GetInteger("sizeGiB"); + + m_sizeGiBHasBeenSet = true; + } + + if(jsonValue.ValueExists("throughputMiB")) + { + m_throughputMiB = jsonValue.GetInteger("throughputMiB"); + + m_throughputMiBHasBeenSet = true; + } + + return *this; +} + +JsonValue Ec2EbsVolume::Jsonize() const +{ + JsonValue payload; + + if(m_iopsHasBeenSet) + { + payload.WithInteger("iops", m_iops); + + } + + if(m_sizeGiBHasBeenSet) + { + payload.WithInteger("sizeGiB", m_sizeGiB); + + } + + if(m_throughputMiBHasBeenSet) + { + payload.WithInteger("throughputMiB", m_throughputMiB); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/Ec2MarketType.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/Ec2MarketType.cpp new file mode 100644 index 00000000000..f48bb304a66 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/Ec2MarketType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace Ec2MarketTypeMapper + { + + static const int on_demand_HASH = HashingUtils::HashString("on-demand"); + static const int spot_HASH = HashingUtils::HashString("spot"); + + + Ec2MarketType GetEc2MarketTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == on_demand_HASH) + { + return Ec2MarketType::on_demand; + } + else if (hashCode == spot_HASH) + { + return Ec2MarketType::spot; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return Ec2MarketType::NOT_SET; + } + + Aws::String GetNameForEc2MarketType(Ec2MarketType enumValue) + { + switch(enumValue) + { + case Ec2MarketType::NOT_SET: + return {}; + case Ec2MarketType::on_demand: + return "on-demand"; + case Ec2MarketType::spot: + return "spot"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace Ec2MarketTypeMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsEntity.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsEntity.cpp new file mode 100644 index 00000000000..1231e4f5113 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsEntity.cpp @@ -0,0 +1,106 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +EnvironmentDetailsEntity::EnvironmentDetailsEntity() : + m_environmentIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_schemaVersionHasBeenSet(false), + m_templateHasBeenSet(false) +{ +} + +EnvironmentDetailsEntity::EnvironmentDetailsEntity(JsonView jsonValue) : + m_environmentIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_schemaVersionHasBeenSet(false), + m_templateHasBeenSet(false) +{ + *this = jsonValue; +} + +EnvironmentDetailsEntity& EnvironmentDetailsEntity::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("environmentId")) + { + m_environmentId = jsonValue.GetString("environmentId"); + + m_environmentIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("schemaVersion")) + { + m_schemaVersion = jsonValue.GetString("schemaVersion"); + + m_schemaVersionHasBeenSet = true; + } + + if(jsonValue.ValueExists("template")) + { + m_template = jsonValue.GetObject("template"); + + m_templateHasBeenSet = true; + } + + return *this; +} + +JsonValue EnvironmentDetailsEntity::Jsonize() const +{ + JsonValue payload; + + if(m_environmentIdHasBeenSet) + { + payload.WithString("environmentId", m_environmentId); + + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_schemaVersionHasBeenSet) + { + payload.WithString("schemaVersion", m_schemaVersion); + + } + + if(m_templateHasBeenSet) + { + if(!m_template.View().IsNull()) + { + payload.WithObject("template", JsonValue(m_template.View())); + } + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsError.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsError.cpp new file mode 100644 index 00000000000..d7c3e26a653 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsError.cpp @@ -0,0 +1,105 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +EnvironmentDetailsError::EnvironmentDetailsError() : + m_code(JobEntityErrorCode::NOT_SET), + m_codeHasBeenSet(false), + m_environmentIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_messageHasBeenSet(false) +{ +} + +EnvironmentDetailsError::EnvironmentDetailsError(JsonView jsonValue) : + m_code(JobEntityErrorCode::NOT_SET), + m_codeHasBeenSet(false), + m_environmentIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_messageHasBeenSet(false) +{ + *this = jsonValue; +} + +EnvironmentDetailsError& EnvironmentDetailsError::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("code")) + { + m_code = JobEntityErrorCodeMapper::GetJobEntityErrorCodeForName(jsonValue.GetString("code")); + + m_codeHasBeenSet = true; + } + + if(jsonValue.ValueExists("environmentId")) + { + m_environmentId = jsonValue.GetString("environmentId"); + + m_environmentIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + return *this; +} + +JsonValue EnvironmentDetailsError::Jsonize() const +{ + JsonValue payload; + + if(m_codeHasBeenSet) + { + payload.WithString("code", JobEntityErrorCodeMapper::GetNameForJobEntityErrorCode(m_code)); + } + + if(m_environmentIdHasBeenSet) + { + payload.WithString("environmentId", m_environmentId); + + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsIdentifiers.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsIdentifiers.cpp new file mode 100644 index 00000000000..617e7975c1f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsIdentifiers.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +EnvironmentDetailsIdentifiers::EnvironmentDetailsIdentifiers() : + m_environmentIdHasBeenSet(false), + m_jobIdHasBeenSet(false) +{ +} + +EnvironmentDetailsIdentifiers::EnvironmentDetailsIdentifiers(JsonView jsonValue) : + m_environmentIdHasBeenSet(false), + m_jobIdHasBeenSet(false) +{ + *this = jsonValue; +} + +EnvironmentDetailsIdentifiers& EnvironmentDetailsIdentifiers::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("environmentId")) + { + m_environmentId = jsonValue.GetString("environmentId"); + + m_environmentIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + return *this; +} + +JsonValue EnvironmentDetailsIdentifiers::Jsonize() const +{ + JsonValue payload; + + if(m_environmentIdHasBeenSet) + { + payload.WithString("environmentId", m_environmentId); + + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentEnterSessionActionDefinition.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentEnterSessionActionDefinition.cpp new file mode 100644 index 00000000000..74f29c69cf3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentEnterSessionActionDefinition.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +EnvironmentEnterSessionActionDefinition::EnvironmentEnterSessionActionDefinition() : + m_environmentIdHasBeenSet(false) +{ +} + +EnvironmentEnterSessionActionDefinition::EnvironmentEnterSessionActionDefinition(JsonView jsonValue) : + m_environmentIdHasBeenSet(false) +{ + *this = jsonValue; +} + +EnvironmentEnterSessionActionDefinition& EnvironmentEnterSessionActionDefinition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("environmentId")) + { + m_environmentId = jsonValue.GetString("environmentId"); + + m_environmentIdHasBeenSet = true; + } + + return *this; +} + +JsonValue EnvironmentEnterSessionActionDefinition::Jsonize() const +{ + JsonValue payload; + + if(m_environmentIdHasBeenSet) + { + payload.WithString("environmentId", m_environmentId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentEnterSessionActionDefinitionSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentEnterSessionActionDefinitionSummary.cpp new file mode 100644 index 00000000000..100746e70c1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentEnterSessionActionDefinitionSummary.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +EnvironmentEnterSessionActionDefinitionSummary::EnvironmentEnterSessionActionDefinitionSummary() : + m_environmentIdHasBeenSet(false) +{ +} + +EnvironmentEnterSessionActionDefinitionSummary::EnvironmentEnterSessionActionDefinitionSummary(JsonView jsonValue) : + m_environmentIdHasBeenSet(false) +{ + *this = jsonValue; +} + +EnvironmentEnterSessionActionDefinitionSummary& EnvironmentEnterSessionActionDefinitionSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("environmentId")) + { + m_environmentId = jsonValue.GetString("environmentId"); + + m_environmentIdHasBeenSet = true; + } + + return *this; +} + +JsonValue EnvironmentEnterSessionActionDefinitionSummary::Jsonize() const +{ + JsonValue payload; + + if(m_environmentIdHasBeenSet) + { + payload.WithString("environmentId", m_environmentId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentExitSessionActionDefinition.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentExitSessionActionDefinition.cpp new file mode 100644 index 00000000000..c22928d7bd5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentExitSessionActionDefinition.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +EnvironmentExitSessionActionDefinition::EnvironmentExitSessionActionDefinition() : + m_environmentIdHasBeenSet(false) +{ +} + +EnvironmentExitSessionActionDefinition::EnvironmentExitSessionActionDefinition(JsonView jsonValue) : + m_environmentIdHasBeenSet(false) +{ + *this = jsonValue; +} + +EnvironmentExitSessionActionDefinition& EnvironmentExitSessionActionDefinition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("environmentId")) + { + m_environmentId = jsonValue.GetString("environmentId"); + + m_environmentIdHasBeenSet = true; + } + + return *this; +} + +JsonValue EnvironmentExitSessionActionDefinition::Jsonize() const +{ + JsonValue payload; + + if(m_environmentIdHasBeenSet) + { + payload.WithString("environmentId", m_environmentId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentExitSessionActionDefinitionSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentExitSessionActionDefinitionSummary.cpp new file mode 100644 index 00000000000..5bb04b2f842 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentExitSessionActionDefinitionSummary.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +EnvironmentExitSessionActionDefinitionSummary::EnvironmentExitSessionActionDefinitionSummary() : + m_environmentIdHasBeenSet(false) +{ +} + +EnvironmentExitSessionActionDefinitionSummary::EnvironmentExitSessionActionDefinitionSummary(JsonView jsonValue) : + m_environmentIdHasBeenSet(false) +{ + *this = jsonValue; +} + +EnvironmentExitSessionActionDefinitionSummary& EnvironmentExitSessionActionDefinitionSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("environmentId")) + { + m_environmentId = jsonValue.GetString("environmentId"); + + m_environmentIdHasBeenSet = true; + } + + return *this; +} + +JsonValue EnvironmentExitSessionActionDefinitionSummary::Jsonize() const +{ + JsonValue payload; + + if(m_environmentIdHasBeenSet) + { + payload.WithString("environmentId", m_environmentId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentTemplateType.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentTemplateType.cpp new file mode 100644 index 00000000000..a9cb201bde6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentTemplateType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace EnvironmentTemplateTypeMapper + { + + static const int JSON_HASH = HashingUtils::HashString("JSON"); + static const int YAML_HASH = HashingUtils::HashString("YAML"); + + + EnvironmentTemplateType GetEnvironmentTemplateTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == JSON_HASH) + { + return EnvironmentTemplateType::JSON; + } + else if (hashCode == YAML_HASH) + { + return EnvironmentTemplateType::YAML; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return EnvironmentTemplateType::NOT_SET; + } + + Aws::String GetNameForEnvironmentTemplateType(EnvironmentTemplateType enumValue) + { + switch(enumValue) + { + case EnvironmentTemplateType::NOT_SET: + return {}; + case EnvironmentTemplateType::JSON: + return "JSON"; + case EnvironmentTemplateType::YAML: + return "YAML"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace EnvironmentTemplateTypeMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FarmMember.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FarmMember.cpp new file mode 100644 index 00000000000..bda70f896d2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FarmMember.cpp @@ -0,0 +1,121 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +FarmMember::FarmMember() : + m_farmIdHasBeenSet(false), + m_identityStoreIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false), + m_principalIdHasBeenSet(false), + m_principalType(PrincipalType::NOT_SET), + m_principalTypeHasBeenSet(false) +{ +} + +FarmMember::FarmMember(JsonView jsonValue) : + m_farmIdHasBeenSet(false), + m_identityStoreIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false), + m_principalIdHasBeenSet(false), + m_principalType(PrincipalType::NOT_SET), + m_principalTypeHasBeenSet(false) +{ + *this = jsonValue; +} + +FarmMember& FarmMember::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("farmId")) + { + m_farmId = jsonValue.GetString("farmId"); + + m_farmIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("identityStoreId")) + { + m_identityStoreId = jsonValue.GetString("identityStoreId"); + + m_identityStoreIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("membershipLevel")) + { + m_membershipLevel = MembershipLevelMapper::GetMembershipLevelForName(jsonValue.GetString("membershipLevel")); + + m_membershipLevelHasBeenSet = true; + } + + if(jsonValue.ValueExists("principalId")) + { + m_principalId = jsonValue.GetString("principalId"); + + m_principalIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("principalType")) + { + m_principalType = PrincipalTypeMapper::GetPrincipalTypeForName(jsonValue.GetString("principalType")); + + m_principalTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue FarmMember::Jsonize() const +{ + JsonValue payload; + + if(m_farmIdHasBeenSet) + { + payload.WithString("farmId", m_farmId); + + } + + if(m_identityStoreIdHasBeenSet) + { + payload.WithString("identityStoreId", m_identityStoreId); + + } + + if(m_membershipLevelHasBeenSet) + { + payload.WithString("membershipLevel", MembershipLevelMapper::GetNameForMembershipLevel(m_membershipLevel)); + } + + if(m_principalIdHasBeenSet) + { + payload.WithString("principalId", m_principalId); + + } + + if(m_principalTypeHasBeenSet) + { + payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FarmSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FarmSummary.cpp new file mode 100644 index 00000000000..720eb8f20d5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FarmSummary.cpp @@ -0,0 +1,147 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +FarmSummary::FarmSummary() : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_kmsKeyArnHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false) +{ +} + +FarmSummary::FarmSummary(JsonView jsonValue) : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_kmsKeyArnHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false) +{ + *this = jsonValue; +} + +FarmSummary& FarmSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("displayName")) + { + m_displayName = jsonValue.GetString("displayName"); + + m_displayNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("farmId")) + { + m_farmId = jsonValue.GetString("farmId"); + + m_farmIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("kmsKeyArn")) + { + m_kmsKeyArn = jsonValue.GetString("kmsKeyArn"); + + m_kmsKeyArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + m_updatedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + m_updatedByHasBeenSet = true; + } + + return *this; +} + +JsonValue FarmSummary::Jsonize() const +{ + JsonValue payload; + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_farmIdHasBeenSet) + { + payload.WithString("farmId", m_farmId); + + } + + if(m_kmsKeyArnHasBeenSet) + { + payload.WithString("kmsKeyArn", m_kmsKeyArn); + + } + + if(m_updatedAtHasBeenSet) + { + payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_updatedByHasBeenSet) + { + payload.WithString("updatedBy", m_updatedBy); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FieldSortExpression.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FieldSortExpression.cpp new file mode 100644 index 00000000000..3093ea2d9d1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FieldSortExpression.cpp @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +FieldSortExpression::FieldSortExpression() : + m_nameHasBeenSet(false), + m_sortOrder(SortOrder::NOT_SET), + m_sortOrderHasBeenSet(false) +{ +} + +FieldSortExpression::FieldSortExpression(JsonView jsonValue) : + m_nameHasBeenSet(false), + m_sortOrder(SortOrder::NOT_SET), + m_sortOrderHasBeenSet(false) +{ + *this = jsonValue; +} + +FieldSortExpression& FieldSortExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("sortOrder")) + { + m_sortOrder = SortOrderMapper::GetSortOrderForName(jsonValue.GetString("sortOrder")); + + m_sortOrderHasBeenSet = true; + } + + return *this; +} + +JsonValue FieldSortExpression::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_sortOrderHasBeenSet) + { + payload.WithString("sortOrder", SortOrderMapper::GetNameForSortOrder(m_sortOrder)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FileSystemLocation.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FileSystemLocation.cpp new file mode 100644 index 00000000000..d0f54aed9f1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FileSystemLocation.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +FileSystemLocation::FileSystemLocation() : + m_nameHasBeenSet(false), + m_pathHasBeenSet(false), + m_type(FileSystemLocationType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +FileSystemLocation::FileSystemLocation(JsonView jsonValue) : + m_nameHasBeenSet(false), + m_pathHasBeenSet(false), + m_type(FileSystemLocationType::NOT_SET), + m_typeHasBeenSet(false) +{ + *this = jsonValue; +} + +FileSystemLocation& FileSystemLocation::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("path")) + { + m_path = jsonValue.GetString("path"); + + m_pathHasBeenSet = true; + } + + if(jsonValue.ValueExists("type")) + { + m_type = FileSystemLocationTypeMapper::GetFileSystemLocationTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue FileSystemLocation::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_pathHasBeenSet) + { + payload.WithString("path", m_path); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", FileSystemLocationTypeMapper::GetNameForFileSystemLocationType(m_type)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FileSystemLocationType.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FileSystemLocationType.cpp new file mode 100644 index 00000000000..b547794993e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FileSystemLocationType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace FileSystemLocationTypeMapper + { + + static const int SHARED_HASH = HashingUtils::HashString("SHARED"); + static const int LOCAL_HASH = HashingUtils::HashString("LOCAL"); + + + FileSystemLocationType GetFileSystemLocationTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == SHARED_HASH) + { + return FileSystemLocationType::SHARED; + } + else if (hashCode == LOCAL_HASH) + { + return FileSystemLocationType::LOCAL; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return FileSystemLocationType::NOT_SET; + } + + Aws::String GetNameForFileSystemLocationType(FileSystemLocationType enumValue) + { + switch(enumValue) + { + case FileSystemLocationType::NOT_SET: + return {}; + case FileSystemLocationType::SHARED: + return "SHARED"; + case FileSystemLocationType::LOCAL: + return "LOCAL"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace FileSystemLocationTypeMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FixedBudgetSchedule.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FixedBudgetSchedule.cpp new file mode 100644 index 00000000000..34363e5e367 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FixedBudgetSchedule.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +FixedBudgetSchedule::FixedBudgetSchedule() : + m_endTimeHasBeenSet(false), + m_startTimeHasBeenSet(false) +{ +} + +FixedBudgetSchedule::FixedBudgetSchedule(JsonView jsonValue) : + m_endTimeHasBeenSet(false), + m_startTimeHasBeenSet(false) +{ + *this = jsonValue; +} + +FixedBudgetSchedule& FixedBudgetSchedule::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("endTime")) + { + m_endTime = jsonValue.GetString("endTime"); + + m_endTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("startTime")) + { + m_startTime = jsonValue.GetString("startTime"); + + m_startTimeHasBeenSet = true; + } + + return *this; +} + +JsonValue FixedBudgetSchedule::Jsonize() const +{ + JsonValue payload; + + if(m_endTimeHasBeenSet) + { + payload.WithString("endTime", m_endTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_startTimeHasBeenSet) + { + payload.WithString("startTime", m_startTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FleetAmountCapability.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FleetAmountCapability.cpp new file mode 100644 index 00000000000..db6f6c0ae3a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FleetAmountCapability.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +FleetAmountCapability::FleetAmountCapability() : + m_max(0.0), + m_maxHasBeenSet(false), + m_min(0.0), + m_minHasBeenSet(false), + m_nameHasBeenSet(false) +{ +} + +FleetAmountCapability::FleetAmountCapability(JsonView jsonValue) : + m_max(0.0), + m_maxHasBeenSet(false), + m_min(0.0), + m_minHasBeenSet(false), + m_nameHasBeenSet(false) +{ + *this = jsonValue; +} + +FleetAmountCapability& FleetAmountCapability::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("max")) + { + m_max = jsonValue.GetDouble("max"); + + m_maxHasBeenSet = true; + } + + if(jsonValue.ValueExists("min")) + { + m_min = jsonValue.GetDouble("min"); + + m_minHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + return *this; +} + +JsonValue FleetAmountCapability::Jsonize() const +{ + JsonValue payload; + + if(m_maxHasBeenSet) + { + payload.WithDouble("max", m_max); + + } + + if(m_minHasBeenSet) + { + payload.WithDouble("min", m_min); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FleetAttributeCapability.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FleetAttributeCapability.cpp new file mode 100644 index 00000000000..24140156800 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FleetAttributeCapability.cpp @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +FleetAttributeCapability::FleetAttributeCapability() : + m_nameHasBeenSet(false), + m_valuesHasBeenSet(false) +{ +} + +FleetAttributeCapability::FleetAttributeCapability(JsonView jsonValue) : + m_nameHasBeenSet(false), + m_valuesHasBeenSet(false) +{ + *this = jsonValue; +} + +FleetAttributeCapability& FleetAttributeCapability::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("values")) + { + Aws::Utils::Array valuesJsonList = jsonValue.GetArray("values"); + for(unsigned valuesIndex = 0; valuesIndex < valuesJsonList.GetLength(); ++valuesIndex) + { + m_values.push_back(valuesJsonList[valuesIndex].AsString()); + } + m_valuesHasBeenSet = true; + } + + return *this; +} + +JsonValue FleetAttributeCapability::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_valuesHasBeenSet) + { + Aws::Utils::Array valuesJsonList(m_values.size()); + for(unsigned valuesIndex = 0; valuesIndex < valuesJsonList.GetLength(); ++valuesIndex) + { + valuesJsonList[valuesIndex].AsString(m_values[valuesIndex]); + } + payload.WithArray("values", std::move(valuesJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FleetCapabilities.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FleetCapabilities.cpp new file mode 100644 index 00000000000..83e9a447e5f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FleetCapabilities.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +FleetCapabilities::FleetCapabilities() : + m_amountsHasBeenSet(false), + m_attributesHasBeenSet(false) +{ +} + +FleetCapabilities::FleetCapabilities(JsonView jsonValue) : + m_amountsHasBeenSet(false), + m_attributesHasBeenSet(false) +{ + *this = jsonValue; +} + +FleetCapabilities& FleetCapabilities::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("amounts")) + { + Aws::Utils::Array amountsJsonList = jsonValue.GetArray("amounts"); + for(unsigned amountsIndex = 0; amountsIndex < amountsJsonList.GetLength(); ++amountsIndex) + { + m_amounts.push_back(amountsJsonList[amountsIndex].AsObject()); + } + m_amountsHasBeenSet = true; + } + + if(jsonValue.ValueExists("attributes")) + { + Aws::Utils::Array attributesJsonList = jsonValue.GetArray("attributes"); + for(unsigned attributesIndex = 0; attributesIndex < attributesJsonList.GetLength(); ++attributesIndex) + { + m_attributes.push_back(attributesJsonList[attributesIndex].AsObject()); + } + m_attributesHasBeenSet = true; + } + + return *this; +} + +JsonValue FleetCapabilities::Jsonize() const +{ + JsonValue payload; + + if(m_amountsHasBeenSet) + { + Aws::Utils::Array amountsJsonList(m_amounts.size()); + for(unsigned amountsIndex = 0; amountsIndex < amountsJsonList.GetLength(); ++amountsIndex) + { + amountsJsonList[amountsIndex].AsObject(m_amounts[amountsIndex].Jsonize()); + } + payload.WithArray("amounts", std::move(amountsJsonList)); + + } + + if(m_attributesHasBeenSet) + { + Aws::Utils::Array attributesJsonList(m_attributes.size()); + for(unsigned attributesIndex = 0; attributesIndex < attributesJsonList.GetLength(); ++attributesIndex) + { + attributesJsonList[attributesIndex].AsObject(m_attributes[attributesIndex].Jsonize()); + } + payload.WithArray("attributes", std::move(attributesJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FleetConfiguration.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FleetConfiguration.cpp new file mode 100644 index 00000000000..dee0f5e90ae --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FleetConfiguration.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +FleetConfiguration::FleetConfiguration() : + m_customerManagedHasBeenSet(false), + m_serviceManagedEc2HasBeenSet(false) +{ +} + +FleetConfiguration::FleetConfiguration(JsonView jsonValue) : + m_customerManagedHasBeenSet(false), + m_serviceManagedEc2HasBeenSet(false) +{ + *this = jsonValue; +} + +FleetConfiguration& FleetConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("customerManaged")) + { + m_customerManaged = jsonValue.GetObject("customerManaged"); + + m_customerManagedHasBeenSet = true; + } + + if(jsonValue.ValueExists("serviceManagedEc2")) + { + m_serviceManagedEc2 = jsonValue.GetObject("serviceManagedEc2"); + + m_serviceManagedEc2HasBeenSet = true; + } + + return *this; +} + +JsonValue FleetConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_customerManagedHasBeenSet) + { + payload.WithObject("customerManaged", m_customerManaged.Jsonize()); + + } + + if(m_serviceManagedEc2HasBeenSet) + { + payload.WithObject("serviceManagedEc2", m_serviceManagedEc2.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FleetMember.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FleetMember.cpp new file mode 100644 index 00000000000..9ac681f297a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FleetMember.cpp @@ -0,0 +1,136 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +FleetMember::FleetMember() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_identityStoreIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false), + m_principalIdHasBeenSet(false), + m_principalType(PrincipalType::NOT_SET), + m_principalTypeHasBeenSet(false) +{ +} + +FleetMember::FleetMember(JsonView jsonValue) : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_identityStoreIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false), + m_principalIdHasBeenSet(false), + m_principalType(PrincipalType::NOT_SET), + m_principalTypeHasBeenSet(false) +{ + *this = jsonValue; +} + +FleetMember& FleetMember::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("farmId")) + { + m_farmId = jsonValue.GetString("farmId"); + + m_farmIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("fleetId")) + { + m_fleetId = jsonValue.GetString("fleetId"); + + m_fleetIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("identityStoreId")) + { + m_identityStoreId = jsonValue.GetString("identityStoreId"); + + m_identityStoreIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("membershipLevel")) + { + m_membershipLevel = MembershipLevelMapper::GetMembershipLevelForName(jsonValue.GetString("membershipLevel")); + + m_membershipLevelHasBeenSet = true; + } + + if(jsonValue.ValueExists("principalId")) + { + m_principalId = jsonValue.GetString("principalId"); + + m_principalIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("principalType")) + { + m_principalType = PrincipalTypeMapper::GetPrincipalTypeForName(jsonValue.GetString("principalType")); + + m_principalTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue FleetMember::Jsonize() const +{ + JsonValue payload; + + if(m_farmIdHasBeenSet) + { + payload.WithString("farmId", m_farmId); + + } + + if(m_fleetIdHasBeenSet) + { + payload.WithString("fleetId", m_fleetId); + + } + + if(m_identityStoreIdHasBeenSet) + { + payload.WithString("identityStoreId", m_identityStoreId); + + } + + if(m_membershipLevelHasBeenSet) + { + payload.WithString("membershipLevel", MembershipLevelMapper::GetNameForMembershipLevel(m_membershipLevel)); + } + + if(m_principalIdHasBeenSet) + { + payload.WithString("principalId", m_principalId); + + } + + if(m_principalTypeHasBeenSet) + { + payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FleetStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FleetStatus.cpp new file mode 100644 index 00000000000..9c9892c5143 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FleetStatus.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace FleetStatusMapper + { + + static const int ACTIVE_HASH = HashingUtils::HashString("ACTIVE"); + static const int CREATE_IN_PROGRESS_HASH = HashingUtils::HashString("CREATE_IN_PROGRESS"); + static const int UPDATE_IN_PROGRESS_HASH = HashingUtils::HashString("UPDATE_IN_PROGRESS"); + static const int CREATE_FAILED_HASH = HashingUtils::HashString("CREATE_FAILED"); + static const int UPDATE_FAILED_HASH = HashingUtils::HashString("UPDATE_FAILED"); + + + FleetStatus GetFleetStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ACTIVE_HASH) + { + return FleetStatus::ACTIVE; + } + else if (hashCode == CREATE_IN_PROGRESS_HASH) + { + return FleetStatus::CREATE_IN_PROGRESS; + } + else if (hashCode == UPDATE_IN_PROGRESS_HASH) + { + return FleetStatus::UPDATE_IN_PROGRESS; + } + else if (hashCode == CREATE_FAILED_HASH) + { + return FleetStatus::CREATE_FAILED; + } + else if (hashCode == UPDATE_FAILED_HASH) + { + return FleetStatus::UPDATE_FAILED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return FleetStatus::NOT_SET; + } + + Aws::String GetNameForFleetStatus(FleetStatus enumValue) + { + switch(enumValue) + { + case FleetStatus::NOT_SET: + return {}; + case FleetStatus::ACTIVE: + return "ACTIVE"; + case FleetStatus::CREATE_IN_PROGRESS: + return "CREATE_IN_PROGRESS"; + case FleetStatus::UPDATE_IN_PROGRESS: + return "UPDATE_IN_PROGRESS"; + case FleetStatus::CREATE_FAILED: + return "CREATE_FAILED"; + case FleetStatus::UPDATE_FAILED: + return "UPDATE_FAILED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace FleetStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FleetSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FleetSummary.cpp new file mode 100644 index 00000000000..8d3cb5fa7d7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FleetSummary.cpp @@ -0,0 +1,262 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +FleetSummary::FleetSummary() : + m_autoScalingStatus(AutoScalingStatus::NOT_SET), + m_autoScalingStatusHasBeenSet(false), + m_configurationHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_maxWorkerCount(0), + m_maxWorkerCountHasBeenSet(false), + m_minWorkerCount(0), + m_minWorkerCountHasBeenSet(false), + m_status(FleetStatus::NOT_SET), + m_statusHasBeenSet(false), + m_targetWorkerCount(0), + m_targetWorkerCountHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false), + m_workerCount(0), + m_workerCountHasBeenSet(false) +{ +} + +FleetSummary::FleetSummary(JsonView jsonValue) : + m_autoScalingStatus(AutoScalingStatus::NOT_SET), + m_autoScalingStatusHasBeenSet(false), + m_configurationHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_maxWorkerCount(0), + m_maxWorkerCountHasBeenSet(false), + m_minWorkerCount(0), + m_minWorkerCountHasBeenSet(false), + m_status(FleetStatus::NOT_SET), + m_statusHasBeenSet(false), + m_targetWorkerCount(0), + m_targetWorkerCountHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false), + m_workerCount(0), + m_workerCountHasBeenSet(false) +{ + *this = jsonValue; +} + +FleetSummary& FleetSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("autoScalingStatus")) + { + m_autoScalingStatus = AutoScalingStatusMapper::GetAutoScalingStatusForName(jsonValue.GetString("autoScalingStatus")); + + m_autoScalingStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("configuration")) + { + m_configuration = jsonValue.GetObject("configuration"); + + m_configurationHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("displayName")) + { + m_displayName = jsonValue.GetString("displayName"); + + m_displayNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("farmId")) + { + m_farmId = jsonValue.GetString("farmId"); + + m_farmIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("fleetId")) + { + m_fleetId = jsonValue.GetString("fleetId"); + + m_fleetIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("maxWorkerCount")) + { + m_maxWorkerCount = jsonValue.GetInteger("maxWorkerCount"); + + m_maxWorkerCountHasBeenSet = true; + } + + if(jsonValue.ValueExists("minWorkerCount")) + { + m_minWorkerCount = jsonValue.GetInteger("minWorkerCount"); + + m_minWorkerCountHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = FleetStatusMapper::GetFleetStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("targetWorkerCount")) + { + m_targetWorkerCount = jsonValue.GetInteger("targetWorkerCount"); + + m_targetWorkerCountHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + m_updatedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + m_updatedByHasBeenSet = true; + } + + if(jsonValue.ValueExists("workerCount")) + { + m_workerCount = jsonValue.GetInteger("workerCount"); + + m_workerCountHasBeenSet = true; + } + + return *this; +} + +JsonValue FleetSummary::Jsonize() const +{ + JsonValue payload; + + if(m_autoScalingStatusHasBeenSet) + { + payload.WithString("autoScalingStatus", AutoScalingStatusMapper::GetNameForAutoScalingStatus(m_autoScalingStatus)); + } + + if(m_configurationHasBeenSet) + { + payload.WithObject("configuration", m_configuration.Jsonize()); + + } + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_farmIdHasBeenSet) + { + payload.WithString("farmId", m_farmId); + + } + + if(m_fleetIdHasBeenSet) + { + payload.WithString("fleetId", m_fleetId); + + } + + if(m_maxWorkerCountHasBeenSet) + { + payload.WithInteger("maxWorkerCount", m_maxWorkerCount); + + } + + if(m_minWorkerCountHasBeenSet) + { + payload.WithInteger("minWorkerCount", m_minWorkerCount); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", FleetStatusMapper::GetNameForFleetStatus(m_status)); + } + + if(m_targetWorkerCountHasBeenSet) + { + payload.WithInteger("targetWorkerCount", m_targetWorkerCount); + + } + + if(m_updatedAtHasBeenSet) + { + payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_updatedByHasBeenSet) + { + payload.WithString("updatedBy", m_updatedBy); + + } + + if(m_workerCountHasBeenSet) + { + payload.WithInteger("workerCount", m_workerCount); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetBudgetRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetBudgetRequest.cpp new file mode 100644 index 00000000000..3b2ac4d7ace --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetBudgetRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetBudgetRequest::GetBudgetRequest() : + m_budgetIdHasBeenSet(false), + m_farmIdHasBeenSet(false) +{ +} + +Aws::String GetBudgetRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetBudgetResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetBudgetResult.cpp new file mode 100644 index 00000000000..664ec0819ab --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetBudgetResult.cpp @@ -0,0 +1,133 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetBudgetResult::GetBudgetResult() : + m_approximateDollarLimit(0.0), + m_status(BudgetStatus::NOT_SET) +{ +} + +GetBudgetResult::GetBudgetResult(const Aws::AmazonWebServiceResult& result) : + m_approximateDollarLimit(0.0), + m_status(BudgetStatus::NOT_SET) +{ + *this = result; +} + +GetBudgetResult& GetBudgetResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("actions")) + { + Aws::Utils::Array actionsJsonList = jsonValue.GetArray("actions"); + for(unsigned actionsIndex = 0; actionsIndex < actionsJsonList.GetLength(); ++actionsIndex) + { + m_actions.push_back(actionsJsonList[actionsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("approximateDollarLimit")) + { + m_approximateDollarLimit = jsonValue.GetDouble("approximateDollarLimit"); + + } + + if(jsonValue.ValueExists("budgetId")) + { + m_budgetId = jsonValue.GetString("budgetId"); + + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + } + + if(jsonValue.ValueExists("displayName")) + { + m_displayName = jsonValue.GetString("displayName"); + + } + + if(jsonValue.ValueExists("queueStoppedAt")) + { + m_queueStoppedAt = jsonValue.GetString("queueStoppedAt"); + + } + + if(jsonValue.ValueExists("schedule")) + { + m_schedule = jsonValue.GetObject("schedule"); + + } + + if(jsonValue.ValueExists("status")) + { + m_status = BudgetStatusMapper::GetBudgetStatusForName(jsonValue.GetString("status")); + + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + } + + if(jsonValue.ValueExists("usageTrackingResource")) + { + m_usageTrackingResource = jsonValue.GetObject("usageTrackingResource"); + + } + + if(jsonValue.ValueExists("usages")) + { + m_usages = jsonValue.GetObject("usages"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetFarmRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetFarmRequest.cpp new file mode 100644 index 00000000000..d8ffeda0d60 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetFarmRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetFarmRequest::GetFarmRequest() : + m_farmIdHasBeenSet(false) +{ +} + +Aws::String GetFarmRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetFarmResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetFarmResult.cpp new file mode 100644 index 00000000000..085ef8f9e08 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetFarmResult.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetFarmResult::GetFarmResult() +{ +} + +GetFarmResult::GetFarmResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetFarmResult& GetFarmResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + } + + if(jsonValue.ValueExists("displayName")) + { + m_displayName = jsonValue.GetString("displayName"); + + } + + if(jsonValue.ValueExists("farmId")) + { + m_farmId = jsonValue.GetString("farmId"); + + } + + if(jsonValue.ValueExists("kmsKeyArn")) + { + m_kmsKeyArn = jsonValue.GetString("kmsKeyArn"); + + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetFleetRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetFleetRequest.cpp new file mode 100644 index 00000000000..8c551f322c1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetFleetRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetFleetRequest::GetFleetRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false) +{ +} + +Aws::String GetFleetRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetFleetResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetFleetResult.cpp new file mode 100644 index 00000000000..d36d2519e50 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetFleetResult.cpp @@ -0,0 +1,156 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetFleetResult::GetFleetResult() : + m_autoScalingStatus(AutoScalingStatus::NOT_SET), + m_maxWorkerCount(0), + m_minWorkerCount(0), + m_status(FleetStatus::NOT_SET), + m_targetWorkerCount(0), + m_workerCount(0) +{ +} + +GetFleetResult::GetFleetResult(const Aws::AmazonWebServiceResult& result) : + m_autoScalingStatus(AutoScalingStatus::NOT_SET), + m_maxWorkerCount(0), + m_minWorkerCount(0), + m_status(FleetStatus::NOT_SET), + m_targetWorkerCount(0), + m_workerCount(0) +{ + *this = result; +} + +GetFleetResult& GetFleetResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("autoScalingStatus")) + { + m_autoScalingStatus = AutoScalingStatusMapper::GetAutoScalingStatusForName(jsonValue.GetString("autoScalingStatus")); + + } + + if(jsonValue.ValueExists("capabilities")) + { + m_capabilities = jsonValue.GetObject("capabilities"); + + } + + if(jsonValue.ValueExists("configuration")) + { + m_configuration = jsonValue.GetObject("configuration"); + + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + } + + if(jsonValue.ValueExists("displayName")) + { + m_displayName = jsonValue.GetString("displayName"); + + } + + if(jsonValue.ValueExists("farmId")) + { + m_farmId = jsonValue.GetString("farmId"); + + } + + if(jsonValue.ValueExists("fleetId")) + { + m_fleetId = jsonValue.GetString("fleetId"); + + } + + if(jsonValue.ValueExists("maxWorkerCount")) + { + m_maxWorkerCount = jsonValue.GetInteger("maxWorkerCount"); + + } + + if(jsonValue.ValueExists("minWorkerCount")) + { + m_minWorkerCount = jsonValue.GetInteger("minWorkerCount"); + + } + + if(jsonValue.ValueExists("roleArn")) + { + m_roleArn = jsonValue.GetString("roleArn"); + + } + + if(jsonValue.ValueExists("status")) + { + m_status = FleetStatusMapper::GetFleetStatusForName(jsonValue.GetString("status")); + + } + + if(jsonValue.ValueExists("targetWorkerCount")) + { + m_targetWorkerCount = jsonValue.GetInteger("targetWorkerCount"); + + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + } + + if(jsonValue.ValueExists("workerCount")) + { + m_workerCount = jsonValue.GetInteger("workerCount"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetJobEntityError.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetJobEntityError.cpp new file mode 100644 index 00000000000..cc4bd59f8a7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetJobEntityError.cpp @@ -0,0 +1,104 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +GetJobEntityError::GetJobEntityError() : + m_environmentDetailsHasBeenSet(false), + m_jobAttachmentDetailsHasBeenSet(false), + m_jobDetailsHasBeenSet(false), + m_stepDetailsHasBeenSet(false) +{ +} + +GetJobEntityError::GetJobEntityError(JsonView jsonValue) : + m_environmentDetailsHasBeenSet(false), + m_jobAttachmentDetailsHasBeenSet(false), + m_jobDetailsHasBeenSet(false), + m_stepDetailsHasBeenSet(false) +{ + *this = jsonValue; +} + +GetJobEntityError& GetJobEntityError::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("environmentDetails")) + { + m_environmentDetails = jsonValue.GetObject("environmentDetails"); + + m_environmentDetailsHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobAttachmentDetails")) + { + m_jobAttachmentDetails = jsonValue.GetObject("jobAttachmentDetails"); + + m_jobAttachmentDetailsHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobDetails")) + { + m_jobDetails = jsonValue.GetObject("jobDetails"); + + m_jobDetailsHasBeenSet = true; + } + + if(jsonValue.ValueExists("stepDetails")) + { + m_stepDetails = jsonValue.GetObject("stepDetails"); + + m_stepDetailsHasBeenSet = true; + } + + return *this; +} + +JsonValue GetJobEntityError::Jsonize() const +{ + JsonValue payload; + + if(m_environmentDetailsHasBeenSet) + { + payload.WithObject("environmentDetails", m_environmentDetails.Jsonize()); + + } + + if(m_jobAttachmentDetailsHasBeenSet) + { + payload.WithObject("jobAttachmentDetails", m_jobAttachmentDetails.Jsonize()); + + } + + if(m_jobDetailsHasBeenSet) + { + payload.WithObject("jobDetails", m_jobDetails.Jsonize()); + + } + + if(m_stepDetailsHasBeenSet) + { + payload.WithObject("stepDetails", m_stepDetails.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetJobRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetJobRequest.cpp new file mode 100644 index 00000000000..1d861953c6c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetJobRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetJobRequest::GetJobRequest() : + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String GetJobRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetJobResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetJobResult.cpp new file mode 100644 index 00000000000..800862a1b49 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetJobResult.cpp @@ -0,0 +1,180 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetJobResult::GetJobResult() : + m_lifecycleStatus(JobLifecycleStatus::NOT_SET), + m_maxFailedTasksCount(0), + m_maxRetriesPerTask(0), + m_priority(0), + m_targetTaskRunStatus(JobTargetTaskRunStatus::NOT_SET), + m_taskRunStatus(TaskRunStatus::NOT_SET) +{ +} + +GetJobResult::GetJobResult(const Aws::AmazonWebServiceResult& result) : + m_lifecycleStatus(JobLifecycleStatus::NOT_SET), + m_maxFailedTasksCount(0), + m_maxRetriesPerTask(0), + m_priority(0), + m_targetTaskRunStatus(JobTargetTaskRunStatus::NOT_SET), + m_taskRunStatus(TaskRunStatus::NOT_SET) +{ + *this = result; +} + +GetJobResult& GetJobResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("attachments")) + { + m_attachments = jsonValue.GetObject("attachments"); + + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + } + + if(jsonValue.ValueExists("endedAt")) + { + m_endedAt = jsonValue.GetString("endedAt"); + + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + } + + if(jsonValue.ValueExists("lifecycleStatus")) + { + m_lifecycleStatus = JobLifecycleStatusMapper::GetJobLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); + + } + + if(jsonValue.ValueExists("lifecycleStatusMessage")) + { + m_lifecycleStatusMessage = jsonValue.GetString("lifecycleStatusMessage"); + + } + + if(jsonValue.ValueExists("maxFailedTasksCount")) + { + m_maxFailedTasksCount = jsonValue.GetInteger("maxFailedTasksCount"); + + } + + if(jsonValue.ValueExists("maxRetriesPerTask")) + { + m_maxRetriesPerTask = jsonValue.GetInteger("maxRetriesPerTask"); + + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + } + + if(jsonValue.ValueExists("parameters")) + { + Aws::Map parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); + for(auto& parametersItem : parametersJsonMap) + { + m_parameters[parametersItem.first] = parametersItem.second.AsObject(); + } + } + + if(jsonValue.ValueExists("priority")) + { + m_priority = jsonValue.GetInteger("priority"); + + } + + if(jsonValue.ValueExists("startedAt")) + { + m_startedAt = jsonValue.GetString("startedAt"); + + } + + if(jsonValue.ValueExists("storageProfileId")) + { + m_storageProfileId = jsonValue.GetString("storageProfileId"); + + } + + if(jsonValue.ValueExists("targetTaskRunStatus")) + { + m_targetTaskRunStatus = JobTargetTaskRunStatusMapper::GetJobTargetTaskRunStatusForName(jsonValue.GetString("targetTaskRunStatus")); + + } + + if(jsonValue.ValueExists("taskRunStatus")) + { + m_taskRunStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("taskRunStatus")); + + } + + if(jsonValue.ValueExists("taskRunStatusCounts")) + { + Aws::Map taskRunStatusCountsJsonMap = jsonValue.GetObject("taskRunStatusCounts").GetAllObjects(); + for(auto& taskRunStatusCountsItem : taskRunStatusCountsJsonMap) + { + m_taskRunStatusCounts[TaskRunStatusMapper::GetTaskRunStatusForName(taskRunStatusCountsItem.first)] = taskRunStatusCountsItem.second.AsInteger(); + } + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetLicenseEndpointRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetLicenseEndpointRequest.cpp new file mode 100644 index 00000000000..08c55344592 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetLicenseEndpointRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetLicenseEndpointRequest::GetLicenseEndpointRequest() : + m_licenseEndpointIdHasBeenSet(false) +{ +} + +Aws::String GetLicenseEndpointRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetLicenseEndpointResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetLicenseEndpointResult.cpp new file mode 100644 index 00000000000..c9547d22169 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetLicenseEndpointResult.cpp @@ -0,0 +1,92 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetLicenseEndpointResult::GetLicenseEndpointResult() : + m_status(LicenseEndpointStatus::NOT_SET) +{ +} + +GetLicenseEndpointResult::GetLicenseEndpointResult(const Aws::AmazonWebServiceResult& result) : + m_status(LicenseEndpointStatus::NOT_SET) +{ + *this = result; +} + +GetLicenseEndpointResult& GetLicenseEndpointResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("dnsName")) + { + m_dnsName = jsonValue.GetString("dnsName"); + + } + + if(jsonValue.ValueExists("licenseEndpointId")) + { + m_licenseEndpointId = jsonValue.GetString("licenseEndpointId"); + + } + + if(jsonValue.ValueExists("securityGroupIds")) + { + Aws::Utils::Array securityGroupIdsJsonList = jsonValue.GetArray("securityGroupIds"); + for(unsigned securityGroupIdsIndex = 0; securityGroupIdsIndex < securityGroupIdsJsonList.GetLength(); ++securityGroupIdsIndex) + { + m_securityGroupIds.push_back(securityGroupIdsJsonList[securityGroupIdsIndex].AsString()); + } + } + + if(jsonValue.ValueExists("status")) + { + m_status = LicenseEndpointStatusMapper::GetLicenseEndpointStatusForName(jsonValue.GetString("status")); + + } + + if(jsonValue.ValueExists("statusMessage")) + { + m_statusMessage = jsonValue.GetString("statusMessage"); + + } + + if(jsonValue.ValueExists("subnetIds")) + { + Aws::Utils::Array subnetIdsJsonList = jsonValue.GetArray("subnetIds"); + for(unsigned subnetIdsIndex = 0; subnetIdsIndex < subnetIdsJsonList.GetLength(); ++subnetIdsIndex) + { + m_subnetIds.push_back(subnetIdsJsonList[subnetIdsIndex].AsString()); + } + } + + if(jsonValue.ValueExists("vpcId")) + { + m_vpcId = jsonValue.GetString("vpcId"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetMonitorRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetMonitorRequest.cpp new file mode 100644 index 00000000000..9f3cb01031b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetMonitorRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetMonitorRequest::GetMonitorRequest() : + m_monitorIdHasBeenSet(false) +{ +} + +Aws::String GetMonitorRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetMonitorResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetMonitorResult.cpp new file mode 100644 index 00000000000..1ca5103dd31 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetMonitorResult.cpp @@ -0,0 +1,108 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetMonitorResult::GetMonitorResult() +{ +} + +GetMonitorResult::GetMonitorResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetMonitorResult& GetMonitorResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("displayName")) + { + m_displayName = jsonValue.GetString("displayName"); + + } + + if(jsonValue.ValueExists("identityCenterApplicationArn")) + { + m_identityCenterApplicationArn = jsonValue.GetString("identityCenterApplicationArn"); + + } + + if(jsonValue.ValueExists("identityCenterInstanceArn")) + { + m_identityCenterInstanceArn = jsonValue.GetString("identityCenterInstanceArn"); + + } + + if(jsonValue.ValueExists("monitorId")) + { + m_monitorId = jsonValue.GetString("monitorId"); + + } + + if(jsonValue.ValueExists("roleArn")) + { + m_roleArn = jsonValue.GetString("roleArn"); + + } + + if(jsonValue.ValueExists("subdomain")) + { + m_subdomain = jsonValue.GetString("subdomain"); + + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + } + + if(jsonValue.ValueExists("url")) + { + m_url = jsonValue.GetString("url"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueEnvironmentRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueEnvironmentRequest.cpp new file mode 100644 index 00000000000..4c26dc38d6c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueEnvironmentRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetQueueEnvironmentRequest::GetQueueEnvironmentRequest() : + m_farmIdHasBeenSet(false), + m_queueEnvironmentIdHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String GetQueueEnvironmentRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueEnvironmentResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueEnvironmentResult.cpp new file mode 100644 index 00000000000..66e89f47485 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueEnvironmentResult.cpp @@ -0,0 +1,100 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetQueueEnvironmentResult::GetQueueEnvironmentResult() : + m_priority(0), + m_templateType(EnvironmentTemplateType::NOT_SET) +{ +} + +GetQueueEnvironmentResult::GetQueueEnvironmentResult(const Aws::AmazonWebServiceResult& result) : + m_priority(0), + m_templateType(EnvironmentTemplateType::NOT_SET) +{ + *this = result; +} + +GetQueueEnvironmentResult& GetQueueEnvironmentResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + } + + if(jsonValue.ValueExists("priority")) + { + m_priority = jsonValue.GetInteger("priority"); + + } + + if(jsonValue.ValueExists("queueEnvironmentId")) + { + m_queueEnvironmentId = jsonValue.GetString("queueEnvironmentId"); + + } + + if(jsonValue.ValueExists("template")) + { + m_template = jsonValue.GetString("template"); + + } + + if(jsonValue.ValueExists("templateType")) + { + m_templateType = EnvironmentTemplateTypeMapper::GetEnvironmentTemplateTypeForName(jsonValue.GetString("templateType")); + + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueFleetAssociationRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueFleetAssociationRequest.cpp new file mode 100644 index 00000000000..9443d4d33f5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueFleetAssociationRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetQueueFleetAssociationRequest::GetQueueFleetAssociationRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String GetQueueFleetAssociationRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueFleetAssociationResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueFleetAssociationResult.cpp new file mode 100644 index 00000000000..5b07774e684 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueFleetAssociationResult.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetQueueFleetAssociationResult::GetQueueFleetAssociationResult() : + m_status(QueueFleetAssociationStatus::NOT_SET) +{ +} + +GetQueueFleetAssociationResult::GetQueueFleetAssociationResult(const Aws::AmazonWebServiceResult& result) : + m_status(QueueFleetAssociationStatus::NOT_SET) +{ + *this = result; +} + +GetQueueFleetAssociationResult& GetQueueFleetAssociationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("fleetId")) + { + m_fleetId = jsonValue.GetString("fleetId"); + + } + + if(jsonValue.ValueExists("queueId")) + { + m_queueId = jsonValue.GetString("queueId"); + + } + + if(jsonValue.ValueExists("status")) + { + m_status = QueueFleetAssociationStatusMapper::GetQueueFleetAssociationStatusForName(jsonValue.GetString("status")); + + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueRequest.cpp new file mode 100644 index 00000000000..ebd85e0cb3c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetQueueRequest::GetQueueRequest() : + m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String GetQueueRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueResult.cpp new file mode 100644 index 00000000000..42e32a0f0ce --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueResult.cpp @@ -0,0 +1,150 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetQueueResult::GetQueueResult() : + m_blockedReason(QueueBlockedReason::NOT_SET), + m_defaultBudgetAction(DefaultQueueBudgetAction::NOT_SET), + m_status(QueueStatus::NOT_SET) +{ +} + +GetQueueResult::GetQueueResult(const Aws::AmazonWebServiceResult& result) : + m_blockedReason(QueueBlockedReason::NOT_SET), + m_defaultBudgetAction(DefaultQueueBudgetAction::NOT_SET), + m_status(QueueStatus::NOT_SET) +{ + *this = result; +} + +GetQueueResult& GetQueueResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("allowedStorageProfileIds")) + { + Aws::Utils::Array allowedStorageProfileIdsJsonList = jsonValue.GetArray("allowedStorageProfileIds"); + for(unsigned allowedStorageProfileIdsIndex = 0; allowedStorageProfileIdsIndex < allowedStorageProfileIdsJsonList.GetLength(); ++allowedStorageProfileIdsIndex) + { + m_allowedStorageProfileIds.push_back(allowedStorageProfileIdsJsonList[allowedStorageProfileIdsIndex].AsString()); + } + } + + if(jsonValue.ValueExists("blockedReason")) + { + m_blockedReason = QueueBlockedReasonMapper::GetQueueBlockedReasonForName(jsonValue.GetString("blockedReason")); + + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("defaultBudgetAction")) + { + m_defaultBudgetAction = DefaultQueueBudgetActionMapper::GetDefaultQueueBudgetActionForName(jsonValue.GetString("defaultBudgetAction")); + + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + } + + if(jsonValue.ValueExists("displayName")) + { + m_displayName = jsonValue.GetString("displayName"); + + } + + if(jsonValue.ValueExists("farmId")) + { + m_farmId = jsonValue.GetString("farmId"); + + } + + if(jsonValue.ValueExists("jobAttachmentSettings")) + { + m_jobAttachmentSettings = jsonValue.GetObject("jobAttachmentSettings"); + + } + + if(jsonValue.ValueExists("jobRunAsUser")) + { + m_jobRunAsUser = jsonValue.GetObject("jobRunAsUser"); + + } + + if(jsonValue.ValueExists("queueId")) + { + m_queueId = jsonValue.GetString("queueId"); + + } + + if(jsonValue.ValueExists("requiredFileSystemLocationNames")) + { + Aws::Utils::Array requiredFileSystemLocationNamesJsonList = jsonValue.GetArray("requiredFileSystemLocationNames"); + for(unsigned requiredFileSystemLocationNamesIndex = 0; requiredFileSystemLocationNamesIndex < requiredFileSystemLocationNamesJsonList.GetLength(); ++requiredFileSystemLocationNamesIndex) + { + m_requiredFileSystemLocationNames.push_back(requiredFileSystemLocationNamesJsonList[requiredFileSystemLocationNamesIndex].AsString()); + } + } + + if(jsonValue.ValueExists("roleArn")) + { + m_roleArn = jsonValue.GetString("roleArn"); + + } + + if(jsonValue.ValueExists("status")) + { + m_status = QueueStatusMapper::GetQueueStatusForName(jsonValue.GetString("status")); + + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionActionRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionActionRequest.cpp new file mode 100644 index 00000000000..e24aa2b52d7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionActionRequest.cpp @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetSessionActionRequest::GetSessionActionRequest() : + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_sessionActionIdHasBeenSet(false) +{ +} + +Aws::String GetSessionActionRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionActionResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionActionResult.cpp new file mode 100644 index 00000000000..2e2ccb2537a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionActionResult.cpp @@ -0,0 +1,108 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetSessionActionResult::GetSessionActionResult() : + m_processExitCode(0), + m_progressPercent(0.0), + m_status(SessionActionStatus::NOT_SET) +{ +} + +GetSessionActionResult::GetSessionActionResult(const Aws::AmazonWebServiceResult& result) : + m_processExitCode(0), + m_progressPercent(0.0), + m_status(SessionActionStatus::NOT_SET) +{ + *this = result; +} + +GetSessionActionResult& GetSessionActionResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("definition")) + { + m_definition = jsonValue.GetObject("definition"); + + } + + if(jsonValue.ValueExists("endedAt")) + { + m_endedAt = jsonValue.GetString("endedAt"); + + } + + if(jsonValue.ValueExists("processExitCode")) + { + m_processExitCode = jsonValue.GetInteger("processExitCode"); + + } + + if(jsonValue.ValueExists("progressMessage")) + { + m_progressMessage = jsonValue.GetString("progressMessage"); + + } + + if(jsonValue.ValueExists("progressPercent")) + { + m_progressPercent = jsonValue.GetDouble("progressPercent"); + + } + + if(jsonValue.ValueExists("sessionActionId")) + { + m_sessionActionId = jsonValue.GetString("sessionActionId"); + + } + + if(jsonValue.ValueExists("sessionId")) + { + m_sessionId = jsonValue.GetString("sessionId"); + + } + + if(jsonValue.ValueExists("startedAt")) + { + m_startedAt = jsonValue.GetString("startedAt"); + + } + + if(jsonValue.ValueExists("status")) + { + m_status = SessionActionStatusMapper::GetSessionActionStatusForName(jsonValue.GetString("status")); + + } + + if(jsonValue.ValueExists("workerUpdatedAt")) + { + m_workerUpdatedAt = jsonValue.GetString("workerUpdatedAt"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionRequest.cpp new file mode 100644 index 00000000000..5940672e894 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionRequest.cpp @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetSessionRequest::GetSessionRequest() : + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_sessionIdHasBeenSet(false) +{ +} + +Aws::String GetSessionRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionResult.cpp new file mode 100644 index 00000000000..4357f188f08 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionResult.cpp @@ -0,0 +1,118 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetSessionResult::GetSessionResult() : + m_lifecycleStatus(SessionLifecycleStatus::NOT_SET), + m_targetLifecycleStatus(SessionLifecycleTargetStatus::NOT_SET) +{ +} + +GetSessionResult::GetSessionResult(const Aws::AmazonWebServiceResult& result) : + m_lifecycleStatus(SessionLifecycleStatus::NOT_SET), + m_targetLifecycleStatus(SessionLifecycleTargetStatus::NOT_SET) +{ + *this = result; +} + +GetSessionResult& GetSessionResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("endedAt")) + { + m_endedAt = jsonValue.GetString("endedAt"); + + } + + if(jsonValue.ValueExists("fleetId")) + { + m_fleetId = jsonValue.GetString("fleetId"); + + } + + if(jsonValue.ValueExists("hostProperties")) + { + m_hostProperties = jsonValue.GetObject("hostProperties"); + + } + + if(jsonValue.ValueExists("lifecycleStatus")) + { + m_lifecycleStatus = SessionLifecycleStatusMapper::GetSessionLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); + + } + + if(jsonValue.ValueExists("log")) + { + m_log = jsonValue.GetObject("log"); + + } + + if(jsonValue.ValueExists("sessionId")) + { + m_sessionId = jsonValue.GetString("sessionId"); + + } + + if(jsonValue.ValueExists("startedAt")) + { + m_startedAt = jsonValue.GetString("startedAt"); + + } + + if(jsonValue.ValueExists("targetLifecycleStatus")) + { + m_targetLifecycleStatus = SessionLifecycleTargetStatusMapper::GetSessionLifecycleTargetStatusForName(jsonValue.GetString("targetLifecycleStatus")); + + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + } + + if(jsonValue.ValueExists("workerId")) + { + m_workerId = jsonValue.GetString("workerId"); + + } + + if(jsonValue.ValueExists("workerLog")) + { + m_workerLog = jsonValue.GetObject("workerLog"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionsStatisticsAggregationRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionsStatisticsAggregationRequest.cpp new file mode 100644 index 00000000000..497b0d097f4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionsStatisticsAggregationRequest.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +GetSessionsStatisticsAggregationRequest::GetSessionsStatisticsAggregationRequest() : + m_aggregationIdHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String GetSessionsStatisticsAggregationRequest::SerializePayload() const +{ + return {}; +} + +void GetSessionsStatisticsAggregationRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_aggregationIdHasBeenSet) + { + ss << m_aggregationId; + uri.AddQueryStringParameter("aggregationId", ss.str()); + ss.str(""); + } + + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionsStatisticsAggregationResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionsStatisticsAggregationResult.cpp new file mode 100644 index 00000000000..78a92327ada --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionsStatisticsAggregationResult.cpp @@ -0,0 +1,71 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetSessionsStatisticsAggregationResult::GetSessionsStatisticsAggregationResult() : + m_status(SessionsStatisticsAggregationStatus::NOT_SET) +{ +} + +GetSessionsStatisticsAggregationResult::GetSessionsStatisticsAggregationResult(const Aws::AmazonWebServiceResult& result) : + m_status(SessionsStatisticsAggregationStatus::NOT_SET) +{ + *this = result; +} + +GetSessionsStatisticsAggregationResult& GetSessionsStatisticsAggregationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("statistics")) + { + Aws::Utils::Array statisticsJsonList = jsonValue.GetArray("statistics"); + for(unsigned statisticsIndex = 0; statisticsIndex < statisticsJsonList.GetLength(); ++statisticsIndex) + { + m_statistics.push_back(statisticsJsonList[statisticsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("status")) + { + m_status = SessionsStatisticsAggregationStatusMapper::GetSessionsStatisticsAggregationStatusForName(jsonValue.GetString("status")); + + } + + if(jsonValue.ValueExists("statusMessage")) + { + m_statusMessage = jsonValue.GetString("statusMessage"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetStepRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetStepRequest.cpp new file mode 100644 index 00000000000..822b636c313 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetStepRequest.cpp @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetStepRequest::GetStepRequest() : + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_stepIdHasBeenSet(false) +{ +} + +Aws::String GetStepRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetStepResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetStepResult.cpp new file mode 100644 index 00000000000..44711eb4e7f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetStepResult.cpp @@ -0,0 +1,153 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetStepResult::GetStepResult() : + m_lifecycleStatus(StepLifecycleStatus::NOT_SET), + m_targetTaskRunStatus(StepTargetTaskRunStatus::NOT_SET), + m_taskRunStatus(TaskRunStatus::NOT_SET) +{ +} + +GetStepResult::GetStepResult(const Aws::AmazonWebServiceResult& result) : + m_lifecycleStatus(StepLifecycleStatus::NOT_SET), + m_targetTaskRunStatus(StepTargetTaskRunStatus::NOT_SET), + m_taskRunStatus(TaskRunStatus::NOT_SET) +{ + *this = result; +} + +GetStepResult& GetStepResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("dependencyCounts")) + { + m_dependencyCounts = jsonValue.GetObject("dependencyCounts"); + + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + } + + if(jsonValue.ValueExists("endedAt")) + { + m_endedAt = jsonValue.GetString("endedAt"); + + } + + if(jsonValue.ValueExists("lifecycleStatus")) + { + m_lifecycleStatus = StepLifecycleStatusMapper::GetStepLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); + + } + + if(jsonValue.ValueExists("lifecycleStatusMessage")) + { + m_lifecycleStatusMessage = jsonValue.GetString("lifecycleStatusMessage"); + + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + } + + if(jsonValue.ValueExists("parameterSpace")) + { + m_parameterSpace = jsonValue.GetObject("parameterSpace"); + + } + + if(jsonValue.ValueExists("requiredCapabilities")) + { + m_requiredCapabilities = jsonValue.GetObject("requiredCapabilities"); + + } + + if(jsonValue.ValueExists("startedAt")) + { + m_startedAt = jsonValue.GetString("startedAt"); + + } + + if(jsonValue.ValueExists("stepId")) + { + m_stepId = jsonValue.GetString("stepId"); + + } + + if(jsonValue.ValueExists("targetTaskRunStatus")) + { + m_targetTaskRunStatus = StepTargetTaskRunStatusMapper::GetStepTargetTaskRunStatusForName(jsonValue.GetString("targetTaskRunStatus")); + + } + + if(jsonValue.ValueExists("taskRunStatus")) + { + m_taskRunStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("taskRunStatus")); + + } + + if(jsonValue.ValueExists("taskRunStatusCounts")) + { + Aws::Map taskRunStatusCountsJsonMap = jsonValue.GetObject("taskRunStatusCounts").GetAllObjects(); + for(auto& taskRunStatusCountsItem : taskRunStatusCountsJsonMap) + { + m_taskRunStatusCounts[TaskRunStatusMapper::GetTaskRunStatusForName(taskRunStatusCountsItem.first)] = taskRunStatusCountsItem.second.AsInteger(); + } + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileForQueueRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileForQueueRequest.cpp new file mode 100644 index 00000000000..8bd7594e11a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileForQueueRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetStorageProfileForQueueRequest::GetStorageProfileForQueueRequest() : + m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_storageProfileIdHasBeenSet(false) +{ +} + +Aws::String GetStorageProfileForQueueRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileForQueueResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileForQueueResult.cpp new file mode 100644 index 00000000000..db94a0b976a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileForQueueResult.cpp @@ -0,0 +1,71 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetStorageProfileForQueueResult::GetStorageProfileForQueueResult() : + m_osFamily(StorageProfileOperatingSystemFamily::NOT_SET) +{ +} + +GetStorageProfileForQueueResult::GetStorageProfileForQueueResult(const Aws::AmazonWebServiceResult& result) : + m_osFamily(StorageProfileOperatingSystemFamily::NOT_SET) +{ + *this = result; +} + +GetStorageProfileForQueueResult& GetStorageProfileForQueueResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("displayName")) + { + m_displayName = jsonValue.GetString("displayName"); + + } + + if(jsonValue.ValueExists("fileSystemLocations")) + { + Aws::Utils::Array fileSystemLocationsJsonList = jsonValue.GetArray("fileSystemLocations"); + for(unsigned fileSystemLocationsIndex = 0; fileSystemLocationsIndex < fileSystemLocationsJsonList.GetLength(); ++fileSystemLocationsIndex) + { + m_fileSystemLocations.push_back(fileSystemLocationsJsonList[fileSystemLocationsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("osFamily")) + { + m_osFamily = StorageProfileOperatingSystemFamilyMapper::GetStorageProfileOperatingSystemFamilyForName(jsonValue.GetString("osFamily")); + + } + + if(jsonValue.ValueExists("storageProfileId")) + { + m_storageProfileId = jsonValue.GetString("storageProfileId"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileRequest.cpp new file mode 100644 index 00000000000..25345e0be7b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetStorageProfileRequest::GetStorageProfileRequest() : + m_farmIdHasBeenSet(false), + m_storageProfileIdHasBeenSet(false) +{ +} + +Aws::String GetStorageProfileRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileResult.cpp new file mode 100644 index 00000000000..afec09b4bc4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileResult.cpp @@ -0,0 +1,95 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetStorageProfileResult::GetStorageProfileResult() : + m_osFamily(StorageProfileOperatingSystemFamily::NOT_SET) +{ +} + +GetStorageProfileResult::GetStorageProfileResult(const Aws::AmazonWebServiceResult& result) : + m_osFamily(StorageProfileOperatingSystemFamily::NOT_SET) +{ + *this = result; +} + +GetStorageProfileResult& GetStorageProfileResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("displayName")) + { + m_displayName = jsonValue.GetString("displayName"); + + } + + if(jsonValue.ValueExists("fileSystemLocations")) + { + Aws::Utils::Array fileSystemLocationsJsonList = jsonValue.GetArray("fileSystemLocations"); + for(unsigned fileSystemLocationsIndex = 0; fileSystemLocationsIndex < fileSystemLocationsJsonList.GetLength(); ++fileSystemLocationsIndex) + { + m_fileSystemLocations.push_back(fileSystemLocationsJsonList[fileSystemLocationsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("osFamily")) + { + m_osFamily = StorageProfileOperatingSystemFamilyMapper::GetStorageProfileOperatingSystemFamilyForName(jsonValue.GetString("osFamily")); + + } + + if(jsonValue.ValueExists("storageProfileId")) + { + m_storageProfileId = jsonValue.GetString("storageProfileId"); + + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetTaskRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetTaskRequest.cpp new file mode 100644 index 00000000000..e44f4ce3b76 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetTaskRequest.cpp @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetTaskRequest::GetTaskRequest() : + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_stepIdHasBeenSet(false), + m_taskIdHasBeenSet(false) +{ +} + +Aws::String GetTaskRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetTaskResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetTaskResult.cpp new file mode 100644 index 00000000000..b58668acc9f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetTaskResult.cpp @@ -0,0 +1,123 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetTaskResult::GetTaskResult() : + m_failureRetryCount(0), + m_runStatus(TaskRunStatus::NOT_SET), + m_targetRunStatus(TaskTargetRunStatus::NOT_SET) +{ +} + +GetTaskResult::GetTaskResult(const Aws::AmazonWebServiceResult& result) : + m_failureRetryCount(0), + m_runStatus(TaskRunStatus::NOT_SET), + m_targetRunStatus(TaskTargetRunStatus::NOT_SET) +{ + *this = result; +} + +GetTaskResult& GetTaskResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("endedAt")) + { + m_endedAt = jsonValue.GetString("endedAt"); + + } + + if(jsonValue.ValueExists("failureRetryCount")) + { + m_failureRetryCount = jsonValue.GetInteger("failureRetryCount"); + + } + + if(jsonValue.ValueExists("latestSessionActionId")) + { + m_latestSessionActionId = jsonValue.GetString("latestSessionActionId"); + + } + + if(jsonValue.ValueExists("parameters")) + { + Aws::Map parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); + for(auto& parametersItem : parametersJsonMap) + { + m_parameters[parametersItem.first] = parametersItem.second.AsObject(); + } + } + + if(jsonValue.ValueExists("runStatus")) + { + m_runStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("runStatus")); + + } + + if(jsonValue.ValueExists("startedAt")) + { + m_startedAt = jsonValue.GetString("startedAt"); + + } + + if(jsonValue.ValueExists("targetRunStatus")) + { + m_targetRunStatus = TaskTargetRunStatusMapper::GetTaskTargetRunStatusForName(jsonValue.GetString("targetRunStatus")); + + } + + if(jsonValue.ValueExists("taskId")) + { + m_taskId = jsonValue.GetString("taskId"); + + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetWorkerRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetWorkerRequest.cpp new file mode 100644 index 00000000000..f9369ad62ff --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetWorkerRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetWorkerRequest::GetWorkerRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_workerIdHasBeenSet(false) +{ +} + +Aws::String GetWorkerRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetWorkerResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetWorkerResult.cpp new file mode 100644 index 00000000000..9e17700bb1c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetWorkerResult.cpp @@ -0,0 +1,104 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetWorkerResult::GetWorkerResult() : + m_status(WorkerStatus::NOT_SET) +{ +} + +GetWorkerResult::GetWorkerResult(const Aws::AmazonWebServiceResult& result) : + m_status(WorkerStatus::NOT_SET) +{ + *this = result; +} + +GetWorkerResult& GetWorkerResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + } + + if(jsonValue.ValueExists("farmId")) + { + m_farmId = jsonValue.GetString("farmId"); + + } + + if(jsonValue.ValueExists("fleetId")) + { + m_fleetId = jsonValue.GetString("fleetId"); + + } + + if(jsonValue.ValueExists("hostProperties")) + { + m_hostProperties = jsonValue.GetObject("hostProperties"); + + } + + if(jsonValue.ValueExists("log")) + { + m_log = jsonValue.GetObject("log"); + + } + + if(jsonValue.ValueExists("status")) + { + m_status = WorkerStatusMapper::GetWorkerStatusForName(jsonValue.GetString("status")); + + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + } + + if(jsonValue.ValueExists("workerId")) + { + m_workerId = jsonValue.GetString("workerId"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/HostPropertiesRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/HostPropertiesRequest.cpp new file mode 100644 index 00000000000..09283404c7b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/HostPropertiesRequest.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +HostPropertiesRequest::HostPropertiesRequest() : + m_hostNameHasBeenSet(false), + m_ipAddressesHasBeenSet(false) +{ +} + +HostPropertiesRequest::HostPropertiesRequest(JsonView jsonValue) : + m_hostNameHasBeenSet(false), + m_ipAddressesHasBeenSet(false) +{ + *this = jsonValue; +} + +HostPropertiesRequest& HostPropertiesRequest::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("hostName")) + { + m_hostName = jsonValue.GetString("hostName"); + + m_hostNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("ipAddresses")) + { + m_ipAddresses = jsonValue.GetObject("ipAddresses"); + + m_ipAddressesHasBeenSet = true; + } + + return *this; +} + +JsonValue HostPropertiesRequest::Jsonize() const +{ + JsonValue payload; + + if(m_hostNameHasBeenSet) + { + payload.WithString("hostName", m_hostName); + + } + + if(m_ipAddressesHasBeenSet) + { + payload.WithObject("ipAddresses", m_ipAddresses.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/HostPropertiesResponse.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/HostPropertiesResponse.cpp new file mode 100644 index 00000000000..947591c92ae --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/HostPropertiesResponse.cpp @@ -0,0 +1,104 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +HostPropertiesResponse::HostPropertiesResponse() : + m_ec2InstanceArnHasBeenSet(false), + m_ec2InstanceTypeHasBeenSet(false), + m_hostNameHasBeenSet(false), + m_ipAddressesHasBeenSet(false) +{ +} + +HostPropertiesResponse::HostPropertiesResponse(JsonView jsonValue) : + m_ec2InstanceArnHasBeenSet(false), + m_ec2InstanceTypeHasBeenSet(false), + m_hostNameHasBeenSet(false), + m_ipAddressesHasBeenSet(false) +{ + *this = jsonValue; +} + +HostPropertiesResponse& HostPropertiesResponse::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("ec2InstanceArn")) + { + m_ec2InstanceArn = jsonValue.GetString("ec2InstanceArn"); + + m_ec2InstanceArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("ec2InstanceType")) + { + m_ec2InstanceType = jsonValue.GetString("ec2InstanceType"); + + m_ec2InstanceTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("hostName")) + { + m_hostName = jsonValue.GetString("hostName"); + + m_hostNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("ipAddresses")) + { + m_ipAddresses = jsonValue.GetObject("ipAddresses"); + + m_ipAddressesHasBeenSet = true; + } + + return *this; +} + +JsonValue HostPropertiesResponse::Jsonize() const +{ + JsonValue payload; + + if(m_ec2InstanceArnHasBeenSet) + { + payload.WithString("ec2InstanceArn", m_ec2InstanceArn); + + } + + if(m_ec2InstanceTypeHasBeenSet) + { + payload.WithString("ec2InstanceType", m_ec2InstanceType); + + } + + if(m_hostNameHasBeenSet) + { + payload.WithString("hostName", m_hostName); + + } + + if(m_ipAddressesHasBeenSet) + { + payload.WithObject("ipAddresses", m_ipAddresses.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/InternalServerErrorException.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/InternalServerErrorException.cpp new file mode 100644 index 00000000000..f891c76f35a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/InternalServerErrorException.cpp @@ -0,0 +1,64 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +InternalServerErrorException::InternalServerErrorException() : + m_messageHasBeenSet(false), + m_retryAfterSeconds(0), + m_retryAfterSecondsHasBeenSet(false) +{ +} + +InternalServerErrorException::InternalServerErrorException(JsonView jsonValue) : + m_messageHasBeenSet(false), + m_retryAfterSeconds(0), + m_retryAfterSecondsHasBeenSet(false) +{ + *this = jsonValue; +} + +InternalServerErrorException& InternalServerErrorException::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + return *this; +} + +JsonValue InternalServerErrorException::Jsonize() const +{ + JsonValue payload; + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/IpAddresses.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/IpAddresses.cpp new file mode 100644 index 00000000000..8d7410dd169 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/IpAddresses.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +IpAddresses::IpAddresses() : + m_ipV4AddressesHasBeenSet(false), + m_ipV6AddressesHasBeenSet(false) +{ +} + +IpAddresses::IpAddresses(JsonView jsonValue) : + m_ipV4AddressesHasBeenSet(false), + m_ipV6AddressesHasBeenSet(false) +{ + *this = jsonValue; +} + +IpAddresses& IpAddresses::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("ipV4Addresses")) + { + Aws::Utils::Array ipV4AddressesJsonList = jsonValue.GetArray("ipV4Addresses"); + for(unsigned ipV4AddressesIndex = 0; ipV4AddressesIndex < ipV4AddressesJsonList.GetLength(); ++ipV4AddressesIndex) + { + m_ipV4Addresses.push_back(ipV4AddressesJsonList[ipV4AddressesIndex].AsString()); + } + m_ipV4AddressesHasBeenSet = true; + } + + if(jsonValue.ValueExists("ipV6Addresses")) + { + Aws::Utils::Array ipV6AddressesJsonList = jsonValue.GetArray("ipV6Addresses"); + for(unsigned ipV6AddressesIndex = 0; ipV6AddressesIndex < ipV6AddressesJsonList.GetLength(); ++ipV6AddressesIndex) + { + m_ipV6Addresses.push_back(ipV6AddressesJsonList[ipV6AddressesIndex].AsString()); + } + m_ipV6AddressesHasBeenSet = true; + } + + return *this; +} + +JsonValue IpAddresses::Jsonize() const +{ + JsonValue payload; + + if(m_ipV4AddressesHasBeenSet) + { + Aws::Utils::Array ipV4AddressesJsonList(m_ipV4Addresses.size()); + for(unsigned ipV4AddressesIndex = 0; ipV4AddressesIndex < ipV4AddressesJsonList.GetLength(); ++ipV4AddressesIndex) + { + ipV4AddressesJsonList[ipV4AddressesIndex].AsString(m_ipV4Addresses[ipV4AddressesIndex]); + } + payload.WithArray("ipV4Addresses", std::move(ipV4AddressesJsonList)); + + } + + if(m_ipV6AddressesHasBeenSet) + { + Aws::Utils::Array ipV6AddressesJsonList(m_ipV6Addresses.size()); + for(unsigned ipV6AddressesIndex = 0; ipV6AddressesIndex < ipV6AddressesJsonList.GetLength(); ++ipV6AddressesIndex) + { + ipV6AddressesJsonList[ipV6AddressesIndex].AsString(m_ipV6Addresses[ipV6AddressesIndex]); + } + payload.WithArray("ipV6Addresses", std::move(ipV6AddressesJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentDetailsEntity.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentDetailsEntity.cpp new file mode 100644 index 00000000000..a832528db9f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentDetailsEntity.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +JobAttachmentDetailsEntity::JobAttachmentDetailsEntity() : + m_attachmentsHasBeenSet(false), + m_jobIdHasBeenSet(false) +{ +} + +JobAttachmentDetailsEntity::JobAttachmentDetailsEntity(JsonView jsonValue) : + m_attachmentsHasBeenSet(false), + m_jobIdHasBeenSet(false) +{ + *this = jsonValue; +} + +JobAttachmentDetailsEntity& JobAttachmentDetailsEntity::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("attachments")) + { + m_attachments = jsonValue.GetObject("attachments"); + + m_attachmentsHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + return *this; +} + +JsonValue JobAttachmentDetailsEntity::Jsonize() const +{ + JsonValue payload; + + if(m_attachmentsHasBeenSet) + { + payload.WithObject("attachments", m_attachments.Jsonize()); + + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentDetailsError.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentDetailsError.cpp new file mode 100644 index 00000000000..a897e72f52f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentDetailsError.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +JobAttachmentDetailsError::JobAttachmentDetailsError() : + m_code(JobEntityErrorCode::NOT_SET), + m_codeHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_messageHasBeenSet(false) +{ +} + +JobAttachmentDetailsError::JobAttachmentDetailsError(JsonView jsonValue) : + m_code(JobEntityErrorCode::NOT_SET), + m_codeHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_messageHasBeenSet(false) +{ + *this = jsonValue; +} + +JobAttachmentDetailsError& JobAttachmentDetailsError::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("code")) + { + m_code = JobEntityErrorCodeMapper::GetJobEntityErrorCodeForName(jsonValue.GetString("code")); + + m_codeHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + return *this; +} + +JsonValue JobAttachmentDetailsError::Jsonize() const +{ + JsonValue payload; + + if(m_codeHasBeenSet) + { + payload.WithString("code", JobEntityErrorCodeMapper::GetNameForJobEntityErrorCode(m_code)); + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentDetailsIdentifiers.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentDetailsIdentifiers.cpp new file mode 100644 index 00000000000..0bf168e00c2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentDetailsIdentifiers.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +JobAttachmentDetailsIdentifiers::JobAttachmentDetailsIdentifiers() : + m_jobIdHasBeenSet(false) +{ +} + +JobAttachmentDetailsIdentifiers::JobAttachmentDetailsIdentifiers(JsonView jsonValue) : + m_jobIdHasBeenSet(false) +{ + *this = jsonValue; +} + +JobAttachmentDetailsIdentifiers& JobAttachmentDetailsIdentifiers::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + return *this; +} + +JsonValue JobAttachmentDetailsIdentifiers::Jsonize() const +{ + JsonValue payload; + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentSettings.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentSettings.cpp new file mode 100644 index 00000000000..7f78fdbe60e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentSettings.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +JobAttachmentSettings::JobAttachmentSettings() : + m_rootPrefixHasBeenSet(false), + m_s3BucketNameHasBeenSet(false) +{ +} + +JobAttachmentSettings::JobAttachmentSettings(JsonView jsonValue) : + m_rootPrefixHasBeenSet(false), + m_s3BucketNameHasBeenSet(false) +{ + *this = jsonValue; +} + +JobAttachmentSettings& JobAttachmentSettings::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("rootPrefix")) + { + m_rootPrefix = jsonValue.GetString("rootPrefix"); + + m_rootPrefixHasBeenSet = true; + } + + if(jsonValue.ValueExists("s3BucketName")) + { + m_s3BucketName = jsonValue.GetString("s3BucketName"); + + m_s3BucketNameHasBeenSet = true; + } + + return *this; +} + +JsonValue JobAttachmentSettings::Jsonize() const +{ + JsonValue payload; + + if(m_rootPrefixHasBeenSet) + { + payload.WithString("rootPrefix", m_rootPrefix); + + } + + if(m_s3BucketNameHasBeenSet) + { + payload.WithString("s3BucketName", m_s3BucketName); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentsFileSystem.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentsFileSystem.cpp new file mode 100644 index 00000000000..7e7124f08ab --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobAttachmentsFileSystem.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace JobAttachmentsFileSystemMapper + { + + static const int COPIED_HASH = HashingUtils::HashString("COPIED"); + static const int VIRTUAL_HASH = HashingUtils::HashString("VIRTUAL"); + + + JobAttachmentsFileSystem GetJobAttachmentsFileSystemForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == COPIED_HASH) + { + return JobAttachmentsFileSystem::COPIED; + } + else if (hashCode == VIRTUAL_HASH) + { + return JobAttachmentsFileSystem::VIRTUAL; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return JobAttachmentsFileSystem::NOT_SET; + } + + Aws::String GetNameForJobAttachmentsFileSystem(JobAttachmentsFileSystem enumValue) + { + switch(enumValue) + { + case JobAttachmentsFileSystem::NOT_SET: + return {}; + case JobAttachmentsFileSystem::COPIED: + return "COPIED"; + case JobAttachmentsFileSystem::VIRTUAL: + return "VIRTUAL"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace JobAttachmentsFileSystemMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobDetailsEntity.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobDetailsEntity.cpp new file mode 100644 index 00000000000..a8f535d8884 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobDetailsEntity.cpp @@ -0,0 +1,180 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +JobDetailsEntity::JobDetailsEntity() : + m_jobAttachmentSettingsHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_jobRunAsUserHasBeenSet(false), + m_logGroupNameHasBeenSet(false), + m_parametersHasBeenSet(false), + m_pathMappingRulesHasBeenSet(false), + m_queueRoleArnHasBeenSet(false), + m_schemaVersionHasBeenSet(false) +{ +} + +JobDetailsEntity::JobDetailsEntity(JsonView jsonValue) : + m_jobAttachmentSettingsHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_jobRunAsUserHasBeenSet(false), + m_logGroupNameHasBeenSet(false), + m_parametersHasBeenSet(false), + m_pathMappingRulesHasBeenSet(false), + m_queueRoleArnHasBeenSet(false), + m_schemaVersionHasBeenSet(false) +{ + *this = jsonValue; +} + +JobDetailsEntity& JobDetailsEntity::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("jobAttachmentSettings")) + { + m_jobAttachmentSettings = jsonValue.GetObject("jobAttachmentSettings"); + + m_jobAttachmentSettingsHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobRunAsUser")) + { + m_jobRunAsUser = jsonValue.GetObject("jobRunAsUser"); + + m_jobRunAsUserHasBeenSet = true; + } + + if(jsonValue.ValueExists("logGroupName")) + { + m_logGroupName = jsonValue.GetString("logGroupName"); + + m_logGroupNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("parameters")) + { + Aws::Map parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); + for(auto& parametersItem : parametersJsonMap) + { + m_parameters[parametersItem.first] = parametersItem.second.AsObject(); + } + m_parametersHasBeenSet = true; + } + + if(jsonValue.ValueExists("pathMappingRules")) + { + Aws::Utils::Array pathMappingRulesJsonList = jsonValue.GetArray("pathMappingRules"); + for(unsigned pathMappingRulesIndex = 0; pathMappingRulesIndex < pathMappingRulesJsonList.GetLength(); ++pathMappingRulesIndex) + { + m_pathMappingRules.push_back(pathMappingRulesJsonList[pathMappingRulesIndex].AsObject()); + } + m_pathMappingRulesHasBeenSet = true; + } + + if(jsonValue.ValueExists("queueRoleArn")) + { + m_queueRoleArn = jsonValue.GetString("queueRoleArn"); + + m_queueRoleArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("schemaVersion")) + { + m_schemaVersion = jsonValue.GetString("schemaVersion"); + + m_schemaVersionHasBeenSet = true; + } + + return *this; +} + +JsonValue JobDetailsEntity::Jsonize() const +{ + JsonValue payload; + + if(m_jobAttachmentSettingsHasBeenSet) + { + payload.WithObject("jobAttachmentSettings", m_jobAttachmentSettings.Jsonize()); + + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_jobRunAsUserHasBeenSet) + { + payload.WithObject("jobRunAsUser", m_jobRunAsUser.Jsonize()); + + } + + if(m_logGroupNameHasBeenSet) + { + payload.WithString("logGroupName", m_logGroupName); + + } + + if(m_parametersHasBeenSet) + { + JsonValue parametersJsonMap; + for(auto& parametersItem : m_parameters) + { + parametersJsonMap.WithObject(parametersItem.first, parametersItem.second.Jsonize()); + } + payload.WithObject("parameters", std::move(parametersJsonMap)); + + } + + if(m_pathMappingRulesHasBeenSet) + { + Aws::Utils::Array pathMappingRulesJsonList(m_pathMappingRules.size()); + for(unsigned pathMappingRulesIndex = 0; pathMappingRulesIndex < pathMappingRulesJsonList.GetLength(); ++pathMappingRulesIndex) + { + pathMappingRulesJsonList[pathMappingRulesIndex].AsObject(m_pathMappingRules[pathMappingRulesIndex].Jsonize()); + } + payload.WithArray("pathMappingRules", std::move(pathMappingRulesJsonList)); + + } + + if(m_queueRoleArnHasBeenSet) + { + payload.WithString("queueRoleArn", m_queueRoleArn); + + } + + if(m_schemaVersionHasBeenSet) + { + payload.WithString("schemaVersion", m_schemaVersion); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobDetailsError.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobDetailsError.cpp new file mode 100644 index 00000000000..f1ea2c0828a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobDetailsError.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +JobDetailsError::JobDetailsError() : + m_code(JobEntityErrorCode::NOT_SET), + m_codeHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_messageHasBeenSet(false) +{ +} + +JobDetailsError::JobDetailsError(JsonView jsonValue) : + m_code(JobEntityErrorCode::NOT_SET), + m_codeHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_messageHasBeenSet(false) +{ + *this = jsonValue; +} + +JobDetailsError& JobDetailsError::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("code")) + { + m_code = JobEntityErrorCodeMapper::GetJobEntityErrorCodeForName(jsonValue.GetString("code")); + + m_codeHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + return *this; +} + +JsonValue JobDetailsError::Jsonize() const +{ + JsonValue payload; + + if(m_codeHasBeenSet) + { + payload.WithString("code", JobEntityErrorCodeMapper::GetNameForJobEntityErrorCode(m_code)); + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobDetailsIdentifiers.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobDetailsIdentifiers.cpp new file mode 100644 index 00000000000..21736b32620 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobDetailsIdentifiers.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +JobDetailsIdentifiers::JobDetailsIdentifiers() : + m_jobIdHasBeenSet(false) +{ +} + +JobDetailsIdentifiers::JobDetailsIdentifiers(JsonView jsonValue) : + m_jobIdHasBeenSet(false) +{ + *this = jsonValue; +} + +JobDetailsIdentifiers& JobDetailsIdentifiers::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + return *this; +} + +JsonValue JobDetailsIdentifiers::Jsonize() const +{ + JsonValue payload; + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobEntity.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobEntity.cpp new file mode 100644 index 00000000000..7fd2e309e2e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobEntity.cpp @@ -0,0 +1,104 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +JobEntity::JobEntity() : + m_environmentDetailsHasBeenSet(false), + m_jobAttachmentDetailsHasBeenSet(false), + m_jobDetailsHasBeenSet(false), + m_stepDetailsHasBeenSet(false) +{ +} + +JobEntity::JobEntity(JsonView jsonValue) : + m_environmentDetailsHasBeenSet(false), + m_jobAttachmentDetailsHasBeenSet(false), + m_jobDetailsHasBeenSet(false), + m_stepDetailsHasBeenSet(false) +{ + *this = jsonValue; +} + +JobEntity& JobEntity::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("environmentDetails")) + { + m_environmentDetails = jsonValue.GetObject("environmentDetails"); + + m_environmentDetailsHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobAttachmentDetails")) + { + m_jobAttachmentDetails = jsonValue.GetObject("jobAttachmentDetails"); + + m_jobAttachmentDetailsHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobDetails")) + { + m_jobDetails = jsonValue.GetObject("jobDetails"); + + m_jobDetailsHasBeenSet = true; + } + + if(jsonValue.ValueExists("stepDetails")) + { + m_stepDetails = jsonValue.GetObject("stepDetails"); + + m_stepDetailsHasBeenSet = true; + } + + return *this; +} + +JsonValue JobEntity::Jsonize() const +{ + JsonValue payload; + + if(m_environmentDetailsHasBeenSet) + { + payload.WithObject("environmentDetails", m_environmentDetails.Jsonize()); + + } + + if(m_jobAttachmentDetailsHasBeenSet) + { + payload.WithObject("jobAttachmentDetails", m_jobAttachmentDetails.Jsonize()); + + } + + if(m_jobDetailsHasBeenSet) + { + payload.WithObject("jobDetails", m_jobDetails.Jsonize()); + + } + + if(m_stepDetailsHasBeenSet) + { + payload.WithObject("stepDetails", m_stepDetails.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobEntityErrorCode.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobEntityErrorCode.cpp new file mode 100644 index 00000000000..18e728a2464 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobEntityErrorCode.cpp @@ -0,0 +1,100 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace JobEntityErrorCodeMapper + { + + static const int AccessDeniedException_HASH = HashingUtils::HashString("AccessDeniedException"); + static const int InternalServerException_HASH = HashingUtils::HashString("InternalServerException"); + static const int ValidationException_HASH = HashingUtils::HashString("ValidationException"); + static const int ResourceNotFoundException_HASH = HashingUtils::HashString("ResourceNotFoundException"); + static const int MaxPayloadSizeExceeded_HASH = HashingUtils::HashString("MaxPayloadSizeExceeded"); + static const int ConflictException_HASH = HashingUtils::HashString("ConflictException"); + + + JobEntityErrorCode GetJobEntityErrorCodeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == AccessDeniedException_HASH) + { + return JobEntityErrorCode::AccessDeniedException; + } + else if (hashCode == InternalServerException_HASH) + { + return JobEntityErrorCode::InternalServerException; + } + else if (hashCode == ValidationException_HASH) + { + return JobEntityErrorCode::ValidationException; + } + else if (hashCode == ResourceNotFoundException_HASH) + { + return JobEntityErrorCode::ResourceNotFoundException; + } + else if (hashCode == MaxPayloadSizeExceeded_HASH) + { + return JobEntityErrorCode::MaxPayloadSizeExceeded; + } + else if (hashCode == ConflictException_HASH) + { + return JobEntityErrorCode::ConflictException; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return JobEntityErrorCode::NOT_SET; + } + + Aws::String GetNameForJobEntityErrorCode(JobEntityErrorCode enumValue) + { + switch(enumValue) + { + case JobEntityErrorCode::NOT_SET: + return {}; + case JobEntityErrorCode::AccessDeniedException: + return "AccessDeniedException"; + case JobEntityErrorCode::InternalServerException: + return "InternalServerException"; + case JobEntityErrorCode::ValidationException: + return "ValidationException"; + case JobEntityErrorCode::ResourceNotFoundException: + return "ResourceNotFoundException"; + case JobEntityErrorCode::MaxPayloadSizeExceeded: + return "MaxPayloadSizeExceeded"; + case JobEntityErrorCode::ConflictException: + return "ConflictException"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace JobEntityErrorCodeMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobEntityIdentifiersUnion.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobEntityIdentifiersUnion.cpp new file mode 100644 index 00000000000..32c22ebad60 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobEntityIdentifiersUnion.cpp @@ -0,0 +1,104 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +JobEntityIdentifiersUnion::JobEntityIdentifiersUnion() : + m_environmentDetailsHasBeenSet(false), + m_jobAttachmentDetailsHasBeenSet(false), + m_jobDetailsHasBeenSet(false), + m_stepDetailsHasBeenSet(false) +{ +} + +JobEntityIdentifiersUnion::JobEntityIdentifiersUnion(JsonView jsonValue) : + m_environmentDetailsHasBeenSet(false), + m_jobAttachmentDetailsHasBeenSet(false), + m_jobDetailsHasBeenSet(false), + m_stepDetailsHasBeenSet(false) +{ + *this = jsonValue; +} + +JobEntityIdentifiersUnion& JobEntityIdentifiersUnion::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("environmentDetails")) + { + m_environmentDetails = jsonValue.GetObject("environmentDetails"); + + m_environmentDetailsHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobAttachmentDetails")) + { + m_jobAttachmentDetails = jsonValue.GetObject("jobAttachmentDetails"); + + m_jobAttachmentDetailsHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobDetails")) + { + m_jobDetails = jsonValue.GetObject("jobDetails"); + + m_jobDetailsHasBeenSet = true; + } + + if(jsonValue.ValueExists("stepDetails")) + { + m_stepDetails = jsonValue.GetObject("stepDetails"); + + m_stepDetailsHasBeenSet = true; + } + + return *this; +} + +JsonValue JobEntityIdentifiersUnion::Jsonize() const +{ + JsonValue payload; + + if(m_environmentDetailsHasBeenSet) + { + payload.WithObject("environmentDetails", m_environmentDetails.Jsonize()); + + } + + if(m_jobAttachmentDetailsHasBeenSet) + { + payload.WithObject("jobAttachmentDetails", m_jobAttachmentDetails.Jsonize()); + + } + + if(m_jobDetailsHasBeenSet) + { + payload.WithObject("jobDetails", m_jobDetails.Jsonize()); + + } + + if(m_stepDetailsHasBeenSet) + { + payload.WithObject("stepDetails", m_stepDetails.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobLifecycleStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobLifecycleStatus.cpp new file mode 100644 index 00000000000..a8b9f2697a7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobLifecycleStatus.cpp @@ -0,0 +1,121 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace JobLifecycleStatusMapper + { + + static const int CREATE_IN_PROGRESS_HASH = HashingUtils::HashString("CREATE_IN_PROGRESS"); + static const int CREATE_FAILED_HASH = HashingUtils::HashString("CREATE_FAILED"); + static const int CREATE_COMPLETE_HASH = HashingUtils::HashString("CREATE_COMPLETE"); + static const int UPLOAD_IN_PROGRESS_HASH = HashingUtils::HashString("UPLOAD_IN_PROGRESS"); + static const int UPLOAD_FAILED_HASH = HashingUtils::HashString("UPLOAD_FAILED"); + static const int UPDATE_IN_PROGRESS_HASH = HashingUtils::HashString("UPDATE_IN_PROGRESS"); + static const int UPDATE_FAILED_HASH = HashingUtils::HashString("UPDATE_FAILED"); + static const int UPDATE_SUCCEEDED_HASH = HashingUtils::HashString("UPDATE_SUCCEEDED"); + static const int ARCHIVED_HASH = HashingUtils::HashString("ARCHIVED"); + + + JobLifecycleStatus GetJobLifecycleStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CREATE_IN_PROGRESS_HASH) + { + return JobLifecycleStatus::CREATE_IN_PROGRESS; + } + else if (hashCode == CREATE_FAILED_HASH) + { + return JobLifecycleStatus::CREATE_FAILED; + } + else if (hashCode == CREATE_COMPLETE_HASH) + { + return JobLifecycleStatus::CREATE_COMPLETE; + } + else if (hashCode == UPLOAD_IN_PROGRESS_HASH) + { + return JobLifecycleStatus::UPLOAD_IN_PROGRESS; + } + else if (hashCode == UPLOAD_FAILED_HASH) + { + return JobLifecycleStatus::UPLOAD_FAILED; + } + else if (hashCode == UPDATE_IN_PROGRESS_HASH) + { + return JobLifecycleStatus::UPDATE_IN_PROGRESS; + } + else if (hashCode == UPDATE_FAILED_HASH) + { + return JobLifecycleStatus::UPDATE_FAILED; + } + else if (hashCode == UPDATE_SUCCEEDED_HASH) + { + return JobLifecycleStatus::UPDATE_SUCCEEDED; + } + else if (hashCode == ARCHIVED_HASH) + { + return JobLifecycleStatus::ARCHIVED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return JobLifecycleStatus::NOT_SET; + } + + Aws::String GetNameForJobLifecycleStatus(JobLifecycleStatus enumValue) + { + switch(enumValue) + { + case JobLifecycleStatus::NOT_SET: + return {}; + case JobLifecycleStatus::CREATE_IN_PROGRESS: + return "CREATE_IN_PROGRESS"; + case JobLifecycleStatus::CREATE_FAILED: + return "CREATE_FAILED"; + case JobLifecycleStatus::CREATE_COMPLETE: + return "CREATE_COMPLETE"; + case JobLifecycleStatus::UPLOAD_IN_PROGRESS: + return "UPLOAD_IN_PROGRESS"; + case JobLifecycleStatus::UPLOAD_FAILED: + return "UPLOAD_FAILED"; + case JobLifecycleStatus::UPDATE_IN_PROGRESS: + return "UPDATE_IN_PROGRESS"; + case JobLifecycleStatus::UPDATE_FAILED: + return "UPDATE_FAILED"; + case JobLifecycleStatus::UPDATE_SUCCEEDED: + return "UPDATE_SUCCEEDED"; + case JobLifecycleStatus::ARCHIVED: + return "ARCHIVED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace JobLifecycleStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobMember.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobMember.cpp new file mode 100644 index 00000000000..a6fea02a6d3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobMember.cpp @@ -0,0 +1,151 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +JobMember::JobMember() : + m_farmIdHasBeenSet(false), + m_identityStoreIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false), + m_principalIdHasBeenSet(false), + m_principalType(PrincipalType::NOT_SET), + m_principalTypeHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +JobMember::JobMember(JsonView jsonValue) : + m_farmIdHasBeenSet(false), + m_identityStoreIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false), + m_principalIdHasBeenSet(false), + m_principalType(PrincipalType::NOT_SET), + m_principalTypeHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ + *this = jsonValue; +} + +JobMember& JobMember::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("farmId")) + { + m_farmId = jsonValue.GetString("farmId"); + + m_farmIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("identityStoreId")) + { + m_identityStoreId = jsonValue.GetString("identityStoreId"); + + m_identityStoreIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("membershipLevel")) + { + m_membershipLevel = MembershipLevelMapper::GetMembershipLevelForName(jsonValue.GetString("membershipLevel")); + + m_membershipLevelHasBeenSet = true; + } + + if(jsonValue.ValueExists("principalId")) + { + m_principalId = jsonValue.GetString("principalId"); + + m_principalIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("principalType")) + { + m_principalType = PrincipalTypeMapper::GetPrincipalTypeForName(jsonValue.GetString("principalType")); + + m_principalTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("queueId")) + { + m_queueId = jsonValue.GetString("queueId"); + + m_queueIdHasBeenSet = true; + } + + return *this; +} + +JsonValue JobMember::Jsonize() const +{ + JsonValue payload; + + if(m_farmIdHasBeenSet) + { + payload.WithString("farmId", m_farmId); + + } + + if(m_identityStoreIdHasBeenSet) + { + payload.WithString("identityStoreId", m_identityStoreId); + + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_membershipLevelHasBeenSet) + { + payload.WithString("membershipLevel", MembershipLevelMapper::GetNameForMembershipLevel(m_membershipLevel)); + } + + if(m_principalIdHasBeenSet) + { + payload.WithString("principalId", m_principalId); + + } + + if(m_principalTypeHasBeenSet) + { + payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); + } + + if(m_queueIdHasBeenSet) + { + payload.WithString("queueId", m_queueId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobParameter.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobParameter.cpp new file mode 100644 index 00000000000..3486f65bc01 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobParameter.cpp @@ -0,0 +1,104 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +JobParameter::JobParameter() : + m_floatHasBeenSet(false), + m_intHasBeenSet(false), + m_pathHasBeenSet(false), + m_stringHasBeenSet(false) +{ +} + +JobParameter::JobParameter(JsonView jsonValue) : + m_floatHasBeenSet(false), + m_intHasBeenSet(false), + m_pathHasBeenSet(false), + m_stringHasBeenSet(false) +{ + *this = jsonValue; +} + +JobParameter& JobParameter::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("float")) + { + m_float = jsonValue.GetString("float"); + + m_floatHasBeenSet = true; + } + + if(jsonValue.ValueExists("int")) + { + m_int = jsonValue.GetString("int"); + + m_intHasBeenSet = true; + } + + if(jsonValue.ValueExists("path")) + { + m_path = jsonValue.GetString("path"); + + m_pathHasBeenSet = true; + } + + if(jsonValue.ValueExists("string")) + { + m_string = jsonValue.GetString("string"); + + m_stringHasBeenSet = true; + } + + return *this; +} + +JsonValue JobParameter::Jsonize() const +{ + JsonValue payload; + + if(m_floatHasBeenSet) + { + payload.WithString("float", m_float); + + } + + if(m_intHasBeenSet) + { + payload.WithString("int", m_int); + + } + + if(m_pathHasBeenSet) + { + payload.WithString("path", m_path); + + } + + if(m_stringHasBeenSet) + { + payload.WithString("string", m_string); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobRunAsUser.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobRunAsUser.cpp new file mode 100644 index 00000000000..850b8ecbdbc --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobRunAsUser.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +JobRunAsUser::JobRunAsUser() : + m_posixHasBeenSet(false), + m_runAs(RunAs::NOT_SET), + m_runAsHasBeenSet(false), + m_windowsHasBeenSet(false) +{ +} + +JobRunAsUser::JobRunAsUser(JsonView jsonValue) : + m_posixHasBeenSet(false), + m_runAs(RunAs::NOT_SET), + m_runAsHasBeenSet(false), + m_windowsHasBeenSet(false) +{ + *this = jsonValue; +} + +JobRunAsUser& JobRunAsUser::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("posix")) + { + m_posix = jsonValue.GetObject("posix"); + + m_posixHasBeenSet = true; + } + + if(jsonValue.ValueExists("runAs")) + { + m_runAs = RunAsMapper::GetRunAsForName(jsonValue.GetString("runAs")); + + m_runAsHasBeenSet = true; + } + + if(jsonValue.ValueExists("windows")) + { + m_windows = jsonValue.GetObject("windows"); + + m_windowsHasBeenSet = true; + } + + return *this; +} + +JsonValue JobRunAsUser::Jsonize() const +{ + JsonValue payload; + + if(m_posixHasBeenSet) + { + payload.WithObject("posix", m_posix.Jsonize()); + + } + + if(m_runAsHasBeenSet) + { + payload.WithString("runAs", RunAsMapper::GetNameForRunAs(m_runAs)); + } + + if(m_windowsHasBeenSet) + { + payload.WithObject("windows", m_windows.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobSearchSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobSearchSummary.cpp new file mode 100644 index 00000000000..41991003f0d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobSearchSummary.cpp @@ -0,0 +1,306 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +JobSearchSummary::JobSearchSummary() : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_endedAtHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_jobParametersHasBeenSet(false), + m_lifecycleStatus(JobLifecycleStatus::NOT_SET), + m_lifecycleStatusHasBeenSet(false), + m_lifecycleStatusMessageHasBeenSet(false), + m_maxFailedTasksCount(0), + m_maxFailedTasksCountHasBeenSet(false), + m_maxRetriesPerTask(0), + m_maxRetriesPerTaskHasBeenSet(false), + m_nameHasBeenSet(false), + m_priority(0), + m_priorityHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_targetTaskRunStatus(JobTargetTaskRunStatus::NOT_SET), + m_targetTaskRunStatusHasBeenSet(false), + m_taskRunStatus(TaskRunStatus::NOT_SET), + m_taskRunStatusHasBeenSet(false), + m_taskRunStatusCountsHasBeenSet(false) +{ +} + +JobSearchSummary::JobSearchSummary(JsonView jsonValue) : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_endedAtHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_jobParametersHasBeenSet(false), + m_lifecycleStatus(JobLifecycleStatus::NOT_SET), + m_lifecycleStatusHasBeenSet(false), + m_lifecycleStatusMessageHasBeenSet(false), + m_maxFailedTasksCount(0), + m_maxFailedTasksCountHasBeenSet(false), + m_maxRetriesPerTask(0), + m_maxRetriesPerTaskHasBeenSet(false), + m_nameHasBeenSet(false), + m_priority(0), + m_priorityHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_targetTaskRunStatus(JobTargetTaskRunStatus::NOT_SET), + m_targetTaskRunStatusHasBeenSet(false), + m_taskRunStatus(TaskRunStatus::NOT_SET), + m_taskRunStatusHasBeenSet(false), + m_taskRunStatusCountsHasBeenSet(false) +{ + *this = jsonValue; +} + +JobSearchSummary& JobSearchSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("endedAt")) + { + m_endedAt = jsonValue.GetString("endedAt"); + + m_endedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobParameters")) + { + Aws::Map jobParametersJsonMap = jsonValue.GetObject("jobParameters").GetAllObjects(); + for(auto& jobParametersItem : jobParametersJsonMap) + { + m_jobParameters[jobParametersItem.first] = jobParametersItem.second.AsObject(); + } + m_jobParametersHasBeenSet = true; + } + + if(jsonValue.ValueExists("lifecycleStatus")) + { + m_lifecycleStatus = JobLifecycleStatusMapper::GetJobLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); + + m_lifecycleStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("lifecycleStatusMessage")) + { + m_lifecycleStatusMessage = jsonValue.GetString("lifecycleStatusMessage"); + + m_lifecycleStatusMessageHasBeenSet = true; + } + + if(jsonValue.ValueExists("maxFailedTasksCount")) + { + m_maxFailedTasksCount = jsonValue.GetInteger("maxFailedTasksCount"); + + m_maxFailedTasksCountHasBeenSet = true; + } + + if(jsonValue.ValueExists("maxRetriesPerTask")) + { + m_maxRetriesPerTask = jsonValue.GetInteger("maxRetriesPerTask"); + + m_maxRetriesPerTaskHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("priority")) + { + m_priority = jsonValue.GetInteger("priority"); + + m_priorityHasBeenSet = true; + } + + if(jsonValue.ValueExists("queueId")) + { + m_queueId = jsonValue.GetString("queueId"); + + m_queueIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("startedAt")) + { + m_startedAt = jsonValue.GetString("startedAt"); + + m_startedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("targetTaskRunStatus")) + { + m_targetTaskRunStatus = JobTargetTaskRunStatusMapper::GetJobTargetTaskRunStatusForName(jsonValue.GetString("targetTaskRunStatus")); + + m_targetTaskRunStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("taskRunStatus")) + { + m_taskRunStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("taskRunStatus")); + + m_taskRunStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("taskRunStatusCounts")) + { + Aws::Map taskRunStatusCountsJsonMap = jsonValue.GetObject("taskRunStatusCounts").GetAllObjects(); + for(auto& taskRunStatusCountsItem : taskRunStatusCountsJsonMap) + { + m_taskRunStatusCounts[TaskRunStatusMapper::GetTaskRunStatusForName(taskRunStatusCountsItem.first)] = taskRunStatusCountsItem.second.AsInteger(); + } + m_taskRunStatusCountsHasBeenSet = true; + } + + return *this; +} + +JsonValue JobSearchSummary::Jsonize() const +{ + JsonValue payload; + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + + if(m_endedAtHasBeenSet) + { + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_jobParametersHasBeenSet) + { + JsonValue jobParametersJsonMap; + for(auto& jobParametersItem : m_jobParameters) + { + jobParametersJsonMap.WithObject(jobParametersItem.first, jobParametersItem.second.Jsonize()); + } + payload.WithObject("jobParameters", std::move(jobParametersJsonMap)); + + } + + if(m_lifecycleStatusHasBeenSet) + { + payload.WithString("lifecycleStatus", JobLifecycleStatusMapper::GetNameForJobLifecycleStatus(m_lifecycleStatus)); + } + + if(m_lifecycleStatusMessageHasBeenSet) + { + payload.WithString("lifecycleStatusMessage", m_lifecycleStatusMessage); + + } + + if(m_maxFailedTasksCountHasBeenSet) + { + payload.WithInteger("maxFailedTasksCount", m_maxFailedTasksCount); + + } + + if(m_maxRetriesPerTaskHasBeenSet) + { + payload.WithInteger("maxRetriesPerTask", m_maxRetriesPerTask); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_priorityHasBeenSet) + { + payload.WithInteger("priority", m_priority); + + } + + if(m_queueIdHasBeenSet) + { + payload.WithString("queueId", m_queueId); + + } + + if(m_startedAtHasBeenSet) + { + payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_targetTaskRunStatusHasBeenSet) + { + payload.WithString("targetTaskRunStatus", JobTargetTaskRunStatusMapper::GetNameForJobTargetTaskRunStatus(m_targetTaskRunStatus)); + } + + if(m_taskRunStatusHasBeenSet) + { + payload.WithString("taskRunStatus", TaskRunStatusMapper::GetNameForTaskRunStatus(m_taskRunStatus)); + } + + if(m_taskRunStatusCountsHasBeenSet) + { + JsonValue taskRunStatusCountsJsonMap; + for(auto& taskRunStatusCountsItem : m_taskRunStatusCounts) + { + taskRunStatusCountsJsonMap.WithInteger(TaskRunStatusMapper::GetNameForTaskRunStatus(taskRunStatusCountsItem.first), taskRunStatusCountsItem.second); + } + payload.WithObject("taskRunStatusCounts", std::move(taskRunStatusCountsJsonMap)); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobSummary.cpp new file mode 100644 index 00000000000..4e55d510858 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobSummary.cpp @@ -0,0 +1,297 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +JobSummary::JobSummary() : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_endedAtHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_lifecycleStatus(JobLifecycleStatus::NOT_SET), + m_lifecycleStatusHasBeenSet(false), + m_lifecycleStatusMessageHasBeenSet(false), + m_maxFailedTasksCount(0), + m_maxFailedTasksCountHasBeenSet(false), + m_maxRetriesPerTask(0), + m_maxRetriesPerTaskHasBeenSet(false), + m_nameHasBeenSet(false), + m_priority(0), + m_priorityHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_targetTaskRunStatus(JobTargetTaskRunStatus::NOT_SET), + m_targetTaskRunStatusHasBeenSet(false), + m_taskRunStatus(TaskRunStatus::NOT_SET), + m_taskRunStatusHasBeenSet(false), + m_taskRunStatusCountsHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false) +{ +} + +JobSummary::JobSummary(JsonView jsonValue) : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_endedAtHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_lifecycleStatus(JobLifecycleStatus::NOT_SET), + m_lifecycleStatusHasBeenSet(false), + m_lifecycleStatusMessageHasBeenSet(false), + m_maxFailedTasksCount(0), + m_maxFailedTasksCountHasBeenSet(false), + m_maxRetriesPerTask(0), + m_maxRetriesPerTaskHasBeenSet(false), + m_nameHasBeenSet(false), + m_priority(0), + m_priorityHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_targetTaskRunStatus(JobTargetTaskRunStatus::NOT_SET), + m_targetTaskRunStatusHasBeenSet(false), + m_taskRunStatus(TaskRunStatus::NOT_SET), + m_taskRunStatusHasBeenSet(false), + m_taskRunStatusCountsHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false) +{ + *this = jsonValue; +} + +JobSummary& JobSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("endedAt")) + { + m_endedAt = jsonValue.GetString("endedAt"); + + m_endedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("lifecycleStatus")) + { + m_lifecycleStatus = JobLifecycleStatusMapper::GetJobLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); + + m_lifecycleStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("lifecycleStatusMessage")) + { + m_lifecycleStatusMessage = jsonValue.GetString("lifecycleStatusMessage"); + + m_lifecycleStatusMessageHasBeenSet = true; + } + + if(jsonValue.ValueExists("maxFailedTasksCount")) + { + m_maxFailedTasksCount = jsonValue.GetInteger("maxFailedTasksCount"); + + m_maxFailedTasksCountHasBeenSet = true; + } + + if(jsonValue.ValueExists("maxRetriesPerTask")) + { + m_maxRetriesPerTask = jsonValue.GetInteger("maxRetriesPerTask"); + + m_maxRetriesPerTaskHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("priority")) + { + m_priority = jsonValue.GetInteger("priority"); + + m_priorityHasBeenSet = true; + } + + if(jsonValue.ValueExists("startedAt")) + { + m_startedAt = jsonValue.GetString("startedAt"); + + m_startedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("targetTaskRunStatus")) + { + m_targetTaskRunStatus = JobTargetTaskRunStatusMapper::GetJobTargetTaskRunStatusForName(jsonValue.GetString("targetTaskRunStatus")); + + m_targetTaskRunStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("taskRunStatus")) + { + m_taskRunStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("taskRunStatus")); + + m_taskRunStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("taskRunStatusCounts")) + { + Aws::Map taskRunStatusCountsJsonMap = jsonValue.GetObject("taskRunStatusCounts").GetAllObjects(); + for(auto& taskRunStatusCountsItem : taskRunStatusCountsJsonMap) + { + m_taskRunStatusCounts[TaskRunStatusMapper::GetTaskRunStatusForName(taskRunStatusCountsItem.first)] = taskRunStatusCountsItem.second.AsInteger(); + } + m_taskRunStatusCountsHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + m_updatedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + m_updatedByHasBeenSet = true; + } + + return *this; +} + +JsonValue JobSummary::Jsonize() const +{ + JsonValue payload; + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + + if(m_endedAtHasBeenSet) + { + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_lifecycleStatusHasBeenSet) + { + payload.WithString("lifecycleStatus", JobLifecycleStatusMapper::GetNameForJobLifecycleStatus(m_lifecycleStatus)); + } + + if(m_lifecycleStatusMessageHasBeenSet) + { + payload.WithString("lifecycleStatusMessage", m_lifecycleStatusMessage); + + } + + if(m_maxFailedTasksCountHasBeenSet) + { + payload.WithInteger("maxFailedTasksCount", m_maxFailedTasksCount); + + } + + if(m_maxRetriesPerTaskHasBeenSet) + { + payload.WithInteger("maxRetriesPerTask", m_maxRetriesPerTask); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_priorityHasBeenSet) + { + payload.WithInteger("priority", m_priority); + + } + + if(m_startedAtHasBeenSet) + { + payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_targetTaskRunStatusHasBeenSet) + { + payload.WithString("targetTaskRunStatus", JobTargetTaskRunStatusMapper::GetNameForJobTargetTaskRunStatus(m_targetTaskRunStatus)); + } + + if(m_taskRunStatusHasBeenSet) + { + payload.WithString("taskRunStatus", TaskRunStatusMapper::GetNameForTaskRunStatus(m_taskRunStatus)); + } + + if(m_taskRunStatusCountsHasBeenSet) + { + JsonValue taskRunStatusCountsJsonMap; + for(auto& taskRunStatusCountsItem : m_taskRunStatusCounts) + { + taskRunStatusCountsJsonMap.WithInteger(TaskRunStatusMapper::GetNameForTaskRunStatus(taskRunStatusCountsItem.first), taskRunStatusCountsItem.second); + } + payload.WithObject("taskRunStatusCounts", std::move(taskRunStatusCountsJsonMap)); + + } + + if(m_updatedAtHasBeenSet) + { + payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_updatedByHasBeenSet) + { + payload.WithString("updatedBy", m_updatedBy); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobTargetTaskRunStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobTargetTaskRunStatus.cpp new file mode 100644 index 00000000000..6f023c2a315 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobTargetTaskRunStatus.cpp @@ -0,0 +1,100 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace JobTargetTaskRunStatusMapper + { + + static const int READY_HASH = HashingUtils::HashString("READY"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + static const int SUCCEEDED_HASH = HashingUtils::HashString("SUCCEEDED"); + static const int CANCELED_HASH = HashingUtils::HashString("CANCELED"); + static const int SUSPENDED_HASH = HashingUtils::HashString("SUSPENDED"); + static const int PENDING_HASH = HashingUtils::HashString("PENDING"); + + + JobTargetTaskRunStatus GetJobTargetTaskRunStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == READY_HASH) + { + return JobTargetTaskRunStatus::READY; + } + else if (hashCode == FAILED_HASH) + { + return JobTargetTaskRunStatus::FAILED; + } + else if (hashCode == SUCCEEDED_HASH) + { + return JobTargetTaskRunStatus::SUCCEEDED; + } + else if (hashCode == CANCELED_HASH) + { + return JobTargetTaskRunStatus::CANCELED; + } + else if (hashCode == SUSPENDED_HASH) + { + return JobTargetTaskRunStatus::SUSPENDED; + } + else if (hashCode == PENDING_HASH) + { + return JobTargetTaskRunStatus::PENDING; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return JobTargetTaskRunStatus::NOT_SET; + } + + Aws::String GetNameForJobTargetTaskRunStatus(JobTargetTaskRunStatus enumValue) + { + switch(enumValue) + { + case JobTargetTaskRunStatus::NOT_SET: + return {}; + case JobTargetTaskRunStatus::READY: + return "READY"; + case JobTargetTaskRunStatus::FAILED: + return "FAILED"; + case JobTargetTaskRunStatus::SUCCEEDED: + return "SUCCEEDED"; + case JobTargetTaskRunStatus::CANCELED: + return "CANCELED"; + case JobTargetTaskRunStatus::SUSPENDED: + return "SUSPENDED"; + case JobTargetTaskRunStatus::PENDING: + return "PENDING"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace JobTargetTaskRunStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobTemplateType.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobTemplateType.cpp new file mode 100644 index 00000000000..1b9e8d3fc76 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobTemplateType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace JobTemplateTypeMapper + { + + static const int JSON_HASH = HashingUtils::HashString("JSON"); + static const int YAML_HASH = HashingUtils::HashString("YAML"); + + + JobTemplateType GetJobTemplateTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == JSON_HASH) + { + return JobTemplateType::JSON; + } + else if (hashCode == YAML_HASH) + { + return JobTemplateType::YAML; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return JobTemplateType::NOT_SET; + } + + Aws::String GetNameForJobTemplateType(JobTemplateType enumValue) + { + switch(enumValue) + { + case JobTemplateType::NOT_SET: + return {}; + case JobTemplateType::JSON: + return "JSON"; + case JobTemplateType::YAML: + return "YAML"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace JobTemplateTypeMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/LicenseEndpointStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/LicenseEndpointStatus.cpp new file mode 100644 index 00000000000..6f00a8a318e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/LicenseEndpointStatus.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace LicenseEndpointStatusMapper + { + + static const int CREATE_IN_PROGRESS_HASH = HashingUtils::HashString("CREATE_IN_PROGRESS"); + static const int DELETE_IN_PROGRESS_HASH = HashingUtils::HashString("DELETE_IN_PROGRESS"); + static const int READY_HASH = HashingUtils::HashString("READY"); + static const int NOT_READY_HASH = HashingUtils::HashString("NOT_READY"); + + + LicenseEndpointStatus GetLicenseEndpointStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CREATE_IN_PROGRESS_HASH) + { + return LicenseEndpointStatus::CREATE_IN_PROGRESS; + } + else if (hashCode == DELETE_IN_PROGRESS_HASH) + { + return LicenseEndpointStatus::DELETE_IN_PROGRESS; + } + else if (hashCode == READY_HASH) + { + return LicenseEndpointStatus::READY; + } + else if (hashCode == NOT_READY_HASH) + { + return LicenseEndpointStatus::NOT_READY; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return LicenseEndpointStatus::NOT_SET; + } + + Aws::String GetNameForLicenseEndpointStatus(LicenseEndpointStatus enumValue) + { + switch(enumValue) + { + case LicenseEndpointStatus::NOT_SET: + return {}; + case LicenseEndpointStatus::CREATE_IN_PROGRESS: + return "CREATE_IN_PROGRESS"; + case LicenseEndpointStatus::DELETE_IN_PROGRESS: + return "DELETE_IN_PROGRESS"; + case LicenseEndpointStatus::READY: + return "READY"; + case LicenseEndpointStatus::NOT_READY: + return "NOT_READY"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace LicenseEndpointStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/LicenseEndpointSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/LicenseEndpointSummary.cpp new file mode 100644 index 00000000000..f7c449f2263 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/LicenseEndpointSummary.cpp @@ -0,0 +1,105 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +LicenseEndpointSummary::LicenseEndpointSummary() : + m_licenseEndpointIdHasBeenSet(false), + m_status(LicenseEndpointStatus::NOT_SET), + m_statusHasBeenSet(false), + m_statusMessageHasBeenSet(false), + m_vpcIdHasBeenSet(false) +{ +} + +LicenseEndpointSummary::LicenseEndpointSummary(JsonView jsonValue) : + m_licenseEndpointIdHasBeenSet(false), + m_status(LicenseEndpointStatus::NOT_SET), + m_statusHasBeenSet(false), + m_statusMessageHasBeenSet(false), + m_vpcIdHasBeenSet(false) +{ + *this = jsonValue; +} + +LicenseEndpointSummary& LicenseEndpointSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("licenseEndpointId")) + { + m_licenseEndpointId = jsonValue.GetString("licenseEndpointId"); + + m_licenseEndpointIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = LicenseEndpointStatusMapper::GetLicenseEndpointStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("statusMessage")) + { + m_statusMessage = jsonValue.GetString("statusMessage"); + + m_statusMessageHasBeenSet = true; + } + + if(jsonValue.ValueExists("vpcId")) + { + m_vpcId = jsonValue.GetString("vpcId"); + + m_vpcIdHasBeenSet = true; + } + + return *this; +} + +JsonValue LicenseEndpointSummary::Jsonize() const +{ + JsonValue payload; + + if(m_licenseEndpointIdHasBeenSet) + { + payload.WithString("licenseEndpointId", m_licenseEndpointId); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", LicenseEndpointStatusMapper::GetNameForLicenseEndpointStatus(m_status)); + } + + if(m_statusMessageHasBeenSet) + { + payload.WithString("statusMessage", m_statusMessage); + + } + + if(m_vpcIdHasBeenSet) + { + payload.WithString("vpcId", m_vpcId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListAvailableMeteredProductsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListAvailableMeteredProductsRequest.cpp new file mode 100644 index 00000000000..a8d8aa85c9f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListAvailableMeteredProductsRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListAvailableMeteredProductsRequest::ListAvailableMeteredProductsRequest() : + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListAvailableMeteredProductsRequest::SerializePayload() const +{ + return {}; +} + +void ListAvailableMeteredProductsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListAvailableMeteredProductsResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListAvailableMeteredProductsResult.cpp new file mode 100644 index 00000000000..b86e019e37c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListAvailableMeteredProductsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListAvailableMeteredProductsResult::ListAvailableMeteredProductsResult() +{ +} + +ListAvailableMeteredProductsResult::ListAvailableMeteredProductsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListAvailableMeteredProductsResult& ListAvailableMeteredProductsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("meteredProducts")) + { + Aws::Utils::Array meteredProductsJsonList = jsonValue.GetArray("meteredProducts"); + for(unsigned meteredProductsIndex = 0; meteredProductsIndex < meteredProductsJsonList.GetLength(); ++meteredProductsIndex) + { + m_meteredProducts.push_back(meteredProductsJsonList[meteredProductsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListBudgetsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListBudgetsRequest.cpp new file mode 100644 index 00000000000..7a348c915ba --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListBudgetsRequest.cpp @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListBudgetsRequest::ListBudgetsRequest() : + m_farmIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_status(BudgetStatus::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +Aws::String ListBudgetsRequest::SerializePayload() const +{ + return {}; +} + +void ListBudgetsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_statusHasBeenSet) + { + ss << BudgetStatusMapper::GetNameForBudgetStatus(m_status); + uri.AddQueryStringParameter("status", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListBudgetsResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListBudgetsResult.cpp new file mode 100644 index 00000000000..12a649bde2e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListBudgetsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListBudgetsResult::ListBudgetsResult() +{ +} + +ListBudgetsResult::ListBudgetsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListBudgetsResult& ListBudgetsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("budgets")) + { + Aws::Utils::Array budgetsJsonList = jsonValue.GetArray("budgets"); + for(unsigned budgetsIndex = 0; budgetsIndex < budgetsJsonList.GetLength(); ++budgetsIndex) + { + m_budgets.push_back(budgetsJsonList[budgetsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmMembersRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmMembersRequest.cpp new file mode 100644 index 00000000000..ff6a147db38 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmMembersRequest.cpp @@ -0,0 +1,51 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListFarmMembersRequest::ListFarmMembersRequest() : + m_farmIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListFarmMembersRequest::SerializePayload() const +{ + return {}; +} + +void ListFarmMembersRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmMembersResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmMembersResult.cpp new file mode 100644 index 00000000000..768f04e6354 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmMembersResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListFarmMembersResult::ListFarmMembersResult() +{ +} + +ListFarmMembersResult::ListFarmMembersResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListFarmMembersResult& ListFarmMembersResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("members")) + { + Aws::Utils::Array membersJsonList = jsonValue.GetArray("members"); + for(unsigned membersIndex = 0; membersIndex < membersJsonList.GetLength(); ++membersIndex) + { + m_members.push_back(membersJsonList[membersIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmsRequest.cpp new file mode 100644 index 00000000000..b8566c91d01 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmsRequest.cpp @@ -0,0 +1,58 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListFarmsRequest::ListFarmsRequest() : + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_principalIdHasBeenSet(false) +{ +} + +Aws::String ListFarmsRequest::SerializePayload() const +{ + return {}; +} + +void ListFarmsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_principalIdHasBeenSet) + { + ss << m_principalId; + uri.AddQueryStringParameter("principalId", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmsResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmsResult.cpp new file mode 100644 index 00000000000..a7116ba8c39 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListFarmsResult::ListFarmsResult() +{ +} + +ListFarmsResult::ListFarmsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListFarmsResult& ListFarmsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("farms")) + { + Aws::Utils::Array farmsJsonList = jsonValue.GetArray("farms"); + for(unsigned farmsIndex = 0; farmsIndex < farmsJsonList.GetLength(); ++farmsIndex) + { + m_farms.push_back(farmsJsonList[farmsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListFleetMembersRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListFleetMembersRequest.cpp new file mode 100644 index 00000000000..9ddddc3cce0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListFleetMembersRequest.cpp @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListFleetMembersRequest::ListFleetMembersRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListFleetMembersRequest::SerializePayload() const +{ + return {}; +} + +void ListFleetMembersRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListFleetMembersResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListFleetMembersResult.cpp new file mode 100644 index 00000000000..5b8501216fb --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListFleetMembersResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListFleetMembersResult::ListFleetMembersResult() +{ +} + +ListFleetMembersResult::ListFleetMembersResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListFleetMembersResult& ListFleetMembersResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("members")) + { + Aws::Utils::Array membersJsonList = jsonValue.GetArray("members"); + for(unsigned membersIndex = 0; membersIndex < membersJsonList.GetLength(); ++membersIndex) + { + m_members.push_back(membersJsonList[membersIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListFleetsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListFleetsRequest.cpp new file mode 100644 index 00000000000..e8a80a44d22 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListFleetsRequest.cpp @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListFleetsRequest::ListFleetsRequest() : + m_displayNameHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_principalIdHasBeenSet(false), + m_status(FleetStatus::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +Aws::String ListFleetsRequest::SerializePayload() const +{ + return {}; +} + +void ListFleetsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_displayNameHasBeenSet) + { + ss << m_displayName; + uri.AddQueryStringParameter("displayName", ss.str()); + ss.str(""); + } + + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_principalIdHasBeenSet) + { + ss << m_principalId; + uri.AddQueryStringParameter("principalId", ss.str()); + ss.str(""); + } + + if(m_statusHasBeenSet) + { + ss << FleetStatusMapper::GetNameForFleetStatus(m_status); + uri.AddQueryStringParameter("status", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListFleetsResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListFleetsResult.cpp new file mode 100644 index 00000000000..79ef01553e2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListFleetsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListFleetsResult::ListFleetsResult() +{ +} + +ListFleetsResult::ListFleetsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListFleetsResult& ListFleetsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("fleets")) + { + Aws::Utils::Array fleetsJsonList = jsonValue.GetArray("fleets"); + for(unsigned fleetsIndex = 0; fleetsIndex < fleetsJsonList.GetLength(); ++fleetsIndex) + { + m_fleets.push_back(fleetsJsonList[fleetsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListJobMembersRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListJobMembersRequest.cpp new file mode 100644 index 00000000000..4fd80bd6832 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListJobMembersRequest.cpp @@ -0,0 +1,53 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListJobMembersRequest::ListJobMembersRequest() : + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String ListJobMembersRequest::SerializePayload() const +{ + return {}; +} + +void ListJobMembersRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListJobMembersResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListJobMembersResult.cpp new file mode 100644 index 00000000000..d87598b099b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListJobMembersResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListJobMembersResult::ListJobMembersResult() +{ +} + +ListJobMembersResult::ListJobMembersResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListJobMembersResult& ListJobMembersResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("members")) + { + Aws::Utils::Array membersJsonList = jsonValue.GetArray("members"); + for(unsigned membersIndex = 0; membersIndex < membersJsonList.GetLength(); ++membersIndex) + { + m_members.push_back(membersJsonList[membersIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListJobsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListJobsRequest.cpp new file mode 100644 index 00000000000..3f7cf2a3a55 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListJobsRequest.cpp @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListJobsRequest::ListJobsRequest() : + m_farmIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_principalIdHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String ListJobsRequest::SerializePayload() const +{ + return {}; +} + +void ListJobsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_principalIdHasBeenSet) + { + ss << m_principalId; + uri.AddQueryStringParameter("principalId", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListJobsResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListJobsResult.cpp new file mode 100644 index 00000000000..d1ae5082b6a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListJobsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListJobsResult::ListJobsResult() +{ +} + +ListJobsResult::ListJobsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListJobsResult& ListJobsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("jobs")) + { + Aws::Utils::Array jobsJsonList = jsonValue.GetArray("jobs"); + for(unsigned jobsIndex = 0; jobsIndex < jobsJsonList.GetLength(); ++jobsIndex) + { + m_jobs.push_back(jobsJsonList[jobsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListLicenseEndpointsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListLicenseEndpointsRequest.cpp new file mode 100644 index 00000000000..3f67b495d6f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListLicenseEndpointsRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListLicenseEndpointsRequest::ListLicenseEndpointsRequest() : + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListLicenseEndpointsRequest::SerializePayload() const +{ + return {}; +} + +void ListLicenseEndpointsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListLicenseEndpointsResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListLicenseEndpointsResult.cpp new file mode 100644 index 00000000000..7c940c2a35b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListLicenseEndpointsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListLicenseEndpointsResult::ListLicenseEndpointsResult() +{ +} + +ListLicenseEndpointsResult::ListLicenseEndpointsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListLicenseEndpointsResult& ListLicenseEndpointsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("licenseEndpoints")) + { + Aws::Utils::Array licenseEndpointsJsonList = jsonValue.GetArray("licenseEndpoints"); + for(unsigned licenseEndpointsIndex = 0; licenseEndpointsIndex < licenseEndpointsJsonList.GetLength(); ++licenseEndpointsIndex) + { + m_licenseEndpoints.push_back(licenseEndpointsJsonList[licenseEndpointsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListMeteredProductsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListMeteredProductsRequest.cpp new file mode 100644 index 00000000000..b539dd946be --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListMeteredProductsRequest.cpp @@ -0,0 +1,51 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListMeteredProductsRequest::ListMeteredProductsRequest() : + m_licenseEndpointIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListMeteredProductsRequest::SerializePayload() const +{ + return {}; +} + +void ListMeteredProductsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListMeteredProductsResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListMeteredProductsResult.cpp new file mode 100644 index 00000000000..d98e2984ed9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListMeteredProductsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListMeteredProductsResult::ListMeteredProductsResult() +{ +} + +ListMeteredProductsResult::ListMeteredProductsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListMeteredProductsResult& ListMeteredProductsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("meteredProducts")) + { + Aws::Utils::Array meteredProductsJsonList = jsonValue.GetArray("meteredProducts"); + for(unsigned meteredProductsIndex = 0; meteredProductsIndex < meteredProductsJsonList.GetLength(); ++meteredProductsIndex) + { + m_meteredProducts.push_back(meteredProductsJsonList[meteredProductsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListMonitorsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListMonitorsRequest.cpp new file mode 100644 index 00000000000..d951217c039 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListMonitorsRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListMonitorsRequest::ListMonitorsRequest() : + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListMonitorsRequest::SerializePayload() const +{ + return {}; +} + +void ListMonitorsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListMonitorsResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListMonitorsResult.cpp new file mode 100644 index 00000000000..472402bc479 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListMonitorsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListMonitorsResult::ListMonitorsResult() +{ +} + +ListMonitorsResult::ListMonitorsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListMonitorsResult& ListMonitorsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("monitors")) + { + Aws::Utils::Array monitorsJsonList = jsonValue.GetArray("monitors"); + for(unsigned monitorsIndex = 0; monitorsIndex < monitorsJsonList.GetLength(); ++monitorsIndex) + { + m_monitors.push_back(monitorsJsonList[monitorsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueEnvironmentsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueEnvironmentsRequest.cpp new file mode 100644 index 00000000000..bbea8e7f58b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueEnvironmentsRequest.cpp @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListQueueEnvironmentsRequest::ListQueueEnvironmentsRequest() : + m_farmIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String ListQueueEnvironmentsRequest::SerializePayload() const +{ + return {}; +} + +void ListQueueEnvironmentsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueEnvironmentsResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueEnvironmentsResult.cpp new file mode 100644 index 00000000000..014a13d21d8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueEnvironmentsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListQueueEnvironmentsResult::ListQueueEnvironmentsResult() +{ +} + +ListQueueEnvironmentsResult::ListQueueEnvironmentsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListQueueEnvironmentsResult& ListQueueEnvironmentsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("environments")) + { + Aws::Utils::Array environmentsJsonList = jsonValue.GetArray("environments"); + for(unsigned environmentsIndex = 0; environmentsIndex < environmentsJsonList.GetLength(); ++environmentsIndex) + { + m_environments.push_back(environmentsJsonList[environmentsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueFleetAssociationsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueFleetAssociationsRequest.cpp new file mode 100644 index 00000000000..c04d3b3ab5f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueFleetAssociationsRequest.cpp @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListQueueFleetAssociationsRequest::ListQueueFleetAssociationsRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String ListQueueFleetAssociationsRequest::SerializePayload() const +{ + return {}; +} + +void ListQueueFleetAssociationsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_fleetIdHasBeenSet) + { + ss << m_fleetId; + uri.AddQueryStringParameter("fleetId", ss.str()); + ss.str(""); + } + + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_queueIdHasBeenSet) + { + ss << m_queueId; + uri.AddQueryStringParameter("queueId", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueFleetAssociationsResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueFleetAssociationsResult.cpp new file mode 100644 index 00000000000..a77daf06fa5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueFleetAssociationsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListQueueFleetAssociationsResult::ListQueueFleetAssociationsResult() +{ +} + +ListQueueFleetAssociationsResult::ListQueueFleetAssociationsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListQueueFleetAssociationsResult& ListQueueFleetAssociationsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("queueFleetAssociations")) + { + Aws::Utils::Array queueFleetAssociationsJsonList = jsonValue.GetArray("queueFleetAssociations"); + for(unsigned queueFleetAssociationsIndex = 0; queueFleetAssociationsIndex < queueFleetAssociationsJsonList.GetLength(); ++queueFleetAssociationsIndex) + { + m_queueFleetAssociations.push_back(queueFleetAssociationsJsonList[queueFleetAssociationsIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueMembersRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueMembersRequest.cpp new file mode 100644 index 00000000000..5d33e467b4a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueMembersRequest.cpp @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListQueueMembersRequest::ListQueueMembersRequest() : + m_farmIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String ListQueueMembersRequest::SerializePayload() const +{ + return {}; +} + +void ListQueueMembersRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueMembersResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueMembersResult.cpp new file mode 100644 index 00000000000..75a18cb2101 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueMembersResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListQueueMembersResult::ListQueueMembersResult() +{ +} + +ListQueueMembersResult::ListQueueMembersResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListQueueMembersResult& ListQueueMembersResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("members")) + { + Aws::Utils::Array membersJsonList = jsonValue.GetArray("members"); + for(unsigned membersIndex = 0; membersIndex < membersJsonList.GetLength(); ++membersIndex) + { + m_members.push_back(membersJsonList[membersIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueuesRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueuesRequest.cpp new file mode 100644 index 00000000000..4b30cd48d32 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueuesRequest.cpp @@ -0,0 +1,68 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListQueuesRequest::ListQueuesRequest() : + m_farmIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_principalIdHasBeenSet(false), + m_status(QueueStatus::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +Aws::String ListQueuesRequest::SerializePayload() const +{ + return {}; +} + +void ListQueuesRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_principalIdHasBeenSet) + { + ss << m_principalId; + uri.AddQueryStringParameter("principalId", ss.str()); + ss.str(""); + } + + if(m_statusHasBeenSet) + { + ss << QueueStatusMapper::GetNameForQueueStatus(m_status); + uri.AddQueryStringParameter("status", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueuesResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueuesResult.cpp new file mode 100644 index 00000000000..7004982274d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueuesResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListQueuesResult::ListQueuesResult() +{ +} + +ListQueuesResult::ListQueuesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListQueuesResult& ListQueuesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("queues")) + { + Aws::Utils::Array queuesJsonList = jsonValue.GetArray("queues"); + for(unsigned queuesIndex = 0; queuesIndex < queuesJsonList.GetLength(); ++queuesIndex) + { + m_queues.push_back(queuesJsonList[queuesIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionActionsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionActionsRequest.cpp new file mode 100644 index 00000000000..de3c4e10eed --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionActionsRequest.cpp @@ -0,0 +1,69 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListSessionActionsRequest::ListSessionActionsRequest() : + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_sessionIdHasBeenSet(false), + m_taskIdHasBeenSet(false) +{ +} + +Aws::String ListSessionActionsRequest::SerializePayload() const +{ + return {}; +} + +void ListSessionActionsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_sessionIdHasBeenSet) + { + ss << m_sessionId; + uri.AddQueryStringParameter("sessionId", ss.str()); + ss.str(""); + } + + if(m_taskIdHasBeenSet) + { + ss << m_taskId; + uri.AddQueryStringParameter("taskId", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionActionsResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionActionsResult.cpp new file mode 100644 index 00000000000..47e338fa899 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionActionsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListSessionActionsResult::ListSessionActionsResult() +{ +} + +ListSessionActionsResult::ListSessionActionsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListSessionActionsResult& ListSessionActionsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("sessionActions")) + { + Aws::Utils::Array sessionActionsJsonList = jsonValue.GetArray("sessionActions"); + for(unsigned sessionActionsIndex = 0; sessionActionsIndex < sessionActionsJsonList.GetLength(); ++sessionActionsIndex) + { + m_sessionActions.push_back(sessionActionsJsonList[sessionActionsIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsForWorkerRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsForWorkerRequest.cpp new file mode 100644 index 00000000000..e563364c5b9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsForWorkerRequest.cpp @@ -0,0 +1,53 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListSessionsForWorkerRequest::ListSessionsForWorkerRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_workerIdHasBeenSet(false) +{ +} + +Aws::String ListSessionsForWorkerRequest::SerializePayload() const +{ + return {}; +} + +void ListSessionsForWorkerRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsForWorkerResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsForWorkerResult.cpp new file mode 100644 index 00000000000..1faf1c1aca7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsForWorkerResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListSessionsForWorkerResult::ListSessionsForWorkerResult() +{ +} + +ListSessionsForWorkerResult::ListSessionsForWorkerResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListSessionsForWorkerResult& ListSessionsForWorkerResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("sessions")) + { + Aws::Utils::Array sessionsJsonList = jsonValue.GetArray("sessions"); + for(unsigned sessionsIndex = 0; sessionsIndex < sessionsJsonList.GetLength(); ++sessionsIndex) + { + m_sessions.push_back(sessionsJsonList[sessionsIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsRequest.cpp new file mode 100644 index 00000000000..6271fbc649e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsRequest.cpp @@ -0,0 +1,53 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListSessionsRequest::ListSessionsRequest() : + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String ListSessionsRequest::SerializePayload() const +{ + return {}; +} + +void ListSessionsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsResult.cpp new file mode 100644 index 00000000000..3322dd07670 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListSessionsResult::ListSessionsResult() +{ +} + +ListSessionsResult::ListSessionsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListSessionsResult& ListSessionsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("sessions")) + { + Aws::Utils::Array sessionsJsonList = jsonValue.GetArray("sessions"); + for(unsigned sessionsIndex = 0; sessionsIndex < sessionsJsonList.GetLength(); ++sessionsIndex) + { + m_sessions.push_back(sessionsJsonList[sessionsIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListStepConsumersRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepConsumersRequest.cpp new file mode 100644 index 00000000000..1cf4b09f65d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepConsumersRequest.cpp @@ -0,0 +1,54 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListStepConsumersRequest::ListStepConsumersRequest() : + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_stepIdHasBeenSet(false) +{ +} + +Aws::String ListStepConsumersRequest::SerializePayload() const +{ + return {}; +} + +void ListStepConsumersRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListStepConsumersResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepConsumersResult.cpp new file mode 100644 index 00000000000..b9111698483 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepConsumersResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListStepConsumersResult::ListStepConsumersResult() +{ +} + +ListStepConsumersResult::ListStepConsumersResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListStepConsumersResult& ListStepConsumersResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("consumers")) + { + Aws::Utils::Array consumersJsonList = jsonValue.GetArray("consumers"); + for(unsigned consumersIndex = 0; consumersIndex < consumersJsonList.GetLength(); ++consumersIndex) + { + m_consumers.push_back(consumersJsonList[consumersIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListStepDependenciesRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepDependenciesRequest.cpp new file mode 100644 index 00000000000..2a0dc0d6bfc --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepDependenciesRequest.cpp @@ -0,0 +1,54 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListStepDependenciesRequest::ListStepDependenciesRequest() : + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_stepIdHasBeenSet(false) +{ +} + +Aws::String ListStepDependenciesRequest::SerializePayload() const +{ + return {}; +} + +void ListStepDependenciesRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListStepDependenciesResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepDependenciesResult.cpp new file mode 100644 index 00000000000..70f85a974d2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepDependenciesResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListStepDependenciesResult::ListStepDependenciesResult() +{ +} + +ListStepDependenciesResult::ListStepDependenciesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListStepDependenciesResult& ListStepDependenciesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("dependencies")) + { + Aws::Utils::Array dependenciesJsonList = jsonValue.GetArray("dependencies"); + for(unsigned dependenciesIndex = 0; dependenciesIndex < dependenciesJsonList.GetLength(); ++dependenciesIndex) + { + m_dependencies.push_back(dependenciesJsonList[dependenciesIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListStepsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepsRequest.cpp new file mode 100644 index 00000000000..6122d51f9cd --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepsRequest.cpp @@ -0,0 +1,53 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListStepsRequest::ListStepsRequest() : + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String ListStepsRequest::SerializePayload() const +{ + return {}; +} + +void ListStepsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListStepsResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepsResult.cpp new file mode 100644 index 00000000000..60485954ae4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListStepsResult::ListStepsResult() +{ +} + +ListStepsResult::ListStepsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListStepsResult& ListStepsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("steps")) + { + Aws::Utils::Array stepsJsonList = jsonValue.GetArray("steps"); + for(unsigned stepsIndex = 0; stepsIndex < stepsJsonList.GetLength(); ++stepsIndex) + { + m_steps.push_back(stepsJsonList[stepsIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesForQueueRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesForQueueRequest.cpp new file mode 100644 index 00000000000..b87748ec7f5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesForQueueRequest.cpp @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListStorageProfilesForQueueRequest::ListStorageProfilesForQueueRequest() : + m_farmIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +Aws::String ListStorageProfilesForQueueRequest::SerializePayload() const +{ + return {}; +} + +void ListStorageProfilesForQueueRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesForQueueResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesForQueueResult.cpp new file mode 100644 index 00000000000..b32966ba66e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesForQueueResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListStorageProfilesForQueueResult::ListStorageProfilesForQueueResult() +{ +} + +ListStorageProfilesForQueueResult::ListStorageProfilesForQueueResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListStorageProfilesForQueueResult& ListStorageProfilesForQueueResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("storageProfiles")) + { + Aws::Utils::Array storageProfilesJsonList = jsonValue.GetArray("storageProfiles"); + for(unsigned storageProfilesIndex = 0; storageProfilesIndex < storageProfilesJsonList.GetLength(); ++storageProfilesIndex) + { + m_storageProfiles.push_back(storageProfilesJsonList[storageProfilesIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesRequest.cpp new file mode 100644 index 00000000000..fedce53fc1a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesRequest.cpp @@ -0,0 +1,51 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListStorageProfilesRequest::ListStorageProfilesRequest() : + m_farmIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListStorageProfilesRequest::SerializePayload() const +{ + return {}; +} + +void ListStorageProfilesRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesResult.cpp new file mode 100644 index 00000000000..1a9aabd8b00 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListStorageProfilesResult::ListStorageProfilesResult() +{ +} + +ListStorageProfilesResult::ListStorageProfilesResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListStorageProfilesResult& ListStorageProfilesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("storageProfiles")) + { + Aws::Utils::Array storageProfilesJsonList = jsonValue.GetArray("storageProfiles"); + for(unsigned storageProfilesIndex = 0; storageProfilesIndex < storageProfilesJsonList.GetLength(); ++storageProfilesIndex) + { + m_storageProfiles.push_back(storageProfilesJsonList[storageProfilesIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListTagsForResourceRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListTagsForResourceRequest.cpp new file mode 100644 index 00000000000..3c5e9508db8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListTagsForResourceRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListTagsForResourceRequest::ListTagsForResourceRequest() : + m_resourceArnHasBeenSet(false) +{ +} + +Aws::String ListTagsForResourceRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListTagsForResourceResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListTagsForResourceResult.cpp new file mode 100644 index 00000000000..0ce7e7e2f94 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListTagsForResourceResult.cpp @@ -0,0 +1,51 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListTagsForResourceResult::ListTagsForResourceResult() +{ +} + +ListTagsForResourceResult::ListTagsForResourceResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListTagsForResourceResult& ListTagsForResourceResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("tags")) + { + Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); + for(auto& tagsItem : tagsJsonMap) + { + m_tags[tagsItem.first] = tagsItem.second.AsString(); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListTasksRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListTasksRequest.cpp new file mode 100644 index 00000000000..bc232cb1826 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListTasksRequest.cpp @@ -0,0 +1,54 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListTasksRequest::ListTasksRequest() : + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_stepIdHasBeenSet(false) +{ +} + +Aws::String ListTasksRequest::SerializePayload() const +{ + return {}; +} + +void ListTasksRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListTasksResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListTasksResult.cpp new file mode 100644 index 00000000000..f50f6223da8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListTasksResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListTasksResult::ListTasksResult() +{ +} + +ListTasksResult::ListTasksResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListTasksResult& ListTasksResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("tasks")) + { + Aws::Utils::Array tasksJsonList = jsonValue.GetArray("tasks"); + for(unsigned tasksIndex = 0; tasksIndex < tasksJsonList.GetLength(); ++tasksIndex) + { + m_tasks.push_back(tasksJsonList[tasksIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListWorkersRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListWorkersRequest.cpp new file mode 100644 index 00000000000..13981342c49 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListWorkersRequest.cpp @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListWorkersRequest::ListWorkersRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListWorkersRequest::SerializePayload() const +{ + return {}; +} + +void ListWorkersRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListWorkersResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListWorkersResult.cpp new file mode 100644 index 00000000000..6f1aac735db --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListWorkersResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListWorkersResult::ListWorkersResult() +{ +} + +ListWorkersResult::ListWorkersResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListWorkersResult& ListWorkersResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("workers")) + { + Aws::Utils::Array workersJsonList = jsonValue.GetArray("workers"); + for(unsigned workersIndex = 0; workersIndex < workersJsonList.GetLength(); ++workersIndex) + { + m_workers.push_back(workersJsonList[workersIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/LogConfiguration.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/LogConfiguration.cpp new file mode 100644 index 00000000000..cbbc966fcf3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/LogConfiguration.cpp @@ -0,0 +1,120 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +LogConfiguration::LogConfiguration() : + m_errorHasBeenSet(false), + m_logDriverHasBeenSet(false), + m_optionsHasBeenSet(false), + m_parametersHasBeenSet(false) +{ +} + +LogConfiguration::LogConfiguration(JsonView jsonValue) : + m_errorHasBeenSet(false), + m_logDriverHasBeenSet(false), + m_optionsHasBeenSet(false), + m_parametersHasBeenSet(false) +{ + *this = jsonValue; +} + +LogConfiguration& LogConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("error")) + { + m_error = jsonValue.GetString("error"); + + m_errorHasBeenSet = true; + } + + if(jsonValue.ValueExists("logDriver")) + { + m_logDriver = jsonValue.GetString("logDriver"); + + m_logDriverHasBeenSet = true; + } + + if(jsonValue.ValueExists("options")) + { + Aws::Map optionsJsonMap = jsonValue.GetObject("options").GetAllObjects(); + for(auto& optionsItem : optionsJsonMap) + { + m_options[optionsItem.first] = optionsItem.second.AsString(); + } + m_optionsHasBeenSet = true; + } + + if(jsonValue.ValueExists("parameters")) + { + Aws::Map parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); + for(auto& parametersItem : parametersJsonMap) + { + m_parameters[parametersItem.first] = parametersItem.second.AsString(); + } + m_parametersHasBeenSet = true; + } + + return *this; +} + +JsonValue LogConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_errorHasBeenSet) + { + payload.WithString("error", m_error); + + } + + if(m_logDriverHasBeenSet) + { + payload.WithString("logDriver", m_logDriver); + + } + + if(m_optionsHasBeenSet) + { + JsonValue optionsJsonMap; + for(auto& optionsItem : m_options) + { + optionsJsonMap.WithString(optionsItem.first, optionsItem.second); + } + payload.WithObject("options", std::move(optionsJsonMap)); + + } + + if(m_parametersHasBeenSet) + { + JsonValue parametersJsonMap; + for(auto& parametersItem : m_parameters) + { + parametersJsonMap.WithString(parametersItem.first, parametersItem.second); + } + payload.WithObject("parameters", std::move(parametersJsonMap)); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/LogicalOperator.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/LogicalOperator.cpp new file mode 100644 index 00000000000..8ad3c57c231 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/LogicalOperator.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace LogicalOperatorMapper + { + + static const int AND_HASH = HashingUtils::HashString("AND"); + static const int OR_HASH = HashingUtils::HashString("OR"); + + + LogicalOperator GetLogicalOperatorForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == AND_HASH) + { + return LogicalOperator::AND; + } + else if (hashCode == OR_HASH) + { + return LogicalOperator::OR; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return LogicalOperator::NOT_SET; + } + + Aws::String GetNameForLogicalOperator(LogicalOperator enumValue) + { + switch(enumValue) + { + case LogicalOperator::NOT_SET: + return {}; + case LogicalOperator::AND: + return "AND"; + case LogicalOperator::OR: + return "OR"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace LogicalOperatorMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ManifestProperties.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ManifestProperties.cpp new file mode 100644 index 00000000000..b0b82b21681 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ManifestProperties.cpp @@ -0,0 +1,143 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +ManifestProperties::ManifestProperties() : + m_fileSystemLocationNameHasBeenSet(false), + m_inputManifestHashHasBeenSet(false), + m_inputManifestPathHasBeenSet(false), + m_outputRelativeDirectoriesHasBeenSet(false), + m_rootPathHasBeenSet(false), + m_rootPathFormat(PathFormat::NOT_SET), + m_rootPathFormatHasBeenSet(false) +{ +} + +ManifestProperties::ManifestProperties(JsonView jsonValue) : + m_fileSystemLocationNameHasBeenSet(false), + m_inputManifestHashHasBeenSet(false), + m_inputManifestPathHasBeenSet(false), + m_outputRelativeDirectoriesHasBeenSet(false), + m_rootPathHasBeenSet(false), + m_rootPathFormat(PathFormat::NOT_SET), + m_rootPathFormatHasBeenSet(false) +{ + *this = jsonValue; +} + +ManifestProperties& ManifestProperties::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("fileSystemLocationName")) + { + m_fileSystemLocationName = jsonValue.GetString("fileSystemLocationName"); + + m_fileSystemLocationNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("inputManifestHash")) + { + m_inputManifestHash = jsonValue.GetString("inputManifestHash"); + + m_inputManifestHashHasBeenSet = true; + } + + if(jsonValue.ValueExists("inputManifestPath")) + { + m_inputManifestPath = jsonValue.GetString("inputManifestPath"); + + m_inputManifestPathHasBeenSet = true; + } + + if(jsonValue.ValueExists("outputRelativeDirectories")) + { + Aws::Utils::Array outputRelativeDirectoriesJsonList = jsonValue.GetArray("outputRelativeDirectories"); + for(unsigned outputRelativeDirectoriesIndex = 0; outputRelativeDirectoriesIndex < outputRelativeDirectoriesJsonList.GetLength(); ++outputRelativeDirectoriesIndex) + { + m_outputRelativeDirectories.push_back(outputRelativeDirectoriesJsonList[outputRelativeDirectoriesIndex].AsString()); + } + m_outputRelativeDirectoriesHasBeenSet = true; + } + + if(jsonValue.ValueExists("rootPath")) + { + m_rootPath = jsonValue.GetString("rootPath"); + + m_rootPathHasBeenSet = true; + } + + if(jsonValue.ValueExists("rootPathFormat")) + { + m_rootPathFormat = PathFormatMapper::GetPathFormatForName(jsonValue.GetString("rootPathFormat")); + + m_rootPathFormatHasBeenSet = true; + } + + return *this; +} + +JsonValue ManifestProperties::Jsonize() const +{ + JsonValue payload; + + if(m_fileSystemLocationNameHasBeenSet) + { + payload.WithString("fileSystemLocationName", m_fileSystemLocationName); + + } + + if(m_inputManifestHashHasBeenSet) + { + payload.WithString("inputManifestHash", m_inputManifestHash); + + } + + if(m_inputManifestPathHasBeenSet) + { + payload.WithString("inputManifestPath", m_inputManifestPath); + + } + + if(m_outputRelativeDirectoriesHasBeenSet) + { + Aws::Utils::Array outputRelativeDirectoriesJsonList(m_outputRelativeDirectories.size()); + for(unsigned outputRelativeDirectoriesIndex = 0; outputRelativeDirectoriesIndex < outputRelativeDirectoriesJsonList.GetLength(); ++outputRelativeDirectoriesIndex) + { + outputRelativeDirectoriesJsonList[outputRelativeDirectoriesIndex].AsString(m_outputRelativeDirectories[outputRelativeDirectoriesIndex]); + } + payload.WithArray("outputRelativeDirectories", std::move(outputRelativeDirectoriesJsonList)); + + } + + if(m_rootPathHasBeenSet) + { + payload.WithString("rootPath", m_rootPath); + + } + + if(m_rootPathFormatHasBeenSet) + { + payload.WithString("rootPathFormat", PathFormatMapper::GetNameForPathFormat(m_rootPathFormat)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/MembershipLevel.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/MembershipLevel.cpp new file mode 100644 index 00000000000..d899739f6ed --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/MembershipLevel.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace MembershipLevelMapper + { + + static const int VIEWER_HASH = HashingUtils::HashString("VIEWER"); + static const int CONTRIBUTOR_HASH = HashingUtils::HashString("CONTRIBUTOR"); + static const int OWNER_HASH = HashingUtils::HashString("OWNER"); + static const int MANAGER_HASH = HashingUtils::HashString("MANAGER"); + + + MembershipLevel GetMembershipLevelForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == VIEWER_HASH) + { + return MembershipLevel::VIEWER; + } + else if (hashCode == CONTRIBUTOR_HASH) + { + return MembershipLevel::CONTRIBUTOR; + } + else if (hashCode == OWNER_HASH) + { + return MembershipLevel::OWNER; + } + else if (hashCode == MANAGER_HASH) + { + return MembershipLevel::MANAGER; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return MembershipLevel::NOT_SET; + } + + Aws::String GetNameForMembershipLevel(MembershipLevel enumValue) + { + switch(enumValue) + { + case MembershipLevel::NOT_SET: + return {}; + case MembershipLevel::VIEWER: + return "VIEWER"; + case MembershipLevel::CONTRIBUTOR: + return "CONTRIBUTOR"; + case MembershipLevel::OWNER: + return "OWNER"; + case MembershipLevel::MANAGER: + return "MANAGER"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace MembershipLevelMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/MemoryMiBRange.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/MemoryMiBRange.cpp new file mode 100644 index 00000000000..7464f4b1680 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/MemoryMiBRange.cpp @@ -0,0 +1,78 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +MemoryMiBRange::MemoryMiBRange() : + m_max(0), + m_maxHasBeenSet(false), + m_min(0), + m_minHasBeenSet(false) +{ +} + +MemoryMiBRange::MemoryMiBRange(JsonView jsonValue) : + m_max(0), + m_maxHasBeenSet(false), + m_min(0), + m_minHasBeenSet(false) +{ + *this = jsonValue; +} + +MemoryMiBRange& MemoryMiBRange::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("max")) + { + m_max = jsonValue.GetInteger("max"); + + m_maxHasBeenSet = true; + } + + if(jsonValue.ValueExists("min")) + { + m_min = jsonValue.GetInteger("min"); + + m_minHasBeenSet = true; + } + + return *this; +} + +JsonValue MemoryMiBRange::Jsonize() const +{ + JsonValue payload; + + if(m_maxHasBeenSet) + { + payload.WithInteger("max", m_max); + + } + + if(m_minHasBeenSet) + { + payload.WithInteger("min", m_min); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/MeteredProductSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/MeteredProductSummary.cpp new file mode 100644 index 00000000000..51d1f4415ce --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/MeteredProductSummary.cpp @@ -0,0 +1,106 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +MeteredProductSummary::MeteredProductSummary() : + m_familyHasBeenSet(false), + m_port(0), + m_portHasBeenSet(false), + m_productIdHasBeenSet(false), + m_vendorHasBeenSet(false) +{ +} + +MeteredProductSummary::MeteredProductSummary(JsonView jsonValue) : + m_familyHasBeenSet(false), + m_port(0), + m_portHasBeenSet(false), + m_productIdHasBeenSet(false), + m_vendorHasBeenSet(false) +{ + *this = jsonValue; +} + +MeteredProductSummary& MeteredProductSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("family")) + { + m_family = jsonValue.GetString("family"); + + m_familyHasBeenSet = true; + } + + if(jsonValue.ValueExists("port")) + { + m_port = jsonValue.GetInteger("port"); + + m_portHasBeenSet = true; + } + + if(jsonValue.ValueExists("productId")) + { + m_productId = jsonValue.GetString("productId"); + + m_productIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("vendor")) + { + m_vendor = jsonValue.GetString("vendor"); + + m_vendorHasBeenSet = true; + } + + return *this; +} + +JsonValue MeteredProductSummary::Jsonize() const +{ + JsonValue payload; + + if(m_familyHasBeenSet) + { + payload.WithString("family", m_family); + + } + + if(m_portHasBeenSet) + { + payload.WithInteger("port", m_port); + + } + + if(m_productIdHasBeenSet) + { + payload.WithString("productId", m_productId); + + } + + if(m_vendorHasBeenSet) + { + payload.WithString("vendor", m_vendor); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/MonitorSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/MonitorSummary.cpp new file mode 100644 index 00000000000..f1b0a7539d6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/MonitorSummary.cpp @@ -0,0 +1,207 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +MonitorSummary::MonitorSummary() : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_identityCenterApplicationArnHasBeenSet(false), + m_identityCenterInstanceArnHasBeenSet(false), + m_monitorIdHasBeenSet(false), + m_roleArnHasBeenSet(false), + m_subdomainHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false), + m_urlHasBeenSet(false) +{ +} + +MonitorSummary::MonitorSummary(JsonView jsonValue) : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_identityCenterApplicationArnHasBeenSet(false), + m_identityCenterInstanceArnHasBeenSet(false), + m_monitorIdHasBeenSet(false), + m_roleArnHasBeenSet(false), + m_subdomainHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false), + m_urlHasBeenSet(false) +{ + *this = jsonValue; +} + +MonitorSummary& MonitorSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("displayName")) + { + m_displayName = jsonValue.GetString("displayName"); + + m_displayNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("identityCenterApplicationArn")) + { + m_identityCenterApplicationArn = jsonValue.GetString("identityCenterApplicationArn"); + + m_identityCenterApplicationArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("identityCenterInstanceArn")) + { + m_identityCenterInstanceArn = jsonValue.GetString("identityCenterInstanceArn"); + + m_identityCenterInstanceArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("monitorId")) + { + m_monitorId = jsonValue.GetString("monitorId"); + + m_monitorIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("roleArn")) + { + m_roleArn = jsonValue.GetString("roleArn"); + + m_roleArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("subdomain")) + { + m_subdomain = jsonValue.GetString("subdomain"); + + m_subdomainHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + m_updatedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + m_updatedByHasBeenSet = true; + } + + if(jsonValue.ValueExists("url")) + { + m_url = jsonValue.GetString("url"); + + m_urlHasBeenSet = true; + } + + return *this; +} + +JsonValue MonitorSummary::Jsonize() const +{ + JsonValue payload; + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_identityCenterApplicationArnHasBeenSet) + { + payload.WithString("identityCenterApplicationArn", m_identityCenterApplicationArn); + + } + + if(m_identityCenterInstanceArnHasBeenSet) + { + payload.WithString("identityCenterInstanceArn", m_identityCenterInstanceArn); + + } + + if(m_monitorIdHasBeenSet) + { + payload.WithString("monitorId", m_monitorId); + + } + + if(m_roleArnHasBeenSet) + { + payload.WithString("roleArn", m_roleArn); + + } + + if(m_subdomainHasBeenSet) + { + payload.WithString("subdomain", m_subdomain); + + } + + if(m_updatedAtHasBeenSet) + { + payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_updatedByHasBeenSet) + { + payload.WithString("updatedBy", m_updatedBy); + + } + + if(m_urlHasBeenSet) + { + payload.WithString("url", m_url); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ParameterFilterExpression.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ParameterFilterExpression.cpp new file mode 100644 index 00000000000..4ec998b08d0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ParameterFilterExpression.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +ParameterFilterExpression::ParameterFilterExpression() : + m_nameHasBeenSet(false), + m_operator(ComparisonOperator::NOT_SET), + m_operatorHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +ParameterFilterExpression::ParameterFilterExpression(JsonView jsonValue) : + m_nameHasBeenSet(false), + m_operator(ComparisonOperator::NOT_SET), + m_operatorHasBeenSet(false), + m_valueHasBeenSet(false) +{ + *this = jsonValue; +} + +ParameterFilterExpression& ParameterFilterExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("operator")) + { + m_operator = ComparisonOperatorMapper::GetComparisonOperatorForName(jsonValue.GetString("operator")); + + m_operatorHasBeenSet = true; + } + + if(jsonValue.ValueExists("value")) + { + m_value = jsonValue.GetString("value"); + + m_valueHasBeenSet = true; + } + + return *this; +} + +JsonValue ParameterFilterExpression::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_operatorHasBeenSet) + { + payload.WithString("operator", ComparisonOperatorMapper::GetNameForComparisonOperator(m_operator)); + } + + if(m_valueHasBeenSet) + { + payload.WithString("value", m_value); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ParameterSortExpression.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ParameterSortExpression.cpp new file mode 100644 index 00000000000..92410d87004 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ParameterSortExpression.cpp @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +ParameterSortExpression::ParameterSortExpression() : + m_nameHasBeenSet(false), + m_sortOrder(SortOrder::NOT_SET), + m_sortOrderHasBeenSet(false) +{ +} + +ParameterSortExpression::ParameterSortExpression(JsonView jsonValue) : + m_nameHasBeenSet(false), + m_sortOrder(SortOrder::NOT_SET), + m_sortOrderHasBeenSet(false) +{ + *this = jsonValue; +} + +ParameterSortExpression& ParameterSortExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("sortOrder")) + { + m_sortOrder = SortOrderMapper::GetSortOrderForName(jsonValue.GetString("sortOrder")); + + m_sortOrderHasBeenSet = true; + } + + return *this; +} + +JsonValue ParameterSortExpression::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_sortOrderHasBeenSet) + { + payload.WithString("sortOrder", SortOrderMapper::GetNameForSortOrder(m_sortOrder)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ParameterSpace.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ParameterSpace.cpp new file mode 100644 index 00000000000..c36cb5f7eb6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ParameterSpace.cpp @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +ParameterSpace::ParameterSpace() : + m_combinationHasBeenSet(false), + m_parametersHasBeenSet(false) +{ +} + +ParameterSpace::ParameterSpace(JsonView jsonValue) : + m_combinationHasBeenSet(false), + m_parametersHasBeenSet(false) +{ + *this = jsonValue; +} + +ParameterSpace& ParameterSpace::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("combination")) + { + m_combination = jsonValue.GetString("combination"); + + m_combinationHasBeenSet = true; + } + + if(jsonValue.ValueExists("parameters")) + { + Aws::Utils::Array parametersJsonList = jsonValue.GetArray("parameters"); + for(unsigned parametersIndex = 0; parametersIndex < parametersJsonList.GetLength(); ++parametersIndex) + { + m_parameters.push_back(parametersJsonList[parametersIndex].AsObject()); + } + m_parametersHasBeenSet = true; + } + + return *this; +} + +JsonValue ParameterSpace::Jsonize() const +{ + JsonValue payload; + + if(m_combinationHasBeenSet) + { + payload.WithString("combination", m_combination); + + } + + if(m_parametersHasBeenSet) + { + Aws::Utils::Array parametersJsonList(m_parameters.size()); + for(unsigned parametersIndex = 0; parametersIndex < parametersJsonList.GetLength(); ++parametersIndex) + { + parametersJsonList[parametersIndex].AsObject(m_parameters[parametersIndex].Jsonize()); + } + payload.WithArray("parameters", std::move(parametersJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/PathFormat.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/PathFormat.cpp new file mode 100644 index 00000000000..64d1aa04937 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/PathFormat.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace PathFormatMapper + { + + static const int windows_HASH = HashingUtils::HashString("windows"); + static const int posix_HASH = HashingUtils::HashString("posix"); + + + PathFormat GetPathFormatForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == windows_HASH) + { + return PathFormat::windows; + } + else if (hashCode == posix_HASH) + { + return PathFormat::posix; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return PathFormat::NOT_SET; + } + + Aws::String GetNameForPathFormat(PathFormat enumValue) + { + switch(enumValue) + { + case PathFormat::NOT_SET: + return {}; + case PathFormat::windows: + return "windows"; + case PathFormat::posix: + return "posix"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace PathFormatMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/PathMappingRule.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/PathMappingRule.cpp new file mode 100644 index 00000000000..317df8888e3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/PathMappingRule.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +PathMappingRule::PathMappingRule() : + m_destinationPathHasBeenSet(false), + m_sourcePathHasBeenSet(false), + m_sourcePathFormat(PathFormat::NOT_SET), + m_sourcePathFormatHasBeenSet(false) +{ +} + +PathMappingRule::PathMappingRule(JsonView jsonValue) : + m_destinationPathHasBeenSet(false), + m_sourcePathHasBeenSet(false), + m_sourcePathFormat(PathFormat::NOT_SET), + m_sourcePathFormatHasBeenSet(false) +{ + *this = jsonValue; +} + +PathMappingRule& PathMappingRule::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("destinationPath")) + { + m_destinationPath = jsonValue.GetString("destinationPath"); + + m_destinationPathHasBeenSet = true; + } + + if(jsonValue.ValueExists("sourcePath")) + { + m_sourcePath = jsonValue.GetString("sourcePath"); + + m_sourcePathHasBeenSet = true; + } + + if(jsonValue.ValueExists("sourcePathFormat")) + { + m_sourcePathFormat = PathFormatMapper::GetPathFormatForName(jsonValue.GetString("sourcePathFormat")); + + m_sourcePathFormatHasBeenSet = true; + } + + return *this; +} + +JsonValue PathMappingRule::Jsonize() const +{ + JsonValue payload; + + if(m_destinationPathHasBeenSet) + { + payload.WithString("destinationPath", m_destinationPath); + + } + + if(m_sourcePathHasBeenSet) + { + payload.WithString("sourcePath", m_sourcePath); + + } + + if(m_sourcePathFormatHasBeenSet) + { + payload.WithString("sourcePathFormat", PathFormatMapper::GetNameForPathFormat(m_sourcePathFormat)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/Period.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/Period.cpp new file mode 100644 index 00000000000..077f6c59ea1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/Period.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace PeriodMapper + { + + static const int HOURLY_HASH = HashingUtils::HashString("HOURLY"); + static const int DAILY_HASH = HashingUtils::HashString("DAILY"); + static const int WEEKLY_HASH = HashingUtils::HashString("WEEKLY"); + static const int MONTHLY_HASH = HashingUtils::HashString("MONTHLY"); + + + Period GetPeriodForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == HOURLY_HASH) + { + return Period::HOURLY; + } + else if (hashCode == DAILY_HASH) + { + return Period::DAILY; + } + else if (hashCode == WEEKLY_HASH) + { + return Period::WEEKLY; + } + else if (hashCode == MONTHLY_HASH) + { + return Period::MONTHLY; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return Period::NOT_SET; + } + + Aws::String GetNameForPeriod(Period enumValue) + { + switch(enumValue) + { + case Period::NOT_SET: + return {}; + case Period::HOURLY: + return "HOURLY"; + case Period::DAILY: + return "DAILY"; + case Period::WEEKLY: + return "WEEKLY"; + case Period::MONTHLY: + return "MONTHLY"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace PeriodMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/PosixUser.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/PosixUser.cpp new file mode 100644 index 00000000000..846eb17e719 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/PosixUser.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +PosixUser::PosixUser() : + m_groupHasBeenSet(false), + m_userHasBeenSet(false) +{ +} + +PosixUser::PosixUser(JsonView jsonValue) : + m_groupHasBeenSet(false), + m_userHasBeenSet(false) +{ + *this = jsonValue; +} + +PosixUser& PosixUser::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("group")) + { + m_group = jsonValue.GetString("group"); + + m_groupHasBeenSet = true; + } + + if(jsonValue.ValueExists("user")) + { + m_user = jsonValue.GetString("user"); + + m_userHasBeenSet = true; + } + + return *this; +} + +JsonValue PosixUser::Jsonize() const +{ + JsonValue payload; + + if(m_groupHasBeenSet) + { + payload.WithString("group", m_group); + + } + + if(m_userHasBeenSet) + { + payload.WithString("user", m_user); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/PrincipalType.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/PrincipalType.cpp new file mode 100644 index 00000000000..40795c1673e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/PrincipalType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace PrincipalTypeMapper + { + + static const int USER_HASH = HashingUtils::HashString("USER"); + static const int GROUP_HASH = HashingUtils::HashString("GROUP"); + + + PrincipalType GetPrincipalTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == USER_HASH) + { + return PrincipalType::USER; + } + else if (hashCode == GROUP_HASH) + { + return PrincipalType::GROUP; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return PrincipalType::NOT_SET; + } + + Aws::String GetNameForPrincipalType(PrincipalType enumValue) + { + switch(enumValue) + { + case PrincipalType::NOT_SET: + return {}; + case PrincipalType::USER: + return "USER"; + case PrincipalType::GROUP: + return "GROUP"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace PrincipalTypeMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/PutMeteredProductRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/PutMeteredProductRequest.cpp new file mode 100644 index 00000000000..6d95e0cb1bb --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/PutMeteredProductRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +PutMeteredProductRequest::PutMeteredProductRequest() : + m_licenseEndpointIdHasBeenSet(false), + m_productIdHasBeenSet(false) +{ +} + +Aws::String PutMeteredProductRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/PutMeteredProductResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/PutMeteredProductResult.cpp new file mode 100644 index 00000000000..5bcecd8cc32 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/PutMeteredProductResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +PutMeteredProductResult::PutMeteredProductResult() +{ +} + +PutMeteredProductResult::PutMeteredProductResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +PutMeteredProductResult& PutMeteredProductResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/QueueBlockedReason.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/QueueBlockedReason.cpp new file mode 100644 index 00000000000..7794c646dbe --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/QueueBlockedReason.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace QueueBlockedReasonMapper + { + + static const int NO_BUDGET_CONFIGURED_HASH = HashingUtils::HashString("NO_BUDGET_CONFIGURED"); + static const int BUDGET_THRESHOLD_REACHED_HASH = HashingUtils::HashString("BUDGET_THRESHOLD_REACHED"); + + + QueueBlockedReason GetQueueBlockedReasonForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == NO_BUDGET_CONFIGURED_HASH) + { + return QueueBlockedReason::NO_BUDGET_CONFIGURED; + } + else if (hashCode == BUDGET_THRESHOLD_REACHED_HASH) + { + return QueueBlockedReason::BUDGET_THRESHOLD_REACHED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return QueueBlockedReason::NOT_SET; + } + + Aws::String GetNameForQueueBlockedReason(QueueBlockedReason enumValue) + { + switch(enumValue) + { + case QueueBlockedReason::NOT_SET: + return {}; + case QueueBlockedReason::NO_BUDGET_CONFIGURED: + return "NO_BUDGET_CONFIGURED"; + case QueueBlockedReason::BUDGET_THRESHOLD_REACHED: + return "BUDGET_THRESHOLD_REACHED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace QueueBlockedReasonMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/QueueEnvironmentSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/QueueEnvironmentSummary.cpp new file mode 100644 index 00000000000..4c141efbb83 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/QueueEnvironmentSummary.cpp @@ -0,0 +1,91 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +QueueEnvironmentSummary::QueueEnvironmentSummary() : + m_nameHasBeenSet(false), + m_priority(0), + m_priorityHasBeenSet(false), + m_queueEnvironmentIdHasBeenSet(false) +{ +} + +QueueEnvironmentSummary::QueueEnvironmentSummary(JsonView jsonValue) : + m_nameHasBeenSet(false), + m_priority(0), + m_priorityHasBeenSet(false), + m_queueEnvironmentIdHasBeenSet(false) +{ + *this = jsonValue; +} + +QueueEnvironmentSummary& QueueEnvironmentSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("priority")) + { + m_priority = jsonValue.GetInteger("priority"); + + m_priorityHasBeenSet = true; + } + + if(jsonValue.ValueExists("queueEnvironmentId")) + { + m_queueEnvironmentId = jsonValue.GetString("queueEnvironmentId"); + + m_queueEnvironmentIdHasBeenSet = true; + } + + return *this; +} + +JsonValue QueueEnvironmentSummary::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_priorityHasBeenSet) + { + payload.WithInteger("priority", m_priority); + + } + + if(m_queueEnvironmentIdHasBeenSet) + { + payload.WithString("queueEnvironmentId", m_queueEnvironmentId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/QueueFleetAssociationStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/QueueFleetAssociationStatus.cpp new file mode 100644 index 00000000000..b50a7927c40 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/QueueFleetAssociationStatus.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace QueueFleetAssociationStatusMapper + { + + static const int ACTIVE_HASH = HashingUtils::HashString("ACTIVE"); + static const int STOP_SCHEDULING_AND_COMPLETE_TASKS_HASH = HashingUtils::HashString("STOP_SCHEDULING_AND_COMPLETE_TASKS"); + static const int STOP_SCHEDULING_AND_CANCEL_TASKS_HASH = HashingUtils::HashString("STOP_SCHEDULING_AND_CANCEL_TASKS"); + static const int STOPPED_HASH = HashingUtils::HashString("STOPPED"); + + + QueueFleetAssociationStatus GetQueueFleetAssociationStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ACTIVE_HASH) + { + return QueueFleetAssociationStatus::ACTIVE; + } + else if (hashCode == STOP_SCHEDULING_AND_COMPLETE_TASKS_HASH) + { + return QueueFleetAssociationStatus::STOP_SCHEDULING_AND_COMPLETE_TASKS; + } + else if (hashCode == STOP_SCHEDULING_AND_CANCEL_TASKS_HASH) + { + return QueueFleetAssociationStatus::STOP_SCHEDULING_AND_CANCEL_TASKS; + } + else if (hashCode == STOPPED_HASH) + { + return QueueFleetAssociationStatus::STOPPED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return QueueFleetAssociationStatus::NOT_SET; + } + + Aws::String GetNameForQueueFleetAssociationStatus(QueueFleetAssociationStatus enumValue) + { + switch(enumValue) + { + case QueueFleetAssociationStatus::NOT_SET: + return {}; + case QueueFleetAssociationStatus::ACTIVE: + return "ACTIVE"; + case QueueFleetAssociationStatus::STOP_SCHEDULING_AND_COMPLETE_TASKS: + return "STOP_SCHEDULING_AND_COMPLETE_TASKS"; + case QueueFleetAssociationStatus::STOP_SCHEDULING_AND_CANCEL_TASKS: + return "STOP_SCHEDULING_AND_CANCEL_TASKS"; + case QueueFleetAssociationStatus::STOPPED: + return "STOPPED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace QueueFleetAssociationStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/QueueFleetAssociationSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/QueueFleetAssociationSummary.cpp new file mode 100644 index 00000000000..e5ed28b17b1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/QueueFleetAssociationSummary.cpp @@ -0,0 +1,148 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +QueueFleetAssociationSummary::QueueFleetAssociationSummary() : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_status(QueueFleetAssociationStatus::NOT_SET), + m_statusHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false) +{ +} + +QueueFleetAssociationSummary::QueueFleetAssociationSummary(JsonView jsonValue) : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_status(QueueFleetAssociationStatus::NOT_SET), + m_statusHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false) +{ + *this = jsonValue; +} + +QueueFleetAssociationSummary& QueueFleetAssociationSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("fleetId")) + { + m_fleetId = jsonValue.GetString("fleetId"); + + m_fleetIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("queueId")) + { + m_queueId = jsonValue.GetString("queueId"); + + m_queueIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = QueueFleetAssociationStatusMapper::GetQueueFleetAssociationStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + m_updatedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + m_updatedByHasBeenSet = true; + } + + return *this; +} + +JsonValue QueueFleetAssociationSummary::Jsonize() const +{ + JsonValue payload; + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + + if(m_fleetIdHasBeenSet) + { + payload.WithString("fleetId", m_fleetId); + + } + + if(m_queueIdHasBeenSet) + { + payload.WithString("queueId", m_queueId); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", QueueFleetAssociationStatusMapper::GetNameForQueueFleetAssociationStatus(m_status)); + } + + if(m_updatedAtHasBeenSet) + { + payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_updatedByHasBeenSet) + { + payload.WithString("updatedBy", m_updatedBy); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/QueueMember.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/QueueMember.cpp new file mode 100644 index 00000000000..eb54410cb08 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/QueueMember.cpp @@ -0,0 +1,136 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +QueueMember::QueueMember() : + m_farmIdHasBeenSet(false), + m_identityStoreIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false), + m_principalIdHasBeenSet(false), + m_principalType(PrincipalType::NOT_SET), + m_principalTypeHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ +} + +QueueMember::QueueMember(JsonView jsonValue) : + m_farmIdHasBeenSet(false), + m_identityStoreIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false), + m_principalIdHasBeenSet(false), + m_principalType(PrincipalType::NOT_SET), + m_principalTypeHasBeenSet(false), + m_queueIdHasBeenSet(false) +{ + *this = jsonValue; +} + +QueueMember& QueueMember::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("farmId")) + { + m_farmId = jsonValue.GetString("farmId"); + + m_farmIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("identityStoreId")) + { + m_identityStoreId = jsonValue.GetString("identityStoreId"); + + m_identityStoreIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("membershipLevel")) + { + m_membershipLevel = MembershipLevelMapper::GetMembershipLevelForName(jsonValue.GetString("membershipLevel")); + + m_membershipLevelHasBeenSet = true; + } + + if(jsonValue.ValueExists("principalId")) + { + m_principalId = jsonValue.GetString("principalId"); + + m_principalIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("principalType")) + { + m_principalType = PrincipalTypeMapper::GetPrincipalTypeForName(jsonValue.GetString("principalType")); + + m_principalTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("queueId")) + { + m_queueId = jsonValue.GetString("queueId"); + + m_queueIdHasBeenSet = true; + } + + return *this; +} + +JsonValue QueueMember::Jsonize() const +{ + JsonValue payload; + + if(m_farmIdHasBeenSet) + { + payload.WithString("farmId", m_farmId); + + } + + if(m_identityStoreIdHasBeenSet) + { + payload.WithString("identityStoreId", m_identityStoreId); + + } + + if(m_membershipLevelHasBeenSet) + { + payload.WithString("membershipLevel", MembershipLevelMapper::GetNameForMembershipLevel(m_membershipLevel)); + } + + if(m_principalIdHasBeenSet) + { + payload.WithString("principalId", m_principalId); + + } + + if(m_principalTypeHasBeenSet) + { + payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); + } + + if(m_queueIdHasBeenSet) + { + payload.WithString("queueId", m_queueId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/QueueStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/QueueStatus.cpp new file mode 100644 index 00000000000..b71c5c19cbc --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/QueueStatus.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace QueueStatusMapper + { + + static const int IDLE_HASH = HashingUtils::HashString("IDLE"); + static const int SCHEDULING_HASH = HashingUtils::HashString("SCHEDULING"); + static const int SCHEDULING_BLOCKED_HASH = HashingUtils::HashString("SCHEDULING_BLOCKED"); + + + QueueStatus GetQueueStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == IDLE_HASH) + { + return QueueStatus::IDLE; + } + else if (hashCode == SCHEDULING_HASH) + { + return QueueStatus::SCHEDULING; + } + else if (hashCode == SCHEDULING_BLOCKED_HASH) + { + return QueueStatus::SCHEDULING_BLOCKED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return QueueStatus::NOT_SET; + } + + Aws::String GetNameForQueueStatus(QueueStatus enumValue) + { + switch(enumValue) + { + case QueueStatus::NOT_SET: + return {}; + case QueueStatus::IDLE: + return "IDLE"; + case QueueStatus::SCHEDULING: + return "SCHEDULING"; + case QueueStatus::SCHEDULING_BLOCKED: + return "SCHEDULING_BLOCKED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace QueueStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/QueueSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/QueueSummary.cpp new file mode 100644 index 00000000000..38cd270709b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/QueueSummary.cpp @@ -0,0 +1,195 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +QueueSummary::QueueSummary() : + m_blockedReason(QueueBlockedReason::NOT_SET), + m_blockedReasonHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_defaultBudgetAction(DefaultQueueBudgetAction::NOT_SET), + m_defaultBudgetActionHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_status(QueueStatus::NOT_SET), + m_statusHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false) +{ +} + +QueueSummary::QueueSummary(JsonView jsonValue) : + m_blockedReason(QueueBlockedReason::NOT_SET), + m_blockedReasonHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_defaultBudgetAction(DefaultQueueBudgetAction::NOT_SET), + m_defaultBudgetActionHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_status(QueueStatus::NOT_SET), + m_statusHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false) +{ + *this = jsonValue; +} + +QueueSummary& QueueSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("blockedReason")) + { + m_blockedReason = QueueBlockedReasonMapper::GetQueueBlockedReasonForName(jsonValue.GetString("blockedReason")); + + m_blockedReasonHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("defaultBudgetAction")) + { + m_defaultBudgetAction = DefaultQueueBudgetActionMapper::GetDefaultQueueBudgetActionForName(jsonValue.GetString("defaultBudgetAction")); + + m_defaultBudgetActionHasBeenSet = true; + } + + if(jsonValue.ValueExists("displayName")) + { + m_displayName = jsonValue.GetString("displayName"); + + m_displayNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("farmId")) + { + m_farmId = jsonValue.GetString("farmId"); + + m_farmIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("queueId")) + { + m_queueId = jsonValue.GetString("queueId"); + + m_queueIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = QueueStatusMapper::GetQueueStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + m_updatedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + m_updatedByHasBeenSet = true; + } + + return *this; +} + +JsonValue QueueSummary::Jsonize() const +{ + JsonValue payload; + + if(m_blockedReasonHasBeenSet) + { + payload.WithString("blockedReason", QueueBlockedReasonMapper::GetNameForQueueBlockedReason(m_blockedReason)); + } + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + + if(m_defaultBudgetActionHasBeenSet) + { + payload.WithString("defaultBudgetAction", DefaultQueueBudgetActionMapper::GetNameForDefaultQueueBudgetAction(m_defaultBudgetAction)); + } + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_farmIdHasBeenSet) + { + payload.WithString("farmId", m_farmId); + + } + + if(m_queueIdHasBeenSet) + { + payload.WithString("queueId", m_queueId); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", QueueStatusMapper::GetNameForQueueStatus(m_status)); + } + + if(m_updatedAtHasBeenSet) + { + payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_updatedByHasBeenSet) + { + payload.WithString("updatedBy", m_updatedBy); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ResourceNotFoundException.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ResourceNotFoundException.cpp new file mode 100644 index 00000000000..c01e4d7d165 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ResourceNotFoundException.cpp @@ -0,0 +1,112 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +ResourceNotFoundException::ResourceNotFoundException() : + m_contextHasBeenSet(false), + m_messageHasBeenSet(false), + m_resourceIdHasBeenSet(false), + m_resourceTypeHasBeenSet(false) +{ +} + +ResourceNotFoundException::ResourceNotFoundException(JsonView jsonValue) : + m_contextHasBeenSet(false), + m_messageHasBeenSet(false), + m_resourceIdHasBeenSet(false), + m_resourceTypeHasBeenSet(false) +{ + *this = jsonValue; +} + +ResourceNotFoundException& ResourceNotFoundException::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("context")) + { + Aws::Map contextJsonMap = jsonValue.GetObject("context").GetAllObjects(); + for(auto& contextItem : contextJsonMap) + { + m_context[contextItem.first] = contextItem.second.AsString(); + } + m_contextHasBeenSet = true; + } + + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("resourceId")) + { + m_resourceId = jsonValue.GetString("resourceId"); + + m_resourceIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("resourceType")) + { + m_resourceType = jsonValue.GetString("resourceType"); + + m_resourceTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue ResourceNotFoundException::Jsonize() const +{ + JsonValue payload; + + if(m_contextHasBeenSet) + { + JsonValue contextJsonMap; + for(auto& contextItem : m_context) + { + contextJsonMap.WithString(contextItem.first, contextItem.second); + } + payload.WithObject("context", std::move(contextJsonMap)); + + } + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + if(m_resourceIdHasBeenSet) + { + payload.WithString("resourceId", m_resourceId); + + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("resourceType", m_resourceType); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ResponseBudgetAction.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ResponseBudgetAction.cpp new file mode 100644 index 00000000000..ed9f662fb70 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ResponseBudgetAction.cpp @@ -0,0 +1,92 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +ResponseBudgetAction::ResponseBudgetAction() : + m_descriptionHasBeenSet(false), + m_thresholdPercentage(0.0), + m_thresholdPercentageHasBeenSet(false), + m_type(BudgetActionType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +ResponseBudgetAction::ResponseBudgetAction(JsonView jsonValue) : + m_descriptionHasBeenSet(false), + m_thresholdPercentage(0.0), + m_thresholdPercentageHasBeenSet(false), + m_type(BudgetActionType::NOT_SET), + m_typeHasBeenSet(false) +{ + *this = jsonValue; +} + +ResponseBudgetAction& ResponseBudgetAction::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + m_descriptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("thresholdPercentage")) + { + m_thresholdPercentage = jsonValue.GetDouble("thresholdPercentage"); + + m_thresholdPercentageHasBeenSet = true; + } + + if(jsonValue.ValueExists("type")) + { + m_type = BudgetActionTypeMapper::GetBudgetActionTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue ResponseBudgetAction::Jsonize() const +{ + JsonValue payload; + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_thresholdPercentageHasBeenSet) + { + payload.WithDouble("thresholdPercentage", m_thresholdPercentage); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", BudgetActionTypeMapper::GetNameForBudgetActionType(m_type)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/RunAs.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/RunAs.cpp new file mode 100644 index 00000000000..2de67b762d0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/RunAs.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace RunAsMapper + { + + static const int QUEUE_CONFIGURED_USER_HASH = HashingUtils::HashString("QUEUE_CONFIGURED_USER"); + static const int WORKER_AGENT_USER_HASH = HashingUtils::HashString("WORKER_AGENT_USER"); + + + RunAs GetRunAsForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == QUEUE_CONFIGURED_USER_HASH) + { + return RunAs::QUEUE_CONFIGURED_USER; + } + else if (hashCode == WORKER_AGENT_USER_HASH) + { + return RunAs::WORKER_AGENT_USER; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return RunAs::NOT_SET; + } + + Aws::String GetNameForRunAs(RunAs enumValue) + { + switch(enumValue) + { + case RunAs::NOT_SET: + return {}; + case RunAs::QUEUE_CONFIGURED_USER: + return "QUEUE_CONFIGURED_USER"; + case RunAs::WORKER_AGENT_USER: + return "WORKER_AGENT_USER"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace RunAsMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/S3Location.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/S3Location.cpp new file mode 100644 index 00000000000..3cea7ca7355 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/S3Location.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +S3Location::S3Location() : + m_bucketNameHasBeenSet(false), + m_keyHasBeenSet(false) +{ +} + +S3Location::S3Location(JsonView jsonValue) : + m_bucketNameHasBeenSet(false), + m_keyHasBeenSet(false) +{ + *this = jsonValue; +} + +S3Location& S3Location::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("bucketName")) + { + m_bucketName = jsonValue.GetString("bucketName"); + + m_bucketNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("key")) + { + m_key = jsonValue.GetString("key"); + + m_keyHasBeenSet = true; + } + + return *this; +} + +JsonValue S3Location::Jsonize() const +{ + JsonValue payload; + + if(m_bucketNameHasBeenSet) + { + payload.WithString("bucketName", m_bucketName); + + } + + if(m_keyHasBeenSet) + { + payload.WithString("key", m_key); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchFilterExpression.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchFilterExpression.cpp new file mode 100644 index 00000000000..2b2e8fc9d19 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchFilterExpression.cpp @@ -0,0 +1,127 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +SearchFilterExpression::SearchFilterExpression() : + m_dateTimeFilterHasBeenSet(false), + m_groupFilterHasBeenSet(false), + m_parameterFilterHasBeenSet(false), + m_searchTermFilterHasBeenSet(false), + m_stringFilterHasBeenSet(false) +{ +} + +SearchFilterExpression::SearchFilterExpression(JsonView jsonValue) : + m_dateTimeFilterHasBeenSet(false), + m_groupFilterHasBeenSet(false), + m_parameterFilterHasBeenSet(false), + m_searchTermFilterHasBeenSet(false), + m_stringFilterHasBeenSet(false) +{ + *this = jsonValue; +} + +const SearchGroupedFilterExpressions& SearchFilterExpression::GetGroupFilter() const{ return *m_groupFilter; } +bool SearchFilterExpression::GroupFilterHasBeenSet() const { return m_groupFilterHasBeenSet; } +void SearchFilterExpression::SetGroupFilter(const SearchGroupedFilterExpressions& value) { m_groupFilterHasBeenSet = true; m_groupFilter = Aws::MakeShared("SearchFilterExpression", value); } +void SearchFilterExpression::SetGroupFilter(SearchGroupedFilterExpressions&& value) { m_groupFilterHasBeenSet = true; m_groupFilter = Aws::MakeShared("SearchFilterExpression", std::move(value)); } +SearchFilterExpression& SearchFilterExpression::WithGroupFilter(const SearchGroupedFilterExpressions& value) { SetGroupFilter(value); return *this;} +SearchFilterExpression& SearchFilterExpression::WithGroupFilter(SearchGroupedFilterExpressions&& value) { SetGroupFilter(std::move(value)); return *this;} + +SearchFilterExpression& SearchFilterExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("dateTimeFilter")) + { + m_dateTimeFilter = jsonValue.GetObject("dateTimeFilter"); + + m_dateTimeFilterHasBeenSet = true; + } + + if(jsonValue.ValueExists("groupFilter")) + { + m_groupFilter = Aws::MakeShared("SearchFilterExpression", jsonValue.GetObject("groupFilter")); + + m_groupFilterHasBeenSet = true; + } + + if(jsonValue.ValueExists("parameterFilter")) + { + m_parameterFilter = jsonValue.GetObject("parameterFilter"); + + m_parameterFilterHasBeenSet = true; + } + + if(jsonValue.ValueExists("searchTermFilter")) + { + m_searchTermFilter = jsonValue.GetObject("searchTermFilter"); + + m_searchTermFilterHasBeenSet = true; + } + + if(jsonValue.ValueExists("stringFilter")) + { + m_stringFilter = jsonValue.GetObject("stringFilter"); + + m_stringFilterHasBeenSet = true; + } + + return *this; +} + +JsonValue SearchFilterExpression::Jsonize() const +{ + JsonValue payload; + + if(m_dateTimeFilterHasBeenSet) + { + payload.WithObject("dateTimeFilter", m_dateTimeFilter.Jsonize()); + + } + + if(m_groupFilterHasBeenSet) + { + payload.WithObject("groupFilter", m_groupFilter->Jsonize()); + + } + + if(m_parameterFilterHasBeenSet) + { + payload.WithObject("parameterFilter", m_parameterFilter.Jsonize()); + + } + + if(m_searchTermFilterHasBeenSet) + { + payload.WithObject("searchTermFilter", m_searchTermFilter.Jsonize()); + + } + + if(m_stringFilterHasBeenSet) + { + payload.WithObject("stringFilter", m_stringFilter.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchGroupedFilterExpressions.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchGroupedFilterExpressions.cpp new file mode 100644 index 00000000000..5f6b280d45e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchGroupedFilterExpressions.cpp @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +SearchGroupedFilterExpressions::SearchGroupedFilterExpressions() : + m_filtersHasBeenSet(false), + m_operator(LogicalOperator::NOT_SET), + m_operatorHasBeenSet(false) +{ +} + +SearchGroupedFilterExpressions::SearchGroupedFilterExpressions(JsonView jsonValue) : + m_filtersHasBeenSet(false), + m_operator(LogicalOperator::NOT_SET), + m_operatorHasBeenSet(false) +{ + *this = jsonValue; +} + +SearchGroupedFilterExpressions& SearchGroupedFilterExpressions::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("filters")) + { + Aws::Utils::Array filtersJsonList = jsonValue.GetArray("filters"); + for(unsigned filtersIndex = 0; filtersIndex < filtersJsonList.GetLength(); ++filtersIndex) + { + m_filters.push_back(filtersJsonList[filtersIndex].AsObject()); + } + m_filtersHasBeenSet = true; + } + + if(jsonValue.ValueExists("operator")) + { + m_operator = LogicalOperatorMapper::GetLogicalOperatorForName(jsonValue.GetString("operator")); + + m_operatorHasBeenSet = true; + } + + return *this; +} + +JsonValue SearchGroupedFilterExpressions::Jsonize() const +{ + JsonValue payload; + + if(m_filtersHasBeenSet) + { + Aws::Utils::Array filtersJsonList(m_filters.size()); + for(unsigned filtersIndex = 0; filtersIndex < filtersJsonList.GetLength(); ++filtersIndex) + { + filtersJsonList[filtersIndex].AsObject(m_filters[filtersIndex].Jsonize()); + } + payload.WithArray("filters", std::move(filtersJsonList)); + + } + + if(m_operatorHasBeenSet) + { + payload.WithString("operator", LogicalOperatorMapper::GetNameForLogicalOperator(m_operator)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchJobsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchJobsRequest.cpp new file mode 100644 index 00000000000..77dcf689a49 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchJobsRequest.cpp @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +SearchJobsRequest::SearchJobsRequest() : + m_farmIdHasBeenSet(false), + m_filterExpressionsHasBeenSet(false), + m_itemOffset(0), + m_itemOffsetHasBeenSet(false), + m_pageSize(0), + m_pageSizeHasBeenSet(false), + m_queueIdsHasBeenSet(false), + m_sortExpressionsHasBeenSet(false) +{ +} + +Aws::String SearchJobsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_filterExpressionsHasBeenSet) + { + payload.WithObject("filterExpressions", m_filterExpressions.Jsonize()); + + } + + if(m_itemOffsetHasBeenSet) + { + payload.WithInteger("itemOffset", m_itemOffset); + + } + + if(m_pageSizeHasBeenSet) + { + payload.WithInteger("pageSize", m_pageSize); + + } + + if(m_queueIdsHasBeenSet) + { + Aws::Utils::Array queueIdsJsonList(m_queueIds.size()); + for(unsigned queueIdsIndex = 0; queueIdsIndex < queueIdsJsonList.GetLength(); ++queueIdsIndex) + { + queueIdsJsonList[queueIdsIndex].AsString(m_queueIds[queueIdsIndex]); + } + payload.WithArray("queueIds", std::move(queueIdsJsonList)); + + } + + if(m_sortExpressionsHasBeenSet) + { + Aws::Utils::Array sortExpressionsJsonList(m_sortExpressions.size()); + for(unsigned sortExpressionsIndex = 0; sortExpressionsIndex < sortExpressionsJsonList.GetLength(); ++sortExpressionsIndex) + { + sortExpressionsJsonList[sortExpressionsIndex].AsObject(m_sortExpressions[sortExpressionsIndex].Jsonize()); + } + payload.WithArray("sortExpressions", std::move(sortExpressionsJsonList)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchJobsResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchJobsResult.cpp new file mode 100644 index 00000000000..ec947f4ae12 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchJobsResult.cpp @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +SearchJobsResult::SearchJobsResult() : + m_nextItemOffset(0), + m_totalResults(0) +{ +} + +SearchJobsResult::SearchJobsResult(const Aws::AmazonWebServiceResult& result) : + m_nextItemOffset(0), + m_totalResults(0) +{ + *this = result; +} + +SearchJobsResult& SearchJobsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("jobs")) + { + Aws::Utils::Array jobsJsonList = jsonValue.GetArray("jobs"); + for(unsigned jobsIndex = 0; jobsIndex < jobsJsonList.GetLength(); ++jobsIndex) + { + m_jobs.push_back(jobsJsonList[jobsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextItemOffset")) + { + m_nextItemOffset = jsonValue.GetInteger("nextItemOffset"); + + } + + if(jsonValue.ValueExists("totalResults")) + { + m_totalResults = jsonValue.GetInteger("totalResults"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchSortExpression.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchSortExpression.cpp new file mode 100644 index 00000000000..98670f44b47 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchSortExpression.cpp @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +SearchSortExpression::SearchSortExpression() : + m_fieldSortHasBeenSet(false), + m_parameterSortHasBeenSet(false), + m_userJobsFirstHasBeenSet(false) +{ +} + +SearchSortExpression::SearchSortExpression(JsonView jsonValue) : + m_fieldSortHasBeenSet(false), + m_parameterSortHasBeenSet(false), + m_userJobsFirstHasBeenSet(false) +{ + *this = jsonValue; +} + +SearchSortExpression& SearchSortExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("fieldSort")) + { + m_fieldSort = jsonValue.GetObject("fieldSort"); + + m_fieldSortHasBeenSet = true; + } + + if(jsonValue.ValueExists("parameterSort")) + { + m_parameterSort = jsonValue.GetObject("parameterSort"); + + m_parameterSortHasBeenSet = true; + } + + if(jsonValue.ValueExists("userJobsFirst")) + { + m_userJobsFirst = jsonValue.GetObject("userJobsFirst"); + + m_userJobsFirstHasBeenSet = true; + } + + return *this; +} + +JsonValue SearchSortExpression::Jsonize() const +{ + JsonValue payload; + + if(m_fieldSortHasBeenSet) + { + payload.WithObject("fieldSort", m_fieldSort.Jsonize()); + + } + + if(m_parameterSortHasBeenSet) + { + payload.WithObject("parameterSort", m_parameterSort.Jsonize()); + + } + + if(m_userJobsFirstHasBeenSet) + { + payload.WithObject("userJobsFirst", m_userJobsFirst.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchStepsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchStepsRequest.cpp new file mode 100644 index 00000000000..495c6dd6be2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchStepsRequest.cpp @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +SearchStepsRequest::SearchStepsRequest() : + m_farmIdHasBeenSet(false), + m_filterExpressionsHasBeenSet(false), + m_itemOffset(0), + m_itemOffsetHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_pageSize(0), + m_pageSizeHasBeenSet(false), + m_queueIdsHasBeenSet(false), + m_sortExpressionsHasBeenSet(false) +{ +} + +Aws::String SearchStepsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_filterExpressionsHasBeenSet) + { + payload.WithObject("filterExpressions", m_filterExpressions.Jsonize()); + + } + + if(m_itemOffsetHasBeenSet) + { + payload.WithInteger("itemOffset", m_itemOffset); + + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_pageSizeHasBeenSet) + { + payload.WithInteger("pageSize", m_pageSize); + + } + + if(m_queueIdsHasBeenSet) + { + Aws::Utils::Array queueIdsJsonList(m_queueIds.size()); + for(unsigned queueIdsIndex = 0; queueIdsIndex < queueIdsJsonList.GetLength(); ++queueIdsIndex) + { + queueIdsJsonList[queueIdsIndex].AsString(m_queueIds[queueIdsIndex]); + } + payload.WithArray("queueIds", std::move(queueIdsJsonList)); + + } + + if(m_sortExpressionsHasBeenSet) + { + Aws::Utils::Array sortExpressionsJsonList(m_sortExpressions.size()); + for(unsigned sortExpressionsIndex = 0; sortExpressionsIndex < sortExpressionsJsonList.GetLength(); ++sortExpressionsIndex) + { + sortExpressionsJsonList[sortExpressionsIndex].AsObject(m_sortExpressions[sortExpressionsIndex].Jsonize()); + } + payload.WithArray("sortExpressions", std::move(sortExpressionsJsonList)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchStepsResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchStepsResult.cpp new file mode 100644 index 00000000000..743ab8f4ade --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchStepsResult.cpp @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +SearchStepsResult::SearchStepsResult() : + m_nextItemOffset(0), + m_totalResults(0) +{ +} + +SearchStepsResult::SearchStepsResult(const Aws::AmazonWebServiceResult& result) : + m_nextItemOffset(0), + m_totalResults(0) +{ + *this = result; +} + +SearchStepsResult& SearchStepsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextItemOffset")) + { + m_nextItemOffset = jsonValue.GetInteger("nextItemOffset"); + + } + + if(jsonValue.ValueExists("steps")) + { + Aws::Utils::Array stepsJsonList = jsonValue.GetArray("steps"); + for(unsigned stepsIndex = 0; stepsIndex < stepsJsonList.GetLength(); ++stepsIndex) + { + m_steps.push_back(stepsJsonList[stepsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("totalResults")) + { + m_totalResults = jsonValue.GetInteger("totalResults"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchTasksRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchTasksRequest.cpp new file mode 100644 index 00000000000..f6e69311e64 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchTasksRequest.cpp @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +SearchTasksRequest::SearchTasksRequest() : + m_farmIdHasBeenSet(false), + m_filterExpressionsHasBeenSet(false), + m_itemOffset(0), + m_itemOffsetHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_pageSize(0), + m_pageSizeHasBeenSet(false), + m_queueIdsHasBeenSet(false), + m_sortExpressionsHasBeenSet(false) +{ +} + +Aws::String SearchTasksRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_filterExpressionsHasBeenSet) + { + payload.WithObject("filterExpressions", m_filterExpressions.Jsonize()); + + } + + if(m_itemOffsetHasBeenSet) + { + payload.WithInteger("itemOffset", m_itemOffset); + + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_pageSizeHasBeenSet) + { + payload.WithInteger("pageSize", m_pageSize); + + } + + if(m_queueIdsHasBeenSet) + { + Aws::Utils::Array queueIdsJsonList(m_queueIds.size()); + for(unsigned queueIdsIndex = 0; queueIdsIndex < queueIdsJsonList.GetLength(); ++queueIdsIndex) + { + queueIdsJsonList[queueIdsIndex].AsString(m_queueIds[queueIdsIndex]); + } + payload.WithArray("queueIds", std::move(queueIdsJsonList)); + + } + + if(m_sortExpressionsHasBeenSet) + { + Aws::Utils::Array sortExpressionsJsonList(m_sortExpressions.size()); + for(unsigned sortExpressionsIndex = 0; sortExpressionsIndex < sortExpressionsJsonList.GetLength(); ++sortExpressionsIndex) + { + sortExpressionsJsonList[sortExpressionsIndex].AsObject(m_sortExpressions[sortExpressionsIndex].Jsonize()); + } + payload.WithArray("sortExpressions", std::move(sortExpressionsJsonList)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchTasksResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchTasksResult.cpp new file mode 100644 index 00000000000..105f86750e9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchTasksResult.cpp @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +SearchTasksResult::SearchTasksResult() : + m_nextItemOffset(0), + m_totalResults(0) +{ +} + +SearchTasksResult::SearchTasksResult(const Aws::AmazonWebServiceResult& result) : + m_nextItemOffset(0), + m_totalResults(0) +{ + *this = result; +} + +SearchTasksResult& SearchTasksResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextItemOffset")) + { + m_nextItemOffset = jsonValue.GetInteger("nextItemOffset"); + + } + + if(jsonValue.ValueExists("tasks")) + { + Aws::Utils::Array tasksJsonList = jsonValue.GetArray("tasks"); + for(unsigned tasksIndex = 0; tasksIndex < tasksJsonList.GetLength(); ++tasksIndex) + { + m_tasks.push_back(tasksJsonList[tasksIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("totalResults")) + { + m_totalResults = jsonValue.GetInteger("totalResults"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchTermFilterExpression.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchTermFilterExpression.cpp new file mode 100644 index 00000000000..000766d3a7d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchTermFilterExpression.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +SearchTermFilterExpression::SearchTermFilterExpression() : + m_searchTermHasBeenSet(false) +{ +} + +SearchTermFilterExpression::SearchTermFilterExpression(JsonView jsonValue) : + m_searchTermHasBeenSet(false) +{ + *this = jsonValue; +} + +SearchTermFilterExpression& SearchTermFilterExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("searchTerm")) + { + m_searchTerm = jsonValue.GetString("searchTerm"); + + m_searchTermHasBeenSet = true; + } + + return *this; +} + +JsonValue SearchTermFilterExpression::Jsonize() const +{ + JsonValue payload; + + if(m_searchTermHasBeenSet) + { + payload.WithString("searchTerm", m_searchTerm); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchWorkersRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchWorkersRequest.cpp new file mode 100644 index 00000000000..1def046dd58 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchWorkersRequest.cpp @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +SearchWorkersRequest::SearchWorkersRequest() : + m_farmIdHasBeenSet(false), + m_filterExpressionsHasBeenSet(false), + m_fleetIdsHasBeenSet(false), + m_itemOffset(0), + m_itemOffsetHasBeenSet(false), + m_pageSize(0), + m_pageSizeHasBeenSet(false), + m_sortExpressionsHasBeenSet(false) +{ +} + +Aws::String SearchWorkersRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_filterExpressionsHasBeenSet) + { + payload.WithObject("filterExpressions", m_filterExpressions.Jsonize()); + + } + + if(m_fleetIdsHasBeenSet) + { + Aws::Utils::Array fleetIdsJsonList(m_fleetIds.size()); + for(unsigned fleetIdsIndex = 0; fleetIdsIndex < fleetIdsJsonList.GetLength(); ++fleetIdsIndex) + { + fleetIdsJsonList[fleetIdsIndex].AsString(m_fleetIds[fleetIdsIndex]); + } + payload.WithArray("fleetIds", std::move(fleetIdsJsonList)); + + } + + if(m_itemOffsetHasBeenSet) + { + payload.WithInteger("itemOffset", m_itemOffset); + + } + + if(m_pageSizeHasBeenSet) + { + payload.WithInteger("pageSize", m_pageSize); + + } + + if(m_sortExpressionsHasBeenSet) + { + Aws::Utils::Array sortExpressionsJsonList(m_sortExpressions.size()); + for(unsigned sortExpressionsIndex = 0; sortExpressionsIndex < sortExpressionsJsonList.GetLength(); ++sortExpressionsIndex) + { + sortExpressionsJsonList[sortExpressionsIndex].AsObject(m_sortExpressions[sortExpressionsIndex].Jsonize()); + } + payload.WithArray("sortExpressions", std::move(sortExpressionsJsonList)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchWorkersResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchWorkersResult.cpp new file mode 100644 index 00000000000..bb8b739fe32 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchWorkersResult.cpp @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +SearchWorkersResult::SearchWorkersResult() : + m_nextItemOffset(0), + m_totalResults(0) +{ +} + +SearchWorkersResult::SearchWorkersResult(const Aws::AmazonWebServiceResult& result) : + m_nextItemOffset(0), + m_totalResults(0) +{ + *this = result; +} + +SearchWorkersResult& SearchWorkersResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextItemOffset")) + { + m_nextItemOffset = jsonValue.GetInteger("nextItemOffset"); + + } + + if(jsonValue.ValueExists("totalResults")) + { + m_totalResults = jsonValue.GetInteger("totalResults"); + + } + + if(jsonValue.ValueExists("workers")) + { + Aws::Utils::Array workersJsonList = jsonValue.GetArray("workers"); + for(unsigned workersIndex = 0; workersIndex < workersJsonList.GetLength(); ++workersIndex) + { + m_workers.push_back(workersJsonList[workersIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedEc2FleetConfiguration.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedEc2FleetConfiguration.cpp new file mode 100644 index 00000000000..0f4ff65ac28 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedEc2FleetConfiguration.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +ServiceManagedEc2FleetConfiguration::ServiceManagedEc2FleetConfiguration() : + m_instanceCapabilitiesHasBeenSet(false), + m_instanceMarketOptionsHasBeenSet(false) +{ +} + +ServiceManagedEc2FleetConfiguration::ServiceManagedEc2FleetConfiguration(JsonView jsonValue) : + m_instanceCapabilitiesHasBeenSet(false), + m_instanceMarketOptionsHasBeenSet(false) +{ + *this = jsonValue; +} + +ServiceManagedEc2FleetConfiguration& ServiceManagedEc2FleetConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("instanceCapabilities")) + { + m_instanceCapabilities = jsonValue.GetObject("instanceCapabilities"); + + m_instanceCapabilitiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("instanceMarketOptions")) + { + m_instanceMarketOptions = jsonValue.GetObject("instanceMarketOptions"); + + m_instanceMarketOptionsHasBeenSet = true; + } + + return *this; +} + +JsonValue ServiceManagedEc2FleetConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_instanceCapabilitiesHasBeenSet) + { + payload.WithObject("instanceCapabilities", m_instanceCapabilities.Jsonize()); + + } + + if(m_instanceMarketOptionsHasBeenSet) + { + payload.WithObject("instanceMarketOptions", m_instanceMarketOptions.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedEc2InstanceCapabilities.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedEc2InstanceCapabilities.cpp new file mode 100644 index 00000000000..21deda162ef --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedEc2InstanceCapabilities.cpp @@ -0,0 +1,213 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +ServiceManagedEc2InstanceCapabilities::ServiceManagedEc2InstanceCapabilities() : + m_allowedInstanceTypesHasBeenSet(false), + m_cpuArchitectureType(CpuArchitectureType::NOT_SET), + m_cpuArchitectureTypeHasBeenSet(false), + m_customAmountsHasBeenSet(false), + m_customAttributesHasBeenSet(false), + m_excludedInstanceTypesHasBeenSet(false), + m_memoryMiBHasBeenSet(false), + m_osFamily(ServiceManagedFleetOperatingSystemFamily::NOT_SET), + m_osFamilyHasBeenSet(false), + m_rootEbsVolumeHasBeenSet(false), + m_vCpuCountHasBeenSet(false) +{ +} + +ServiceManagedEc2InstanceCapabilities::ServiceManagedEc2InstanceCapabilities(JsonView jsonValue) : + m_allowedInstanceTypesHasBeenSet(false), + m_cpuArchitectureType(CpuArchitectureType::NOT_SET), + m_cpuArchitectureTypeHasBeenSet(false), + m_customAmountsHasBeenSet(false), + m_customAttributesHasBeenSet(false), + m_excludedInstanceTypesHasBeenSet(false), + m_memoryMiBHasBeenSet(false), + m_osFamily(ServiceManagedFleetOperatingSystemFamily::NOT_SET), + m_osFamilyHasBeenSet(false), + m_rootEbsVolumeHasBeenSet(false), + m_vCpuCountHasBeenSet(false) +{ + *this = jsonValue; +} + +ServiceManagedEc2InstanceCapabilities& ServiceManagedEc2InstanceCapabilities::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("allowedInstanceTypes")) + { + Aws::Utils::Array allowedInstanceTypesJsonList = jsonValue.GetArray("allowedInstanceTypes"); + for(unsigned allowedInstanceTypesIndex = 0; allowedInstanceTypesIndex < allowedInstanceTypesJsonList.GetLength(); ++allowedInstanceTypesIndex) + { + m_allowedInstanceTypes.push_back(allowedInstanceTypesJsonList[allowedInstanceTypesIndex].AsString()); + } + m_allowedInstanceTypesHasBeenSet = true; + } + + if(jsonValue.ValueExists("cpuArchitectureType")) + { + m_cpuArchitectureType = CpuArchitectureTypeMapper::GetCpuArchitectureTypeForName(jsonValue.GetString("cpuArchitectureType")); + + m_cpuArchitectureTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("customAmounts")) + { + Aws::Utils::Array customAmountsJsonList = jsonValue.GetArray("customAmounts"); + for(unsigned customAmountsIndex = 0; customAmountsIndex < customAmountsJsonList.GetLength(); ++customAmountsIndex) + { + m_customAmounts.push_back(customAmountsJsonList[customAmountsIndex].AsObject()); + } + m_customAmountsHasBeenSet = true; + } + + if(jsonValue.ValueExists("customAttributes")) + { + Aws::Utils::Array customAttributesJsonList = jsonValue.GetArray("customAttributes"); + for(unsigned customAttributesIndex = 0; customAttributesIndex < customAttributesJsonList.GetLength(); ++customAttributesIndex) + { + m_customAttributes.push_back(customAttributesJsonList[customAttributesIndex].AsObject()); + } + m_customAttributesHasBeenSet = true; + } + + if(jsonValue.ValueExists("excludedInstanceTypes")) + { + Aws::Utils::Array excludedInstanceTypesJsonList = jsonValue.GetArray("excludedInstanceTypes"); + for(unsigned excludedInstanceTypesIndex = 0; excludedInstanceTypesIndex < excludedInstanceTypesJsonList.GetLength(); ++excludedInstanceTypesIndex) + { + m_excludedInstanceTypes.push_back(excludedInstanceTypesJsonList[excludedInstanceTypesIndex].AsString()); + } + m_excludedInstanceTypesHasBeenSet = true; + } + + if(jsonValue.ValueExists("memoryMiB")) + { + m_memoryMiB = jsonValue.GetObject("memoryMiB"); + + m_memoryMiBHasBeenSet = true; + } + + if(jsonValue.ValueExists("osFamily")) + { + m_osFamily = ServiceManagedFleetOperatingSystemFamilyMapper::GetServiceManagedFleetOperatingSystemFamilyForName(jsonValue.GetString("osFamily")); + + m_osFamilyHasBeenSet = true; + } + + if(jsonValue.ValueExists("rootEbsVolume")) + { + m_rootEbsVolume = jsonValue.GetObject("rootEbsVolume"); + + m_rootEbsVolumeHasBeenSet = true; + } + + if(jsonValue.ValueExists("vCpuCount")) + { + m_vCpuCount = jsonValue.GetObject("vCpuCount"); + + m_vCpuCountHasBeenSet = true; + } + + return *this; +} + +JsonValue ServiceManagedEc2InstanceCapabilities::Jsonize() const +{ + JsonValue payload; + + if(m_allowedInstanceTypesHasBeenSet) + { + Aws::Utils::Array allowedInstanceTypesJsonList(m_allowedInstanceTypes.size()); + for(unsigned allowedInstanceTypesIndex = 0; allowedInstanceTypesIndex < allowedInstanceTypesJsonList.GetLength(); ++allowedInstanceTypesIndex) + { + allowedInstanceTypesJsonList[allowedInstanceTypesIndex].AsString(m_allowedInstanceTypes[allowedInstanceTypesIndex]); + } + payload.WithArray("allowedInstanceTypes", std::move(allowedInstanceTypesJsonList)); + + } + + if(m_cpuArchitectureTypeHasBeenSet) + { + payload.WithString("cpuArchitectureType", CpuArchitectureTypeMapper::GetNameForCpuArchitectureType(m_cpuArchitectureType)); + } + + if(m_customAmountsHasBeenSet) + { + Aws::Utils::Array customAmountsJsonList(m_customAmounts.size()); + for(unsigned customAmountsIndex = 0; customAmountsIndex < customAmountsJsonList.GetLength(); ++customAmountsIndex) + { + customAmountsJsonList[customAmountsIndex].AsObject(m_customAmounts[customAmountsIndex].Jsonize()); + } + payload.WithArray("customAmounts", std::move(customAmountsJsonList)); + + } + + if(m_customAttributesHasBeenSet) + { + Aws::Utils::Array customAttributesJsonList(m_customAttributes.size()); + for(unsigned customAttributesIndex = 0; customAttributesIndex < customAttributesJsonList.GetLength(); ++customAttributesIndex) + { + customAttributesJsonList[customAttributesIndex].AsObject(m_customAttributes[customAttributesIndex].Jsonize()); + } + payload.WithArray("customAttributes", std::move(customAttributesJsonList)); + + } + + if(m_excludedInstanceTypesHasBeenSet) + { + Aws::Utils::Array excludedInstanceTypesJsonList(m_excludedInstanceTypes.size()); + for(unsigned excludedInstanceTypesIndex = 0; excludedInstanceTypesIndex < excludedInstanceTypesJsonList.GetLength(); ++excludedInstanceTypesIndex) + { + excludedInstanceTypesJsonList[excludedInstanceTypesIndex].AsString(m_excludedInstanceTypes[excludedInstanceTypesIndex]); + } + payload.WithArray("excludedInstanceTypes", std::move(excludedInstanceTypesJsonList)); + + } + + if(m_memoryMiBHasBeenSet) + { + payload.WithObject("memoryMiB", m_memoryMiB.Jsonize()); + + } + + if(m_osFamilyHasBeenSet) + { + payload.WithString("osFamily", ServiceManagedFleetOperatingSystemFamilyMapper::GetNameForServiceManagedFleetOperatingSystemFamily(m_osFamily)); + } + + if(m_rootEbsVolumeHasBeenSet) + { + payload.WithObject("rootEbsVolume", m_rootEbsVolume.Jsonize()); + + } + + if(m_vCpuCountHasBeenSet) + { + payload.WithObject("vCpuCount", m_vCpuCount.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedEc2InstanceMarketOptions.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedEc2InstanceMarketOptions.cpp new file mode 100644 index 00000000000..c35d181b039 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedEc2InstanceMarketOptions.cpp @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +ServiceManagedEc2InstanceMarketOptions::ServiceManagedEc2InstanceMarketOptions() : + m_type(Ec2MarketType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +ServiceManagedEc2InstanceMarketOptions::ServiceManagedEc2InstanceMarketOptions(JsonView jsonValue) : + m_type(Ec2MarketType::NOT_SET), + m_typeHasBeenSet(false) +{ + *this = jsonValue; +} + +ServiceManagedEc2InstanceMarketOptions& ServiceManagedEc2InstanceMarketOptions::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("type")) + { + m_type = Ec2MarketTypeMapper::GetEc2MarketTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue ServiceManagedEc2InstanceMarketOptions::Jsonize() const +{ + JsonValue payload; + + if(m_typeHasBeenSet) + { + payload.WithString("type", Ec2MarketTypeMapper::GetNameForEc2MarketType(m_type)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedFleetOperatingSystemFamily.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedFleetOperatingSystemFamily.cpp new file mode 100644 index 00000000000..6e7a59e78a0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedFleetOperatingSystemFamily.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace ServiceManagedFleetOperatingSystemFamilyMapper + { + + static const int WINDOWS_HASH = HashingUtils::HashString("WINDOWS"); + static const int LINUX_HASH = HashingUtils::HashString("LINUX"); + + + ServiceManagedFleetOperatingSystemFamily GetServiceManagedFleetOperatingSystemFamilyForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == WINDOWS_HASH) + { + return ServiceManagedFleetOperatingSystemFamily::WINDOWS; + } + else if (hashCode == LINUX_HASH) + { + return ServiceManagedFleetOperatingSystemFamily::LINUX; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ServiceManagedFleetOperatingSystemFamily::NOT_SET; + } + + Aws::String GetNameForServiceManagedFleetOperatingSystemFamily(ServiceManagedFleetOperatingSystemFamily enumValue) + { + switch(enumValue) + { + case ServiceManagedFleetOperatingSystemFamily::NOT_SET: + return {}; + case ServiceManagedFleetOperatingSystemFamily::WINDOWS: + return "WINDOWS"; + case ServiceManagedFleetOperatingSystemFamily::LINUX: + return "LINUX"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ServiceManagedFleetOperatingSystemFamilyMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ServiceQuotaExceededException.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ServiceQuotaExceededException.cpp new file mode 100644 index 00000000000..25de503125e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ServiceQuotaExceededException.cpp @@ -0,0 +1,158 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +ServiceQuotaExceededException::ServiceQuotaExceededException() : + m_contextHasBeenSet(false), + m_messageHasBeenSet(false), + m_quotaCodeHasBeenSet(false), + m_reason(ServiceQuotaExceededExceptionReason::NOT_SET), + m_reasonHasBeenSet(false), + m_resourceIdHasBeenSet(false), + m_resourceTypeHasBeenSet(false), + m_serviceCodeHasBeenSet(false) +{ +} + +ServiceQuotaExceededException::ServiceQuotaExceededException(JsonView jsonValue) : + m_contextHasBeenSet(false), + m_messageHasBeenSet(false), + m_quotaCodeHasBeenSet(false), + m_reason(ServiceQuotaExceededExceptionReason::NOT_SET), + m_reasonHasBeenSet(false), + m_resourceIdHasBeenSet(false), + m_resourceTypeHasBeenSet(false), + m_serviceCodeHasBeenSet(false) +{ + *this = jsonValue; +} + +ServiceQuotaExceededException& ServiceQuotaExceededException::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("context")) + { + Aws::Map contextJsonMap = jsonValue.GetObject("context").GetAllObjects(); + for(auto& contextItem : contextJsonMap) + { + m_context[contextItem.first] = contextItem.second.AsString(); + } + m_contextHasBeenSet = true; + } + + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("quotaCode")) + { + m_quotaCode = jsonValue.GetString("quotaCode"); + + m_quotaCodeHasBeenSet = true; + } + + if(jsonValue.ValueExists("reason")) + { + m_reason = ServiceQuotaExceededExceptionReasonMapper::GetServiceQuotaExceededExceptionReasonForName(jsonValue.GetString("reason")); + + m_reasonHasBeenSet = true; + } + + if(jsonValue.ValueExists("resourceId")) + { + m_resourceId = jsonValue.GetString("resourceId"); + + m_resourceIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("resourceType")) + { + m_resourceType = jsonValue.GetString("resourceType"); + + m_resourceTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("serviceCode")) + { + m_serviceCode = jsonValue.GetString("serviceCode"); + + m_serviceCodeHasBeenSet = true; + } + + return *this; +} + +JsonValue ServiceQuotaExceededException::Jsonize() const +{ + JsonValue payload; + + if(m_contextHasBeenSet) + { + JsonValue contextJsonMap; + for(auto& contextItem : m_context) + { + contextJsonMap.WithString(contextItem.first, contextItem.second); + } + payload.WithObject("context", std::move(contextJsonMap)); + + } + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + if(m_quotaCodeHasBeenSet) + { + payload.WithString("quotaCode", m_quotaCode); + + } + + if(m_reasonHasBeenSet) + { + payload.WithString("reason", ServiceQuotaExceededExceptionReasonMapper::GetNameForServiceQuotaExceededExceptionReason(m_reason)); + } + + if(m_resourceIdHasBeenSet) + { + payload.WithString("resourceId", m_resourceId); + + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("resourceType", m_resourceType); + + } + + if(m_serviceCodeHasBeenSet) + { + payload.WithString("serviceCode", m_serviceCode); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ServiceQuotaExceededExceptionReason.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ServiceQuotaExceededExceptionReason.cpp new file mode 100644 index 00000000000..d8e219fad2f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ServiceQuotaExceededExceptionReason.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace ServiceQuotaExceededExceptionReasonMapper + { + + static const int SERVICE_QUOTA_EXCEEDED_EXCEPTION_HASH = HashingUtils::HashString("SERVICE_QUOTA_EXCEEDED_EXCEPTION"); + static const int KMS_KEY_LIMIT_EXCEEDED_HASH = HashingUtils::HashString("KMS_KEY_LIMIT_EXCEEDED"); + + + ServiceQuotaExceededExceptionReason GetServiceQuotaExceededExceptionReasonForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == SERVICE_QUOTA_EXCEEDED_EXCEPTION_HASH) + { + return ServiceQuotaExceededExceptionReason::SERVICE_QUOTA_EXCEEDED_EXCEPTION; + } + else if (hashCode == KMS_KEY_LIMIT_EXCEEDED_HASH) + { + return ServiceQuotaExceededExceptionReason::KMS_KEY_LIMIT_EXCEEDED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ServiceQuotaExceededExceptionReason::NOT_SET; + } + + Aws::String GetNameForServiceQuotaExceededExceptionReason(ServiceQuotaExceededExceptionReason enumValue) + { + switch(enumValue) + { + case ServiceQuotaExceededExceptionReason::NOT_SET: + return {}; + case ServiceQuotaExceededExceptionReason::SERVICE_QUOTA_EXCEEDED_EXCEPTION: + return "SERVICE_QUOTA_EXCEEDED_EXCEPTION"; + case ServiceQuotaExceededExceptionReason::KMS_KEY_LIMIT_EXCEEDED: + return "KMS_KEY_LIMIT_EXCEEDED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ServiceQuotaExceededExceptionReasonMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionDefinition.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionDefinition.cpp new file mode 100644 index 00000000000..705f16c05fa --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionDefinition.cpp @@ -0,0 +1,104 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +SessionActionDefinition::SessionActionDefinition() : + m_envEnterHasBeenSet(false), + m_envExitHasBeenSet(false), + m_syncInputJobAttachmentsHasBeenSet(false), + m_taskRunHasBeenSet(false) +{ +} + +SessionActionDefinition::SessionActionDefinition(JsonView jsonValue) : + m_envEnterHasBeenSet(false), + m_envExitHasBeenSet(false), + m_syncInputJobAttachmentsHasBeenSet(false), + m_taskRunHasBeenSet(false) +{ + *this = jsonValue; +} + +SessionActionDefinition& SessionActionDefinition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("envEnter")) + { + m_envEnter = jsonValue.GetObject("envEnter"); + + m_envEnterHasBeenSet = true; + } + + if(jsonValue.ValueExists("envExit")) + { + m_envExit = jsonValue.GetObject("envExit"); + + m_envExitHasBeenSet = true; + } + + if(jsonValue.ValueExists("syncInputJobAttachments")) + { + m_syncInputJobAttachments = jsonValue.GetObject("syncInputJobAttachments"); + + m_syncInputJobAttachmentsHasBeenSet = true; + } + + if(jsonValue.ValueExists("taskRun")) + { + m_taskRun = jsonValue.GetObject("taskRun"); + + m_taskRunHasBeenSet = true; + } + + return *this; +} + +JsonValue SessionActionDefinition::Jsonize() const +{ + JsonValue payload; + + if(m_envEnterHasBeenSet) + { + payload.WithObject("envEnter", m_envEnter.Jsonize()); + + } + + if(m_envExitHasBeenSet) + { + payload.WithObject("envExit", m_envExit.Jsonize()); + + } + + if(m_syncInputJobAttachmentsHasBeenSet) + { + payload.WithObject("syncInputJobAttachments", m_syncInputJobAttachments.Jsonize()); + + } + + if(m_taskRunHasBeenSet) + { + payload.WithObject("taskRun", m_taskRun.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionDefinitionSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionDefinitionSummary.cpp new file mode 100644 index 00000000000..1173268d7eb --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionDefinitionSummary.cpp @@ -0,0 +1,104 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +SessionActionDefinitionSummary::SessionActionDefinitionSummary() : + m_envEnterHasBeenSet(false), + m_envExitHasBeenSet(false), + m_syncInputJobAttachmentsHasBeenSet(false), + m_taskRunHasBeenSet(false) +{ +} + +SessionActionDefinitionSummary::SessionActionDefinitionSummary(JsonView jsonValue) : + m_envEnterHasBeenSet(false), + m_envExitHasBeenSet(false), + m_syncInputJobAttachmentsHasBeenSet(false), + m_taskRunHasBeenSet(false) +{ + *this = jsonValue; +} + +SessionActionDefinitionSummary& SessionActionDefinitionSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("envEnter")) + { + m_envEnter = jsonValue.GetObject("envEnter"); + + m_envEnterHasBeenSet = true; + } + + if(jsonValue.ValueExists("envExit")) + { + m_envExit = jsonValue.GetObject("envExit"); + + m_envExitHasBeenSet = true; + } + + if(jsonValue.ValueExists("syncInputJobAttachments")) + { + m_syncInputJobAttachments = jsonValue.GetObject("syncInputJobAttachments"); + + m_syncInputJobAttachmentsHasBeenSet = true; + } + + if(jsonValue.ValueExists("taskRun")) + { + m_taskRun = jsonValue.GetObject("taskRun"); + + m_taskRunHasBeenSet = true; + } + + return *this; +} + +JsonValue SessionActionDefinitionSummary::Jsonize() const +{ + JsonValue payload; + + if(m_envEnterHasBeenSet) + { + payload.WithObject("envEnter", m_envEnter.Jsonize()); + + } + + if(m_envExitHasBeenSet) + { + payload.WithObject("envExit", m_envExit.Jsonize()); + + } + + if(m_syncInputJobAttachmentsHasBeenSet) + { + payload.WithObject("syncInputJobAttachments", m_syncInputJobAttachments.Jsonize()); + + } + + if(m_taskRunHasBeenSet) + { + payload.WithObject("taskRun", m_taskRun.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionStatus.cpp new file mode 100644 index 00000000000..b7f987c908a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionStatus.cpp @@ -0,0 +1,135 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace SessionActionStatusMapper + { + + static const int ASSIGNED_HASH = HashingUtils::HashString("ASSIGNED"); + static const int RUNNING_HASH = HashingUtils::HashString("RUNNING"); + static const int CANCELING_HASH = HashingUtils::HashString("CANCELING"); + static const int SUCCEEDED_HASH = HashingUtils::HashString("SUCCEEDED"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + static const int INTERRUPTED_HASH = HashingUtils::HashString("INTERRUPTED"); + static const int CANCELED_HASH = HashingUtils::HashString("CANCELED"); + static const int NEVER_ATTEMPTED_HASH = HashingUtils::HashString("NEVER_ATTEMPTED"); + static const int SCHEDULED_HASH = HashingUtils::HashString("SCHEDULED"); + static const int RECLAIMING_HASH = HashingUtils::HashString("RECLAIMING"); + static const int RECLAIMED_HASH = HashingUtils::HashString("RECLAIMED"); + + + SessionActionStatus GetSessionActionStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ASSIGNED_HASH) + { + return SessionActionStatus::ASSIGNED; + } + else if (hashCode == RUNNING_HASH) + { + return SessionActionStatus::RUNNING; + } + else if (hashCode == CANCELING_HASH) + { + return SessionActionStatus::CANCELING; + } + else if (hashCode == SUCCEEDED_HASH) + { + return SessionActionStatus::SUCCEEDED; + } + else if (hashCode == FAILED_HASH) + { + return SessionActionStatus::FAILED; + } + else if (hashCode == INTERRUPTED_HASH) + { + return SessionActionStatus::INTERRUPTED; + } + else if (hashCode == CANCELED_HASH) + { + return SessionActionStatus::CANCELED; + } + else if (hashCode == NEVER_ATTEMPTED_HASH) + { + return SessionActionStatus::NEVER_ATTEMPTED; + } + else if (hashCode == SCHEDULED_HASH) + { + return SessionActionStatus::SCHEDULED; + } + else if (hashCode == RECLAIMING_HASH) + { + return SessionActionStatus::RECLAIMING; + } + else if (hashCode == RECLAIMED_HASH) + { + return SessionActionStatus::RECLAIMED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return SessionActionStatus::NOT_SET; + } + + Aws::String GetNameForSessionActionStatus(SessionActionStatus enumValue) + { + switch(enumValue) + { + case SessionActionStatus::NOT_SET: + return {}; + case SessionActionStatus::ASSIGNED: + return "ASSIGNED"; + case SessionActionStatus::RUNNING: + return "RUNNING"; + case SessionActionStatus::CANCELING: + return "CANCELING"; + case SessionActionStatus::SUCCEEDED: + return "SUCCEEDED"; + case SessionActionStatus::FAILED: + return "FAILED"; + case SessionActionStatus::INTERRUPTED: + return "INTERRUPTED"; + case SessionActionStatus::CANCELED: + return "CANCELED"; + case SessionActionStatus::NEVER_ATTEMPTED: + return "NEVER_ATTEMPTED"; + case SessionActionStatus::SCHEDULED: + return "SCHEDULED"; + case SessionActionStatus::RECLAIMING: + return "RECLAIMING"; + case SessionActionStatus::RECLAIMED: + return "RECLAIMED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace SessionActionStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionSummary.cpp new file mode 100644 index 00000000000..0ab55c2265b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionSummary.cpp @@ -0,0 +1,149 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +SessionActionSummary::SessionActionSummary() : + m_definitionHasBeenSet(false), + m_endedAtHasBeenSet(false), + m_progressPercent(0.0), + m_progressPercentHasBeenSet(false), + m_sessionActionIdHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_status(SessionActionStatus::NOT_SET), + m_statusHasBeenSet(false), + m_workerUpdatedAtHasBeenSet(false) +{ +} + +SessionActionSummary::SessionActionSummary(JsonView jsonValue) : + m_definitionHasBeenSet(false), + m_endedAtHasBeenSet(false), + m_progressPercent(0.0), + m_progressPercentHasBeenSet(false), + m_sessionActionIdHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_status(SessionActionStatus::NOT_SET), + m_statusHasBeenSet(false), + m_workerUpdatedAtHasBeenSet(false) +{ + *this = jsonValue; +} + +SessionActionSummary& SessionActionSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("definition")) + { + m_definition = jsonValue.GetObject("definition"); + + m_definitionHasBeenSet = true; + } + + if(jsonValue.ValueExists("endedAt")) + { + m_endedAt = jsonValue.GetString("endedAt"); + + m_endedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("progressPercent")) + { + m_progressPercent = jsonValue.GetDouble("progressPercent"); + + m_progressPercentHasBeenSet = true; + } + + if(jsonValue.ValueExists("sessionActionId")) + { + m_sessionActionId = jsonValue.GetString("sessionActionId"); + + m_sessionActionIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("startedAt")) + { + m_startedAt = jsonValue.GetString("startedAt"); + + m_startedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = SessionActionStatusMapper::GetSessionActionStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("workerUpdatedAt")) + { + m_workerUpdatedAt = jsonValue.GetString("workerUpdatedAt"); + + m_workerUpdatedAtHasBeenSet = true; + } + + return *this; +} + +JsonValue SessionActionSummary::Jsonize() const +{ + JsonValue payload; + + if(m_definitionHasBeenSet) + { + payload.WithObject("definition", m_definition.Jsonize()); + + } + + if(m_endedAtHasBeenSet) + { + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_progressPercentHasBeenSet) + { + payload.WithDouble("progressPercent", m_progressPercent); + + } + + if(m_sessionActionIdHasBeenSet) + { + payload.WithString("sessionActionId", m_sessionActionId); + + } + + if(m_startedAtHasBeenSet) + { + payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", SessionActionStatusMapper::GetNameForSessionActionStatus(m_status)); + } + + if(m_workerUpdatedAtHasBeenSet) + { + payload.WithString("workerUpdatedAt", m_workerUpdatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SessionLifecycleStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SessionLifecycleStatus.cpp new file mode 100644 index 00000000000..a1206b6a9fd --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SessionLifecycleStatus.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace SessionLifecycleStatusMapper + { + + static const int STARTED_HASH = HashingUtils::HashString("STARTED"); + static const int UPDATE_IN_PROGRESS_HASH = HashingUtils::HashString("UPDATE_IN_PROGRESS"); + static const int UPDATE_SUCCEEDED_HASH = HashingUtils::HashString("UPDATE_SUCCEEDED"); + static const int UPDATE_FAILED_HASH = HashingUtils::HashString("UPDATE_FAILED"); + static const int ENDED_HASH = HashingUtils::HashString("ENDED"); + + + SessionLifecycleStatus GetSessionLifecycleStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == STARTED_HASH) + { + return SessionLifecycleStatus::STARTED; + } + else if (hashCode == UPDATE_IN_PROGRESS_HASH) + { + return SessionLifecycleStatus::UPDATE_IN_PROGRESS; + } + else if (hashCode == UPDATE_SUCCEEDED_HASH) + { + return SessionLifecycleStatus::UPDATE_SUCCEEDED; + } + else if (hashCode == UPDATE_FAILED_HASH) + { + return SessionLifecycleStatus::UPDATE_FAILED; + } + else if (hashCode == ENDED_HASH) + { + return SessionLifecycleStatus::ENDED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return SessionLifecycleStatus::NOT_SET; + } + + Aws::String GetNameForSessionLifecycleStatus(SessionLifecycleStatus enumValue) + { + switch(enumValue) + { + case SessionLifecycleStatus::NOT_SET: + return {}; + case SessionLifecycleStatus::STARTED: + return "STARTED"; + case SessionLifecycleStatus::UPDATE_IN_PROGRESS: + return "UPDATE_IN_PROGRESS"; + case SessionLifecycleStatus::UPDATE_SUCCEEDED: + return "UPDATE_SUCCEEDED"; + case SessionLifecycleStatus::UPDATE_FAILED: + return "UPDATE_FAILED"; + case SessionLifecycleStatus::ENDED: + return "ENDED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace SessionLifecycleStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SessionLifecycleTargetStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SessionLifecycleTargetStatus.cpp new file mode 100644 index 00000000000..c2744d3d4f9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SessionLifecycleTargetStatus.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace SessionLifecycleTargetStatusMapper + { + + static const int ENDED_HASH = HashingUtils::HashString("ENDED"); + + + SessionLifecycleTargetStatus GetSessionLifecycleTargetStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ENDED_HASH) + { + return SessionLifecycleTargetStatus::ENDED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return SessionLifecycleTargetStatus::NOT_SET; + } + + Aws::String GetNameForSessionLifecycleTargetStatus(SessionLifecycleTargetStatus enumValue) + { + switch(enumValue) + { + case SessionLifecycleTargetStatus::NOT_SET: + return {}; + case SessionLifecycleTargetStatus::ENDED: + return "ENDED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace SessionLifecycleTargetStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SessionSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SessionSummary.cpp new file mode 100644 index 00000000000..06d23c01b2c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SessionSummary.cpp @@ -0,0 +1,178 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +SessionSummary::SessionSummary() : + m_endedAtHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_lifecycleStatus(SessionLifecycleStatus::NOT_SET), + m_lifecycleStatusHasBeenSet(false), + m_sessionIdHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_targetLifecycleStatus(SessionLifecycleTargetStatus::NOT_SET), + m_targetLifecycleStatusHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false), + m_workerIdHasBeenSet(false) +{ +} + +SessionSummary::SessionSummary(JsonView jsonValue) : + m_endedAtHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_lifecycleStatus(SessionLifecycleStatus::NOT_SET), + m_lifecycleStatusHasBeenSet(false), + m_sessionIdHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_targetLifecycleStatus(SessionLifecycleTargetStatus::NOT_SET), + m_targetLifecycleStatusHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false), + m_workerIdHasBeenSet(false) +{ + *this = jsonValue; +} + +SessionSummary& SessionSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("endedAt")) + { + m_endedAt = jsonValue.GetString("endedAt"); + + m_endedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("fleetId")) + { + m_fleetId = jsonValue.GetString("fleetId"); + + m_fleetIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("lifecycleStatus")) + { + m_lifecycleStatus = SessionLifecycleStatusMapper::GetSessionLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); + + m_lifecycleStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("sessionId")) + { + m_sessionId = jsonValue.GetString("sessionId"); + + m_sessionIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("startedAt")) + { + m_startedAt = jsonValue.GetString("startedAt"); + + m_startedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("targetLifecycleStatus")) + { + m_targetLifecycleStatus = SessionLifecycleTargetStatusMapper::GetSessionLifecycleTargetStatusForName(jsonValue.GetString("targetLifecycleStatus")); + + m_targetLifecycleStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + m_updatedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + m_updatedByHasBeenSet = true; + } + + if(jsonValue.ValueExists("workerId")) + { + m_workerId = jsonValue.GetString("workerId"); + + m_workerIdHasBeenSet = true; + } + + return *this; +} + +JsonValue SessionSummary::Jsonize() const +{ + JsonValue payload; + + if(m_endedAtHasBeenSet) + { + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_fleetIdHasBeenSet) + { + payload.WithString("fleetId", m_fleetId); + + } + + if(m_lifecycleStatusHasBeenSet) + { + payload.WithString("lifecycleStatus", SessionLifecycleStatusMapper::GetNameForSessionLifecycleStatus(m_lifecycleStatus)); + } + + if(m_sessionIdHasBeenSet) + { + payload.WithString("sessionId", m_sessionId); + + } + + if(m_startedAtHasBeenSet) + { + payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_targetLifecycleStatusHasBeenSet) + { + payload.WithString("targetLifecycleStatus", SessionLifecycleTargetStatusMapper::GetNameForSessionLifecycleTargetStatus(m_targetLifecycleStatus)); + } + + if(m_updatedAtHasBeenSet) + { + payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_updatedByHasBeenSet) + { + payload.WithString("updatedBy", m_updatedBy); + + } + + if(m_workerIdHasBeenSet) + { + payload.WithString("workerId", m_workerId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SessionsStatisticsAggregationStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SessionsStatisticsAggregationStatus.cpp new file mode 100644 index 00000000000..85409e472c9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SessionsStatisticsAggregationStatus.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace SessionsStatisticsAggregationStatusMapper + { + + static const int IN_PROGRESS_HASH = HashingUtils::HashString("IN_PROGRESS"); + static const int TIMEOUT_HASH = HashingUtils::HashString("TIMEOUT"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + static const int COMPLETED_HASH = HashingUtils::HashString("COMPLETED"); + + + SessionsStatisticsAggregationStatus GetSessionsStatisticsAggregationStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == IN_PROGRESS_HASH) + { + return SessionsStatisticsAggregationStatus::IN_PROGRESS; + } + else if (hashCode == TIMEOUT_HASH) + { + return SessionsStatisticsAggregationStatus::TIMEOUT; + } + else if (hashCode == FAILED_HASH) + { + return SessionsStatisticsAggregationStatus::FAILED; + } + else if (hashCode == COMPLETED_HASH) + { + return SessionsStatisticsAggregationStatus::COMPLETED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return SessionsStatisticsAggregationStatus::NOT_SET; + } + + Aws::String GetNameForSessionsStatisticsAggregationStatus(SessionsStatisticsAggregationStatus enumValue) + { + switch(enumValue) + { + case SessionsStatisticsAggregationStatus::NOT_SET: + return {}; + case SessionsStatisticsAggregationStatus::IN_PROGRESS: + return "IN_PROGRESS"; + case SessionsStatisticsAggregationStatus::TIMEOUT: + return "TIMEOUT"; + case SessionsStatisticsAggregationStatus::FAILED: + return "FAILED"; + case SessionsStatisticsAggregationStatus::COMPLETED: + return "COMPLETED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace SessionsStatisticsAggregationStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SessionsStatisticsResources.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SessionsStatisticsResources.cpp new file mode 100644 index 00000000000..cc86b4f315d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SessionsStatisticsResources.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +SessionsStatisticsResources::SessionsStatisticsResources() : + m_fleetIdsHasBeenSet(false), + m_queueIdsHasBeenSet(false) +{ +} + +SessionsStatisticsResources::SessionsStatisticsResources(JsonView jsonValue) : + m_fleetIdsHasBeenSet(false), + m_queueIdsHasBeenSet(false) +{ + *this = jsonValue; +} + +SessionsStatisticsResources& SessionsStatisticsResources::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("fleetIds")) + { + Aws::Utils::Array fleetIdsJsonList = jsonValue.GetArray("fleetIds"); + for(unsigned fleetIdsIndex = 0; fleetIdsIndex < fleetIdsJsonList.GetLength(); ++fleetIdsIndex) + { + m_fleetIds.push_back(fleetIdsJsonList[fleetIdsIndex].AsString()); + } + m_fleetIdsHasBeenSet = true; + } + + if(jsonValue.ValueExists("queueIds")) + { + Aws::Utils::Array queueIdsJsonList = jsonValue.GetArray("queueIds"); + for(unsigned queueIdsIndex = 0; queueIdsIndex < queueIdsJsonList.GetLength(); ++queueIdsIndex) + { + m_queueIds.push_back(queueIdsJsonList[queueIdsIndex].AsString()); + } + m_queueIdsHasBeenSet = true; + } + + return *this; +} + +JsonValue SessionsStatisticsResources::Jsonize() const +{ + JsonValue payload; + + if(m_fleetIdsHasBeenSet) + { + Aws::Utils::Array fleetIdsJsonList(m_fleetIds.size()); + for(unsigned fleetIdsIndex = 0; fleetIdsIndex < fleetIdsJsonList.GetLength(); ++fleetIdsIndex) + { + fleetIdsJsonList[fleetIdsIndex].AsString(m_fleetIds[fleetIdsIndex]); + } + payload.WithArray("fleetIds", std::move(fleetIdsJsonList)); + + } + + if(m_queueIdsHasBeenSet) + { + Aws::Utils::Array queueIdsJsonList(m_queueIds.size()); + for(unsigned queueIdsIndex = 0; queueIdsIndex < queueIdsJsonList.GetLength(); ++queueIdsIndex) + { + queueIdsJsonList[queueIdsIndex].AsString(m_queueIds[queueIdsIndex]); + } + payload.WithArray("queueIds", std::move(queueIdsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SortOrder.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SortOrder.cpp new file mode 100644 index 00000000000..0267c974e92 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SortOrder.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace SortOrderMapper + { + + static const int ASCENDING_HASH = HashingUtils::HashString("ASCENDING"); + static const int DESCENDING_HASH = HashingUtils::HashString("DESCENDING"); + + + SortOrder GetSortOrderForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ASCENDING_HASH) + { + return SortOrder::ASCENDING; + } + else if (hashCode == DESCENDING_HASH) + { + return SortOrder::DESCENDING; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return SortOrder::NOT_SET; + } + + Aws::String GetNameForSortOrder(SortOrder enumValue) + { + switch(enumValue) + { + case SortOrder::NOT_SET: + return {}; + case SortOrder::ASCENDING: + return "ASCENDING"; + case SortOrder::DESCENDING: + return "DESCENDING"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace SortOrderMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StartSessionsStatisticsAggregationRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StartSessionsStatisticsAggregationRequest.cpp new file mode 100644 index 00000000000..7f651ae59b0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StartSessionsStatisticsAggregationRequest.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +StartSessionsStatisticsAggregationRequest::StartSessionsStatisticsAggregationRequest() : + m_endTimeHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_groupByHasBeenSet(false), + m_period(Period::NOT_SET), + m_periodHasBeenSet(false), + m_resourceIdsHasBeenSet(false), + m_startTimeHasBeenSet(false), + m_statisticsHasBeenSet(false), + m_timezoneHasBeenSet(false) +{ +} + +Aws::String StartSessionsStatisticsAggregationRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_endTimeHasBeenSet) + { + payload.WithString("endTime", m_endTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_groupByHasBeenSet) + { + Aws::Utils::Array groupByJsonList(m_groupBy.size()); + for(unsigned groupByIndex = 0; groupByIndex < groupByJsonList.GetLength(); ++groupByIndex) + { + groupByJsonList[groupByIndex].AsString(UsageGroupByFieldMapper::GetNameForUsageGroupByField(m_groupBy[groupByIndex])); + } + payload.WithArray("groupBy", std::move(groupByJsonList)); + + } + + if(m_periodHasBeenSet) + { + payload.WithString("period", PeriodMapper::GetNameForPeriod(m_period)); + } + + if(m_resourceIdsHasBeenSet) + { + payload.WithObject("resourceIds", m_resourceIds.Jsonize()); + + } + + if(m_startTimeHasBeenSet) + { + payload.WithString("startTime", m_startTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_statisticsHasBeenSet) + { + Aws::Utils::Array statisticsJsonList(m_statistics.size()); + for(unsigned statisticsIndex = 0; statisticsIndex < statisticsJsonList.GetLength(); ++statisticsIndex) + { + statisticsJsonList[statisticsIndex].AsString(UsageStatisticMapper::GetNameForUsageStatistic(m_statistics[statisticsIndex])); + } + payload.WithArray("statistics", std::move(statisticsJsonList)); + + } + + if(m_timezoneHasBeenSet) + { + payload.WithString("timezone", m_timezone); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StartSessionsStatisticsAggregationResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StartSessionsStatisticsAggregationResult.cpp new file mode 100644 index 00000000000..853997d1129 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StartSessionsStatisticsAggregationResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +StartSessionsStatisticsAggregationResult::StartSessionsStatisticsAggregationResult() +{ +} + +StartSessionsStatisticsAggregationResult::StartSessionsStatisticsAggregationResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +StartSessionsStatisticsAggregationResult& StartSessionsStatisticsAggregationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("aggregationId")) + { + m_aggregationId = jsonValue.GetString("aggregationId"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/Statistics.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/Statistics.cpp new file mode 100644 index 00000000000..2e7ca8625da --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/Statistics.cpp @@ -0,0 +1,240 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +Statistics::Statistics() : + m_aggregationEndTimeHasBeenSet(false), + m_aggregationStartTimeHasBeenSet(false), + m_costInUsdHasBeenSet(false), + m_count(0), + m_countHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_instanceTypeHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_jobNameHasBeenSet(false), + m_licenseProductHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_runtimeInSecondsHasBeenSet(false), + m_usageType(UsageType::NOT_SET), + m_usageTypeHasBeenSet(false), + m_userIdHasBeenSet(false) +{ +} + +Statistics::Statistics(JsonView jsonValue) : + m_aggregationEndTimeHasBeenSet(false), + m_aggregationStartTimeHasBeenSet(false), + m_costInUsdHasBeenSet(false), + m_count(0), + m_countHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_instanceTypeHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_jobNameHasBeenSet(false), + m_licenseProductHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_runtimeInSecondsHasBeenSet(false), + m_usageType(UsageType::NOT_SET), + m_usageTypeHasBeenSet(false), + m_userIdHasBeenSet(false) +{ + *this = jsonValue; +} + +Statistics& Statistics::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("aggregationEndTime")) + { + m_aggregationEndTime = jsonValue.GetString("aggregationEndTime"); + + m_aggregationEndTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("aggregationStartTime")) + { + m_aggregationStartTime = jsonValue.GetString("aggregationStartTime"); + + m_aggregationStartTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("costInUsd")) + { + m_costInUsd = jsonValue.GetObject("costInUsd"); + + m_costInUsdHasBeenSet = true; + } + + if(jsonValue.ValueExists("count")) + { + m_count = jsonValue.GetInteger("count"); + + m_countHasBeenSet = true; + } + + if(jsonValue.ValueExists("fleetId")) + { + m_fleetId = jsonValue.GetString("fleetId"); + + m_fleetIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("instanceType")) + { + m_instanceType = jsonValue.GetString("instanceType"); + + m_instanceTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobName")) + { + m_jobName = jsonValue.GetString("jobName"); + + m_jobNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("licenseProduct")) + { + m_licenseProduct = jsonValue.GetString("licenseProduct"); + + m_licenseProductHasBeenSet = true; + } + + if(jsonValue.ValueExists("queueId")) + { + m_queueId = jsonValue.GetString("queueId"); + + m_queueIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("runtimeInSeconds")) + { + m_runtimeInSeconds = jsonValue.GetObject("runtimeInSeconds"); + + m_runtimeInSecondsHasBeenSet = true; + } + + if(jsonValue.ValueExists("usageType")) + { + m_usageType = UsageTypeMapper::GetUsageTypeForName(jsonValue.GetString("usageType")); + + m_usageTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("userId")) + { + m_userId = jsonValue.GetString("userId"); + + m_userIdHasBeenSet = true; + } + + return *this; +} + +JsonValue Statistics::Jsonize() const +{ + JsonValue payload; + + if(m_aggregationEndTimeHasBeenSet) + { + payload.WithString("aggregationEndTime", m_aggregationEndTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_aggregationStartTimeHasBeenSet) + { + payload.WithString("aggregationStartTime", m_aggregationStartTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_costInUsdHasBeenSet) + { + payload.WithObject("costInUsd", m_costInUsd.Jsonize()); + + } + + if(m_countHasBeenSet) + { + payload.WithInteger("count", m_count); + + } + + if(m_fleetIdHasBeenSet) + { + payload.WithString("fleetId", m_fleetId); + + } + + if(m_instanceTypeHasBeenSet) + { + payload.WithString("instanceType", m_instanceType); + + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_jobNameHasBeenSet) + { + payload.WithString("jobName", m_jobName); + + } + + if(m_licenseProductHasBeenSet) + { + payload.WithString("licenseProduct", m_licenseProduct); + + } + + if(m_queueIdHasBeenSet) + { + payload.WithString("queueId", m_queueId); + + } + + if(m_runtimeInSecondsHasBeenSet) + { + payload.WithObject("runtimeInSeconds", m_runtimeInSeconds.Jsonize()); + + } + + if(m_usageTypeHasBeenSet) + { + payload.WithString("usageType", UsageTypeMapper::GetNameForUsageType(m_usageType)); + } + + if(m_userIdHasBeenSet) + { + payload.WithString("userId", m_userId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/Stats.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/Stats.cpp new file mode 100644 index 00000000000..cd852aa2c66 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/Stats.cpp @@ -0,0 +1,112 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +Stats::Stats() : + m_avg(0.0), + m_avgHasBeenSet(false), + m_max(0.0), + m_maxHasBeenSet(false), + m_min(0.0), + m_minHasBeenSet(false), + m_sum(0.0), + m_sumHasBeenSet(false) +{ +} + +Stats::Stats(JsonView jsonValue) : + m_avg(0.0), + m_avgHasBeenSet(false), + m_max(0.0), + m_maxHasBeenSet(false), + m_min(0.0), + m_minHasBeenSet(false), + m_sum(0.0), + m_sumHasBeenSet(false) +{ + *this = jsonValue; +} + +Stats& Stats::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("avg")) + { + m_avg = jsonValue.GetDouble("avg"); + + m_avgHasBeenSet = true; + } + + if(jsonValue.ValueExists("max")) + { + m_max = jsonValue.GetDouble("max"); + + m_maxHasBeenSet = true; + } + + if(jsonValue.ValueExists("min")) + { + m_min = jsonValue.GetDouble("min"); + + m_minHasBeenSet = true; + } + + if(jsonValue.ValueExists("sum")) + { + m_sum = jsonValue.GetDouble("sum"); + + m_sumHasBeenSet = true; + } + + return *this; +} + +JsonValue Stats::Jsonize() const +{ + JsonValue payload; + + if(m_avgHasBeenSet) + { + payload.WithDouble("avg", m_avg); + + } + + if(m_maxHasBeenSet) + { + payload.WithDouble("max", m_max); + + } + + if(m_minHasBeenSet) + { + payload.WithDouble("min", m_min); + + } + + if(m_sumHasBeenSet) + { + payload.WithDouble("sum", m_sum); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepAmountCapability.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepAmountCapability.cpp new file mode 100644 index 00000000000..ff9629eda14 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepAmountCapability.cpp @@ -0,0 +1,110 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +StepAmountCapability::StepAmountCapability() : + m_max(0.0), + m_maxHasBeenSet(false), + m_min(0.0), + m_minHasBeenSet(false), + m_nameHasBeenSet(false), + m_value(0.0), + m_valueHasBeenSet(false) +{ +} + +StepAmountCapability::StepAmountCapability(JsonView jsonValue) : + m_max(0.0), + m_maxHasBeenSet(false), + m_min(0.0), + m_minHasBeenSet(false), + m_nameHasBeenSet(false), + m_value(0.0), + m_valueHasBeenSet(false) +{ + *this = jsonValue; +} + +StepAmountCapability& StepAmountCapability::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("max")) + { + m_max = jsonValue.GetDouble("max"); + + m_maxHasBeenSet = true; + } + + if(jsonValue.ValueExists("min")) + { + m_min = jsonValue.GetDouble("min"); + + m_minHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("value")) + { + m_value = jsonValue.GetDouble("value"); + + m_valueHasBeenSet = true; + } + + return *this; +} + +JsonValue StepAmountCapability::Jsonize() const +{ + JsonValue payload; + + if(m_maxHasBeenSet) + { + payload.WithDouble("max", m_max); + + } + + if(m_minHasBeenSet) + { + payload.WithDouble("min", m_min); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_valueHasBeenSet) + { + payload.WithDouble("value", m_value); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepAttributeCapability.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepAttributeCapability.cpp new file mode 100644 index 00000000000..68f4eef2837 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepAttributeCapability.cpp @@ -0,0 +1,105 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +StepAttributeCapability::StepAttributeCapability() : + m_allOfHasBeenSet(false), + m_anyOfHasBeenSet(false), + m_nameHasBeenSet(false) +{ +} + +StepAttributeCapability::StepAttributeCapability(JsonView jsonValue) : + m_allOfHasBeenSet(false), + m_anyOfHasBeenSet(false), + m_nameHasBeenSet(false) +{ + *this = jsonValue; +} + +StepAttributeCapability& StepAttributeCapability::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("allOf")) + { + Aws::Utils::Array allOfJsonList = jsonValue.GetArray("allOf"); + for(unsigned allOfIndex = 0; allOfIndex < allOfJsonList.GetLength(); ++allOfIndex) + { + m_allOf.push_back(allOfJsonList[allOfIndex].AsString()); + } + m_allOfHasBeenSet = true; + } + + if(jsonValue.ValueExists("anyOf")) + { + Aws::Utils::Array anyOfJsonList = jsonValue.GetArray("anyOf"); + for(unsigned anyOfIndex = 0; anyOfIndex < anyOfJsonList.GetLength(); ++anyOfIndex) + { + m_anyOf.push_back(anyOfJsonList[anyOfIndex].AsString()); + } + m_anyOfHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + return *this; +} + +JsonValue StepAttributeCapability::Jsonize() const +{ + JsonValue payload; + + if(m_allOfHasBeenSet) + { + Aws::Utils::Array allOfJsonList(m_allOf.size()); + for(unsigned allOfIndex = 0; allOfIndex < allOfJsonList.GetLength(); ++allOfIndex) + { + allOfJsonList[allOfIndex].AsString(m_allOf[allOfIndex]); + } + payload.WithArray("allOf", std::move(allOfJsonList)); + + } + + if(m_anyOfHasBeenSet) + { + Aws::Utils::Array anyOfJsonList(m_anyOf.size()); + for(unsigned anyOfIndex = 0; anyOfIndex < anyOfJsonList.GetLength(); ++anyOfIndex) + { + anyOfJsonList[anyOfIndex].AsString(m_anyOf[anyOfIndex]); + } + payload.WithArray("anyOf", std::move(anyOfJsonList)); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepConsumer.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepConsumer.cpp new file mode 100644 index 00000000000..9b7b790fc69 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepConsumer.cpp @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +StepConsumer::StepConsumer() : + m_status(DependencyConsumerResolutionStatus::NOT_SET), + m_statusHasBeenSet(false), + m_stepIdHasBeenSet(false) +{ +} + +StepConsumer::StepConsumer(JsonView jsonValue) : + m_status(DependencyConsumerResolutionStatus::NOT_SET), + m_statusHasBeenSet(false), + m_stepIdHasBeenSet(false) +{ + *this = jsonValue; +} + +StepConsumer& StepConsumer::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("status")) + { + m_status = DependencyConsumerResolutionStatusMapper::GetDependencyConsumerResolutionStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("stepId")) + { + m_stepId = jsonValue.GetString("stepId"); + + m_stepIdHasBeenSet = true; + } + + return *this; +} + +JsonValue StepConsumer::Jsonize() const +{ + JsonValue payload; + + if(m_statusHasBeenSet) + { + payload.WithString("status", DependencyConsumerResolutionStatusMapper::GetNameForDependencyConsumerResolutionStatus(m_status)); + } + + if(m_stepIdHasBeenSet) + { + payload.WithString("stepId", m_stepId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepDependency.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepDependency.cpp new file mode 100644 index 00000000000..cce9c4f929a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepDependency.cpp @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +StepDependency::StepDependency() : + m_status(DependencyConsumerResolutionStatus::NOT_SET), + m_statusHasBeenSet(false), + m_stepIdHasBeenSet(false) +{ +} + +StepDependency::StepDependency(JsonView jsonValue) : + m_status(DependencyConsumerResolutionStatus::NOT_SET), + m_statusHasBeenSet(false), + m_stepIdHasBeenSet(false) +{ + *this = jsonValue; +} + +StepDependency& StepDependency::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("status")) + { + m_status = DependencyConsumerResolutionStatusMapper::GetDependencyConsumerResolutionStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("stepId")) + { + m_stepId = jsonValue.GetString("stepId"); + + m_stepIdHasBeenSet = true; + } + + return *this; +} + +JsonValue StepDependency::Jsonize() const +{ + JsonValue payload; + + if(m_statusHasBeenSet) + { + payload.WithString("status", DependencyConsumerResolutionStatusMapper::GetNameForDependencyConsumerResolutionStatus(m_status)); + } + + if(m_stepIdHasBeenSet) + { + payload.WithString("stepId", m_stepId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsEntity.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsEntity.cpp new file mode 100644 index 00000000000..11c8d959b80 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsEntity.cpp @@ -0,0 +1,129 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +StepDetailsEntity::StepDetailsEntity() : + m_dependenciesHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_schemaVersionHasBeenSet(false), + m_stepIdHasBeenSet(false), + m_templateHasBeenSet(false) +{ +} + +StepDetailsEntity::StepDetailsEntity(JsonView jsonValue) : + m_dependenciesHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_schemaVersionHasBeenSet(false), + m_stepIdHasBeenSet(false), + m_templateHasBeenSet(false) +{ + *this = jsonValue; +} + +StepDetailsEntity& StepDetailsEntity::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("dependencies")) + { + Aws::Utils::Array dependenciesJsonList = jsonValue.GetArray("dependencies"); + for(unsigned dependenciesIndex = 0; dependenciesIndex < dependenciesJsonList.GetLength(); ++dependenciesIndex) + { + m_dependencies.push_back(dependenciesJsonList[dependenciesIndex].AsString()); + } + m_dependenciesHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("schemaVersion")) + { + m_schemaVersion = jsonValue.GetString("schemaVersion"); + + m_schemaVersionHasBeenSet = true; + } + + if(jsonValue.ValueExists("stepId")) + { + m_stepId = jsonValue.GetString("stepId"); + + m_stepIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("template")) + { + m_template = jsonValue.GetObject("template"); + + m_templateHasBeenSet = true; + } + + return *this; +} + +JsonValue StepDetailsEntity::Jsonize() const +{ + JsonValue payload; + + if(m_dependenciesHasBeenSet) + { + Aws::Utils::Array dependenciesJsonList(m_dependencies.size()); + for(unsigned dependenciesIndex = 0; dependenciesIndex < dependenciesJsonList.GetLength(); ++dependenciesIndex) + { + dependenciesJsonList[dependenciesIndex].AsString(m_dependencies[dependenciesIndex]); + } + payload.WithArray("dependencies", std::move(dependenciesJsonList)); + + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_schemaVersionHasBeenSet) + { + payload.WithString("schemaVersion", m_schemaVersion); + + } + + if(m_stepIdHasBeenSet) + { + payload.WithString("stepId", m_stepId); + + } + + if(m_templateHasBeenSet) + { + if(!m_template.View().IsNull()) + { + payload.WithObject("template", JsonValue(m_template.View())); + } + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsError.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsError.cpp new file mode 100644 index 00000000000..f88ab389d76 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsError.cpp @@ -0,0 +1,105 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +StepDetailsError::StepDetailsError() : + m_code(JobEntityErrorCode::NOT_SET), + m_codeHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_messageHasBeenSet(false), + m_stepIdHasBeenSet(false) +{ +} + +StepDetailsError::StepDetailsError(JsonView jsonValue) : + m_code(JobEntityErrorCode::NOT_SET), + m_codeHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_messageHasBeenSet(false), + m_stepIdHasBeenSet(false) +{ + *this = jsonValue; +} + +StepDetailsError& StepDetailsError::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("code")) + { + m_code = JobEntityErrorCodeMapper::GetJobEntityErrorCodeForName(jsonValue.GetString("code")); + + m_codeHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("stepId")) + { + m_stepId = jsonValue.GetString("stepId"); + + m_stepIdHasBeenSet = true; + } + + return *this; +} + +JsonValue StepDetailsError::Jsonize() const +{ + JsonValue payload; + + if(m_codeHasBeenSet) + { + payload.WithString("code", JobEntityErrorCodeMapper::GetNameForJobEntityErrorCode(m_code)); + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + if(m_stepIdHasBeenSet) + { + payload.WithString("stepId", m_stepId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsIdentifiers.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsIdentifiers.cpp new file mode 100644 index 00000000000..b3affc1d44d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsIdentifiers.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +StepDetailsIdentifiers::StepDetailsIdentifiers() : + m_jobIdHasBeenSet(false), + m_stepIdHasBeenSet(false) +{ +} + +StepDetailsIdentifiers::StepDetailsIdentifiers(JsonView jsonValue) : + m_jobIdHasBeenSet(false), + m_stepIdHasBeenSet(false) +{ + *this = jsonValue; +} + +StepDetailsIdentifiers& StepDetailsIdentifiers::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("stepId")) + { + m_stepId = jsonValue.GetString("stepId"); + + m_stepIdHasBeenSet = true; + } + + return *this; +} + +JsonValue StepDetailsIdentifiers::Jsonize() const +{ + JsonValue payload; + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_stepIdHasBeenSet) + { + payload.WithString("stepId", m_stepId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepLifecycleStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepLifecycleStatus.cpp new file mode 100644 index 00000000000..23cbddb7f46 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepLifecycleStatus.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace StepLifecycleStatusMapper + { + + static const int CREATE_COMPLETE_HASH = HashingUtils::HashString("CREATE_COMPLETE"); + static const int UPDATE_IN_PROGRESS_HASH = HashingUtils::HashString("UPDATE_IN_PROGRESS"); + static const int UPDATE_FAILED_HASH = HashingUtils::HashString("UPDATE_FAILED"); + static const int UPDATE_SUCCEEDED_HASH = HashingUtils::HashString("UPDATE_SUCCEEDED"); + + + StepLifecycleStatus GetStepLifecycleStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CREATE_COMPLETE_HASH) + { + return StepLifecycleStatus::CREATE_COMPLETE; + } + else if (hashCode == UPDATE_IN_PROGRESS_HASH) + { + return StepLifecycleStatus::UPDATE_IN_PROGRESS; + } + else if (hashCode == UPDATE_FAILED_HASH) + { + return StepLifecycleStatus::UPDATE_FAILED; + } + else if (hashCode == UPDATE_SUCCEEDED_HASH) + { + return StepLifecycleStatus::UPDATE_SUCCEEDED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return StepLifecycleStatus::NOT_SET; + } + + Aws::String GetNameForStepLifecycleStatus(StepLifecycleStatus enumValue) + { + switch(enumValue) + { + case StepLifecycleStatus::NOT_SET: + return {}; + case StepLifecycleStatus::CREATE_COMPLETE: + return "CREATE_COMPLETE"; + case StepLifecycleStatus::UPDATE_IN_PROGRESS: + return "UPDATE_IN_PROGRESS"; + case StepLifecycleStatus::UPDATE_FAILED: + return "UPDATE_FAILED"; + case StepLifecycleStatus::UPDATE_SUCCEEDED: + return "UPDATE_SUCCEEDED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace StepLifecycleStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepParameter.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepParameter.cpp new file mode 100644 index 00000000000..74a942940de --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepParameter.cpp @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +StepParameter::StepParameter() : + m_nameHasBeenSet(false), + m_type(StepParameterType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +StepParameter::StepParameter(JsonView jsonValue) : + m_nameHasBeenSet(false), + m_type(StepParameterType::NOT_SET), + m_typeHasBeenSet(false) +{ + *this = jsonValue; +} + +StepParameter& StepParameter::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("type")) + { + m_type = StepParameterTypeMapper::GetStepParameterTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue StepParameter::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", StepParameterTypeMapper::GetNameForStepParameterType(m_type)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepParameterType.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepParameterType.cpp new file mode 100644 index 00000000000..f24cde3d8aa --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepParameterType.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace StepParameterTypeMapper + { + + static const int INT_HASH = HashingUtils::HashString("INT"); + static const int FLOAT_HASH = HashingUtils::HashString("FLOAT"); + static const int STRING_HASH = HashingUtils::HashString("STRING"); + static const int PATH_HASH = HashingUtils::HashString("PATH"); + + + StepParameterType GetStepParameterTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == INT_HASH) + { + return StepParameterType::INT; + } + else if (hashCode == FLOAT_HASH) + { + return StepParameterType::FLOAT; + } + else if (hashCode == STRING_HASH) + { + return StepParameterType::STRING; + } + else if (hashCode == PATH_HASH) + { + return StepParameterType::PATH; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return StepParameterType::NOT_SET; + } + + Aws::String GetNameForStepParameterType(StepParameterType enumValue) + { + switch(enumValue) + { + case StepParameterType::NOT_SET: + return {}; + case StepParameterType::INT: + return "INT"; + case StepParameterType::FLOAT: + return "FLOAT"; + case StepParameterType::STRING: + return "STRING"; + case StepParameterType::PATH: + return "PATH"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace StepParameterTypeMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepRequiredCapabilities.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepRequiredCapabilities.cpp new file mode 100644 index 00000000000..9a0ee2ca88b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepRequiredCapabilities.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +StepRequiredCapabilities::StepRequiredCapabilities() : + m_amountsHasBeenSet(false), + m_attributesHasBeenSet(false) +{ +} + +StepRequiredCapabilities::StepRequiredCapabilities(JsonView jsonValue) : + m_amountsHasBeenSet(false), + m_attributesHasBeenSet(false) +{ + *this = jsonValue; +} + +StepRequiredCapabilities& StepRequiredCapabilities::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("amounts")) + { + Aws::Utils::Array amountsJsonList = jsonValue.GetArray("amounts"); + for(unsigned amountsIndex = 0; amountsIndex < amountsJsonList.GetLength(); ++amountsIndex) + { + m_amounts.push_back(amountsJsonList[amountsIndex].AsObject()); + } + m_amountsHasBeenSet = true; + } + + if(jsonValue.ValueExists("attributes")) + { + Aws::Utils::Array attributesJsonList = jsonValue.GetArray("attributes"); + for(unsigned attributesIndex = 0; attributesIndex < attributesJsonList.GetLength(); ++attributesIndex) + { + m_attributes.push_back(attributesJsonList[attributesIndex].AsObject()); + } + m_attributesHasBeenSet = true; + } + + return *this; +} + +JsonValue StepRequiredCapabilities::Jsonize() const +{ + JsonValue payload; + + if(m_amountsHasBeenSet) + { + Aws::Utils::Array amountsJsonList(m_amounts.size()); + for(unsigned amountsIndex = 0; amountsIndex < amountsJsonList.GetLength(); ++amountsIndex) + { + amountsJsonList[amountsIndex].AsObject(m_amounts[amountsIndex].Jsonize()); + } + payload.WithArray("amounts", std::move(amountsJsonList)); + + } + + if(m_attributesHasBeenSet) + { + Aws::Utils::Array attributesJsonList(m_attributes.size()); + for(unsigned attributesIndex = 0; attributesIndex < attributesJsonList.GetLength(); ++attributesIndex) + { + attributesJsonList[attributesIndex].AsObject(m_attributes[attributesIndex].Jsonize()); + } + payload.WithArray("attributes", std::move(attributesJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepSearchSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepSearchSummary.cpp new file mode 100644 index 00000000000..ac3926a79ba --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepSearchSummary.cpp @@ -0,0 +1,247 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +StepSearchSummary::StepSearchSummary() : + m_createdAtHasBeenSet(false), + m_endedAtHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_lifecycleStatus(StepLifecycleStatus::NOT_SET), + m_lifecycleStatusHasBeenSet(false), + m_lifecycleStatusMessageHasBeenSet(false), + m_nameHasBeenSet(false), + m_parameterSpaceHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_stepIdHasBeenSet(false), + m_targetTaskRunStatus(StepTargetTaskRunStatus::NOT_SET), + m_targetTaskRunStatusHasBeenSet(false), + m_taskRunStatus(TaskRunStatus::NOT_SET), + m_taskRunStatusHasBeenSet(false), + m_taskRunStatusCountsHasBeenSet(false) +{ +} + +StepSearchSummary::StepSearchSummary(JsonView jsonValue) : + m_createdAtHasBeenSet(false), + m_endedAtHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_lifecycleStatus(StepLifecycleStatus::NOT_SET), + m_lifecycleStatusHasBeenSet(false), + m_lifecycleStatusMessageHasBeenSet(false), + m_nameHasBeenSet(false), + m_parameterSpaceHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_stepIdHasBeenSet(false), + m_targetTaskRunStatus(StepTargetTaskRunStatus::NOT_SET), + m_targetTaskRunStatusHasBeenSet(false), + m_taskRunStatus(TaskRunStatus::NOT_SET), + m_taskRunStatusHasBeenSet(false), + m_taskRunStatusCountsHasBeenSet(false) +{ + *this = jsonValue; +} + +StepSearchSummary& StepSearchSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("endedAt")) + { + m_endedAt = jsonValue.GetString("endedAt"); + + m_endedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("lifecycleStatus")) + { + m_lifecycleStatus = StepLifecycleStatusMapper::GetStepLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); + + m_lifecycleStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("lifecycleStatusMessage")) + { + m_lifecycleStatusMessage = jsonValue.GetString("lifecycleStatusMessage"); + + m_lifecycleStatusMessageHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("parameterSpace")) + { + m_parameterSpace = jsonValue.GetObject("parameterSpace"); + + m_parameterSpaceHasBeenSet = true; + } + + if(jsonValue.ValueExists("queueId")) + { + m_queueId = jsonValue.GetString("queueId"); + + m_queueIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("startedAt")) + { + m_startedAt = jsonValue.GetString("startedAt"); + + m_startedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("stepId")) + { + m_stepId = jsonValue.GetString("stepId"); + + m_stepIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("targetTaskRunStatus")) + { + m_targetTaskRunStatus = StepTargetTaskRunStatusMapper::GetStepTargetTaskRunStatusForName(jsonValue.GetString("targetTaskRunStatus")); + + m_targetTaskRunStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("taskRunStatus")) + { + m_taskRunStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("taskRunStatus")); + + m_taskRunStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("taskRunStatusCounts")) + { + Aws::Map taskRunStatusCountsJsonMap = jsonValue.GetObject("taskRunStatusCounts").GetAllObjects(); + for(auto& taskRunStatusCountsItem : taskRunStatusCountsJsonMap) + { + m_taskRunStatusCounts[TaskRunStatusMapper::GetTaskRunStatusForName(taskRunStatusCountsItem.first)] = taskRunStatusCountsItem.second.AsInteger(); + } + m_taskRunStatusCountsHasBeenSet = true; + } + + return *this; +} + +JsonValue StepSearchSummary::Jsonize() const +{ + JsonValue payload; + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_endedAtHasBeenSet) + { + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_lifecycleStatusHasBeenSet) + { + payload.WithString("lifecycleStatus", StepLifecycleStatusMapper::GetNameForStepLifecycleStatus(m_lifecycleStatus)); + } + + if(m_lifecycleStatusMessageHasBeenSet) + { + payload.WithString("lifecycleStatusMessage", m_lifecycleStatusMessage); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_parameterSpaceHasBeenSet) + { + payload.WithObject("parameterSpace", m_parameterSpace.Jsonize()); + + } + + if(m_queueIdHasBeenSet) + { + payload.WithString("queueId", m_queueId); + + } + + if(m_startedAtHasBeenSet) + { + payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_stepIdHasBeenSet) + { + payload.WithString("stepId", m_stepId); + + } + + if(m_targetTaskRunStatusHasBeenSet) + { + payload.WithString("targetTaskRunStatus", StepTargetTaskRunStatusMapper::GetNameForStepTargetTaskRunStatus(m_targetTaskRunStatus)); + } + + if(m_taskRunStatusHasBeenSet) + { + payload.WithString("taskRunStatus", TaskRunStatusMapper::GetNameForTaskRunStatus(m_taskRunStatus)); + } + + if(m_taskRunStatusCountsHasBeenSet) + { + JsonValue taskRunStatusCountsJsonMap; + for(auto& taskRunStatusCountsItem : m_taskRunStatusCounts) + { + taskRunStatusCountsJsonMap.WithInteger(TaskRunStatusMapper::GetNameForTaskRunStatus(taskRunStatusCountsItem.first), taskRunStatusCountsItem.second); + } + payload.WithObject("taskRunStatusCounts", std::move(taskRunStatusCountsJsonMap)); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepSummary.cpp new file mode 100644 index 00000000000..02a5a87c7aa --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepSummary.cpp @@ -0,0 +1,261 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +StepSummary::StepSummary() : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_dependencyCountsHasBeenSet(false), + m_endedAtHasBeenSet(false), + m_lifecycleStatus(StepLifecycleStatus::NOT_SET), + m_lifecycleStatusHasBeenSet(false), + m_lifecycleStatusMessageHasBeenSet(false), + m_nameHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_stepIdHasBeenSet(false), + m_targetTaskRunStatus(StepTargetTaskRunStatus::NOT_SET), + m_targetTaskRunStatusHasBeenSet(false), + m_taskRunStatus(TaskRunStatus::NOT_SET), + m_taskRunStatusHasBeenSet(false), + m_taskRunStatusCountsHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false) +{ +} + +StepSummary::StepSummary(JsonView jsonValue) : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_dependencyCountsHasBeenSet(false), + m_endedAtHasBeenSet(false), + m_lifecycleStatus(StepLifecycleStatus::NOT_SET), + m_lifecycleStatusHasBeenSet(false), + m_lifecycleStatusMessageHasBeenSet(false), + m_nameHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_stepIdHasBeenSet(false), + m_targetTaskRunStatus(StepTargetTaskRunStatus::NOT_SET), + m_targetTaskRunStatusHasBeenSet(false), + m_taskRunStatus(TaskRunStatus::NOT_SET), + m_taskRunStatusHasBeenSet(false), + m_taskRunStatusCountsHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false) +{ + *this = jsonValue; +} + +StepSummary& StepSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("dependencyCounts")) + { + m_dependencyCounts = jsonValue.GetObject("dependencyCounts"); + + m_dependencyCountsHasBeenSet = true; + } + + if(jsonValue.ValueExists("endedAt")) + { + m_endedAt = jsonValue.GetString("endedAt"); + + m_endedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("lifecycleStatus")) + { + m_lifecycleStatus = StepLifecycleStatusMapper::GetStepLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); + + m_lifecycleStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("lifecycleStatusMessage")) + { + m_lifecycleStatusMessage = jsonValue.GetString("lifecycleStatusMessage"); + + m_lifecycleStatusMessageHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("startedAt")) + { + m_startedAt = jsonValue.GetString("startedAt"); + + m_startedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("stepId")) + { + m_stepId = jsonValue.GetString("stepId"); + + m_stepIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("targetTaskRunStatus")) + { + m_targetTaskRunStatus = StepTargetTaskRunStatusMapper::GetStepTargetTaskRunStatusForName(jsonValue.GetString("targetTaskRunStatus")); + + m_targetTaskRunStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("taskRunStatus")) + { + m_taskRunStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("taskRunStatus")); + + m_taskRunStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("taskRunStatusCounts")) + { + Aws::Map taskRunStatusCountsJsonMap = jsonValue.GetObject("taskRunStatusCounts").GetAllObjects(); + for(auto& taskRunStatusCountsItem : taskRunStatusCountsJsonMap) + { + m_taskRunStatusCounts[TaskRunStatusMapper::GetTaskRunStatusForName(taskRunStatusCountsItem.first)] = taskRunStatusCountsItem.second.AsInteger(); + } + m_taskRunStatusCountsHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + m_updatedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + m_updatedByHasBeenSet = true; + } + + return *this; +} + +JsonValue StepSummary::Jsonize() const +{ + JsonValue payload; + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + + if(m_dependencyCountsHasBeenSet) + { + payload.WithObject("dependencyCounts", m_dependencyCounts.Jsonize()); + + } + + if(m_endedAtHasBeenSet) + { + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_lifecycleStatusHasBeenSet) + { + payload.WithString("lifecycleStatus", StepLifecycleStatusMapper::GetNameForStepLifecycleStatus(m_lifecycleStatus)); + } + + if(m_lifecycleStatusMessageHasBeenSet) + { + payload.WithString("lifecycleStatusMessage", m_lifecycleStatusMessage); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_startedAtHasBeenSet) + { + payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_stepIdHasBeenSet) + { + payload.WithString("stepId", m_stepId); + + } + + if(m_targetTaskRunStatusHasBeenSet) + { + payload.WithString("targetTaskRunStatus", StepTargetTaskRunStatusMapper::GetNameForStepTargetTaskRunStatus(m_targetTaskRunStatus)); + } + + if(m_taskRunStatusHasBeenSet) + { + payload.WithString("taskRunStatus", TaskRunStatusMapper::GetNameForTaskRunStatus(m_taskRunStatus)); + } + + if(m_taskRunStatusCountsHasBeenSet) + { + JsonValue taskRunStatusCountsJsonMap; + for(auto& taskRunStatusCountsItem : m_taskRunStatusCounts) + { + taskRunStatusCountsJsonMap.WithInteger(TaskRunStatusMapper::GetNameForTaskRunStatus(taskRunStatusCountsItem.first), taskRunStatusCountsItem.second); + } + payload.WithObject("taskRunStatusCounts", std::move(taskRunStatusCountsJsonMap)); + + } + + if(m_updatedAtHasBeenSet) + { + payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_updatedByHasBeenSet) + { + payload.WithString("updatedBy", m_updatedBy); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepTargetTaskRunStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepTargetTaskRunStatus.cpp new file mode 100644 index 00000000000..0699e33b662 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepTargetTaskRunStatus.cpp @@ -0,0 +1,100 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace StepTargetTaskRunStatusMapper + { + + static const int READY_HASH = HashingUtils::HashString("READY"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + static const int SUCCEEDED_HASH = HashingUtils::HashString("SUCCEEDED"); + static const int CANCELED_HASH = HashingUtils::HashString("CANCELED"); + static const int SUSPENDED_HASH = HashingUtils::HashString("SUSPENDED"); + static const int PENDING_HASH = HashingUtils::HashString("PENDING"); + + + StepTargetTaskRunStatus GetStepTargetTaskRunStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == READY_HASH) + { + return StepTargetTaskRunStatus::READY; + } + else if (hashCode == FAILED_HASH) + { + return StepTargetTaskRunStatus::FAILED; + } + else if (hashCode == SUCCEEDED_HASH) + { + return StepTargetTaskRunStatus::SUCCEEDED; + } + else if (hashCode == CANCELED_HASH) + { + return StepTargetTaskRunStatus::CANCELED; + } + else if (hashCode == SUSPENDED_HASH) + { + return StepTargetTaskRunStatus::SUSPENDED; + } + else if (hashCode == PENDING_HASH) + { + return StepTargetTaskRunStatus::PENDING; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return StepTargetTaskRunStatus::NOT_SET; + } + + Aws::String GetNameForStepTargetTaskRunStatus(StepTargetTaskRunStatus enumValue) + { + switch(enumValue) + { + case StepTargetTaskRunStatus::NOT_SET: + return {}; + case StepTargetTaskRunStatus::READY: + return "READY"; + case StepTargetTaskRunStatus::FAILED: + return "FAILED"; + case StepTargetTaskRunStatus::SUCCEEDED: + return "SUCCEEDED"; + case StepTargetTaskRunStatus::CANCELED: + return "CANCELED"; + case StepTargetTaskRunStatus::SUSPENDED: + return "SUSPENDED"; + case StepTargetTaskRunStatus::PENDING: + return "PENDING"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace StepTargetTaskRunStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StorageProfileOperatingSystemFamily.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StorageProfileOperatingSystemFamily.cpp new file mode 100644 index 00000000000..d671bf68422 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StorageProfileOperatingSystemFamily.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace StorageProfileOperatingSystemFamilyMapper + { + + static const int WINDOWS_HASH = HashingUtils::HashString("WINDOWS"); + static const int LINUX_HASH = HashingUtils::HashString("LINUX"); + static const int MACOS_HASH = HashingUtils::HashString("MACOS"); + + + StorageProfileOperatingSystemFamily GetStorageProfileOperatingSystemFamilyForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == WINDOWS_HASH) + { + return StorageProfileOperatingSystemFamily::WINDOWS; + } + else if (hashCode == LINUX_HASH) + { + return StorageProfileOperatingSystemFamily::LINUX; + } + else if (hashCode == MACOS_HASH) + { + return StorageProfileOperatingSystemFamily::MACOS; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return StorageProfileOperatingSystemFamily::NOT_SET; + } + + Aws::String GetNameForStorageProfileOperatingSystemFamily(StorageProfileOperatingSystemFamily enumValue) + { + switch(enumValue) + { + case StorageProfileOperatingSystemFamily::NOT_SET: + return {}; + case StorageProfileOperatingSystemFamily::WINDOWS: + return "WINDOWS"; + case StorageProfileOperatingSystemFamily::LINUX: + return "LINUX"; + case StorageProfileOperatingSystemFamily::MACOS: + return "MACOS"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace StorageProfileOperatingSystemFamilyMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StorageProfileSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StorageProfileSummary.cpp new file mode 100644 index 00000000000..ad053dec584 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StorageProfileSummary.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +StorageProfileSummary::StorageProfileSummary() : + m_displayNameHasBeenSet(false), + m_osFamily(StorageProfileOperatingSystemFamily::NOT_SET), + m_osFamilyHasBeenSet(false), + m_storageProfileIdHasBeenSet(false) +{ +} + +StorageProfileSummary::StorageProfileSummary(JsonView jsonValue) : + m_displayNameHasBeenSet(false), + m_osFamily(StorageProfileOperatingSystemFamily::NOT_SET), + m_osFamilyHasBeenSet(false), + m_storageProfileIdHasBeenSet(false) +{ + *this = jsonValue; +} + +StorageProfileSummary& StorageProfileSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("displayName")) + { + m_displayName = jsonValue.GetString("displayName"); + + m_displayNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("osFamily")) + { + m_osFamily = StorageProfileOperatingSystemFamilyMapper::GetStorageProfileOperatingSystemFamilyForName(jsonValue.GetString("osFamily")); + + m_osFamilyHasBeenSet = true; + } + + if(jsonValue.ValueExists("storageProfileId")) + { + m_storageProfileId = jsonValue.GetString("storageProfileId"); + + m_storageProfileIdHasBeenSet = true; + } + + return *this; +} + +JsonValue StorageProfileSummary::Jsonize() const +{ + JsonValue payload; + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_osFamilyHasBeenSet) + { + payload.WithString("osFamily", StorageProfileOperatingSystemFamilyMapper::GetNameForStorageProfileOperatingSystemFamily(m_osFamily)); + } + + if(m_storageProfileIdHasBeenSet) + { + payload.WithString("storageProfileId", m_storageProfileId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StringFilterExpression.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StringFilterExpression.cpp new file mode 100644 index 00000000000..338bce882fa --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StringFilterExpression.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +StringFilterExpression::StringFilterExpression() : + m_nameHasBeenSet(false), + m_operator(ComparisonOperator::NOT_SET), + m_operatorHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +StringFilterExpression::StringFilterExpression(JsonView jsonValue) : + m_nameHasBeenSet(false), + m_operator(ComparisonOperator::NOT_SET), + m_operatorHasBeenSet(false), + m_valueHasBeenSet(false) +{ + *this = jsonValue; +} + +StringFilterExpression& StringFilterExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("operator")) + { + m_operator = ComparisonOperatorMapper::GetComparisonOperatorForName(jsonValue.GetString("operator")); + + m_operatorHasBeenSet = true; + } + + if(jsonValue.ValueExists("value")) + { + m_value = jsonValue.GetString("value"); + + m_valueHasBeenSet = true; + } + + return *this; +} + +JsonValue StringFilterExpression::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_operatorHasBeenSet) + { + payload.WithString("operator", ComparisonOperatorMapper::GetNameForComparisonOperator(m_operator)); + } + + if(m_valueHasBeenSet) + { + payload.WithString("value", m_value); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SyncInputJobAttachmentsSessionActionDefinition.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SyncInputJobAttachmentsSessionActionDefinition.cpp new file mode 100644 index 00000000000..0c369316147 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SyncInputJobAttachmentsSessionActionDefinition.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +SyncInputJobAttachmentsSessionActionDefinition::SyncInputJobAttachmentsSessionActionDefinition() : + m_stepIdHasBeenSet(false) +{ +} + +SyncInputJobAttachmentsSessionActionDefinition::SyncInputJobAttachmentsSessionActionDefinition(JsonView jsonValue) : + m_stepIdHasBeenSet(false) +{ + *this = jsonValue; +} + +SyncInputJobAttachmentsSessionActionDefinition& SyncInputJobAttachmentsSessionActionDefinition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("stepId")) + { + m_stepId = jsonValue.GetString("stepId"); + + m_stepIdHasBeenSet = true; + } + + return *this; +} + +JsonValue SyncInputJobAttachmentsSessionActionDefinition::Jsonize() const +{ + JsonValue payload; + + if(m_stepIdHasBeenSet) + { + payload.WithString("stepId", m_stepId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SyncInputJobAttachmentsSessionActionDefinitionSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SyncInputJobAttachmentsSessionActionDefinitionSummary.cpp new file mode 100644 index 00000000000..046b608519e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SyncInputJobAttachmentsSessionActionDefinitionSummary.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +SyncInputJobAttachmentsSessionActionDefinitionSummary::SyncInputJobAttachmentsSessionActionDefinitionSummary() : + m_stepIdHasBeenSet(false) +{ +} + +SyncInputJobAttachmentsSessionActionDefinitionSummary::SyncInputJobAttachmentsSessionActionDefinitionSummary(JsonView jsonValue) : + m_stepIdHasBeenSet(false) +{ + *this = jsonValue; +} + +SyncInputJobAttachmentsSessionActionDefinitionSummary& SyncInputJobAttachmentsSessionActionDefinitionSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("stepId")) + { + m_stepId = jsonValue.GetString("stepId"); + + m_stepIdHasBeenSet = true; + } + + return *this; +} + +JsonValue SyncInputJobAttachmentsSessionActionDefinitionSummary::Jsonize() const +{ + JsonValue payload; + + if(m_stepIdHasBeenSet) + { + payload.WithString("stepId", m_stepId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/TagResourceRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/TagResourceRequest.cpp new file mode 100644 index 00000000000..4df20b0688f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/TagResourceRequest.cpp @@ -0,0 +1,41 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +TagResourceRequest::TagResourceRequest() : + m_resourceArnHasBeenSet(false), + m_tagsHasBeenSet(false) +{ +} + +Aws::String TagResourceRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_tagsHasBeenSet) + { + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("tags", std::move(tagsJsonMap)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/TagResourceResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/TagResourceResult.cpp new file mode 100644 index 00000000000..0ec6839a3b1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/TagResourceResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +TagResourceResult::TagResourceResult() +{ +} + +TagResourceResult::TagResourceResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +TagResourceResult& TagResourceResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/TaskParameterValue.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/TaskParameterValue.cpp new file mode 100644 index 00000000000..0098182b7e0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/TaskParameterValue.cpp @@ -0,0 +1,104 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +TaskParameterValue::TaskParameterValue() : + m_floatHasBeenSet(false), + m_intHasBeenSet(false), + m_pathHasBeenSet(false), + m_stringHasBeenSet(false) +{ +} + +TaskParameterValue::TaskParameterValue(JsonView jsonValue) : + m_floatHasBeenSet(false), + m_intHasBeenSet(false), + m_pathHasBeenSet(false), + m_stringHasBeenSet(false) +{ + *this = jsonValue; +} + +TaskParameterValue& TaskParameterValue::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("float")) + { + m_float = jsonValue.GetString("float"); + + m_floatHasBeenSet = true; + } + + if(jsonValue.ValueExists("int")) + { + m_int = jsonValue.GetString("int"); + + m_intHasBeenSet = true; + } + + if(jsonValue.ValueExists("path")) + { + m_path = jsonValue.GetString("path"); + + m_pathHasBeenSet = true; + } + + if(jsonValue.ValueExists("string")) + { + m_string = jsonValue.GetString("string"); + + m_stringHasBeenSet = true; + } + + return *this; +} + +JsonValue TaskParameterValue::Jsonize() const +{ + JsonValue payload; + + if(m_floatHasBeenSet) + { + payload.WithString("float", m_float); + + } + + if(m_intHasBeenSet) + { + payload.WithString("int", m_int); + + } + + if(m_pathHasBeenSet) + { + payload.WithString("path", m_path); + + } + + if(m_stringHasBeenSet) + { + payload.WithString("string", m_string); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/TaskRunSessionActionDefinition.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/TaskRunSessionActionDefinition.cpp new file mode 100644 index 00000000000..c5158551d83 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/TaskRunSessionActionDefinition.cpp @@ -0,0 +1,97 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +TaskRunSessionActionDefinition::TaskRunSessionActionDefinition() : + m_parametersHasBeenSet(false), + m_stepIdHasBeenSet(false), + m_taskIdHasBeenSet(false) +{ +} + +TaskRunSessionActionDefinition::TaskRunSessionActionDefinition(JsonView jsonValue) : + m_parametersHasBeenSet(false), + m_stepIdHasBeenSet(false), + m_taskIdHasBeenSet(false) +{ + *this = jsonValue; +} + +TaskRunSessionActionDefinition& TaskRunSessionActionDefinition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("parameters")) + { + Aws::Map parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); + for(auto& parametersItem : parametersJsonMap) + { + m_parameters[parametersItem.first] = parametersItem.second.AsObject(); + } + m_parametersHasBeenSet = true; + } + + if(jsonValue.ValueExists("stepId")) + { + m_stepId = jsonValue.GetString("stepId"); + + m_stepIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("taskId")) + { + m_taskId = jsonValue.GetString("taskId"); + + m_taskIdHasBeenSet = true; + } + + return *this; +} + +JsonValue TaskRunSessionActionDefinition::Jsonize() const +{ + JsonValue payload; + + if(m_parametersHasBeenSet) + { + JsonValue parametersJsonMap; + for(auto& parametersItem : m_parameters) + { + parametersJsonMap.WithObject(parametersItem.first, parametersItem.second.Jsonize()); + } + payload.WithObject("parameters", std::move(parametersJsonMap)); + + } + + if(m_stepIdHasBeenSet) + { + payload.WithString("stepId", m_stepId); + + } + + if(m_taskIdHasBeenSet) + { + payload.WithString("taskId", m_taskId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/TaskRunSessionActionDefinitionSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/TaskRunSessionActionDefinitionSummary.cpp new file mode 100644 index 00000000000..eceed82fbca --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/TaskRunSessionActionDefinitionSummary.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +TaskRunSessionActionDefinitionSummary::TaskRunSessionActionDefinitionSummary() : + m_stepIdHasBeenSet(false), + m_taskIdHasBeenSet(false) +{ +} + +TaskRunSessionActionDefinitionSummary::TaskRunSessionActionDefinitionSummary(JsonView jsonValue) : + m_stepIdHasBeenSet(false), + m_taskIdHasBeenSet(false) +{ + *this = jsonValue; +} + +TaskRunSessionActionDefinitionSummary& TaskRunSessionActionDefinitionSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("stepId")) + { + m_stepId = jsonValue.GetString("stepId"); + + m_stepIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("taskId")) + { + m_taskId = jsonValue.GetString("taskId"); + + m_taskIdHasBeenSet = true; + } + + return *this; +} + +JsonValue TaskRunSessionActionDefinitionSummary::Jsonize() const +{ + JsonValue payload; + + if(m_stepIdHasBeenSet) + { + payload.WithString("stepId", m_stepId); + + } + + if(m_taskIdHasBeenSet) + { + payload.WithString("taskId", m_taskId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/TaskRunStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/TaskRunStatus.cpp new file mode 100644 index 00000000000..a8e164dc1e1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/TaskRunStatus.cpp @@ -0,0 +1,142 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace TaskRunStatusMapper + { + + static const int PENDING_HASH = HashingUtils::HashString("PENDING"); + static const int READY_HASH = HashingUtils::HashString("READY"); + static const int ASSIGNED_HASH = HashingUtils::HashString("ASSIGNED"); + static const int STARTING_HASH = HashingUtils::HashString("STARTING"); + static const int SCHEDULED_HASH = HashingUtils::HashString("SCHEDULED"); + static const int INTERRUPTING_HASH = HashingUtils::HashString("INTERRUPTING"); + static const int RUNNING_HASH = HashingUtils::HashString("RUNNING"); + static const int SUSPENDED_HASH = HashingUtils::HashString("SUSPENDED"); + static const int CANCELED_HASH = HashingUtils::HashString("CANCELED"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + static const int SUCCEEDED_HASH = HashingUtils::HashString("SUCCEEDED"); + static const int NOT_COMPATIBLE_HASH = HashingUtils::HashString("NOT_COMPATIBLE"); + + + TaskRunStatus GetTaskRunStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == PENDING_HASH) + { + return TaskRunStatus::PENDING; + } + else if (hashCode == READY_HASH) + { + return TaskRunStatus::READY; + } + else if (hashCode == ASSIGNED_HASH) + { + return TaskRunStatus::ASSIGNED; + } + else if (hashCode == STARTING_HASH) + { + return TaskRunStatus::STARTING; + } + else if (hashCode == SCHEDULED_HASH) + { + return TaskRunStatus::SCHEDULED; + } + else if (hashCode == INTERRUPTING_HASH) + { + return TaskRunStatus::INTERRUPTING; + } + else if (hashCode == RUNNING_HASH) + { + return TaskRunStatus::RUNNING; + } + else if (hashCode == SUSPENDED_HASH) + { + return TaskRunStatus::SUSPENDED; + } + else if (hashCode == CANCELED_HASH) + { + return TaskRunStatus::CANCELED; + } + else if (hashCode == FAILED_HASH) + { + return TaskRunStatus::FAILED; + } + else if (hashCode == SUCCEEDED_HASH) + { + return TaskRunStatus::SUCCEEDED; + } + else if (hashCode == NOT_COMPATIBLE_HASH) + { + return TaskRunStatus::NOT_COMPATIBLE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TaskRunStatus::NOT_SET; + } + + Aws::String GetNameForTaskRunStatus(TaskRunStatus enumValue) + { + switch(enumValue) + { + case TaskRunStatus::NOT_SET: + return {}; + case TaskRunStatus::PENDING: + return "PENDING"; + case TaskRunStatus::READY: + return "READY"; + case TaskRunStatus::ASSIGNED: + return "ASSIGNED"; + case TaskRunStatus::STARTING: + return "STARTING"; + case TaskRunStatus::SCHEDULED: + return "SCHEDULED"; + case TaskRunStatus::INTERRUPTING: + return "INTERRUPTING"; + case TaskRunStatus::RUNNING: + return "RUNNING"; + case TaskRunStatus::SUSPENDED: + return "SUSPENDED"; + case TaskRunStatus::CANCELED: + return "CANCELED"; + case TaskRunStatus::FAILED: + return "FAILED"; + case TaskRunStatus::SUCCEEDED: + return "SUCCEEDED"; + case TaskRunStatus::NOT_COMPATIBLE: + return "NOT_COMPATIBLE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TaskRunStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/TaskSearchSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/TaskSearchSummary.cpp new file mode 100644 index 00000000000..f7eeb15f618 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/TaskSearchSummary.cpp @@ -0,0 +1,204 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +TaskSearchSummary::TaskSearchSummary() : + m_endedAtHasBeenSet(false), + m_failureRetryCount(0), + m_failureRetryCountHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_parametersHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_runStatus(TaskRunStatus::NOT_SET), + m_runStatusHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_stepIdHasBeenSet(false), + m_targetRunStatus(TaskTargetRunStatus::NOT_SET), + m_targetRunStatusHasBeenSet(false), + m_taskIdHasBeenSet(false) +{ +} + +TaskSearchSummary::TaskSearchSummary(JsonView jsonValue) : + m_endedAtHasBeenSet(false), + m_failureRetryCount(0), + m_failureRetryCountHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_parametersHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_runStatus(TaskRunStatus::NOT_SET), + m_runStatusHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_stepIdHasBeenSet(false), + m_targetRunStatus(TaskTargetRunStatus::NOT_SET), + m_targetRunStatusHasBeenSet(false), + m_taskIdHasBeenSet(false) +{ + *this = jsonValue; +} + +TaskSearchSummary& TaskSearchSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("endedAt")) + { + m_endedAt = jsonValue.GetString("endedAt"); + + m_endedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("failureRetryCount")) + { + m_failureRetryCount = jsonValue.GetInteger("failureRetryCount"); + + m_failureRetryCountHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("parameters")) + { + Aws::Map parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); + for(auto& parametersItem : parametersJsonMap) + { + m_parameters[parametersItem.first] = parametersItem.second.AsObject(); + } + m_parametersHasBeenSet = true; + } + + if(jsonValue.ValueExists("queueId")) + { + m_queueId = jsonValue.GetString("queueId"); + + m_queueIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("runStatus")) + { + m_runStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("runStatus")); + + m_runStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("startedAt")) + { + m_startedAt = jsonValue.GetString("startedAt"); + + m_startedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("stepId")) + { + m_stepId = jsonValue.GetString("stepId"); + + m_stepIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("targetRunStatus")) + { + m_targetRunStatus = TaskTargetRunStatusMapper::GetTaskTargetRunStatusForName(jsonValue.GetString("targetRunStatus")); + + m_targetRunStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("taskId")) + { + m_taskId = jsonValue.GetString("taskId"); + + m_taskIdHasBeenSet = true; + } + + return *this; +} + +JsonValue TaskSearchSummary::Jsonize() const +{ + JsonValue payload; + + if(m_endedAtHasBeenSet) + { + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_failureRetryCountHasBeenSet) + { + payload.WithInteger("failureRetryCount", m_failureRetryCount); + + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_parametersHasBeenSet) + { + JsonValue parametersJsonMap; + for(auto& parametersItem : m_parameters) + { + parametersJsonMap.WithObject(parametersItem.first, parametersItem.second.Jsonize()); + } + payload.WithObject("parameters", std::move(parametersJsonMap)); + + } + + if(m_queueIdHasBeenSet) + { + payload.WithString("queueId", m_queueId); + + } + + if(m_runStatusHasBeenSet) + { + payload.WithString("runStatus", TaskRunStatusMapper::GetNameForTaskRunStatus(m_runStatus)); + } + + if(m_startedAtHasBeenSet) + { + payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_stepIdHasBeenSet) + { + payload.WithString("stepId", m_stepId); + + } + + if(m_targetRunStatusHasBeenSet) + { + payload.WithString("targetRunStatus", TaskTargetRunStatusMapper::GetNameForTaskTargetRunStatus(m_targetRunStatus)); + } + + if(m_taskIdHasBeenSet) + { + payload.WithString("taskId", m_taskId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/TaskSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/TaskSummary.cpp new file mode 100644 index 00000000000..54817b7a493 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/TaskSummary.cpp @@ -0,0 +1,232 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +TaskSummary::TaskSummary() : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_endedAtHasBeenSet(false), + m_failureRetryCount(0), + m_failureRetryCountHasBeenSet(false), + m_latestSessionActionIdHasBeenSet(false), + m_parametersHasBeenSet(false), + m_runStatus(TaskRunStatus::NOT_SET), + m_runStatusHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_targetRunStatus(TaskTargetRunStatus::NOT_SET), + m_targetRunStatusHasBeenSet(false), + m_taskIdHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false) +{ +} + +TaskSummary::TaskSummary(JsonView jsonValue) : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_endedAtHasBeenSet(false), + m_failureRetryCount(0), + m_failureRetryCountHasBeenSet(false), + m_latestSessionActionIdHasBeenSet(false), + m_parametersHasBeenSet(false), + m_runStatus(TaskRunStatus::NOT_SET), + m_runStatusHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_targetRunStatus(TaskTargetRunStatus::NOT_SET), + m_targetRunStatusHasBeenSet(false), + m_taskIdHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false) +{ + *this = jsonValue; +} + +TaskSummary& TaskSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("endedAt")) + { + m_endedAt = jsonValue.GetString("endedAt"); + + m_endedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("failureRetryCount")) + { + m_failureRetryCount = jsonValue.GetInteger("failureRetryCount"); + + m_failureRetryCountHasBeenSet = true; + } + + if(jsonValue.ValueExists("latestSessionActionId")) + { + m_latestSessionActionId = jsonValue.GetString("latestSessionActionId"); + + m_latestSessionActionIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("parameters")) + { + Aws::Map parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); + for(auto& parametersItem : parametersJsonMap) + { + m_parameters[parametersItem.first] = parametersItem.second.AsObject(); + } + m_parametersHasBeenSet = true; + } + + if(jsonValue.ValueExists("runStatus")) + { + m_runStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("runStatus")); + + m_runStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("startedAt")) + { + m_startedAt = jsonValue.GetString("startedAt"); + + m_startedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("targetRunStatus")) + { + m_targetRunStatus = TaskTargetRunStatusMapper::GetTaskTargetRunStatusForName(jsonValue.GetString("targetRunStatus")); + + m_targetRunStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("taskId")) + { + m_taskId = jsonValue.GetString("taskId"); + + m_taskIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + m_updatedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + m_updatedByHasBeenSet = true; + } + + return *this; +} + +JsonValue TaskSummary::Jsonize() const +{ + JsonValue payload; + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + + if(m_endedAtHasBeenSet) + { + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_failureRetryCountHasBeenSet) + { + payload.WithInteger("failureRetryCount", m_failureRetryCount); + + } + + if(m_latestSessionActionIdHasBeenSet) + { + payload.WithString("latestSessionActionId", m_latestSessionActionId); + + } + + if(m_parametersHasBeenSet) + { + JsonValue parametersJsonMap; + for(auto& parametersItem : m_parameters) + { + parametersJsonMap.WithObject(parametersItem.first, parametersItem.second.Jsonize()); + } + payload.WithObject("parameters", std::move(parametersJsonMap)); + + } + + if(m_runStatusHasBeenSet) + { + payload.WithString("runStatus", TaskRunStatusMapper::GetNameForTaskRunStatus(m_runStatus)); + } + + if(m_startedAtHasBeenSet) + { + payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_targetRunStatusHasBeenSet) + { + payload.WithString("targetRunStatus", TaskTargetRunStatusMapper::GetNameForTaskTargetRunStatus(m_targetRunStatus)); + } + + if(m_taskIdHasBeenSet) + { + payload.WithString("taskId", m_taskId); + + } + + if(m_updatedAtHasBeenSet) + { + payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_updatedByHasBeenSet) + { + payload.WithString("updatedBy", m_updatedBy); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/TaskTargetRunStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/TaskTargetRunStatus.cpp new file mode 100644 index 00000000000..5b1dc010b13 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/TaskTargetRunStatus.cpp @@ -0,0 +1,100 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace TaskTargetRunStatusMapper + { + + static const int READY_HASH = HashingUtils::HashString("READY"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + static const int SUCCEEDED_HASH = HashingUtils::HashString("SUCCEEDED"); + static const int CANCELED_HASH = HashingUtils::HashString("CANCELED"); + static const int SUSPENDED_HASH = HashingUtils::HashString("SUSPENDED"); + static const int PENDING_HASH = HashingUtils::HashString("PENDING"); + + + TaskTargetRunStatus GetTaskTargetRunStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == READY_HASH) + { + return TaskTargetRunStatus::READY; + } + else if (hashCode == FAILED_HASH) + { + return TaskTargetRunStatus::FAILED; + } + else if (hashCode == SUCCEEDED_HASH) + { + return TaskTargetRunStatus::SUCCEEDED; + } + else if (hashCode == CANCELED_HASH) + { + return TaskTargetRunStatus::CANCELED; + } + else if (hashCode == SUSPENDED_HASH) + { + return TaskTargetRunStatus::SUSPENDED; + } + else if (hashCode == PENDING_HASH) + { + return TaskTargetRunStatus::PENDING; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TaskTargetRunStatus::NOT_SET; + } + + Aws::String GetNameForTaskTargetRunStatus(TaskTargetRunStatus enumValue) + { + switch(enumValue) + { + case TaskTargetRunStatus::NOT_SET: + return {}; + case TaskTargetRunStatus::READY: + return "READY"; + case TaskTargetRunStatus::FAILED: + return "FAILED"; + case TaskTargetRunStatus::SUCCEEDED: + return "SUCCEEDED"; + case TaskTargetRunStatus::CANCELED: + return "CANCELED"; + case TaskTargetRunStatus::SUSPENDED: + return "SUSPENDED"; + case TaskTargetRunStatus::PENDING: + return "PENDING"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TaskTargetRunStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ThrottlingException.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ThrottlingException.cpp new file mode 100644 index 00000000000..a7cc58f800d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ThrottlingException.cpp @@ -0,0 +1,117 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +ThrottlingException::ThrottlingException() : + m_contextHasBeenSet(false), + m_messageHasBeenSet(false), + m_quotaCodeHasBeenSet(false), + m_retryAfterSeconds(0), + m_retryAfterSecondsHasBeenSet(false), + m_serviceCodeHasBeenSet(false) +{ +} + +ThrottlingException::ThrottlingException(JsonView jsonValue) : + m_contextHasBeenSet(false), + m_messageHasBeenSet(false), + m_quotaCodeHasBeenSet(false), + m_retryAfterSeconds(0), + m_retryAfterSecondsHasBeenSet(false), + m_serviceCodeHasBeenSet(false) +{ + *this = jsonValue; +} + +ThrottlingException& ThrottlingException::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("context")) + { + Aws::Map contextJsonMap = jsonValue.GetObject("context").GetAllObjects(); + for(auto& contextItem : contextJsonMap) + { + m_context[contextItem.first] = contextItem.second.AsString(); + } + m_contextHasBeenSet = true; + } + + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("quotaCode")) + { + m_quotaCode = jsonValue.GetString("quotaCode"); + + m_quotaCodeHasBeenSet = true; + } + + if(jsonValue.ValueExists("serviceCode")) + { + m_serviceCode = jsonValue.GetString("serviceCode"); + + m_serviceCodeHasBeenSet = true; + } + + return *this; +} + +JsonValue ThrottlingException::Jsonize() const +{ + JsonValue payload; + + if(m_contextHasBeenSet) + { + JsonValue contextJsonMap; + for(auto& contextItem : m_context) + { + contextJsonMap.WithString(contextItem.first, contextItem.second); + } + payload.WithObject("context", std::move(contextJsonMap)); + + } + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + if(m_quotaCodeHasBeenSet) + { + payload.WithString("quotaCode", m_quotaCode); + + } + + if(m_serviceCodeHasBeenSet) + { + payload.WithString("serviceCode", m_serviceCode); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UntagResourceRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UntagResourceRequest.cpp new file mode 100644 index 00000000000..41377b747f7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UntagResourceRequest.cpp @@ -0,0 +1,45 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +UntagResourceRequest::UntagResourceRequest() : + m_resourceArnHasBeenSet(false), + m_tagKeysHasBeenSet(false) +{ +} + +Aws::String UntagResourceRequest::SerializePayload() const +{ + return {}; +} + +void UntagResourceRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_tagKeysHasBeenSet) + { + for(const auto& item : m_tagKeys) + { + ss << item; + uri.AddQueryStringParameter("tagKeys", ss.str()); + ss.str(""); + } + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UntagResourceResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UntagResourceResult.cpp new file mode 100644 index 00000000000..0cf6f5ed438 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UntagResourceResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UntagResourceResult::UntagResourceResult() +{ +} + +UntagResourceResult::UntagResourceResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UntagResourceResult& UntagResourceResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateBudgetRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateBudgetRequest.cpp new file mode 100644 index 00000000000..445a3dcc80e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateBudgetRequest.cpp @@ -0,0 +1,108 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateBudgetRequest::UpdateBudgetRequest() : + m_actionsToAddHasBeenSet(false), + m_actionsToRemoveHasBeenSet(false), + m_approximateDollarLimit(0.0), + m_approximateDollarLimitHasBeenSet(false), + m_budgetIdHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_descriptionHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_scheduleHasBeenSet(false), + m_status(BudgetStatus::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +Aws::String UpdateBudgetRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_actionsToAddHasBeenSet) + { + Aws::Utils::Array actionsToAddJsonList(m_actionsToAdd.size()); + for(unsigned actionsToAddIndex = 0; actionsToAddIndex < actionsToAddJsonList.GetLength(); ++actionsToAddIndex) + { + actionsToAddJsonList[actionsToAddIndex].AsObject(m_actionsToAdd[actionsToAddIndex].Jsonize()); + } + payload.WithArray("actionsToAdd", std::move(actionsToAddJsonList)); + + } + + if(m_actionsToRemoveHasBeenSet) + { + Aws::Utils::Array actionsToRemoveJsonList(m_actionsToRemove.size()); + for(unsigned actionsToRemoveIndex = 0; actionsToRemoveIndex < actionsToRemoveJsonList.GetLength(); ++actionsToRemoveIndex) + { + actionsToRemoveJsonList[actionsToRemoveIndex].AsObject(m_actionsToRemove[actionsToRemoveIndex].Jsonize()); + } + payload.WithArray("actionsToRemove", std::move(actionsToRemoveJsonList)); + + } + + if(m_approximateDollarLimitHasBeenSet) + { + payload.WithDouble("approximateDollarLimit", m_approximateDollarLimit); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_scheduleHasBeenSet) + { + payload.WithObject("schedule", m_schedule.Jsonize()); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", BudgetStatusMapper::GetNameForBudgetStatus(m_status)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection UpdateBudgetRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateBudgetResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateBudgetResult.cpp new file mode 100644 index 00000000000..5e8f8c93678 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateBudgetResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateBudgetResult::UpdateBudgetResult() +{ +} + +UpdateBudgetResult::UpdateBudgetResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateBudgetResult& UpdateBudgetResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFarmRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFarmRequest.cpp new file mode 100644 index 00000000000..bc90e284754 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFarmRequest.cpp @@ -0,0 +1,43 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateFarmRequest::UpdateFarmRequest() : + m_descriptionHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_farmIdHasBeenSet(false) +{ +} + +Aws::String UpdateFarmRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFarmResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFarmResult.cpp new file mode 100644 index 00000000000..239f36aa7eb --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFarmResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateFarmResult::UpdateFarmResult() +{ +} + +UpdateFarmResult::UpdateFarmResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateFarmResult& UpdateFarmResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFleetRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFleetRequest.cpp new file mode 100644 index 00000000000..29afbe2f442 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFleetRequest.cpp @@ -0,0 +1,92 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateFleetRequest::UpdateFleetRequest() : + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_configurationHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_maxWorkerCount(0), + m_maxWorkerCountHasBeenSet(false), + m_minWorkerCount(0), + m_minWorkerCountHasBeenSet(false), + m_roleArnHasBeenSet(false) +{ +} + +Aws::String UpdateFleetRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_configurationHasBeenSet) + { + payload.WithObject("configuration", m_configuration.Jsonize()); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_maxWorkerCountHasBeenSet) + { + payload.WithInteger("maxWorkerCount", m_maxWorkerCount); + + } + + if(m_minWorkerCountHasBeenSet) + { + payload.WithInteger("minWorkerCount", m_minWorkerCount); + + } + + if(m_roleArnHasBeenSet) + { + payload.WithString("roleArn", m_roleArn); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection UpdateFleetRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFleetResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFleetResult.cpp new file mode 100644 index 00000000000..24ac1a57c6a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFleetResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateFleetResult::UpdateFleetResult() +{ +} + +UpdateFleetResult::UpdateFleetResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateFleetResult& UpdateFleetResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateJobLifecycleStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateJobLifecycleStatus.cpp new file mode 100644 index 00000000000..951abebb73e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateJobLifecycleStatus.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace UpdateJobLifecycleStatusMapper + { + + static const int ARCHIVED_HASH = HashingUtils::HashString("ARCHIVED"); + + + UpdateJobLifecycleStatus GetUpdateJobLifecycleStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ARCHIVED_HASH) + { + return UpdateJobLifecycleStatus::ARCHIVED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return UpdateJobLifecycleStatus::NOT_SET; + } + + Aws::String GetNameForUpdateJobLifecycleStatus(UpdateJobLifecycleStatus enumValue) + { + switch(enumValue) + { + case UpdateJobLifecycleStatus::NOT_SET: + return {}; + case UpdateJobLifecycleStatus::ARCHIVED: + return "ARCHIVED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace UpdateJobLifecycleStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateJobRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateJobRequest.cpp new file mode 100644 index 00000000000..b19157485b5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateJobRequest.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateJobRequest::UpdateJobRequest() : + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_lifecycleStatus(UpdateJobLifecycleStatus::NOT_SET), + m_lifecycleStatusHasBeenSet(false), + m_maxFailedTasksCount(0), + m_maxFailedTasksCountHasBeenSet(false), + m_maxRetriesPerTask(0), + m_maxRetriesPerTaskHasBeenSet(false), + m_priority(0), + m_priorityHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_targetTaskRunStatus(JobTargetTaskRunStatus::NOT_SET), + m_targetTaskRunStatusHasBeenSet(false) +{ +} + +Aws::String UpdateJobRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_lifecycleStatusHasBeenSet) + { + payload.WithString("lifecycleStatus", UpdateJobLifecycleStatusMapper::GetNameForUpdateJobLifecycleStatus(m_lifecycleStatus)); + } + + if(m_maxFailedTasksCountHasBeenSet) + { + payload.WithInteger("maxFailedTasksCount", m_maxFailedTasksCount); + + } + + if(m_maxRetriesPerTaskHasBeenSet) + { + payload.WithInteger("maxRetriesPerTask", m_maxRetriesPerTask); + + } + + if(m_priorityHasBeenSet) + { + payload.WithInteger("priority", m_priority); + + } + + if(m_targetTaskRunStatusHasBeenSet) + { + payload.WithString("targetTaskRunStatus", JobTargetTaskRunStatusMapper::GetNameForJobTargetTaskRunStatus(m_targetTaskRunStatus)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection UpdateJobRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateJobResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateJobResult.cpp new file mode 100644 index 00000000000..9e4a4a7a04f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateJobResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateJobResult::UpdateJobResult() +{ +} + +UpdateJobResult::UpdateJobResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateJobResult& UpdateJobResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateMonitorRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateMonitorRequest.cpp new file mode 100644 index 00000000000..860d3e095c0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateMonitorRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateMonitorRequest::UpdateMonitorRequest() : + m_displayNameHasBeenSet(false), + m_monitorIdHasBeenSet(false), + m_roleArnHasBeenSet(false), + m_subdomainHasBeenSet(false) +{ +} + +Aws::String UpdateMonitorRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_roleArnHasBeenSet) + { + payload.WithString("roleArn", m_roleArn); + + } + + if(m_subdomainHasBeenSet) + { + payload.WithString("subdomain", m_subdomain); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateMonitorResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateMonitorResult.cpp new file mode 100644 index 00000000000..72e1256ce71 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateMonitorResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateMonitorResult::UpdateMonitorResult() +{ +} + +UpdateMonitorResult::UpdateMonitorResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateMonitorResult& UpdateMonitorResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueEnvironmentRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueEnvironmentRequest.cpp new file mode 100644 index 00000000000..43d69f77d14 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueEnvironmentRequest.cpp @@ -0,0 +1,71 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateQueueEnvironmentRequest::UpdateQueueEnvironmentRequest() : + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_farmIdHasBeenSet(false), + m_priority(0), + m_priorityHasBeenSet(false), + m_queueEnvironmentIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_templateHasBeenSet(false), + m_templateType(EnvironmentTemplateType::NOT_SET), + m_templateTypeHasBeenSet(false) +{ +} + +Aws::String UpdateQueueEnvironmentRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_priorityHasBeenSet) + { + payload.WithInteger("priority", m_priority); + + } + + if(m_templateHasBeenSet) + { + payload.WithString("template", m_template); + + } + + if(m_templateTypeHasBeenSet) + { + payload.WithString("templateType", EnvironmentTemplateTypeMapper::GetNameForEnvironmentTemplateType(m_templateType)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection UpdateQueueEnvironmentRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueEnvironmentResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueEnvironmentResult.cpp new file mode 100644 index 00000000000..af8f7096cac --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueEnvironmentResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateQueueEnvironmentResult::UpdateQueueEnvironmentResult() +{ +} + +UpdateQueueEnvironmentResult::UpdateQueueEnvironmentResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateQueueEnvironmentResult& UpdateQueueEnvironmentResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueFleetAssociationRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueFleetAssociationRequest.cpp new file mode 100644 index 00000000000..65142d7cddc --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueFleetAssociationRequest.cpp @@ -0,0 +1,38 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateQueueFleetAssociationRequest::UpdateQueueFleetAssociationRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_status(UpdateQueueFleetAssociationStatus::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +Aws::String UpdateQueueFleetAssociationRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_statusHasBeenSet) + { + payload.WithString("status", UpdateQueueFleetAssociationStatusMapper::GetNameForUpdateQueueFleetAssociationStatus(m_status)); + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueFleetAssociationResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueFleetAssociationResult.cpp new file mode 100644 index 00000000000..7b361476058 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueFleetAssociationResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateQueueFleetAssociationResult::UpdateQueueFleetAssociationResult() +{ +} + +UpdateQueueFleetAssociationResult::UpdateQueueFleetAssociationResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateQueueFleetAssociationResult& UpdateQueueFleetAssociationResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueFleetAssociationStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueFleetAssociationStatus.cpp new file mode 100644 index 00000000000..95c01f6c136 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueFleetAssociationStatus.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace UpdateQueueFleetAssociationStatusMapper + { + + static const int ACTIVE_HASH = HashingUtils::HashString("ACTIVE"); + static const int STOP_SCHEDULING_AND_COMPLETE_TASKS_HASH = HashingUtils::HashString("STOP_SCHEDULING_AND_COMPLETE_TASKS"); + static const int STOP_SCHEDULING_AND_CANCEL_TASKS_HASH = HashingUtils::HashString("STOP_SCHEDULING_AND_CANCEL_TASKS"); + + + UpdateQueueFleetAssociationStatus GetUpdateQueueFleetAssociationStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ACTIVE_HASH) + { + return UpdateQueueFleetAssociationStatus::ACTIVE; + } + else if (hashCode == STOP_SCHEDULING_AND_COMPLETE_TASKS_HASH) + { + return UpdateQueueFleetAssociationStatus::STOP_SCHEDULING_AND_COMPLETE_TASKS; + } + else if (hashCode == STOP_SCHEDULING_AND_CANCEL_TASKS_HASH) + { + return UpdateQueueFleetAssociationStatus::STOP_SCHEDULING_AND_CANCEL_TASKS; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return UpdateQueueFleetAssociationStatus::NOT_SET; + } + + Aws::String GetNameForUpdateQueueFleetAssociationStatus(UpdateQueueFleetAssociationStatus enumValue) + { + switch(enumValue) + { + case UpdateQueueFleetAssociationStatus::NOT_SET: + return {}; + case UpdateQueueFleetAssociationStatus::ACTIVE: + return "ACTIVE"; + case UpdateQueueFleetAssociationStatus::STOP_SCHEDULING_AND_COMPLETE_TASKS: + return "STOP_SCHEDULING_AND_COMPLETE_TASKS"; + case UpdateQueueFleetAssociationStatus::STOP_SCHEDULING_AND_CANCEL_TASKS: + return "STOP_SCHEDULING_AND_CANCEL_TASKS"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace UpdateQueueFleetAssociationStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueRequest.cpp new file mode 100644 index 00000000000..0f566686dfb --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueRequest.cpp @@ -0,0 +1,138 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateQueueRequest::UpdateQueueRequest() : + m_allowedStorageProfileIdsToAddHasBeenSet(false), + m_allowedStorageProfileIdsToRemoveHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_defaultBudgetAction(DefaultQueueBudgetAction::NOT_SET), + m_defaultBudgetActionHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_jobAttachmentSettingsHasBeenSet(false), + m_jobRunAsUserHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_requiredFileSystemLocationNamesToAddHasBeenSet(false), + m_requiredFileSystemLocationNamesToRemoveHasBeenSet(false), + m_roleArnHasBeenSet(false) +{ +} + +Aws::String UpdateQueueRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_allowedStorageProfileIdsToAddHasBeenSet) + { + Aws::Utils::Array allowedStorageProfileIdsToAddJsonList(m_allowedStorageProfileIdsToAdd.size()); + for(unsigned allowedStorageProfileIdsToAddIndex = 0; allowedStorageProfileIdsToAddIndex < allowedStorageProfileIdsToAddJsonList.GetLength(); ++allowedStorageProfileIdsToAddIndex) + { + allowedStorageProfileIdsToAddJsonList[allowedStorageProfileIdsToAddIndex].AsString(m_allowedStorageProfileIdsToAdd[allowedStorageProfileIdsToAddIndex]); + } + payload.WithArray("allowedStorageProfileIdsToAdd", std::move(allowedStorageProfileIdsToAddJsonList)); + + } + + if(m_allowedStorageProfileIdsToRemoveHasBeenSet) + { + Aws::Utils::Array allowedStorageProfileIdsToRemoveJsonList(m_allowedStorageProfileIdsToRemove.size()); + for(unsigned allowedStorageProfileIdsToRemoveIndex = 0; allowedStorageProfileIdsToRemoveIndex < allowedStorageProfileIdsToRemoveJsonList.GetLength(); ++allowedStorageProfileIdsToRemoveIndex) + { + allowedStorageProfileIdsToRemoveJsonList[allowedStorageProfileIdsToRemoveIndex].AsString(m_allowedStorageProfileIdsToRemove[allowedStorageProfileIdsToRemoveIndex]); + } + payload.WithArray("allowedStorageProfileIdsToRemove", std::move(allowedStorageProfileIdsToRemoveJsonList)); + + } + + if(m_defaultBudgetActionHasBeenSet) + { + payload.WithString("defaultBudgetAction", DefaultQueueBudgetActionMapper::GetNameForDefaultQueueBudgetAction(m_defaultBudgetAction)); + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_jobAttachmentSettingsHasBeenSet) + { + payload.WithObject("jobAttachmentSettings", m_jobAttachmentSettings.Jsonize()); + + } + + if(m_jobRunAsUserHasBeenSet) + { + payload.WithObject("jobRunAsUser", m_jobRunAsUser.Jsonize()); + + } + + if(m_requiredFileSystemLocationNamesToAddHasBeenSet) + { + Aws::Utils::Array requiredFileSystemLocationNamesToAddJsonList(m_requiredFileSystemLocationNamesToAdd.size()); + for(unsigned requiredFileSystemLocationNamesToAddIndex = 0; requiredFileSystemLocationNamesToAddIndex < requiredFileSystemLocationNamesToAddJsonList.GetLength(); ++requiredFileSystemLocationNamesToAddIndex) + { + requiredFileSystemLocationNamesToAddJsonList[requiredFileSystemLocationNamesToAddIndex].AsString(m_requiredFileSystemLocationNamesToAdd[requiredFileSystemLocationNamesToAddIndex]); + } + payload.WithArray("requiredFileSystemLocationNamesToAdd", std::move(requiredFileSystemLocationNamesToAddJsonList)); + + } + + if(m_requiredFileSystemLocationNamesToRemoveHasBeenSet) + { + Aws::Utils::Array requiredFileSystemLocationNamesToRemoveJsonList(m_requiredFileSystemLocationNamesToRemove.size()); + for(unsigned requiredFileSystemLocationNamesToRemoveIndex = 0; requiredFileSystemLocationNamesToRemoveIndex < requiredFileSystemLocationNamesToRemoveJsonList.GetLength(); ++requiredFileSystemLocationNamesToRemoveIndex) + { + requiredFileSystemLocationNamesToRemoveJsonList[requiredFileSystemLocationNamesToRemoveIndex].AsString(m_requiredFileSystemLocationNamesToRemove[requiredFileSystemLocationNamesToRemoveIndex]); + } + payload.WithArray("requiredFileSystemLocationNamesToRemove", std::move(requiredFileSystemLocationNamesToRemoveJsonList)); + + } + + if(m_roleArnHasBeenSet) + { + payload.WithString("roleArn", m_roleArn); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection UpdateQueueRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueResult.cpp new file mode 100644 index 00000000000..3f3ed6b43ef --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateQueueResult::UpdateQueueResult() +{ +} + +UpdateQueueResult::UpdateQueueResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateQueueResult& UpdateQueueResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateSessionRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateSessionRequest.cpp new file mode 100644 index 00000000000..4dc8b028957 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateSessionRequest.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateSessionRequest::UpdateSessionRequest() : + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_sessionIdHasBeenSet(false), + m_targetLifecycleStatus(SessionLifecycleTargetStatus::NOT_SET), + m_targetLifecycleStatusHasBeenSet(false) +{ +} + +Aws::String UpdateSessionRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_targetLifecycleStatusHasBeenSet) + { + payload.WithString("targetLifecycleStatus", SessionLifecycleTargetStatusMapper::GetNameForSessionLifecycleTargetStatus(m_targetLifecycleStatus)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection UpdateSessionRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateSessionResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateSessionResult.cpp new file mode 100644 index 00000000000..4f81c24b2bd --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateSessionResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateSessionResult::UpdateSessionResult() +{ +} + +UpdateSessionResult::UpdateSessionResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateSessionResult& UpdateSessionResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStepRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStepRequest.cpp new file mode 100644 index 00000000000..844ff5dc2c7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStepRequest.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateStepRequest::UpdateStepRequest() : + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_stepIdHasBeenSet(false), + m_targetTaskRunStatus(StepTargetTaskRunStatus::NOT_SET), + m_targetTaskRunStatusHasBeenSet(false) +{ +} + +Aws::String UpdateStepRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_targetTaskRunStatusHasBeenSet) + { + payload.WithString("targetTaskRunStatus", StepTargetTaskRunStatusMapper::GetNameForStepTargetTaskRunStatus(m_targetTaskRunStatus)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection UpdateStepRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStepResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStepResult.cpp new file mode 100644 index 00000000000..3963824b5fb --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStepResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateStepResult::UpdateStepResult() +{ +} + +UpdateStepResult::UpdateStepResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateStepResult& UpdateStepResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStorageProfileRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStorageProfileRequest.cpp new file mode 100644 index 00000000000..329feeed102 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStorageProfileRequest.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateStorageProfileRequest::UpdateStorageProfileRequest() : + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_displayNameHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_fileSystemLocationsToAddHasBeenSet(false), + m_fileSystemLocationsToRemoveHasBeenSet(false), + m_osFamily(StorageProfileOperatingSystemFamily::NOT_SET), + m_osFamilyHasBeenSet(false), + m_storageProfileIdHasBeenSet(false) +{ +} + +Aws::String UpdateStorageProfileRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_displayNameHasBeenSet) + { + payload.WithString("displayName", m_displayName); + + } + + if(m_fileSystemLocationsToAddHasBeenSet) + { + Aws::Utils::Array fileSystemLocationsToAddJsonList(m_fileSystemLocationsToAdd.size()); + for(unsigned fileSystemLocationsToAddIndex = 0; fileSystemLocationsToAddIndex < fileSystemLocationsToAddJsonList.GetLength(); ++fileSystemLocationsToAddIndex) + { + fileSystemLocationsToAddJsonList[fileSystemLocationsToAddIndex].AsObject(m_fileSystemLocationsToAdd[fileSystemLocationsToAddIndex].Jsonize()); + } + payload.WithArray("fileSystemLocationsToAdd", std::move(fileSystemLocationsToAddJsonList)); + + } + + if(m_fileSystemLocationsToRemoveHasBeenSet) + { + Aws::Utils::Array fileSystemLocationsToRemoveJsonList(m_fileSystemLocationsToRemove.size()); + for(unsigned fileSystemLocationsToRemoveIndex = 0; fileSystemLocationsToRemoveIndex < fileSystemLocationsToRemoveJsonList.GetLength(); ++fileSystemLocationsToRemoveIndex) + { + fileSystemLocationsToRemoveJsonList[fileSystemLocationsToRemoveIndex].AsObject(m_fileSystemLocationsToRemove[fileSystemLocationsToRemoveIndex].Jsonize()); + } + payload.WithArray("fileSystemLocationsToRemove", std::move(fileSystemLocationsToRemoveJsonList)); + + } + + if(m_osFamilyHasBeenSet) + { + payload.WithString("osFamily", StorageProfileOperatingSystemFamilyMapper::GetNameForStorageProfileOperatingSystemFamily(m_osFamily)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection UpdateStorageProfileRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStorageProfileResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStorageProfileResult.cpp new file mode 100644 index 00000000000..e7c5cd4c0e5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStorageProfileResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateStorageProfileResult::UpdateStorageProfileResult() +{ +} + +UpdateStorageProfileResult::UpdateStorageProfileResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateStorageProfileResult& UpdateStorageProfileResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateTaskRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateTaskRequest.cpp new file mode 100644 index 00000000000..5bf93e320ca --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateTaskRequest.cpp @@ -0,0 +1,58 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateTaskRequest::UpdateTaskRequest() : + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_farmIdHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_stepIdHasBeenSet(false), + m_targetRunStatus(TaskTargetRunStatus::NOT_SET), + m_targetRunStatusHasBeenSet(false), + m_taskIdHasBeenSet(false) +{ +} + +Aws::String UpdateTaskRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_targetRunStatusHasBeenSet) + { + payload.WithString("targetRunStatus", TaskTargetRunStatusMapper::GetNameForTaskTargetRunStatus(m_targetRunStatus)); + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection UpdateTaskRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + Aws::StringStream ss; + if(m_clientTokenHasBeenSet) + { + ss << m_clientToken; + headers.emplace("x-amz-client-token", ss.str()); + ss.str(""); + } + + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateTaskResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateTaskResult.cpp new file mode 100644 index 00000000000..8e446ba9f2b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateTaskResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateTaskResult::UpdateTaskResult() +{ +} + +UpdateTaskResult::UpdateTaskResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateTaskResult& UpdateTaskResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerRequest.cpp new file mode 100644 index 00000000000..19884a847ed --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerRequest.cpp @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateWorkerRequest::UpdateWorkerRequest() : + m_capabilitiesHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_hostPropertiesHasBeenSet(false), + m_status(UpdatedWorkerStatus::NOT_SET), + m_statusHasBeenSet(false), + m_workerIdHasBeenSet(false) +{ +} + +Aws::String UpdateWorkerRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_capabilitiesHasBeenSet) + { + payload.WithObject("capabilities", m_capabilities.Jsonize()); + + } + + if(m_hostPropertiesHasBeenSet) + { + payload.WithObject("hostProperties", m_hostProperties.Jsonize()); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", UpdatedWorkerStatusMapper::GetNameForUpdatedWorkerStatus(m_status)); + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerResult.cpp new file mode 100644 index 00000000000..c399fecdd29 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateWorkerResult::UpdateWorkerResult() +{ +} + +UpdateWorkerResult::UpdateWorkerResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UpdateWorkerResult& UpdateWorkerResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("log")) + { + m_log = jsonValue.GetObject("log"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerScheduleRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerScheduleRequest.cpp new file mode 100644 index 00000000000..c9d62f9009d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerScheduleRequest.cpp @@ -0,0 +1,43 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateWorkerScheduleRequest::UpdateWorkerScheduleRequest() : + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_updatedSessionActionsHasBeenSet(false), + m_workerIdHasBeenSet(false) +{ +} + +Aws::String UpdateWorkerScheduleRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_updatedSessionActionsHasBeenSet) + { + JsonValue updatedSessionActionsJsonMap; + for(auto& updatedSessionActionsItem : m_updatedSessionActions) + { + updatedSessionActionsJsonMap.WithObject(updatedSessionActionsItem.first, updatedSessionActionsItem.second.Jsonize()); + } + payload.WithObject("updatedSessionActions", std::move(updatedSessionActionsJsonMap)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerScheduleResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerScheduleResult.cpp new file mode 100644 index 00000000000..0342031d23d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerScheduleResult.cpp @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::deadline::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateWorkerScheduleResult::UpdateWorkerScheduleResult() : + m_desiredWorkerStatus(DesiredWorkerStatus::NOT_SET), + m_updateIntervalSeconds(0) +{ +} + +UpdateWorkerScheduleResult::UpdateWorkerScheduleResult(const Aws::AmazonWebServiceResult& result) : + m_desiredWorkerStatus(DesiredWorkerStatus::NOT_SET), + m_updateIntervalSeconds(0) +{ + *this = result; +} + +UpdateWorkerScheduleResult& UpdateWorkerScheduleResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("assignedSessions")) + { + Aws::Map assignedSessionsJsonMap = jsonValue.GetObject("assignedSessions").GetAllObjects(); + for(auto& assignedSessionsItem : assignedSessionsJsonMap) + { + m_assignedSessions[assignedSessionsItem.first] = assignedSessionsItem.second.AsObject(); + } + } + + if(jsonValue.ValueExists("cancelSessionActions")) + { + Aws::Map cancelSessionActionsJsonMap = jsonValue.GetObject("cancelSessionActions").GetAllObjects(); + for(auto& cancelSessionActionsItem : cancelSessionActionsJsonMap) + { + Aws::Utils::Array sessionActionIdListJsonList = cancelSessionActionsItem.second.AsArray(); + Aws::Vector sessionActionIdListList; + sessionActionIdListList.reserve((size_t)sessionActionIdListJsonList.GetLength()); + for(unsigned sessionActionIdListIndex = 0; sessionActionIdListIndex < sessionActionIdListJsonList.GetLength(); ++sessionActionIdListIndex) + { + sessionActionIdListList.push_back(sessionActionIdListJsonList[sessionActionIdListIndex].AsString()); + } + m_cancelSessionActions[cancelSessionActionsItem.first] = std::move(sessionActionIdListList); + } + } + + if(jsonValue.ValueExists("desiredWorkerStatus")) + { + m_desiredWorkerStatus = DesiredWorkerStatusMapper::GetDesiredWorkerStatusForName(jsonValue.GetString("desiredWorkerStatus")); + + } + + if(jsonValue.ValueExists("updateIntervalSeconds")) + { + m_updateIntervalSeconds = jsonValue.GetInteger("updateIntervalSeconds"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdatedSessionActionInfo.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdatedSessionActionInfo.cpp new file mode 100644 index 00000000000..5fa68ad2a17 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdatedSessionActionInfo.cpp @@ -0,0 +1,151 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +UpdatedSessionActionInfo::UpdatedSessionActionInfo() : + m_completedStatus(CompletedStatus::NOT_SET), + m_completedStatusHasBeenSet(false), + m_endedAtHasBeenSet(false), + m_processExitCode(0), + m_processExitCodeHasBeenSet(false), + m_progressMessageHasBeenSet(false), + m_progressPercent(0.0), + m_progressPercentHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_updatedAtHasBeenSet(false) +{ +} + +UpdatedSessionActionInfo::UpdatedSessionActionInfo(JsonView jsonValue) : + m_completedStatus(CompletedStatus::NOT_SET), + m_completedStatusHasBeenSet(false), + m_endedAtHasBeenSet(false), + m_processExitCode(0), + m_processExitCodeHasBeenSet(false), + m_progressMessageHasBeenSet(false), + m_progressPercent(0.0), + m_progressPercentHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_updatedAtHasBeenSet(false) +{ + *this = jsonValue; +} + +UpdatedSessionActionInfo& UpdatedSessionActionInfo::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("completedStatus")) + { + m_completedStatus = CompletedStatusMapper::GetCompletedStatusForName(jsonValue.GetString("completedStatus")); + + m_completedStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("endedAt")) + { + m_endedAt = jsonValue.GetString("endedAt"); + + m_endedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("processExitCode")) + { + m_processExitCode = jsonValue.GetInteger("processExitCode"); + + m_processExitCodeHasBeenSet = true; + } + + if(jsonValue.ValueExists("progressMessage")) + { + m_progressMessage = jsonValue.GetString("progressMessage"); + + m_progressMessageHasBeenSet = true; + } + + if(jsonValue.ValueExists("progressPercent")) + { + m_progressPercent = jsonValue.GetDouble("progressPercent"); + + m_progressPercentHasBeenSet = true; + } + + if(jsonValue.ValueExists("startedAt")) + { + m_startedAt = jsonValue.GetString("startedAt"); + + m_startedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + m_updatedAtHasBeenSet = true; + } + + return *this; +} + +JsonValue UpdatedSessionActionInfo::Jsonize() const +{ + JsonValue payload; + + if(m_completedStatusHasBeenSet) + { + payload.WithString("completedStatus", CompletedStatusMapper::GetNameForCompletedStatus(m_completedStatus)); + } + + if(m_endedAtHasBeenSet) + { + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_processExitCodeHasBeenSet) + { + payload.WithInteger("processExitCode", m_processExitCode); + + } + + if(m_progressMessageHasBeenSet) + { + payload.WithString("progressMessage", m_progressMessage); + + } + + if(m_progressPercentHasBeenSet) + { + payload.WithDouble("progressPercent", m_progressPercent); + + } + + if(m_startedAtHasBeenSet) + { + payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_updatedAtHasBeenSet) + { + payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdatedWorkerStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdatedWorkerStatus.cpp new file mode 100644 index 00000000000..f426839e2d0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdatedWorkerStatus.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace UpdatedWorkerStatusMapper + { + + static const int STARTED_HASH = HashingUtils::HashString("STARTED"); + static const int STOPPING_HASH = HashingUtils::HashString("STOPPING"); + static const int STOPPED_HASH = HashingUtils::HashString("STOPPED"); + + + UpdatedWorkerStatus GetUpdatedWorkerStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == STARTED_HASH) + { + return UpdatedWorkerStatus::STARTED; + } + else if (hashCode == STOPPING_HASH) + { + return UpdatedWorkerStatus::STOPPING; + } + else if (hashCode == STOPPED_HASH) + { + return UpdatedWorkerStatus::STOPPED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return UpdatedWorkerStatus::NOT_SET; + } + + Aws::String GetNameForUpdatedWorkerStatus(UpdatedWorkerStatus enumValue) + { + switch(enumValue) + { + case UpdatedWorkerStatus::NOT_SET: + return {}; + case UpdatedWorkerStatus::STARTED: + return "STARTED"; + case UpdatedWorkerStatus::STOPPING: + return "STOPPING"; + case UpdatedWorkerStatus::STOPPED: + return "STOPPED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace UpdatedWorkerStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UsageGroupByField.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UsageGroupByField.cpp new file mode 100644 index 00000000000..5f43735a04a --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UsageGroupByField.cpp @@ -0,0 +1,107 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace UsageGroupByFieldMapper + { + + static const int QUEUE_ID_HASH = HashingUtils::HashString("QUEUE_ID"); + static const int FLEET_ID_HASH = HashingUtils::HashString("FLEET_ID"); + static const int JOB_ID_HASH = HashingUtils::HashString("JOB_ID"); + static const int USER_ID_HASH = HashingUtils::HashString("USER_ID"); + static const int USAGE_TYPE_HASH = HashingUtils::HashString("USAGE_TYPE"); + static const int INSTANCE_TYPE_HASH = HashingUtils::HashString("INSTANCE_TYPE"); + static const int LICENSE_PRODUCT_HASH = HashingUtils::HashString("LICENSE_PRODUCT"); + + + UsageGroupByField GetUsageGroupByFieldForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == QUEUE_ID_HASH) + { + return UsageGroupByField::QUEUE_ID; + } + else if (hashCode == FLEET_ID_HASH) + { + return UsageGroupByField::FLEET_ID; + } + else if (hashCode == JOB_ID_HASH) + { + return UsageGroupByField::JOB_ID; + } + else if (hashCode == USER_ID_HASH) + { + return UsageGroupByField::USER_ID; + } + else if (hashCode == USAGE_TYPE_HASH) + { + return UsageGroupByField::USAGE_TYPE; + } + else if (hashCode == INSTANCE_TYPE_HASH) + { + return UsageGroupByField::INSTANCE_TYPE; + } + else if (hashCode == LICENSE_PRODUCT_HASH) + { + return UsageGroupByField::LICENSE_PRODUCT; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return UsageGroupByField::NOT_SET; + } + + Aws::String GetNameForUsageGroupByField(UsageGroupByField enumValue) + { + switch(enumValue) + { + case UsageGroupByField::NOT_SET: + return {}; + case UsageGroupByField::QUEUE_ID: + return "QUEUE_ID"; + case UsageGroupByField::FLEET_ID: + return "FLEET_ID"; + case UsageGroupByField::JOB_ID: + return "JOB_ID"; + case UsageGroupByField::USER_ID: + return "USER_ID"; + case UsageGroupByField::USAGE_TYPE: + return "USAGE_TYPE"; + case UsageGroupByField::INSTANCE_TYPE: + return "INSTANCE_TYPE"; + case UsageGroupByField::LICENSE_PRODUCT: + return "LICENSE_PRODUCT"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace UsageGroupByFieldMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UsageStatistic.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UsageStatistic.cpp new file mode 100644 index 00000000000..e26baf08ecc --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UsageStatistic.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace UsageStatisticMapper + { + + static const int SUM_HASH = HashingUtils::HashString("SUM"); + static const int MIN_HASH = HashingUtils::HashString("MIN"); + static const int MAX_HASH = HashingUtils::HashString("MAX"); + static const int AVG_HASH = HashingUtils::HashString("AVG"); + + + UsageStatistic GetUsageStatisticForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == SUM_HASH) + { + return UsageStatistic::SUM; + } + else if (hashCode == MIN_HASH) + { + return UsageStatistic::MIN; + } + else if (hashCode == MAX_HASH) + { + return UsageStatistic::MAX; + } + else if (hashCode == AVG_HASH) + { + return UsageStatistic::AVG; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return UsageStatistic::NOT_SET; + } + + Aws::String GetNameForUsageStatistic(UsageStatistic enumValue) + { + switch(enumValue) + { + case UsageStatistic::NOT_SET: + return {}; + case UsageStatistic::SUM: + return "SUM"; + case UsageStatistic::MIN: + return "MIN"; + case UsageStatistic::MAX: + return "MAX"; + case UsageStatistic::AVG: + return "AVG"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace UsageStatisticMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UsageTrackingResource.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UsageTrackingResource.cpp new file mode 100644 index 00000000000..bf00f181abb --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UsageTrackingResource.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +UsageTrackingResource::UsageTrackingResource() : + m_queueIdHasBeenSet(false) +{ +} + +UsageTrackingResource::UsageTrackingResource(JsonView jsonValue) : + m_queueIdHasBeenSet(false) +{ + *this = jsonValue; +} + +UsageTrackingResource& UsageTrackingResource::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("queueId")) + { + m_queueId = jsonValue.GetString("queueId"); + + m_queueIdHasBeenSet = true; + } + + return *this; +} + +JsonValue UsageTrackingResource::Jsonize() const +{ + JsonValue payload; + + if(m_queueIdHasBeenSet) + { + payload.WithString("queueId", m_queueId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UsageType.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UsageType.cpp new file mode 100644 index 00000000000..2c93fe52c39 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UsageType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace UsageTypeMapper + { + + static const int COMPUTE_HASH = HashingUtils::HashString("COMPUTE"); + static const int LICENSE_HASH = HashingUtils::HashString("LICENSE"); + + + UsageType GetUsageTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == COMPUTE_HASH) + { + return UsageType::COMPUTE; + } + else if (hashCode == LICENSE_HASH) + { + return UsageType::LICENSE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return UsageType::NOT_SET; + } + + Aws::String GetNameForUsageType(UsageType enumValue) + { + switch(enumValue) + { + case UsageType::NOT_SET: + return {}; + case UsageType::COMPUTE: + return "COMPUTE"; + case UsageType::LICENSE: + return "LICENSE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace UsageTypeMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UserJobsFirst.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UserJobsFirst.cpp new file mode 100644 index 00000000000..fad5b17ef49 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UserJobsFirst.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +UserJobsFirst::UserJobsFirst() : + m_userIdentityIdHasBeenSet(false) +{ +} + +UserJobsFirst::UserJobsFirst(JsonView jsonValue) : + m_userIdentityIdHasBeenSet(false) +{ + *this = jsonValue; +} + +UserJobsFirst& UserJobsFirst::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("userIdentityId")) + { + m_userIdentityId = jsonValue.GetString("userIdentityId"); + + m_userIdentityIdHasBeenSet = true; + } + + return *this; +} + +JsonValue UserJobsFirst::Jsonize() const +{ + JsonValue payload; + + if(m_userIdentityIdHasBeenSet) + { + payload.WithString("userIdentityId", m_userIdentityId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/VCpuCountRange.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/VCpuCountRange.cpp new file mode 100644 index 00000000000..537d8c3518c --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/VCpuCountRange.cpp @@ -0,0 +1,78 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +VCpuCountRange::VCpuCountRange() : + m_max(0), + m_maxHasBeenSet(false), + m_min(0), + m_minHasBeenSet(false) +{ +} + +VCpuCountRange::VCpuCountRange(JsonView jsonValue) : + m_max(0), + m_maxHasBeenSet(false), + m_min(0), + m_minHasBeenSet(false) +{ + *this = jsonValue; +} + +VCpuCountRange& VCpuCountRange::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("max")) + { + m_max = jsonValue.GetInteger("max"); + + m_maxHasBeenSet = true; + } + + if(jsonValue.ValueExists("min")) + { + m_min = jsonValue.GetInteger("min"); + + m_minHasBeenSet = true; + } + + return *this; +} + +JsonValue VCpuCountRange::Jsonize() const +{ + JsonValue payload; + + if(m_maxHasBeenSet) + { + payload.WithInteger("max", m_max); + + } + + if(m_minHasBeenSet) + { + payload.WithInteger("min", m_min); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ValidationException.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ValidationException.cpp new file mode 100644 index 00000000000..c277d5a025e --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ValidationException.cpp @@ -0,0 +1,121 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +ValidationException::ValidationException() : + m_contextHasBeenSet(false), + m_fieldListHasBeenSet(false), + m_messageHasBeenSet(false), + m_reason(ValidationExceptionReason::NOT_SET), + m_reasonHasBeenSet(false) +{ +} + +ValidationException::ValidationException(JsonView jsonValue) : + m_contextHasBeenSet(false), + m_fieldListHasBeenSet(false), + m_messageHasBeenSet(false), + m_reason(ValidationExceptionReason::NOT_SET), + m_reasonHasBeenSet(false) +{ + *this = jsonValue; +} + +ValidationException& ValidationException::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("context")) + { + Aws::Map contextJsonMap = jsonValue.GetObject("context").GetAllObjects(); + for(auto& contextItem : contextJsonMap) + { + m_context[contextItem.first] = contextItem.second.AsString(); + } + m_contextHasBeenSet = true; + } + + if(jsonValue.ValueExists("fieldList")) + { + Aws::Utils::Array fieldListJsonList = jsonValue.GetArray("fieldList"); + for(unsigned fieldListIndex = 0; fieldListIndex < fieldListJsonList.GetLength(); ++fieldListIndex) + { + m_fieldList.push_back(fieldListJsonList[fieldListIndex].AsObject()); + } + m_fieldListHasBeenSet = true; + } + + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("reason")) + { + m_reason = ValidationExceptionReasonMapper::GetValidationExceptionReasonForName(jsonValue.GetString("reason")); + + m_reasonHasBeenSet = true; + } + + return *this; +} + +JsonValue ValidationException::Jsonize() const +{ + JsonValue payload; + + if(m_contextHasBeenSet) + { + JsonValue contextJsonMap; + for(auto& contextItem : m_context) + { + contextJsonMap.WithString(contextItem.first, contextItem.second); + } + payload.WithObject("context", std::move(contextJsonMap)); + + } + + if(m_fieldListHasBeenSet) + { + Aws::Utils::Array fieldListJsonList(m_fieldList.size()); + for(unsigned fieldListIndex = 0; fieldListIndex < fieldListJsonList.GetLength(); ++fieldListIndex) + { + fieldListJsonList[fieldListIndex].AsObject(m_fieldList[fieldListIndex].Jsonize()); + } + payload.WithArray("fieldList", std::move(fieldListJsonList)); + + } + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + if(m_reasonHasBeenSet) + { + payload.WithString("reason", ValidationExceptionReasonMapper::GetNameForValidationExceptionReason(m_reason)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ValidationExceptionField.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ValidationExceptionField.cpp new file mode 100644 index 00000000000..48775e71357 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ValidationExceptionField.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +ValidationExceptionField::ValidationExceptionField() : + m_messageHasBeenSet(false), + m_nameHasBeenSet(false) +{ +} + +ValidationExceptionField::ValidationExceptionField(JsonView jsonValue) : + m_messageHasBeenSet(false), + m_nameHasBeenSet(false) +{ + *this = jsonValue; +} + +ValidationExceptionField& ValidationExceptionField::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + return *this; +} + +JsonValue ValidationExceptionField::Jsonize() const +{ + JsonValue payload; + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ValidationExceptionReason.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ValidationExceptionReason.cpp new file mode 100644 index 00000000000..c401c39ab9d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ValidationExceptionReason.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace ValidationExceptionReasonMapper + { + + static const int UNKNOWN_OPERATION_HASH = HashingUtils::HashString("UNKNOWN_OPERATION"); + static const int CANNOT_PARSE_HASH = HashingUtils::HashString("CANNOT_PARSE"); + static const int FIELD_VALIDATION_FAILED_HASH = HashingUtils::HashString("FIELD_VALIDATION_FAILED"); + static const int OTHER_HASH = HashingUtils::HashString("OTHER"); + + + ValidationExceptionReason GetValidationExceptionReasonForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == UNKNOWN_OPERATION_HASH) + { + return ValidationExceptionReason::UNKNOWN_OPERATION; + } + else if (hashCode == CANNOT_PARSE_HASH) + { + return ValidationExceptionReason::CANNOT_PARSE; + } + else if (hashCode == FIELD_VALIDATION_FAILED_HASH) + { + return ValidationExceptionReason::FIELD_VALIDATION_FAILED; + } + else if (hashCode == OTHER_HASH) + { + return ValidationExceptionReason::OTHER; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ValidationExceptionReason::NOT_SET; + } + + Aws::String GetNameForValidationExceptionReason(ValidationExceptionReason enumValue) + { + switch(enumValue) + { + case ValidationExceptionReason::NOT_SET: + return {}; + case ValidationExceptionReason::UNKNOWN_OPERATION: + return "UNKNOWN_OPERATION"; + case ValidationExceptionReason::CANNOT_PARSE: + return "CANNOT_PARSE"; + case ValidationExceptionReason::FIELD_VALIDATION_FAILED: + return "FIELD_VALIDATION_FAILED"; + case ValidationExceptionReason::OTHER: + return "OTHER"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ValidationExceptionReasonMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/WindowsUser.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/WindowsUser.cpp new file mode 100644 index 00000000000..10d58464f44 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/WindowsUser.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +WindowsUser::WindowsUser() : + m_passwordArnHasBeenSet(false), + m_userHasBeenSet(false) +{ +} + +WindowsUser::WindowsUser(JsonView jsonValue) : + m_passwordArnHasBeenSet(false), + m_userHasBeenSet(false) +{ + *this = jsonValue; +} + +WindowsUser& WindowsUser::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("passwordArn")) + { + m_passwordArn = jsonValue.GetString("passwordArn"); + + m_passwordArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("user")) + { + m_user = jsonValue.GetString("user"); + + m_userHasBeenSet = true; + } + + return *this; +} + +JsonValue WindowsUser::Jsonize() const +{ + JsonValue payload; + + if(m_passwordArnHasBeenSet) + { + payload.WithString("passwordArn", m_passwordArn); + + } + + if(m_userHasBeenSet) + { + payload.WithString("user", m_user); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/WorkerAmountCapability.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerAmountCapability.cpp new file mode 100644 index 00000000000..cf9fc400a4f --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerAmountCapability.cpp @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +WorkerAmountCapability::WorkerAmountCapability() : + m_nameHasBeenSet(false), + m_value(0.0), + m_valueHasBeenSet(false) +{ +} + +WorkerAmountCapability::WorkerAmountCapability(JsonView jsonValue) : + m_nameHasBeenSet(false), + m_value(0.0), + m_valueHasBeenSet(false) +{ + *this = jsonValue; +} + +WorkerAmountCapability& WorkerAmountCapability::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("value")) + { + m_value = jsonValue.GetDouble("value"); + + m_valueHasBeenSet = true; + } + + return *this; +} + +JsonValue WorkerAmountCapability::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_valueHasBeenSet) + { + payload.WithDouble("value", m_value); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/WorkerAttributeCapability.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerAttributeCapability.cpp new file mode 100644 index 00000000000..125089b0c8d --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerAttributeCapability.cpp @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +WorkerAttributeCapability::WorkerAttributeCapability() : + m_nameHasBeenSet(false), + m_valuesHasBeenSet(false) +{ +} + +WorkerAttributeCapability::WorkerAttributeCapability(JsonView jsonValue) : + m_nameHasBeenSet(false), + m_valuesHasBeenSet(false) +{ + *this = jsonValue; +} + +WorkerAttributeCapability& WorkerAttributeCapability::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("values")) + { + Aws::Utils::Array valuesJsonList = jsonValue.GetArray("values"); + for(unsigned valuesIndex = 0; valuesIndex < valuesJsonList.GetLength(); ++valuesIndex) + { + m_values.push_back(valuesJsonList[valuesIndex].AsString()); + } + m_valuesHasBeenSet = true; + } + + return *this; +} + +JsonValue WorkerAttributeCapability::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_valuesHasBeenSet) + { + Aws::Utils::Array valuesJsonList(m_values.size()); + for(unsigned valuesIndex = 0; valuesIndex < valuesJsonList.GetLength(); ++valuesIndex) + { + valuesJsonList[valuesIndex].AsString(m_values[valuesIndex]); + } + payload.WithArray("values", std::move(valuesJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/WorkerCapabilities.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerCapabilities.cpp new file mode 100644 index 00000000000..1f9ecee9b02 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerCapabilities.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +WorkerCapabilities::WorkerCapabilities() : + m_amountsHasBeenSet(false), + m_attributesHasBeenSet(false) +{ +} + +WorkerCapabilities::WorkerCapabilities(JsonView jsonValue) : + m_amountsHasBeenSet(false), + m_attributesHasBeenSet(false) +{ + *this = jsonValue; +} + +WorkerCapabilities& WorkerCapabilities::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("amounts")) + { + Aws::Utils::Array amountsJsonList = jsonValue.GetArray("amounts"); + for(unsigned amountsIndex = 0; amountsIndex < amountsJsonList.GetLength(); ++amountsIndex) + { + m_amounts.push_back(amountsJsonList[amountsIndex].AsObject()); + } + m_amountsHasBeenSet = true; + } + + if(jsonValue.ValueExists("attributes")) + { + Aws::Utils::Array attributesJsonList = jsonValue.GetArray("attributes"); + for(unsigned attributesIndex = 0; attributesIndex < attributesJsonList.GetLength(); ++attributesIndex) + { + m_attributes.push_back(attributesJsonList[attributesIndex].AsObject()); + } + m_attributesHasBeenSet = true; + } + + return *this; +} + +JsonValue WorkerCapabilities::Jsonize() const +{ + JsonValue payload; + + if(m_amountsHasBeenSet) + { + Aws::Utils::Array amountsJsonList(m_amounts.size()); + for(unsigned amountsIndex = 0; amountsIndex < amountsJsonList.GetLength(); ++amountsIndex) + { + amountsJsonList[amountsIndex].AsObject(m_amounts[amountsIndex].Jsonize()); + } + payload.WithArray("amounts", std::move(amountsJsonList)); + + } + + if(m_attributesHasBeenSet) + { + Aws::Utils::Array attributesJsonList(m_attributes.size()); + for(unsigned attributesIndex = 0; attributesIndex < attributesJsonList.GetLength(); ++attributesIndex) + { + attributesJsonList[attributesIndex].AsObject(m_attributes[attributesIndex].Jsonize()); + } + payload.WithArray("attributes", std::move(attributesJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSearchSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSearchSummary.cpp new file mode 100644 index 00000000000..de616c510ae --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSearchSummary.cpp @@ -0,0 +1,163 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +WorkerSearchSummary::WorkerSearchSummary() : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_hostPropertiesHasBeenSet(false), + m_status(WorkerStatus::NOT_SET), + m_statusHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false), + m_workerIdHasBeenSet(false) +{ +} + +WorkerSearchSummary::WorkerSearchSummary(JsonView jsonValue) : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_hostPropertiesHasBeenSet(false), + m_status(WorkerStatus::NOT_SET), + m_statusHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false), + m_workerIdHasBeenSet(false) +{ + *this = jsonValue; +} + +WorkerSearchSummary& WorkerSearchSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("fleetId")) + { + m_fleetId = jsonValue.GetString("fleetId"); + + m_fleetIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("hostProperties")) + { + m_hostProperties = jsonValue.GetObject("hostProperties"); + + m_hostPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = WorkerStatusMapper::GetWorkerStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + m_updatedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + m_updatedByHasBeenSet = true; + } + + if(jsonValue.ValueExists("workerId")) + { + m_workerId = jsonValue.GetString("workerId"); + + m_workerIdHasBeenSet = true; + } + + return *this; +} + +JsonValue WorkerSearchSummary::Jsonize() const +{ + JsonValue payload; + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + + if(m_fleetIdHasBeenSet) + { + payload.WithString("fleetId", m_fleetId); + + } + + if(m_hostPropertiesHasBeenSet) + { + payload.WithObject("hostProperties", m_hostProperties.Jsonize()); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", WorkerStatusMapper::GetNameForWorkerStatus(m_status)); + } + + if(m_updatedAtHasBeenSet) + { + payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_updatedByHasBeenSet) + { + payload.WithString("updatedBy", m_updatedBy); + + } + + if(m_workerIdHasBeenSet) + { + payload.WithString("workerId", m_workerId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSessionSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSessionSummary.cpp new file mode 100644 index 00000000000..99e99b64376 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSessionSummary.cpp @@ -0,0 +1,149 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +WorkerSessionSummary::WorkerSessionSummary() : + m_endedAtHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_lifecycleStatus(SessionLifecycleStatus::NOT_SET), + m_lifecycleStatusHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_sessionIdHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_targetLifecycleStatus(SessionLifecycleTargetStatus::NOT_SET), + m_targetLifecycleStatusHasBeenSet(false) +{ +} + +WorkerSessionSummary::WorkerSessionSummary(JsonView jsonValue) : + m_endedAtHasBeenSet(false), + m_jobIdHasBeenSet(false), + m_lifecycleStatus(SessionLifecycleStatus::NOT_SET), + m_lifecycleStatusHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_sessionIdHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_targetLifecycleStatus(SessionLifecycleTargetStatus::NOT_SET), + m_targetLifecycleStatusHasBeenSet(false) +{ + *this = jsonValue; +} + +WorkerSessionSummary& WorkerSessionSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("endedAt")) + { + m_endedAt = jsonValue.GetString("endedAt"); + + m_endedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobId")) + { + m_jobId = jsonValue.GetString("jobId"); + + m_jobIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("lifecycleStatus")) + { + m_lifecycleStatus = SessionLifecycleStatusMapper::GetSessionLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); + + m_lifecycleStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("queueId")) + { + m_queueId = jsonValue.GetString("queueId"); + + m_queueIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("sessionId")) + { + m_sessionId = jsonValue.GetString("sessionId"); + + m_sessionIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("startedAt")) + { + m_startedAt = jsonValue.GetString("startedAt"); + + m_startedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("targetLifecycleStatus")) + { + m_targetLifecycleStatus = SessionLifecycleTargetStatusMapper::GetSessionLifecycleTargetStatusForName(jsonValue.GetString("targetLifecycleStatus")); + + m_targetLifecycleStatusHasBeenSet = true; + } + + return *this; +} + +JsonValue WorkerSessionSummary::Jsonize() const +{ + JsonValue payload; + + if(m_endedAtHasBeenSet) + { + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_jobIdHasBeenSet) + { + payload.WithString("jobId", m_jobId); + + } + + if(m_lifecycleStatusHasBeenSet) + { + payload.WithString("lifecycleStatus", SessionLifecycleStatusMapper::GetNameForSessionLifecycleStatus(m_lifecycleStatus)); + } + + if(m_queueIdHasBeenSet) + { + payload.WithString("queueId", m_queueId); + + } + + if(m_sessionIdHasBeenSet) + { + payload.WithString("sessionId", m_sessionId); + + } + + if(m_startedAtHasBeenSet) + { + payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_targetLifecycleStatusHasBeenSet) + { + payload.WithString("targetLifecycleStatus", SessionLifecycleTargetStatusMapper::GetNameForSessionLifecycleTargetStatus(m_targetLifecycleStatus)); + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/WorkerStatus.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerStatus.cpp new file mode 100644 index 00000000000..09b9ccfca9b --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerStatus.cpp @@ -0,0 +1,114 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace deadline + { + namespace Model + { + namespace WorkerStatusMapper + { + + static const int CREATED_HASH = HashingUtils::HashString("CREATED"); + static const int STARTED_HASH = HashingUtils::HashString("STARTED"); + static const int STOPPING_HASH = HashingUtils::HashString("STOPPING"); + static const int STOPPED_HASH = HashingUtils::HashString("STOPPED"); + static const int NOT_RESPONDING_HASH = HashingUtils::HashString("NOT_RESPONDING"); + static const int NOT_COMPATIBLE_HASH = HashingUtils::HashString("NOT_COMPATIBLE"); + static const int RUNNING_HASH = HashingUtils::HashString("RUNNING"); + static const int IDLE_HASH = HashingUtils::HashString("IDLE"); + + + WorkerStatus GetWorkerStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == CREATED_HASH) + { + return WorkerStatus::CREATED; + } + else if (hashCode == STARTED_HASH) + { + return WorkerStatus::STARTED; + } + else if (hashCode == STOPPING_HASH) + { + return WorkerStatus::STOPPING; + } + else if (hashCode == STOPPED_HASH) + { + return WorkerStatus::STOPPED; + } + else if (hashCode == NOT_RESPONDING_HASH) + { + return WorkerStatus::NOT_RESPONDING; + } + else if (hashCode == NOT_COMPATIBLE_HASH) + { + return WorkerStatus::NOT_COMPATIBLE; + } + else if (hashCode == RUNNING_HASH) + { + return WorkerStatus::RUNNING; + } + else if (hashCode == IDLE_HASH) + { + return WorkerStatus::IDLE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return WorkerStatus::NOT_SET; + } + + Aws::String GetNameForWorkerStatus(WorkerStatus enumValue) + { + switch(enumValue) + { + case WorkerStatus::NOT_SET: + return {}; + case WorkerStatus::CREATED: + return "CREATED"; + case WorkerStatus::STARTED: + return "STARTED"; + case WorkerStatus::STOPPING: + return "STOPPING"; + case WorkerStatus::STOPPED: + return "STOPPED"; + case WorkerStatus::NOT_RESPONDING: + return "NOT_RESPONDING"; + case WorkerStatus::NOT_COMPATIBLE: + return "NOT_COMPATIBLE"; + case WorkerStatus::RUNNING: + return "RUNNING"; + case WorkerStatus::IDLE: + return "IDLE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace WorkerStatusMapper + } // namespace Model + } // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSummary.cpp new file mode 100644 index 00000000000..8580791eb15 --- /dev/null +++ b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSummary.cpp @@ -0,0 +1,193 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace deadline +{ +namespace Model +{ + +WorkerSummary::WorkerSummary() : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_hostPropertiesHasBeenSet(false), + m_logHasBeenSet(false), + m_status(WorkerStatus::NOT_SET), + m_statusHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false), + m_workerIdHasBeenSet(false) +{ +} + +WorkerSummary::WorkerSummary(JsonView jsonValue) : + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), + m_hostPropertiesHasBeenSet(false), + m_logHasBeenSet(false), + m_status(WorkerStatus::NOT_SET), + m_statusHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false), + m_workerIdHasBeenSet(false) +{ + *this = jsonValue; +} + +WorkerSummary& WorkerSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetString("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; + } + + if(jsonValue.ValueExists("farmId")) + { + m_farmId = jsonValue.GetString("farmId"); + + m_farmIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("fleetId")) + { + m_fleetId = jsonValue.GetString("fleetId"); + + m_fleetIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("hostProperties")) + { + m_hostProperties = jsonValue.GetObject("hostProperties"); + + m_hostPropertiesHasBeenSet = true; + } + + if(jsonValue.ValueExists("log")) + { + m_log = jsonValue.GetObject("log"); + + m_logHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = WorkerStatusMapper::GetWorkerStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedAt")) + { + m_updatedAt = jsonValue.GetString("updatedAt"); + + m_updatedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + m_updatedByHasBeenSet = true; + } + + if(jsonValue.ValueExists("workerId")) + { + m_workerId = jsonValue.GetString("workerId"); + + m_workerIdHasBeenSet = true; + } + + return *this; +} + +JsonValue WorkerSummary::Jsonize() const +{ + JsonValue payload; + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + + if(m_farmIdHasBeenSet) + { + payload.WithString("farmId", m_farmId); + + } + + if(m_fleetIdHasBeenSet) + { + payload.WithString("fleetId", m_fleetId); + + } + + if(m_hostPropertiesHasBeenSet) + { + payload.WithObject("hostProperties", m_hostProperties.Jsonize()); + + } + + if(m_logHasBeenSet) + { + payload.WithObject("log", m_log.Jsonize()); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", WorkerStatusMapper::GetNameForWorkerStatus(m_status)); + } + + if(m_updatedAtHasBeenSet) + { + payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_updatedByHasBeenSet) + { + payload.WithString("updatedBy", m_updatedBy); + + } + + if(m_workerIdHasBeenSet) + { + payload.WithString("workerId", m_workerId); + + } + + return payload; +} + +} // namespace Model +} // namespace deadline +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-elasticmapreduce/include/aws/elasticmapreduce/EMRClient.h b/generated/src/aws-cpp-sdk-elasticmapreduce/include/aws/elasticmapreduce/EMRClient.h index 6101ca3fbf3..f33827aa733 100644 --- a/generated/src/aws-cpp-sdk-elasticmapreduce/include/aws/elasticmapreduce/EMRClient.h +++ b/generated/src/aws-cpp-sdk-elasticmapreduce/include/aws/elasticmapreduce/EMRClient.h @@ -1464,7 +1464,7 @@ namespace EMR * on, Amazon EMR notifies YARN and other applications on the cluster to stop * scheduling tasks with these nodes, moves the data, and then terminates the * nodes.

For more information, see graceful + * href="https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-node-replacement.html">graceful * node replacement in the Amazon EMR Management Guide.

See * Also:

AWS diff --git a/generated/src/aws-cpp-sdk-elasticmapreduce/include/aws/elasticmapreduce/model/Cluster.h b/generated/src/aws-cpp-sdk-elasticmapreduce/include/aws/elasticmapreduce/model/Cluster.h index 9faf10a1c1b..6e038080d5c 100644 --- a/generated/src/aws-cpp-sdk-elasticmapreduce/include/aws/elasticmapreduce/model/Cluster.h +++ b/generated/src/aws-cpp-sdk-elasticmapreduce/include/aws/elasticmapreduce/model/Cluster.h @@ -90,42 +90,50 @@ namespace Model /** - *

The name of the cluster.

+ *

The name of the cluster. This parameter can't contain the characters <, + * >, $, |, or ` (backtick).

*/ inline const Aws::String& GetName() const{ return m_name; } /** - *

The name of the cluster.

+ *

The name of the cluster. This parameter can't contain the characters <, + * >, $, |, or ` (backtick).

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** - *

The name of the cluster.

+ *

The name of the cluster. This parameter can't contain the characters <, + * >, $, |, or ` (backtick).

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** - *

The name of the cluster.

+ *

The name of the cluster. This parameter can't contain the characters <, + * >, $, |, or ` (backtick).

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** - *

The name of the cluster.

+ *

The name of the cluster. This parameter can't contain the characters <, + * >, $, |, or ` (backtick).

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** - *

The name of the cluster.

+ *

The name of the cluster. This parameter can't contain the characters <, + * >, $, |, or ` (backtick).

*/ inline Cluster& WithName(const Aws::String& value) { SetName(value); return *this;} /** - *

The name of the cluster.

+ *

The name of the cluster. This parameter can't contain the characters <, + * >, $, |, or ` (backtick).

*/ inline Cluster& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** - *

The name of the cluster.

+ *

The name of the cluster. This parameter can't contain the characters <, + * >, $, |, or ` (backtick).

*/ inline Cluster& WithName(const char* value) { SetName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-elasticmapreduce/include/aws/elasticmapreduce/model/JobFlowInstancesConfig.h b/generated/src/aws-cpp-sdk-elasticmapreduce/include/aws/elasticmapreduce/model/JobFlowInstancesConfig.h index 9e798c02bd7..d76c224066d 100644 --- a/generated/src/aws-cpp-sdk-elasticmapreduce/include/aws/elasticmapreduce/model/JobFlowInstancesConfig.h +++ b/generated/src/aws-cpp-sdk-elasticmapreduce/include/aws/elasticmapreduce/model/JobFlowInstancesConfig.h @@ -337,7 +337,7 @@ namespace Model /** *

Specifies whether the cluster should remain available after completing all - * steps. Defaults to true. For more information about configuring + * steps. Defaults to false. For more information about configuring * cluster termination, see Control * Cluster Termination in the EMR Management Guide.

@@ -346,7 +346,7 @@ namespace Model /** *

Specifies whether the cluster should remain available after completing all - * steps. Defaults to true. For more information about configuring + * steps. Defaults to false. For more information about configuring * cluster termination, see Control * Cluster Termination in the EMR Management Guide.

@@ -355,7 +355,7 @@ namespace Model /** *

Specifies whether the cluster should remain available after completing all - * steps. Defaults to true. For more information about configuring + * steps. Defaults to false. For more information about configuring * cluster termination, see Control * Cluster Termination in the EMR Management Guide.

@@ -364,7 +364,7 @@ namespace Model /** *

Specifies whether the cluster should remain available after completing all - * steps. Defaults to true. For more information about configuring + * steps. Defaults to false. For more information about configuring * cluster termination, see Control * Cluster Termination in the EMR Management Guide.

diff --git a/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/CreateDistributionRequest.h b/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/CreateDistributionRequest.h index c8819805777..96ee2744ab6 100644 --- a/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/CreateDistributionRequest.h +++ b/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/CreateDistributionRequest.h @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -414,6 +415,102 @@ namespace Model */ inline CreateDistributionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } + + /** + *

The name of the SSL/TLS certificate that you want to attach to the + * distribution.

Use the GetCertificates + * action to get a list of certificate names that you can specify.

+ */ + inline const Aws::String& GetCertificateName() const{ return m_certificateName; } + + /** + *

The name of the SSL/TLS certificate that you want to attach to the + * distribution.

Use the GetCertificates + * action to get a list of certificate names that you can specify.

+ */ + inline bool CertificateNameHasBeenSet() const { return m_certificateNameHasBeenSet; } + + /** + *

The name of the SSL/TLS certificate that you want to attach to the + * distribution.

Use the GetCertificates + * action to get a list of certificate names that you can specify.

+ */ + inline void SetCertificateName(const Aws::String& value) { m_certificateNameHasBeenSet = true; m_certificateName = value; } + + /** + *

The name of the SSL/TLS certificate that you want to attach to the + * distribution.

Use the GetCertificates + * action to get a list of certificate names that you can specify.

+ */ + inline void SetCertificateName(Aws::String&& value) { m_certificateNameHasBeenSet = true; m_certificateName = std::move(value); } + + /** + *

The name of the SSL/TLS certificate that you want to attach to the + * distribution.

Use the GetCertificates + * action to get a list of certificate names that you can specify.

+ */ + inline void SetCertificateName(const char* value) { m_certificateNameHasBeenSet = true; m_certificateName.assign(value); } + + /** + *

The name of the SSL/TLS certificate that you want to attach to the + * distribution.

Use the GetCertificates + * action to get a list of certificate names that you can specify.

+ */ + inline CreateDistributionRequest& WithCertificateName(const Aws::String& value) { SetCertificateName(value); return *this;} + + /** + *

The name of the SSL/TLS certificate that you want to attach to the + * distribution.

Use the GetCertificates + * action to get a list of certificate names that you can specify.

+ */ + inline CreateDistributionRequest& WithCertificateName(Aws::String&& value) { SetCertificateName(std::move(value)); return *this;} + + /** + *

The name of the SSL/TLS certificate that you want to attach to the + * distribution.

Use the GetCertificates + * action to get a list of certificate names that you can specify.

+ */ + inline CreateDistributionRequest& WithCertificateName(const char* value) { SetCertificateName(value); return *this;} + + + /** + *

The minimum TLS protocol version for the SSL/TLS certificate.

+ */ + inline const ViewerMinimumTlsProtocolVersionEnum& GetViewerMinimumTlsProtocolVersion() const{ return m_viewerMinimumTlsProtocolVersion; } + + /** + *

The minimum TLS protocol version for the SSL/TLS certificate.

+ */ + inline bool ViewerMinimumTlsProtocolVersionHasBeenSet() const { return m_viewerMinimumTlsProtocolVersionHasBeenSet; } + + /** + *

The minimum TLS protocol version for the SSL/TLS certificate.

+ */ + inline void SetViewerMinimumTlsProtocolVersion(const ViewerMinimumTlsProtocolVersionEnum& value) { m_viewerMinimumTlsProtocolVersionHasBeenSet = true; m_viewerMinimumTlsProtocolVersion = value; } + + /** + *

The minimum TLS protocol version for the SSL/TLS certificate.

+ */ + inline void SetViewerMinimumTlsProtocolVersion(ViewerMinimumTlsProtocolVersionEnum&& value) { m_viewerMinimumTlsProtocolVersionHasBeenSet = true; m_viewerMinimumTlsProtocolVersion = std::move(value); } + + /** + *

The minimum TLS protocol version for the SSL/TLS certificate.

+ */ + inline CreateDistributionRequest& WithViewerMinimumTlsProtocolVersion(const ViewerMinimumTlsProtocolVersionEnum& value) { SetViewerMinimumTlsProtocolVersion(value); return *this;} + + /** + *

The minimum TLS protocol version for the SSL/TLS certificate.

+ */ + inline CreateDistributionRequest& WithViewerMinimumTlsProtocolVersion(ViewerMinimumTlsProtocolVersionEnum&& value) { SetViewerMinimumTlsProtocolVersion(std::move(value)); return *this;} + private: Aws::String m_distributionName; @@ -439,6 +536,12 @@ namespace Model Aws::Vector m_tags; bool m_tagsHasBeenSet = false; + + Aws::String m_certificateName; + bool m_certificateNameHasBeenSet = false; + + ViewerMinimumTlsProtocolVersionEnum m_viewerMinimumTlsProtocolVersion; + bool m_viewerMinimumTlsProtocolVersionHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/InputOrigin.h b/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/InputOrigin.h index f5a3f1eb728..4c6c7cea502 100644 --- a/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/InputOrigin.h +++ b/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/InputOrigin.h @@ -151,6 +151,39 @@ namespace Model */ inline InputOrigin& WithProtocolPolicy(OriginProtocolPolicyEnum&& value) { SetProtocolPolicy(std::move(value)); return *this;} + + /** + *

The amount of time, in seconds, that the distribution waits for a response + * after forwarding a request to the origin. The minimum timeout is 1 second, the + * maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 + * seconds.

+ */ + inline int GetResponseTimeout() const{ return m_responseTimeout; } + + /** + *

The amount of time, in seconds, that the distribution waits for a response + * after forwarding a request to the origin. The minimum timeout is 1 second, the + * maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 + * seconds.

+ */ + inline bool ResponseTimeoutHasBeenSet() const { return m_responseTimeoutHasBeenSet; } + + /** + *

The amount of time, in seconds, that the distribution waits for a response + * after forwarding a request to the origin. The minimum timeout is 1 second, the + * maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 + * seconds.

+ */ + inline void SetResponseTimeout(int value) { m_responseTimeoutHasBeenSet = true; m_responseTimeout = value; } + + /** + *

The amount of time, in seconds, that the distribution waits for a response + * after forwarding a request to the origin. The minimum timeout is 1 second, the + * maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 + * seconds.

+ */ + inline InputOrigin& WithResponseTimeout(int value) { SetResponseTimeout(value); return *this;} + private: Aws::String m_name; @@ -161,6 +194,9 @@ namespace Model OriginProtocolPolicyEnum m_protocolPolicy; bool m_protocolPolicyHasBeenSet = false; + + int m_responseTimeout; + bool m_responseTimeoutHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/LightsailDistribution.h b/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/LightsailDistribution.h index 9553c9e9981..32c39ff7883 100644 --- a/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/LightsailDistribution.h +++ b/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/LightsailDistribution.h @@ -870,6 +870,55 @@ namespace Model */ inline LightsailDistribution& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } + + /** + *

The minimum TLS protocol version that the distribution can use to communicate + * with viewers.

+ */ + inline const Aws::String& GetViewerMinimumTlsProtocolVersion() const{ return m_viewerMinimumTlsProtocolVersion; } + + /** + *

The minimum TLS protocol version that the distribution can use to communicate + * with viewers.

+ */ + inline bool ViewerMinimumTlsProtocolVersionHasBeenSet() const { return m_viewerMinimumTlsProtocolVersionHasBeenSet; } + + /** + *

The minimum TLS protocol version that the distribution can use to communicate + * with viewers.

+ */ + inline void SetViewerMinimumTlsProtocolVersion(const Aws::String& value) { m_viewerMinimumTlsProtocolVersionHasBeenSet = true; m_viewerMinimumTlsProtocolVersion = value; } + + /** + *

The minimum TLS protocol version that the distribution can use to communicate + * with viewers.

+ */ + inline void SetViewerMinimumTlsProtocolVersion(Aws::String&& value) { m_viewerMinimumTlsProtocolVersionHasBeenSet = true; m_viewerMinimumTlsProtocolVersion = std::move(value); } + + /** + *

The minimum TLS protocol version that the distribution can use to communicate + * with viewers.

+ */ + inline void SetViewerMinimumTlsProtocolVersion(const char* value) { m_viewerMinimumTlsProtocolVersionHasBeenSet = true; m_viewerMinimumTlsProtocolVersion.assign(value); } + + /** + *

The minimum TLS protocol version that the distribution can use to communicate + * with viewers.

+ */ + inline LightsailDistribution& WithViewerMinimumTlsProtocolVersion(const Aws::String& value) { SetViewerMinimumTlsProtocolVersion(value); return *this;} + + /** + *

The minimum TLS protocol version that the distribution can use to communicate + * with viewers.

+ */ + inline LightsailDistribution& WithViewerMinimumTlsProtocolVersion(Aws::String&& value) { SetViewerMinimumTlsProtocolVersion(std::move(value)); return *this;} + + /** + *

The minimum TLS protocol version that the distribution can use to communicate + * with viewers.

+ */ + inline LightsailDistribution& WithViewerMinimumTlsProtocolVersion(const char* value) { SetViewerMinimumTlsProtocolVersion(value); return *this;} + private: Aws::String m_name; @@ -931,6 +980,9 @@ namespace Model Aws::Vector m_tags; bool m_tagsHasBeenSet = false; + + Aws::String m_viewerMinimumTlsProtocolVersion; + bool m_viewerMinimumTlsProtocolVersionHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/Origin.h b/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/Origin.h index ebd166223ba..bd2e442c702 100644 --- a/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/Origin.h +++ b/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/Origin.h @@ -183,6 +183,39 @@ namespace Model */ inline Origin& WithProtocolPolicy(OriginProtocolPolicyEnum&& value) { SetProtocolPolicy(std::move(value)); return *this;} + + /** + *

The amount of time, in seconds, that the distribution waits for a response + * after forwarding a request to the origin. The minimum timeout is 1 second, the + * maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 + * seconds.

+ */ + inline int GetResponseTimeout() const{ return m_responseTimeout; } + + /** + *

The amount of time, in seconds, that the distribution waits for a response + * after forwarding a request to the origin. The minimum timeout is 1 second, the + * maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 + * seconds.

+ */ + inline bool ResponseTimeoutHasBeenSet() const { return m_responseTimeoutHasBeenSet; } + + /** + *

The amount of time, in seconds, that the distribution waits for a response + * after forwarding a request to the origin. The minimum timeout is 1 second, the + * maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 + * seconds.

+ */ + inline void SetResponseTimeout(int value) { m_responseTimeoutHasBeenSet = true; m_responseTimeout = value; } + + /** + *

The amount of time, in seconds, that the distribution waits for a response + * after forwarding a request to the origin. The minimum timeout is 1 second, the + * maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 + * seconds.

+ */ + inline Origin& WithResponseTimeout(int value) { SetResponseTimeout(value); return *this;} + private: Aws::String m_name; @@ -196,6 +229,9 @@ namespace Model OriginProtocolPolicyEnum m_protocolPolicy; bool m_protocolPolicyHasBeenSet = false; + + int m_responseTimeout; + bool m_responseTimeoutHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/UpdateDistributionRequest.h b/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/UpdateDistributionRequest.h index 6f00904118d..094bfc7dae4 100644 --- a/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/UpdateDistributionRequest.h +++ b/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/UpdateDistributionRequest.h @@ -11,6 +11,7 @@ #include #include #include +#include #include #include @@ -288,6 +289,153 @@ namespace Model */ inline UpdateDistributionRequest& WithIsEnabled(bool value) { SetIsEnabled(value); return *this;} + + /** + *

Use this parameter to update the minimum TLS protocol version for the SSL/TLS + * certificate that's attached to the distribution.

+ */ + inline const ViewerMinimumTlsProtocolVersionEnum& GetViewerMinimumTlsProtocolVersion() const{ return m_viewerMinimumTlsProtocolVersion; } + + /** + *

Use this parameter to update the minimum TLS protocol version for the SSL/TLS + * certificate that's attached to the distribution.

+ */ + inline bool ViewerMinimumTlsProtocolVersionHasBeenSet() const { return m_viewerMinimumTlsProtocolVersionHasBeenSet; } + + /** + *

Use this parameter to update the minimum TLS protocol version for the SSL/TLS + * certificate that's attached to the distribution.

+ */ + inline void SetViewerMinimumTlsProtocolVersion(const ViewerMinimumTlsProtocolVersionEnum& value) { m_viewerMinimumTlsProtocolVersionHasBeenSet = true; m_viewerMinimumTlsProtocolVersion = value; } + + /** + *

Use this parameter to update the minimum TLS protocol version for the SSL/TLS + * certificate that's attached to the distribution.

+ */ + inline void SetViewerMinimumTlsProtocolVersion(ViewerMinimumTlsProtocolVersionEnum&& value) { m_viewerMinimumTlsProtocolVersionHasBeenSet = true; m_viewerMinimumTlsProtocolVersion = std::move(value); } + + /** + *

Use this parameter to update the minimum TLS protocol version for the SSL/TLS + * certificate that's attached to the distribution.

+ */ + inline UpdateDistributionRequest& WithViewerMinimumTlsProtocolVersion(const ViewerMinimumTlsProtocolVersionEnum& value) { SetViewerMinimumTlsProtocolVersion(value); return *this;} + + /** + *

Use this parameter to update the minimum TLS protocol version for the SSL/TLS + * certificate that's attached to the distribution.

+ */ + inline UpdateDistributionRequest& WithViewerMinimumTlsProtocolVersion(ViewerMinimumTlsProtocolVersionEnum&& value) { SetViewerMinimumTlsProtocolVersion(std::move(value)); return *this;} + + + /** + *

The name of the SSL/TLS certificate that you want to attach to the + * distribution.

Only certificates with a status of ISSUED can + * be attached to a distribution.

Use the GetCertificates + * action to get a list of certificate names that you can specify.

+ */ + inline const Aws::String& GetCertificateName() const{ return m_certificateName; } + + /** + *

The name of the SSL/TLS certificate that you want to attach to the + * distribution.

Only certificates with a status of ISSUED can + * be attached to a distribution.

Use the GetCertificates + * action to get a list of certificate names that you can specify.

+ */ + inline bool CertificateNameHasBeenSet() const { return m_certificateNameHasBeenSet; } + + /** + *

The name of the SSL/TLS certificate that you want to attach to the + * distribution.

Only certificates with a status of ISSUED can + * be attached to a distribution.

Use the GetCertificates + * action to get a list of certificate names that you can specify.

+ */ + inline void SetCertificateName(const Aws::String& value) { m_certificateNameHasBeenSet = true; m_certificateName = value; } + + /** + *

The name of the SSL/TLS certificate that you want to attach to the + * distribution.

Only certificates with a status of ISSUED can + * be attached to a distribution.

Use the GetCertificates + * action to get a list of certificate names that you can specify.

+ */ + inline void SetCertificateName(Aws::String&& value) { m_certificateNameHasBeenSet = true; m_certificateName = std::move(value); } + + /** + *

The name of the SSL/TLS certificate that you want to attach to the + * distribution.

Only certificates with a status of ISSUED can + * be attached to a distribution.

Use the GetCertificates + * action to get a list of certificate names that you can specify.

+ */ + inline void SetCertificateName(const char* value) { m_certificateNameHasBeenSet = true; m_certificateName.assign(value); } + + /** + *

The name of the SSL/TLS certificate that you want to attach to the + * distribution.

Only certificates with a status of ISSUED can + * be attached to a distribution.

Use the GetCertificates + * action to get a list of certificate names that you can specify.

+ */ + inline UpdateDistributionRequest& WithCertificateName(const Aws::String& value) { SetCertificateName(value); return *this;} + + /** + *

The name of the SSL/TLS certificate that you want to attach to the + * distribution.

Only certificates with a status of ISSUED can + * be attached to a distribution.

Use the GetCertificates + * action to get a list of certificate names that you can specify.

+ */ + inline UpdateDistributionRequest& WithCertificateName(Aws::String&& value) { SetCertificateName(std::move(value)); return *this;} + + /** + *

The name of the SSL/TLS certificate that you want to attach to the + * distribution.

Only certificates with a status of ISSUED can + * be attached to a distribution.

Use the GetCertificates + * action to get a list of certificate names that you can specify.

+ */ + inline UpdateDistributionRequest& WithCertificateName(const char* value) { SetCertificateName(value); return *this;} + + + /** + *

Indicates whether the default SSL/TLS certificate is attached to the + * distribution. The default value is true. When true, + * the distribution uses the default domain name such as + * d111111abcdef8.cloudfront.net.

Set this value to + * false to attach a new certificate to the distribution.

+ */ + inline bool GetUseDefaultCertificate() const{ return m_useDefaultCertificate; } + + /** + *

Indicates whether the default SSL/TLS certificate is attached to the + * distribution. The default value is true. When true, + * the distribution uses the default domain name such as + * d111111abcdef8.cloudfront.net.

Set this value to + * false to attach a new certificate to the distribution.

+ */ + inline bool UseDefaultCertificateHasBeenSet() const { return m_useDefaultCertificateHasBeenSet; } + + /** + *

Indicates whether the default SSL/TLS certificate is attached to the + * distribution. The default value is true. When true, + * the distribution uses the default domain name such as + * d111111abcdef8.cloudfront.net.

Set this value to + * false to attach a new certificate to the distribution.

+ */ + inline void SetUseDefaultCertificate(bool value) { m_useDefaultCertificateHasBeenSet = true; m_useDefaultCertificate = value; } + + /** + *

Indicates whether the default SSL/TLS certificate is attached to the + * distribution. The default value is true. When true, + * the distribution uses the default domain name such as + * d111111abcdef8.cloudfront.net.

Set this value to + * false to attach a new certificate to the distribution.

+ */ + inline UpdateDistributionRequest& WithUseDefaultCertificate(bool value) { SetUseDefaultCertificate(value); return *this;} + private: Aws::String m_distributionName; @@ -307,6 +455,15 @@ namespace Model bool m_isEnabled; bool m_isEnabledHasBeenSet = false; + + ViewerMinimumTlsProtocolVersionEnum m_viewerMinimumTlsProtocolVersion; + bool m_viewerMinimumTlsProtocolVersionHasBeenSet = false; + + Aws::String m_certificateName; + bool m_certificateNameHasBeenSet = false; + + bool m_useDefaultCertificate; + bool m_useDefaultCertificateHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/ViewerMinimumTlsProtocolVersionEnum.h b/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/ViewerMinimumTlsProtocolVersionEnum.h new file mode 100644 index 00000000000..afc29254e6f --- /dev/null +++ b/generated/src/aws-cpp-sdk-lightsail/include/aws/lightsail/model/ViewerMinimumTlsProtocolVersionEnum.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Lightsail +{ +namespace Model +{ + enum class ViewerMinimumTlsProtocolVersionEnum + { + NOT_SET, + TLSv1_1_2016, + TLSv1_2_2018, + TLSv1_2_2019, + TLSv1_2_2021 + }; + +namespace ViewerMinimumTlsProtocolVersionEnumMapper +{ +AWS_LIGHTSAIL_API ViewerMinimumTlsProtocolVersionEnum GetViewerMinimumTlsProtocolVersionEnumForName(const Aws::String& name); + +AWS_LIGHTSAIL_API Aws::String GetNameForViewerMinimumTlsProtocolVersionEnum(ViewerMinimumTlsProtocolVersionEnum value); +} // namespace ViewerMinimumTlsProtocolVersionEnumMapper +} // namespace Model +} // namespace Lightsail +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lightsail/source/model/CreateDistributionRequest.cpp b/generated/src/aws-cpp-sdk-lightsail/source/model/CreateDistributionRequest.cpp index c61d4587874..c44a26b6d3a 100644 --- a/generated/src/aws-cpp-sdk-lightsail/source/model/CreateDistributionRequest.cpp +++ b/generated/src/aws-cpp-sdk-lightsail/source/model/CreateDistributionRequest.cpp @@ -21,7 +21,10 @@ CreateDistributionRequest::CreateDistributionRequest() : m_bundleIdHasBeenSet(false), m_ipAddressType(IpAddressType::NOT_SET), m_ipAddressTypeHasBeenSet(false), - m_tagsHasBeenSet(false) + m_tagsHasBeenSet(false), + m_certificateNameHasBeenSet(false), + m_viewerMinimumTlsProtocolVersion(ViewerMinimumTlsProtocolVersionEnum::NOT_SET), + m_viewerMinimumTlsProtocolVersionHasBeenSet(false) { } @@ -86,6 +89,17 @@ Aws::String CreateDistributionRequest::SerializePayload() const } + if(m_certificateNameHasBeenSet) + { + payload.WithString("certificateName", m_certificateName); + + } + + if(m_viewerMinimumTlsProtocolVersionHasBeenSet) + { + payload.WithString("viewerMinimumTlsProtocolVersion", ViewerMinimumTlsProtocolVersionEnumMapper::GetNameForViewerMinimumTlsProtocolVersionEnum(m_viewerMinimumTlsProtocolVersion)); + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-lightsail/source/model/InputOrigin.cpp b/generated/src/aws-cpp-sdk-lightsail/source/model/InputOrigin.cpp index a6de3b1f7ec..d60f0971d8a 100644 --- a/generated/src/aws-cpp-sdk-lightsail/source/model/InputOrigin.cpp +++ b/generated/src/aws-cpp-sdk-lightsail/source/model/InputOrigin.cpp @@ -23,7 +23,9 @@ InputOrigin::InputOrigin() : m_regionName(RegionName::NOT_SET), m_regionNameHasBeenSet(false), m_protocolPolicy(OriginProtocolPolicyEnum::NOT_SET), - m_protocolPolicyHasBeenSet(false) + m_protocolPolicyHasBeenSet(false), + m_responseTimeout(0), + m_responseTimeoutHasBeenSet(false) { } @@ -32,7 +34,9 @@ InputOrigin::InputOrigin(JsonView jsonValue) : m_regionName(RegionName::NOT_SET), m_regionNameHasBeenSet(false), m_protocolPolicy(OriginProtocolPolicyEnum::NOT_SET), - m_protocolPolicyHasBeenSet(false) + m_protocolPolicyHasBeenSet(false), + m_responseTimeout(0), + m_responseTimeoutHasBeenSet(false) { *this = jsonValue; } @@ -60,6 +64,13 @@ InputOrigin& InputOrigin::operator =(JsonView jsonValue) m_protocolPolicyHasBeenSet = true; } + if(jsonValue.ValueExists("responseTimeout")) + { + m_responseTimeout = jsonValue.GetInteger("responseTimeout"); + + m_responseTimeoutHasBeenSet = true; + } + return *this; } @@ -83,6 +94,12 @@ JsonValue InputOrigin::Jsonize() const payload.WithString("protocolPolicy", OriginProtocolPolicyEnumMapper::GetNameForOriginProtocolPolicyEnum(m_protocolPolicy)); } + if(m_responseTimeoutHasBeenSet) + { + payload.WithInteger("responseTimeout", m_responseTimeout); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-lightsail/source/model/LightsailDistribution.cpp b/generated/src/aws-cpp-sdk-lightsail/source/model/LightsailDistribution.cpp index 1a1ad4d396b..b47e1eca1b0 100644 --- a/generated/src/aws-cpp-sdk-lightsail/source/model/LightsailDistribution.cpp +++ b/generated/src/aws-cpp-sdk-lightsail/source/model/LightsailDistribution.cpp @@ -42,7 +42,8 @@ LightsailDistribution::LightsailDistribution() : m_ableToUpdateBundleHasBeenSet(false), m_ipAddressType(IpAddressType::NOT_SET), m_ipAddressTypeHasBeenSet(false), - m_tagsHasBeenSet(false) + m_tagsHasBeenSet(false), + m_viewerMinimumTlsProtocolVersionHasBeenSet(false) { } @@ -70,7 +71,8 @@ LightsailDistribution::LightsailDistribution(JsonView jsonValue) : m_ableToUpdateBundleHasBeenSet(false), m_ipAddressType(IpAddressType::NOT_SET), m_ipAddressTypeHasBeenSet(false), - m_tagsHasBeenSet(false) + m_tagsHasBeenSet(false), + m_viewerMinimumTlsProtocolVersionHasBeenSet(false) { *this = jsonValue; } @@ -226,6 +228,13 @@ LightsailDistribution& LightsailDistribution::operator =(JsonView jsonValue) m_tagsHasBeenSet = true; } + if(jsonValue.ValueExists("viewerMinimumTlsProtocolVersion")) + { + m_viewerMinimumTlsProtocolVersion = jsonValue.GetString("viewerMinimumTlsProtocolVersion"); + + m_viewerMinimumTlsProtocolVersionHasBeenSet = true; + } + return *this; } @@ -365,6 +374,12 @@ JsonValue LightsailDistribution::Jsonize() const } + if(m_viewerMinimumTlsProtocolVersionHasBeenSet) + { + payload.WithString("viewerMinimumTlsProtocolVersion", m_viewerMinimumTlsProtocolVersion); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-lightsail/source/model/Origin.cpp b/generated/src/aws-cpp-sdk-lightsail/source/model/Origin.cpp index 0aa78659211..2870b607b6e 100644 --- a/generated/src/aws-cpp-sdk-lightsail/source/model/Origin.cpp +++ b/generated/src/aws-cpp-sdk-lightsail/source/model/Origin.cpp @@ -25,7 +25,9 @@ Origin::Origin() : m_regionName(RegionName::NOT_SET), m_regionNameHasBeenSet(false), m_protocolPolicy(OriginProtocolPolicyEnum::NOT_SET), - m_protocolPolicyHasBeenSet(false) + m_protocolPolicyHasBeenSet(false), + m_responseTimeout(0), + m_responseTimeoutHasBeenSet(false) { } @@ -36,7 +38,9 @@ Origin::Origin(JsonView jsonValue) : m_regionName(RegionName::NOT_SET), m_regionNameHasBeenSet(false), m_protocolPolicy(OriginProtocolPolicyEnum::NOT_SET), - m_protocolPolicyHasBeenSet(false) + m_protocolPolicyHasBeenSet(false), + m_responseTimeout(0), + m_responseTimeoutHasBeenSet(false) { *this = jsonValue; } @@ -71,6 +75,13 @@ Origin& Origin::operator =(JsonView jsonValue) m_protocolPolicyHasBeenSet = true; } + if(jsonValue.ValueExists("responseTimeout")) + { + m_responseTimeout = jsonValue.GetInteger("responseTimeout"); + + m_responseTimeoutHasBeenSet = true; + } + return *this; } @@ -99,6 +110,12 @@ JsonValue Origin::Jsonize() const payload.WithString("protocolPolicy", OriginProtocolPolicyEnumMapper::GetNameForOriginProtocolPolicyEnum(m_protocolPolicy)); } + if(m_responseTimeoutHasBeenSet) + { + payload.WithInteger("responseTimeout", m_responseTimeout); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-lightsail/source/model/UpdateDistributionRequest.cpp b/generated/src/aws-cpp-sdk-lightsail/source/model/UpdateDistributionRequest.cpp index 4f9e63e4100..05c96733c93 100644 --- a/generated/src/aws-cpp-sdk-lightsail/source/model/UpdateDistributionRequest.cpp +++ b/generated/src/aws-cpp-sdk-lightsail/source/model/UpdateDistributionRequest.cpp @@ -19,7 +19,12 @@ UpdateDistributionRequest::UpdateDistributionRequest() : m_cacheBehaviorSettingsHasBeenSet(false), m_cacheBehaviorsHasBeenSet(false), m_isEnabled(false), - m_isEnabledHasBeenSet(false) + m_isEnabledHasBeenSet(false), + m_viewerMinimumTlsProtocolVersion(ViewerMinimumTlsProtocolVersionEnum::NOT_SET), + m_viewerMinimumTlsProtocolVersionHasBeenSet(false), + m_certificateNameHasBeenSet(false), + m_useDefaultCertificate(false), + m_useDefaultCertificateHasBeenSet(false) { } @@ -68,6 +73,23 @@ Aws::String UpdateDistributionRequest::SerializePayload() const } + if(m_viewerMinimumTlsProtocolVersionHasBeenSet) + { + payload.WithString("viewerMinimumTlsProtocolVersion", ViewerMinimumTlsProtocolVersionEnumMapper::GetNameForViewerMinimumTlsProtocolVersionEnum(m_viewerMinimumTlsProtocolVersion)); + } + + if(m_certificateNameHasBeenSet) + { + payload.WithString("certificateName", m_certificateName); + + } + + if(m_useDefaultCertificateHasBeenSet) + { + payload.WithBool("useDefaultCertificate", m_useDefaultCertificate); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-lightsail/source/model/ViewerMinimumTlsProtocolVersionEnum.cpp b/generated/src/aws-cpp-sdk-lightsail/source/model/ViewerMinimumTlsProtocolVersionEnum.cpp new file mode 100644 index 00000000000..7543e8e3294 --- /dev/null +++ b/generated/src/aws-cpp-sdk-lightsail/source/model/ViewerMinimumTlsProtocolVersionEnum.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Lightsail + { + namespace Model + { + namespace ViewerMinimumTlsProtocolVersionEnumMapper + { + + static const int TLSv1_1_2016_HASH = HashingUtils::HashString("TLSv1.1_2016"); + static const int TLSv1_2_2018_HASH = HashingUtils::HashString("TLSv1.2_2018"); + static const int TLSv1_2_2019_HASH = HashingUtils::HashString("TLSv1.2_2019"); + static const int TLSv1_2_2021_HASH = HashingUtils::HashString("TLSv1.2_2021"); + + + ViewerMinimumTlsProtocolVersionEnum GetViewerMinimumTlsProtocolVersionEnumForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == TLSv1_1_2016_HASH) + { + return ViewerMinimumTlsProtocolVersionEnum::TLSv1_1_2016; + } + else if (hashCode == TLSv1_2_2018_HASH) + { + return ViewerMinimumTlsProtocolVersionEnum::TLSv1_2_2018; + } + else if (hashCode == TLSv1_2_2019_HASH) + { + return ViewerMinimumTlsProtocolVersionEnum::TLSv1_2_2019; + } + else if (hashCode == TLSv1_2_2021_HASH) + { + return ViewerMinimumTlsProtocolVersionEnum::TLSv1_2_2021; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ViewerMinimumTlsProtocolVersionEnum::NOT_SET; + } + + Aws::String GetNameForViewerMinimumTlsProtocolVersionEnum(ViewerMinimumTlsProtocolVersionEnum enumValue) + { + switch(enumValue) + { + case ViewerMinimumTlsProtocolVersionEnum::NOT_SET: + return {}; + case ViewerMinimumTlsProtocolVersionEnum::TLSv1_1_2016: + return "TLSv1.1_2016"; + case ViewerMinimumTlsProtocolVersionEnum::TLSv1_2_2018: + return "TLSv1.2_2018"; + case ViewerMinimumTlsProtocolVersionEnum::TLSv1_2_2019: + return "TLSv1.2_2019"; + case ViewerMinimumTlsProtocolVersionEnum::TLSv1_2_2021: + return "TLSv1.2_2021"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ViewerMinimumTlsProtocolVersionEnumMapper + } // namespace Model + } // namespace Lightsail +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/CloudWatchClient.h b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/CloudWatchClient.h index fb5916e27d4..797312dc307 100644 --- a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/CloudWatchClient.h +++ b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/CloudWatchClient.h @@ -937,7 +937,11 @@ namespace CloudWatch /** *

Creates an anomaly detection model for a CloudWatch metric. You can use the * model to display a band of expected normal values when the metric is - * graphed.

For more information, see

If you have enabled unified cross-account observability, and + * this account is a monitoring account, the metric can be in the same account or a + * source account. You can specify the account ID in the object you specify in the + * SingleMetricAnomalyDetector parameter.

For more information, + * see CloudWatch * Anomaly Detection.

See Also:

AWS @@ -975,27 +979,30 @@ namespace CloudWatch * can reduce alarm noise. You can create multiple metric alarms, and also create a * composite alarm and set up alerts only for the composite alarm. For example, you * could create a composite alarm that goes into ALARM state only when more than - * one of the underlying metric alarms are in ALARM state.

Currently, the - * only alarm actions that can be taken by composite alarms are notifying SNS - * topics.

It is possible to create a loop or cycle of composite - * alarms, where composite alarm A depends on composite alarm B, and composite - * alarm B also depends on composite alarm A. In this scenario, you can't delete - * any composite alarm that is part of the cycle because there is always still a - * composite alarm that depends on that alarm that you want to delete.

To - * get out of such a situation, you must break the cycle by changing the rule of - * one of the composite alarms in the cycle to remove a dependency that creates the - * cycle. The simplest change to make to break a cycle is to change the - * AlarmRule of one of the alarms to false.

- *

Additionally, the evaluation of composite alarms stops if CloudWatch detects - * a cycle in the evaluation path.

When this operation creates an - * alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The - * alarm is then evaluated and its state is set appropriately. Any actions - * associated with the new state are then executed. For a composite alarm, this - * initial time after creation is the only time that the alarm can be in - * INSUFFICIENT_DATA state.

When you update an existing alarm, - * its state is left unchanged, but the update completely overwrites the previous - * configuration of the alarm.

To use this operation, you must be signed on - * with the cloudwatch:PutCompositeAlarm permission that is scoped to + * one of the underlying metric alarms are in ALARM state.

Composite alarms + * can take the following actions:

  • Notify Amazon SNS topics.

    + *
  • Invoke Lambda functions.

  • Create OpsItems in + * Systems Manager Ops Center.

  • Create incidents in Systems + * Manager Incident Manager.

It is possible to create a + * loop or cycle of composite alarms, where composite alarm A depends on composite + * alarm B, and composite alarm B also depends on composite alarm A. In this + * scenario, you can't delete any composite alarm that is part of the cycle because + * there is always still a composite alarm that depends on that alarm that you want + * to delete.

To get out of such a situation, you must break the cycle by + * changing the rule of one of the composite alarms in the cycle to remove a + * dependency that creates the cycle. The simplest change to make to break a cycle + * is to change the AlarmRule of one of the alarms to + * false.

Additionally, the evaluation of composite alarms + * stops if CloudWatch detects a cycle in the evaluation path.

When + * this operation creates an alarm, the alarm state is immediately set to + * INSUFFICIENT_DATA. The alarm is then evaluated and its state is set + * appropriately. Any actions associated with the new state are then executed. For + * a composite alarm, this initial time after creation is the only time that the + * alarm can be in INSUFFICIENT_DATA state.

When you update an + * existing alarm, its state is left unchanged, but the update completely + * overwrites the previous configuration of the alarm.

To use this + * operation, you must be signed on with the + * cloudwatch:PutCompositeAlarm permission that is scoped to * *. You can't create a composite alarms if your * cloudwatch:PutCompositeAlarm permission has a narrower scope.

*

If you are an IAM user, you must have @@ -1205,7 +1212,7 @@ namespace CloudWatch *

You can publish either individual data points in the Value * field, or arrays of values and the number of times each value occurred during * the period by using the Values and Counts fields in - * the MetricDatum structure. Using the Values and + * the MetricData structure. Using the Values and * Counts method enables you to publish up to 150 values per metric * with one PutMetricData request, and supports retrieving percentile * statistics on this data.

Each PutMetricData request is diff --git a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/AnomalyDetector.h b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/AnomalyDetector.h index 8e1b0ddb8aa..7a3448568b4 100644 --- a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/AnomalyDetector.h +++ b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/AnomalyDetector.h @@ -29,8 +29,10 @@ namespace Model /** *

An anomaly detection model associated with a particular CloudWatch metric, * statistic, or metric math expression. You can use the model to display a band of - * expected, normal values when the metric is graphed.

See Also:

- *

If you have enabled + * unified cross-account observability, and this account is a monitoring account, + * the metric can be in the same account or a source account.

See + * Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/GetMetricDataRequest.h b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/GetMetricDataRequest.h index 304dbe908a0..47fc991b584 100644 --- a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/GetMetricDataRequest.h +++ b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/GetMetricDataRequest.h @@ -390,7 +390,8 @@ namespace Model * TimestampDescending returns the newest data first and paginates * when the MaxDatapoints limit is reached. * TimestampAscending returns the oldest data first and paginates when - * the MaxDatapoints limit is reached.

+ * the MaxDatapoints limit is reached.

If you omit this + * parameter, the default of TimestampDescending is used.

*/ inline const ScanBy& GetScanBy() const{ return m_scanBy; } @@ -399,7 +400,8 @@ namespace Model * TimestampDescending returns the newest data first and paginates * when the MaxDatapoints limit is reached. * TimestampAscending returns the oldest data first and paginates when - * the MaxDatapoints limit is reached.

+ * the MaxDatapoints limit is reached.

If you omit this + * parameter, the default of TimestampDescending is used.

*/ inline bool ScanByHasBeenSet() const { return m_scanByHasBeenSet; } @@ -408,7 +410,8 @@ namespace Model * TimestampDescending returns the newest data first and paginates * when the MaxDatapoints limit is reached. * TimestampAscending returns the oldest data first and paginates when - * the MaxDatapoints limit is reached.

+ * the MaxDatapoints limit is reached.

If you omit this + * parameter, the default of TimestampDescending is used.

*/ inline void SetScanBy(const ScanBy& value) { m_scanByHasBeenSet = true; m_scanBy = value; } @@ -417,7 +420,8 @@ namespace Model * TimestampDescending returns the newest data first and paginates * when the MaxDatapoints limit is reached. * TimestampAscending returns the oldest data first and paginates when - * the MaxDatapoints limit is reached.

+ * the MaxDatapoints limit is reached.

If you omit this + * parameter, the default of TimestampDescending is used.

*/ inline void SetScanBy(ScanBy&& value) { m_scanByHasBeenSet = true; m_scanBy = std::move(value); } @@ -426,7 +430,8 @@ namespace Model * TimestampDescending returns the newest data first and paginates * when the MaxDatapoints limit is reached. * TimestampAscending returns the oldest data first and paginates when - * the MaxDatapoints limit is reached.

+ * the MaxDatapoints limit is reached.

If you omit this + * parameter, the default of TimestampDescending is used.

*/ inline GetMetricDataRequest& WithScanBy(const ScanBy& value) { SetScanBy(value); return *this;} @@ -435,7 +440,8 @@ namespace Model * TimestampDescending returns the newest data first and paginates * when the MaxDatapoints limit is reached. * TimestampAscending returns the oldest data first and paginates when - * the MaxDatapoints limit is reached.

+ * the MaxDatapoints limit is reached.

If you omit this + * parameter, the default of TimestampDescending is used.

*/ inline GetMetricDataRequest& WithScanBy(ScanBy&& value) { SetScanBy(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutAnomalyDetectorRequest.h b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutAnomalyDetectorRequest.h index eea41fc8497..c0bc53edb17 100644 --- a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutAnomalyDetectorRequest.h +++ b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutAnomalyDetectorRequest.h @@ -93,7 +93,7 @@ namespace Model * parameters in the same operation:

  • Dimensions

    *
  • MetricName

  • * Namespace

  • Stat

  • - *

    the MetricMatchAnomalyDetector parameters of + *

    the MetricMathAnomalyDetector parameters of * PutAnomalyDetectorInput

Instead, specify the * single metric anomaly detector attributes as part of the property * SingleMetricAnomalyDetector.

@@ -106,7 +106,7 @@ namespace Model * parameters in the same operation:

  • Dimensions

    *
  • MetricName

  • * Namespace

  • Stat

  • - *

    the MetricMatchAnomalyDetector parameters of + *

    the MetricMathAnomalyDetector parameters of * PutAnomalyDetectorInput

Instead, specify the * single metric anomaly detector attributes as part of the property * SingleMetricAnomalyDetector.

@@ -119,7 +119,7 @@ namespace Model * parameters in the same operation:

  • Dimensions

    *
  • MetricName

  • * Namespace

  • Stat

  • - *

    the MetricMatchAnomalyDetector parameters of + *

    the MetricMathAnomalyDetector parameters of * PutAnomalyDetectorInput

Instead, specify the * single metric anomaly detector attributes as part of the property * SingleMetricAnomalyDetector.

@@ -132,7 +132,7 @@ namespace Model * parameters in the same operation:

  • Dimensions

    *
  • MetricName

  • * Namespace

  • Stat

  • - *

    the MetricMatchAnomalyDetector parameters of + *

    the MetricMathAnomalyDetector parameters of * PutAnomalyDetectorInput

Instead, specify the * single metric anomaly detector attributes as part of the property * SingleMetricAnomalyDetector.

@@ -145,7 +145,7 @@ namespace Model * parameters in the same operation:

  • Dimensions

    *
  • MetricName

  • * Namespace

  • Stat

  • - *

    the MetricMatchAnomalyDetector parameters of + *

    the MetricMathAnomalyDetector parameters of * PutAnomalyDetectorInput

Instead, specify the * single metric anomaly detector attributes as part of the property * SingleMetricAnomalyDetector.

@@ -158,7 +158,7 @@ namespace Model * parameters in the same operation:

  • Dimensions

    *
  • MetricName

  • * Namespace

  • Stat

  • - *

    the MetricMatchAnomalyDetector parameters of + *

    the MetricMathAnomalyDetector parameters of * PutAnomalyDetectorInput

Instead, specify the * single metric anomaly detector attributes as part of the property * SingleMetricAnomalyDetector.

diff --git a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutCompositeAlarmRequest.h b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutCompositeAlarmRequest.h index 7673ab748f1..489b0899e97 100644 --- a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutCompositeAlarmRequest.h +++ b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutCompositeAlarmRequest.h @@ -66,9 +66,17 @@ namespace Model /** *

The actions to execute when this alarm transitions to the ALARM * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - * | arn:aws:ssm:region:account-id:opsitem:severity + *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

Systems Manager actions:

+ * arn:aws:ssm:region:account-id:opsitem:severity *

*/ inline const Aws::Vector& GetAlarmActions() const{ return m_alarmActions; } @@ -76,9 +84,17 @@ namespace Model /** *

The actions to execute when this alarm transitions to the ALARM * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - * | arn:aws:ssm:region:account-id:opsitem:severity + *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

Systems Manager actions:

+ * arn:aws:ssm:region:account-id:opsitem:severity *

*/ inline bool AlarmActionsHasBeenSet() const { return m_alarmActionsHasBeenSet; } @@ -86,9 +102,17 @@ namespace Model /** *

The actions to execute when this alarm transitions to the ALARM * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - * | arn:aws:ssm:region:account-id:opsitem:severity + *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

Systems Manager actions:

+ * arn:aws:ssm:region:account-id:opsitem:severity *

*/ inline void SetAlarmActions(const Aws::Vector& value) { m_alarmActionsHasBeenSet = true; m_alarmActions = value; } @@ -96,9 +120,17 @@ namespace Model /** *

The actions to execute when this alarm transitions to the ALARM * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - * | arn:aws:ssm:region:account-id:opsitem:severity + *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

Systems Manager actions:

+ * arn:aws:ssm:region:account-id:opsitem:severity *

*/ inline void SetAlarmActions(Aws::Vector&& value) { m_alarmActionsHasBeenSet = true; m_alarmActions = std::move(value); } @@ -106,9 +138,17 @@ namespace Model /** *

The actions to execute when this alarm transitions to the ALARM * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - * | arn:aws:ssm:region:account-id:opsitem:severity + *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

Systems Manager actions:

+ * arn:aws:ssm:region:account-id:opsitem:severity *

*/ inline PutCompositeAlarmRequest& WithAlarmActions(const Aws::Vector& value) { SetAlarmActions(value); return *this;} @@ -116,9 +156,17 @@ namespace Model /** *

The actions to execute when this alarm transitions to the ALARM * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - * | arn:aws:ssm:region:account-id:opsitem:severity + *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

Systems Manager actions:

+ * arn:aws:ssm:region:account-id:opsitem:severity *

*/ inline PutCompositeAlarmRequest& WithAlarmActions(Aws::Vector&& value) { SetAlarmActions(std::move(value)); return *this;} @@ -126,9 +174,17 @@ namespace Model /** *

The actions to execute when this alarm transitions to the ALARM * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - * | arn:aws:ssm:region:account-id:opsitem:severity + *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

Systems Manager actions:

+ * arn:aws:ssm:region:account-id:opsitem:severity *

*/ inline PutCompositeAlarmRequest& AddAlarmActions(const Aws::String& value) { m_alarmActionsHasBeenSet = true; m_alarmActions.push_back(value); return *this; } @@ -136,9 +192,17 @@ namespace Model /** *

The actions to execute when this alarm transitions to the ALARM * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - * | arn:aws:ssm:region:account-id:opsitem:severity + *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

Systems Manager actions:

+ * arn:aws:ssm:region:account-id:opsitem:severity *

*/ inline PutCompositeAlarmRequest& AddAlarmActions(Aws::String&& value) { m_alarmActionsHasBeenSet = true; m_alarmActions.push_back(std::move(value)); return *this; } @@ -146,9 +210,17 @@ namespace Model /** *

The actions to execute when this alarm transitions to the ALARM * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - * | arn:aws:ssm:region:account-id:opsitem:severity + *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

Systems Manager actions:

+ * arn:aws:ssm:region:account-id:opsitem:severity *

*/ inline PutCompositeAlarmRequest& AddAlarmActions(const char* value) { m_alarmActionsHasBeenSet = true; m_alarmActions.push_back(value); return *this; } @@ -568,81 +640,153 @@ namespace Model /** *

The actions to execute when this alarm transitions to the * INSUFFICIENT_DATA state from any other state. Each action is - * specified as an Amazon Resource Name (ARN).

Valid Values: + * specified as an Amazon Resource Name (ARN).

Valid Values: ]

+ * Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline const Aws::Vector& GetInsufficientDataActions() const{ return m_insufficientDataActions; } /** *

The actions to execute when this alarm transitions to the * INSUFFICIENT_DATA state from any other state. Each action is - * specified as an Amazon Resource Name (ARN).

Valid Values: + * specified as an Amazon Resource Name (ARN).

Valid Values: ]

+ * Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline bool InsufficientDataActionsHasBeenSet() const { return m_insufficientDataActionsHasBeenSet; } /** *

The actions to execute when this alarm transitions to the * INSUFFICIENT_DATA state from any other state. Each action is - * specified as an Amazon Resource Name (ARN).

Valid Values: + * specified as an Amazon Resource Name (ARN).

Valid Values: ]

+ * Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline void SetInsufficientDataActions(const Aws::Vector& value) { m_insufficientDataActionsHasBeenSet = true; m_insufficientDataActions = value; } /** *

The actions to execute when this alarm transitions to the * INSUFFICIENT_DATA state from any other state. Each action is - * specified as an Amazon Resource Name (ARN).

Valid Values: + * specified as an Amazon Resource Name (ARN).

Valid Values: ]

+ * Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline void SetInsufficientDataActions(Aws::Vector&& value) { m_insufficientDataActionsHasBeenSet = true; m_insufficientDataActions = std::move(value); } /** *

The actions to execute when this alarm transitions to the * INSUFFICIENT_DATA state from any other state. Each action is - * specified as an Amazon Resource Name (ARN).

Valid Values: + * specified as an Amazon Resource Name (ARN).

Valid Values: ]

+ * Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline PutCompositeAlarmRequest& WithInsufficientDataActions(const Aws::Vector& value) { SetInsufficientDataActions(value); return *this;} /** *

The actions to execute when this alarm transitions to the * INSUFFICIENT_DATA state from any other state. Each action is - * specified as an Amazon Resource Name (ARN).

Valid Values: + * specified as an Amazon Resource Name (ARN).

Valid Values: ]

+ * Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline PutCompositeAlarmRequest& WithInsufficientDataActions(Aws::Vector&& value) { SetInsufficientDataActions(std::move(value)); return *this;} /** *

The actions to execute when this alarm transitions to the * INSUFFICIENT_DATA state from any other state. Each action is - * specified as an Amazon Resource Name (ARN).

Valid Values: + * specified as an Amazon Resource Name (ARN).

Valid Values: ]

+ * Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline PutCompositeAlarmRequest& AddInsufficientDataActions(const Aws::String& value) { m_insufficientDataActionsHasBeenSet = true; m_insufficientDataActions.push_back(value); return *this; } /** *

The actions to execute when this alarm transitions to the * INSUFFICIENT_DATA state from any other state. Each action is - * specified as an Amazon Resource Name (ARN).

Valid Values: + * specified as an Amazon Resource Name (ARN).

Valid Values: ]

+ * Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline PutCompositeAlarmRequest& AddInsufficientDataActions(Aws::String&& value) { m_insufficientDataActionsHasBeenSet = true; m_insufficientDataActions.push_back(std::move(value)); return *this; } /** *

The actions to execute when this alarm transitions to the * INSUFFICIENT_DATA state from any other state. Each action is - * specified as an Amazon Resource Name (ARN).

Valid Values: + * specified as an Amazon Resource Name (ARN).

Valid Values: ]

+ * Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline PutCompositeAlarmRequest& AddInsufficientDataActions(const char* value) { m_insufficientDataActionsHasBeenSet = true; m_insufficientDataActions.push_back(value); return *this; } @@ -650,154 +794,265 @@ namespace Model /** *

The actions to execute when this alarm transitions to an OK * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline const Aws::Vector& GetOKActions() const{ return m_oKActions; } /** *

The actions to execute when this alarm transitions to an OK * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline bool OKActionsHasBeenSet() const { return m_oKActionsHasBeenSet; } /** *

The actions to execute when this alarm transitions to an OK * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline void SetOKActions(const Aws::Vector& value) { m_oKActionsHasBeenSet = true; m_oKActions = value; } /** *

The actions to execute when this alarm transitions to an OK * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline void SetOKActions(Aws::Vector&& value) { m_oKActionsHasBeenSet = true; m_oKActions = std::move(value); } /** *

The actions to execute when this alarm transitions to an OK * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline PutCompositeAlarmRequest& WithOKActions(const Aws::Vector& value) { SetOKActions(value); return *this;} /** *

The actions to execute when this alarm transitions to an OK * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline PutCompositeAlarmRequest& WithOKActions(Aws::Vector&& value) { SetOKActions(std::move(value)); return *this;} /** *

The actions to execute when this alarm transitions to an OK * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline PutCompositeAlarmRequest& AddOKActions(const Aws::String& value) { m_oKActionsHasBeenSet = true; m_oKActions.push_back(value); return *this; } /** *

The actions to execute when this alarm transitions to an OK * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline PutCompositeAlarmRequest& AddOKActions(Aws::String&& value) { m_oKActionsHasBeenSet = true; m_oKActions.push_back(std::move(value)); return *this; } /** *

The actions to execute when this alarm transitions to an OK * state from any other state. Each action is specified as an Amazon Resource Name - * (ARN).

Valid Values: + * (ARN).

Valid Values: ]

Amazon SNS actions:

* arn:aws:sns:region:account-id:sns-topic-name - *

+ *

Lambda actions:

  • Invoke the latest version of a + * Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name + *

*/ inline PutCompositeAlarmRequest& AddOKActions(const char* value) { m_oKActionsHasBeenSet = true; m_oKActions.push_back(value); return *this; } /** - *

A list of key-value pairs to associate with the composite alarm. You can - * associate as many as 50 tags with an alarm.

Tags can help you organize - * and categorize your resources. You can also use them to scope user permissions, - * by granting a user permission to access or change only resources with certain - * tag values.

+ *

A list of key-value pairs to associate with the alarm. You can associate as + * many as 50 tags with an alarm. To be able to associate tags with the alarm when + * you create the alarm, you must have the cloudwatch:TagResource + * permission.

Tags can help you organize and categorize your resources. You + * can also use them to scope user permissions by granting a user permission to + * access or change only resources with certain tag values.

If you are using + * this operation to update an existing alarm, any tags you specify in this + * parameter are ignored. To change the tags of an existing alarm, use TagResource + * or UntagResource.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** - *

A list of key-value pairs to associate with the composite alarm. You can - * associate as many as 50 tags with an alarm.

Tags can help you organize - * and categorize your resources. You can also use them to scope user permissions, - * by granting a user permission to access or change only resources with certain - * tag values.

+ *

A list of key-value pairs to associate with the alarm. You can associate as + * many as 50 tags with an alarm. To be able to associate tags with the alarm when + * you create the alarm, you must have the cloudwatch:TagResource + * permission.

Tags can help you organize and categorize your resources. You + * can also use them to scope user permissions by granting a user permission to + * access or change only resources with certain tag values.

If you are using + * this operation to update an existing alarm, any tags you specify in this + * parameter are ignored. To change the tags of an existing alarm, use TagResource + * or UntagResource.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** - *

A list of key-value pairs to associate with the composite alarm. You can - * associate as many as 50 tags with an alarm.

Tags can help you organize - * and categorize your resources. You can also use them to scope user permissions, - * by granting a user permission to access or change only resources with certain - * tag values.

+ *

A list of key-value pairs to associate with the alarm. You can associate as + * many as 50 tags with an alarm. To be able to associate tags with the alarm when + * you create the alarm, you must have the cloudwatch:TagResource + * permission.

Tags can help you organize and categorize your resources. You + * can also use them to scope user permissions by granting a user permission to + * access or change only resources with certain tag values.

If you are using + * this operation to update an existing alarm, any tags you specify in this + * parameter are ignored. To change the tags of an existing alarm, use TagResource + * or UntagResource.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** - *

A list of key-value pairs to associate with the composite alarm. You can - * associate as many as 50 tags with an alarm.

Tags can help you organize - * and categorize your resources. You can also use them to scope user permissions, - * by granting a user permission to access or change only resources with certain - * tag values.

+ *

A list of key-value pairs to associate with the alarm. You can associate as + * many as 50 tags with an alarm. To be able to associate tags with the alarm when + * you create the alarm, you must have the cloudwatch:TagResource + * permission.

Tags can help you organize and categorize your resources. You + * can also use them to scope user permissions by granting a user permission to + * access or change only resources with certain tag values.

If you are using + * this operation to update an existing alarm, any tags you specify in this + * parameter are ignored. To change the tags of an existing alarm, use TagResource + * or UntagResource.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** - *

A list of key-value pairs to associate with the composite alarm. You can - * associate as many as 50 tags with an alarm.

Tags can help you organize - * and categorize your resources. You can also use them to scope user permissions, - * by granting a user permission to access or change only resources with certain - * tag values.

+ *

A list of key-value pairs to associate with the alarm. You can associate as + * many as 50 tags with an alarm. To be able to associate tags with the alarm when + * you create the alarm, you must have the cloudwatch:TagResource + * permission.

Tags can help you organize and categorize your resources. You + * can also use them to scope user permissions by granting a user permission to + * access or change only resources with certain tag values.

If you are using + * this operation to update an existing alarm, any tags you specify in this + * parameter are ignored. To change the tags of an existing alarm, use TagResource + * or UntagResource.

*/ inline PutCompositeAlarmRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** - *

A list of key-value pairs to associate with the composite alarm. You can - * associate as many as 50 tags with an alarm.

Tags can help you organize - * and categorize your resources. You can also use them to scope user permissions, - * by granting a user permission to access or change only resources with certain - * tag values.

+ *

A list of key-value pairs to associate with the alarm. You can associate as + * many as 50 tags with an alarm. To be able to associate tags with the alarm when + * you create the alarm, you must have the cloudwatch:TagResource + * permission.

Tags can help you organize and categorize your resources. You + * can also use them to scope user permissions by granting a user permission to + * access or change only resources with certain tag values.

If you are using + * this operation to update an existing alarm, any tags you specify in this + * parameter are ignored. To change the tags of an existing alarm, use TagResource + * or UntagResource.

*/ inline PutCompositeAlarmRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** - *

A list of key-value pairs to associate with the composite alarm. You can - * associate as many as 50 tags with an alarm.

Tags can help you organize - * and categorize your resources. You can also use them to scope user permissions, - * by granting a user permission to access or change only resources with certain - * tag values.

+ *

A list of key-value pairs to associate with the alarm. You can associate as + * many as 50 tags with an alarm. To be able to associate tags with the alarm when + * you create the alarm, you must have the cloudwatch:TagResource + * permission.

Tags can help you organize and categorize your resources. You + * can also use them to scope user permissions by granting a user permission to + * access or change only resources with certain tag values.

If you are using + * this operation to update an existing alarm, any tags you specify in this + * parameter are ignored. To change the tags of an existing alarm, use TagResource + * or UntagResource.

*/ inline PutCompositeAlarmRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** - *

A list of key-value pairs to associate with the composite alarm. You can - * associate as many as 50 tags with an alarm.

Tags can help you organize - * and categorize your resources. You can also use them to scope user permissions, - * by granting a user permission to access or change only resources with certain - * tag values.

+ *

A list of key-value pairs to associate with the alarm. You can associate as + * many as 50 tags with an alarm. To be able to associate tags with the alarm when + * you create the alarm, you must have the cloudwatch:TagResource + * permission.

Tags can help you organize and categorize your resources. You + * can also use them to scope user permissions by granting a user permission to + * access or change only resources with certain tag values.

If you are using + * this operation to update an existing alarm, any tags you specify in this + * parameter are ignored. To change the tags of an existing alarm, use TagResource + * or UntagResource.

*/ inline PutCompositeAlarmRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutMetricAlarmRequest.h b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutMetricAlarmRequest.h index d2a1565ca7a..a259cb9d520 100644 --- a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutMetricAlarmRequest.h +++ b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/PutMetricAlarmRequest.h @@ -183,9 +183,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -210,9 +217,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -237,9 +251,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -264,9 +285,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -291,9 +319,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -318,9 +353,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -345,9 +387,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -372,9 +421,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -399,9 +455,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -427,9 +490,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -454,9 +524,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -481,9 +558,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -508,9 +592,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -535,9 +626,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -562,9 +660,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -589,9 +694,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -616,9 +728,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -643,9 +762,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -672,9 +798,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -700,9 +833,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -728,9 +868,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -756,9 +903,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -784,9 +938,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -812,9 +973,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -840,9 +1008,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -868,9 +1043,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name @@ -896,9 +1078,16 @@ namespace Model * arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0 *

Autoscaling action:

  • * arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name + *

Lambda actions:

  • Invoke the + * latest version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name + *

  • Invoke a specific version of a Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:version-number + *

  • Invoke a function by using an alias Lambda function: + * arn:aws:lambda:region:account-id:function:function-name:alias-name *

SNS notification action:

  • - * arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name - *

SSM integration actions:

  • + * arn:aws:sns:region:account-id:sns-topic-name + *

SSM integration actions:

  • * arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name *

  • * arn:aws:ssm-incidents::account-id:responseplan/response-plan-name diff --git a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/SingleMetricAnomalyDetector.h b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/SingleMetricAnomalyDetector.h index 20f7a586d94..f337b00d17f 100644 --- a/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/SingleMetricAnomalyDetector.h +++ b/generated/src/aws-cpp-sdk-monitoring/include/aws/monitoring/model/SingleMetricAnomalyDetector.h @@ -27,7 +27,9 @@ namespace Model /** *

    Designates the CloudWatch metric and statistic that provides the time series - * the anomaly detector uses as input.

    See Also:

    See Also:

    AWS * API Reference

    */ @@ -42,6 +44,63 @@ namespace Model AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const; + /** + *

    If the CloudWatch metric that provides the time series that the anomaly + * detector uses as input is in another account, specify that account ID here. If + * you omit this parameter, the current account is used.

    + */ + inline const Aws::String& GetAccountId() const{ return m_accountId; } + + /** + *

    If the CloudWatch metric that provides the time series that the anomaly + * detector uses as input is in another account, specify that account ID here. If + * you omit this parameter, the current account is used.

    + */ + inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } + + /** + *

    If the CloudWatch metric that provides the time series that the anomaly + * detector uses as input is in another account, specify that account ID here. If + * you omit this parameter, the current account is used.

    + */ + inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } + + /** + *

    If the CloudWatch metric that provides the time series that the anomaly + * detector uses as input is in another account, specify that account ID here. If + * you omit this parameter, the current account is used.

    + */ + inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } + + /** + *

    If the CloudWatch metric that provides the time series that the anomaly + * detector uses as input is in another account, specify that account ID here. If + * you omit this parameter, the current account is used.

    + */ + inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } + + /** + *

    If the CloudWatch metric that provides the time series that the anomaly + * detector uses as input is in another account, specify that account ID here. If + * you omit this parameter, the current account is used.

    + */ + inline SingleMetricAnomalyDetector& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} + + /** + *

    If the CloudWatch metric that provides the time series that the anomaly + * detector uses as input is in another account, specify that account ID here. If + * you omit this parameter, the current account is used.

    + */ + inline SingleMetricAnomalyDetector& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} + + /** + *

    If the CloudWatch metric that provides the time series that the anomaly + * detector uses as input is in another account, specify that account ID here. If + * you omit this parameter, the current account is used.

    + */ + inline SingleMetricAnomalyDetector& WithAccountId(const char* value) { SetAccountId(value); return *this;} + + /** *

    The namespace of the metric to create the anomaly detection model for.

    */ @@ -207,6 +266,9 @@ namespace Model private: + Aws::String m_accountId; + bool m_accountIdHasBeenSet = false; + Aws::String m_namespace; bool m_namespaceHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-monitoring/source/model/SingleMetricAnomalyDetector.cpp b/generated/src/aws-cpp-sdk-monitoring/source/model/SingleMetricAnomalyDetector.cpp index 263cdfff1c5..3ff7a4cab52 100644 --- a/generated/src/aws-cpp-sdk-monitoring/source/model/SingleMetricAnomalyDetector.cpp +++ b/generated/src/aws-cpp-sdk-monitoring/source/model/SingleMetricAnomalyDetector.cpp @@ -21,6 +21,7 @@ namespace Model { SingleMetricAnomalyDetector::SingleMetricAnomalyDetector() : + m_accountIdHasBeenSet(false), m_namespaceHasBeenSet(false), m_metricNameHasBeenSet(false), m_dimensionsHasBeenSet(false), @@ -29,6 +30,7 @@ SingleMetricAnomalyDetector::SingleMetricAnomalyDetector() : } SingleMetricAnomalyDetector::SingleMetricAnomalyDetector(const XmlNode& xmlNode) : + m_accountIdHasBeenSet(false), m_namespaceHasBeenSet(false), m_metricNameHasBeenSet(false), m_dimensionsHasBeenSet(false), @@ -43,6 +45,12 @@ SingleMetricAnomalyDetector& SingleMetricAnomalyDetector::operator =(const XmlNo if(!resultNode.IsNull()) { + XmlNode accountIdNode = resultNode.FirstChild("AccountId"); + if(!accountIdNode.IsNull()) + { + m_accountId = Aws::Utils::Xml::DecodeEscapedXmlText(accountIdNode.GetText()); + m_accountIdHasBeenSet = true; + } XmlNode namespaceNode = resultNode.FirstChild("Namespace"); if(!namespaceNode.IsNull()) { @@ -80,6 +88,11 @@ SingleMetricAnomalyDetector& SingleMetricAnomalyDetector::operator =(const XmlNo void SingleMetricAnomalyDetector::OutputToStream(Aws::OStream& oStream, const char* location, unsigned index, const char* locationValue) const { + if(m_accountIdHasBeenSet) + { + oStream << location << index << locationValue << ".AccountId=" << StringUtils::URLEncode(m_accountId.c_str()) << "&"; + } + if(m_namespaceHasBeenSet) { oStream << location << index << locationValue << ".Namespace=" << StringUtils::URLEncode(m_namespace.c_str()) << "&"; @@ -110,6 +123,10 @@ void SingleMetricAnomalyDetector::OutputToStream(Aws::OStream& oStream, const ch void SingleMetricAnomalyDetector::OutputToStream(Aws::OStream& oStream, const char* location) const { + if(m_accountIdHasBeenSet) + { + oStream << location << ".AccountId=" << StringUtils::URLEncode(m_accountId.c_str()) << "&"; + } if(m_namespaceHasBeenSet) { oStream << location << ".Namespace=" << StringUtils::URLEncode(m_namespace.c_str()) << "&"; diff --git a/generated/tests/deadline-gen-tests/CMakeLists.txt b/generated/tests/deadline-gen-tests/CMakeLists.txt new file mode 100644 index 00000000000..e04355ce31f --- /dev/null +++ b/generated/tests/deadline-gen-tests/CMakeLists.txt @@ -0,0 +1,42 @@ +add_project(deadline-gen-tests + "Tests for the AWS DEADLINE C++ SDK" + testing-resources + aws-cpp-sdk-deadline + aws-cpp-sdk-core) + +file(GLOB AWS_DEADLINE_GENERATED_TEST_SRC + "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp" +) + +if(MSVC AND BUILD_SHARED_LIBS) + add_definitions(-DGTEST_LINKED_AS_SHARED_LIBRARY=1) +endif() + +if (CMAKE_CROSSCOMPILING) + set(AUTORUN_UNIT_TESTS OFF) +endif() + +if (AUTORUN_UNIT_TESTS) + enable_testing() +endif() + +if(PLATFORM_ANDROID AND BUILD_SHARED_LIBS) + add_library(${PROJECT_NAME} "${AWS_DEADLINE_GENERATED_TEST_SRC}") +else() + add_executable(${PROJECT_NAME} "${AWS_DEADLINE_GENERATED_TEST_SRC}") +endif() + +set_compiler_flags(${PROJECT_NAME}) +set_compiler_warnings(${PROJECT_NAME}) + +target_link_libraries(${PROJECT_NAME} ${PROJECT_LIBS}) + +if (AUTORUN_UNIT_TESTS) + ADD_CUSTOM_COMMAND( TARGET ${PROJECT_NAME} POST_BUILD + COMMAND ${CMAKE_COMMAND} -E env LD_LIBRARY_PATH=${AWS_AUTORUN_LD_LIBRARY_PATH}:$ENV{LD_LIBRARY_PATH} $ + ARGS "--gtest_brief=1") +endif() + +if(NOT CMAKE_CROSSCOMPILING) + SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES OUTPUT_NAME ${PROJECT_NAME}) +endif() \ No newline at end of file diff --git a/generated/tests/deadline-gen-tests/DeadlineEndpointProviderTests.cpp b/generated/tests/deadline-gen-tests/DeadlineEndpointProviderTests.cpp new file mode 100644 index 00000000000..c459dedd008 --- /dev/null +++ b/generated/tests/deadline-gen-tests/DeadlineEndpointProviderTests.cpp @@ -0,0 +1,402 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + + +static const char* ALLOCATION_TAG = "AWSDeadlineEndpointProviderTests"; +using DeadlineEndpointProvider = Aws::deadline::Endpoint::DeadlineEndpointProvider; +using EndpointParameters = Aws::Vector; +using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; + +using EpParam = Aws::Endpoint::EndpointParameter; +using EpProp = Aws::Endpoint::EndpointParameter; // just a container to store test expectations +using ExpEpProps = Aws::UnorderedMap>>; +using ExpEpAuthScheme = Aws::Vector; +using ExpEpHeaders = Aws::UnorderedMap>; + +class DeadlineEndpointProviderTests : public ::testing::TestWithParam {}; + +struct DeadlineEndpointProviderEndpointTestCase +{ + using OperationParamsFromTest = EndpointParameters; + + struct Expect + { + struct Endpoint + { + Aws::String url; + ExpEpAuthScheme authScheme; + ExpEpProps properties; + ExpEpHeaders headers; + } endpoint; + Aws::String error; + }; + struct OperationInput + { + Aws::String operationName; + OperationParamsFromTest operationParams; + OperationParamsFromTest builtinParams; + OperationParamsFromTest clientParams; + }; + + Aws::String documentation; + // Specification tells us it is Client Initialization parameters + // At the same time, specification tells us to test EndpointProvider not the client itself + // Hence params here will be set as a client params (just like a dedicated field above). + Aws::Vector params; + Aws::Vector tags; + Expect expect; + // Aws::Vector operationInput; +}; + +static const Aws::Vector TEST_CASES = { + /*TEST CASE 0*/ + {"For region us-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-east-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*epUrl*/"https://deadline-fips.us-east-1.api.aws", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 1*/ + {"For region us-east-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://deadline-fips.us-east-1.amazonaws.com", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 2*/ + {"For region us-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-east-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*epUrl*/"https://deadline.us-east-1.api.aws", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 3*/ + {"For region us-east-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://deadline.us-east-1.amazonaws.com", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 4*/ + {"For region cn-north-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*epUrl*/"https://deadline-fips.cn-north-1.api.amazonwebservices.com.cn", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 5*/ + {"For region cn-north-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://deadline-fips.cn-north-1.amazonaws.com.cn", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 6*/ + {"For region cn-north-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*epUrl*/"https://deadline.cn-north-1.api.amazonwebservices.com.cn", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 7*/ + {"For region cn-north-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://deadline.cn-north-1.amazonaws.com.cn", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 8*/ + {"For region us-gov-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*epUrl*/"https://deadline-fips.us-gov-east-1.api.aws", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 9*/ + {"For region us-gov-east-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://deadline-fips.us-gov-east-1.amazonaws.com", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 10*/ + {"For region us-gov-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*epUrl*/"https://deadline.us-gov-east-1.api.aws", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 11*/ + {"For region us-gov-east-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://deadline.us-gov-east-1.amazonaws.com", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 12*/ + {"For region us-iso-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"FIPS and DualStack are enabled, but this partition does not support one or both"} // expect + }, + /*TEST CASE 13*/ + {"For region us-iso-east-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://deadline-fips.us-iso-east-1.c2s.ic.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 14*/ + {"For region us-iso-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect + }, + /*TEST CASE 15*/ + {"For region us-iso-east-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://deadline.us-iso-east-1.c2s.ic.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 16*/ + {"For region us-isob-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"FIPS and DualStack are enabled, but this partition does not support one or both"} // expect + }, + /*TEST CASE 17*/ + {"For region us-isob-east-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://deadline-fips.us-isob-east-1.sc2s.sgov.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 18*/ + {"For region us-isob-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect + }, + /*TEST CASE 19*/ + {"For region us-isob-east-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://deadline.us-isob-east-1.sc2s.sgov.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 20*/ + {"For custom endpoint with region set and fips disabled and dualstack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com"), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://example.com", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 21*/ + {"For custom endpoint with region not set and fips disabled and dualstack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://example.com", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 22*/ + {"For custom endpoint with fips enabled and dualstack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Endpoint", "https://example.com"), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: FIPS and custom endpoint are not supported"} // expect + }, + /*TEST CASE 23*/ + {"For custom endpoint with fips disabled and dualstack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com"), EpParam("Region", "us-east-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Dualstack and custom endpoint are not supported"} // expect + }, + /*TEST CASE 24*/ + {"Missing region", // documentation + {}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Missing Region"} // expect + } +}; + +Aws::String RulesToSdkSignerName(const Aws::String& rulesSignerName) +{ + Aws::String sdkSigner = "NullSigner"; + if (rulesSignerName == "sigv4") { + sdkSigner = "SignatureV4"; + } else if (rulesSignerName == "sigv4a") { + sdkSigner = "AsymmetricSignatureV4"; + } else if (rulesSignerName == "none") { + sdkSigner = "NullSigner"; + } else if (rulesSignerName == "bearer") { + sdkSigner = "Bearer"; + } else if (rulesSignerName == "s3Express") { + sdkSigner = "S3ExpressSigner"; + } else { + sdkSigner = rulesSignerName; + } + + return sdkSigner; +} + +void ValidateOutcome(const ResolveEndpointOutcome& outcome, const DeadlineEndpointProviderEndpointTestCase::Expect& expect) +{ + if(!expect.error.empty()) + { + ASSERT_FALSE(outcome.IsSuccess()) << "Expected failure with message:\n" << expect.error; + ASSERT_EQ(outcome.GetError().GetMessage(), expect.error); + } + else + { + AWS_ASSERT_SUCCESS(outcome); + ASSERT_EQ(outcome.GetResult().GetURL(), expect.endpoint.url); + const auto expAuthSchemesIt = expect.endpoint.properties.find("authSchemes"); + if (expAuthSchemesIt != expect.endpoint.properties.end()) + { + // in the list of AuthSchemes, select the one with a highest priority + const Aws::Vector priotityList = {"s3Express", "sigv4a", "sigv4", "bearer", "none", ""}; + const auto expectedAuthSchemePropsIt = std::find_first_of(expAuthSchemesIt->second.begin(), expAuthSchemesIt->second.end(), + priotityList.begin(), priotityList.end(), [](const Aws::Vector& props, const Aws::String& expName) + { + const auto& propNameIt = std::find_if(props.begin(), props.end(), [](const EpProp& prop) + { + return prop.GetName() == "name"; + }); + assert(propNameIt != props.end()); + return propNameIt->GetStrValueNoCheck() == expName; + }); + assert(expectedAuthSchemePropsIt != expAuthSchemesIt->second.end()); + + const auto& endpointResultAttrs = outcome.GetResult().GetAttributes(); + ASSERT_TRUE(endpointResultAttrs) << "Expected non-empty EndpointAttributes (authSchemes)"; + for (const auto& expProperty : *expectedAuthSchemePropsIt) + { + if (expProperty.GetName() == "name") { + ASSERT_TRUE(!endpointResultAttrs->authScheme.GetName().empty()); + ASSERT_EQ(RulesToSdkSignerName(expProperty.GetStrValueNoCheck()), endpointResultAttrs->authScheme.GetName()); + } else if (expProperty.GetName() == "signingName") { + ASSERT_TRUE(endpointResultAttrs->authScheme.GetSigningName()); + ASSERT_EQ(expProperty.GetStrValueNoCheck(), endpointResultAttrs->authScheme.GetSigningName().value()); + } else if (expProperty.GetName() == "signingRegion") { + ASSERT_TRUE(endpointResultAttrs->authScheme.GetSigningRegion()); + ASSERT_EQ(expProperty.GetStrValueNoCheck(), endpointResultAttrs->authScheme.GetSigningRegion().value()); + } else if (expProperty.GetName() == "signingRegionSet") { + ASSERT_TRUE(endpointResultAttrs->authScheme.GetSigningRegionSet()); + ASSERT_EQ(expProperty.GetStrValueNoCheck(), endpointResultAttrs->authScheme.GetSigningRegionSet().value()); + } else if (expProperty.GetName() == "disableDoubleEncoding") { + ASSERT_TRUE(endpointResultAttrs->authScheme.GetDisableDoubleEncoding()); + ASSERT_EQ(expProperty.GetBoolValueNoCheck(), endpointResultAttrs->authScheme.GetDisableDoubleEncoding().value()); + } else { + FAIL() << "Unsupported Auth type property " << expProperty.GetName() << ". Need to update test."; + } + } + } + + EXPECT_EQ(expect.endpoint.headers.empty(), outcome.GetResult().GetHeaders().empty()); + for(const auto& expHeaderVec : expect.endpoint.headers) + { + const auto& retHeaderIt = outcome.GetResult().GetHeaders().find(expHeaderVec.first); + ASSERT_TRUE(retHeaderIt != outcome.GetResult().GetHeaders().end()); + + auto retHeaderVec = Aws::Utils::StringUtils::Split(retHeaderIt->second, ';'); + std::sort(retHeaderVec.begin(), retHeaderVec.end()); + + auto expHeaderVecSorted = expHeaderVec.second; + std::sort(expHeaderVecSorted.begin(), expHeaderVecSorted.end()); + + ASSERT_EQ(expHeaderVecSorted, retHeaderVec); + } + } +} + +TEST_P(DeadlineEndpointProviderTests, EndpointProviderTest) +{ + const size_t TEST_CASE_IDX = GetParam(); + ASSERT_LT(TEST_CASE_IDX, TEST_CASES.size()) << "Something is wrong with the test fixture itself."; + const DeadlineEndpointProviderEndpointTestCase& TEST_CASE = TEST_CASES.at(TEST_CASE_IDX); + SCOPED_TRACE(Aws::String("\nTEST CASE # ") + Aws::Utils::StringUtils::to_string(TEST_CASE_IDX) + ": " + TEST_CASE.documentation); + + std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG); + ASSERT_TRUE(endpointProvider) << "Failed to allocate/initialize DeadlineEndpointProvider"; + + EndpointParameters endpointParameters; + for(const auto& param : TEST_CASE.params) + { + endpointParameters.emplace(endpointParameters.end(), Aws::Endpoint::EndpointParameter(param)); + } + auto resolvedEndpointOutcome = endpointProvider->ResolveEndpoint(endpointParameters); + ValidateOutcome(resolvedEndpointOutcome, TEST_CASE.expect); + +#if 0 // temporarily disabled + for(const auto& operation : TEST_CASE.operationInput) + { + /* + * Most specific to least specific value locations: + staticContextParams + contextParam + clientContextParams + Built-In Bindings + Built-in binding default values + */ + const Aws::Vector> + operationInputParams = {std::cref(operation.builtinParams), std::cref(operation.clientParams), std::cref(operation.operationParams)}; + + for(const auto& paramSource : operationInputParams) + { + for(const auto& param : paramSource.get()) + { + endpointParameters.emplace(endpointParameters.end(), Aws::Endpoint::EndpointParameter(param)); + } + } + auto resolvedEndpointOutcomePerOperation = endpointProvider->ResolveEndpoint(endpointParameters); + ValidateOutcome(resolvedEndpointOutcomePerOperation, TEST_CASE.expect); + } +#endif +} + +INSTANTIATE_TEST_SUITE_P(EndpointTestsFromModel, + DeadlineEndpointProviderTests, + ::testing::Range((size_t) 0u, TEST_CASES.size())); diff --git a/generated/tests/deadline-gen-tests/RunTests.cpp b/generated/tests/deadline-gen-tests/RunTests.cpp new file mode 100644 index 00000000000..f2f10a7c789 --- /dev/null +++ b/generated/tests/deadline-gen-tests/RunTests.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include + +int main(int argc, char** argv) +{ + Aws::SDKOptions options; + options.loggingOptions.logLevel = Aws::Utils::Logging::LogLevel::Trace; + + AWS_BEGIN_MEMORY_TEST_EX(options, 1024, 128); + Aws::Testing::InitPlatformTest(options); + Aws::Testing::ParseArgs(argc, argv); + + Aws::InitAPI(options); + ::testing::InitGoogleTest(&argc, argv); + int exitCode = RUN_ALL_TESTS(); + Aws::ShutdownAPI(options); + + AWS_END_MEMORY_TEST_EX; + Aws::Testing::ShutdownPlatformTest(options); + return exitCode; +} diff --git a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h index 7dc5592182e..2c3d9dfa04f 100644 --- a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h +++ b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h @@ -4,7 +4,7 @@ */ #pragma once -#define AWS_SDK_VERSION_STRING "1.11.297" +#define AWS_SDK_VERSION_STRING "1.11.298" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 297 +#define AWS_SDK_VERSION_PATCH 298 diff --git a/tools/code-generation/api-descriptions/datazone-2018-05-10.normal.json b/tools/code-generation/api-descriptions/datazone-2018-05-10.normal.json index ba5233ee6bb..0480f0e9f36 100644 --- a/tools/code-generation/api-descriptions/datazone-2018-05-10.normal.json +++ b/tools/code-generation/api-descriptions/datazone-2018-05-10.normal.json @@ -54,6 +54,26 @@ "documentation":"

    Accepts a subscription request to a specific asset.

    ", "idempotent":true }, + "CancelMetadataGenerationRun":{ + "name":"CancelMetadataGenerationRun", + "http":{ + "method":"POST", + "requestUri":"/v2/domains/{domainIdentifier}/metadata-generation-runs/{identifier}/cancel", + "responseCode":200 + }, + "input":{"shape":"CancelMetadataGenerationRunInput"}, + "output":{"shape":"CancelMetadataGenerationRunOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    Cancels the metadata generation run.

    " + }, "CancelSubscription":{ "name":"CancelSubscription", "http":{ @@ -325,7 +345,7 @@ {"shape":"ValidationException"}, {"shape":"UnauthorizedException"} ], - "documentation":"

    " + "documentation":"

    Publishes a listing (a record of an asset at a given time) or removes a listing from the catalog.

    " }, "CreateProject":{ "name":"CreateProject", @@ -667,7 +687,7 @@ {"shape":"ValidationException"}, {"shape":"UnauthorizedException"} ], - "documentation":"

    ", + "documentation":"

    Deletes a listing (a record of an asset at a given time).

    ", "idempotent":true }, "DeleteProject":{ @@ -1058,7 +1078,26 @@ {"shape":"ValidationException"}, {"shape":"UnauthorizedException"} ], - "documentation":"

    " + "documentation":"

    Gets a listing (a record of an asset at a given time).

    " + }, + "GetMetadataGenerationRun":{ + "name":"GetMetadataGenerationRun", + "http":{ + "method":"GET", + "requestUri":"/v2/domains/{domainIdentifier}/metadata-generation-runs/{identifier}", + "responseCode":200 + }, + "input":{"shape":"GetMetadataGenerationRunInput"}, + "output":{"shape":"GetMetadataGenerationRunOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    Gets a metadata generation run in Amazon DataZone.

    " }, "GetProject":{ "name":"GetProject", @@ -1351,6 +1390,25 @@ ], "documentation":"

    Lists Amazon DataZone environments.

    " }, + "ListMetadataGenerationRuns":{ + "name":"ListMetadataGenerationRuns", + "http":{ + "method":"GET", + "requestUri":"/v2/domains/{domainIdentifier}/metadata-generation-runs", + "responseCode":200 + }, + "input":{"shape":"ListMetadataGenerationRunsInput"}, + "output":{"shape":"ListMetadataGenerationRunsOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    Lists all metadata generation runs.

    " + }, "ListNotifications":{ "name":"ListNotifications", "http":{ @@ -1537,6 +1595,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, {"shape":"ValidationException"}, {"shape":"UnauthorizedException"} ], @@ -1638,7 +1697,7 @@ {"shape":"ValidationException"}, {"shape":"UnauthorizedException"} ], - "documentation":"

    Searches listings in Amazon DataZone.

    " + "documentation":"

    Searches listings (records of an asset at a given time) in Amazon DataZone.

    " }, "SearchTypes":{ "name":"SearchTypes", @@ -1699,6 +1758,28 @@ "documentation":"

    Start the run of the specified data source in Amazon DataZone.

    ", "idempotent":true }, + "StartMetadataGenerationRun":{ + "name":"StartMetadataGenerationRun", + "http":{ + "method":"POST", + "requestUri":"/v2/domains/{domainIdentifier}/metadata-generation-runs", + "responseCode":200 + }, + "input":{"shape":"StartMetadataGenerationRunInput"}, + "output":{"shape":"StartMetadataGenerationRunOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

    Starts the metadata generation run.

    ", + "idempotent":true + }, "TagResource":{ "name":"TagResource", "http":{ @@ -1991,7 +2072,12 @@ "shapes":{ "AcceptChoice":{ "type":"structure", + "required":["predictionTarget"], "members":{ + "editedValue":{ + "shape":"EditedValue", + "documentation":"

    The edit of the prediction.

    " + }, "predictionChoice":{ "shape":"Integer", "documentation":"

    Specifies the prediction (aka, the automatically generated piece of metadata) that can be accepted.

    " @@ -2016,7 +2102,7 @@ "members":{ "acceptChoices":{ "shape":"AcceptChoices", - "documentation":"

    " + "documentation":"

    Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be accepted.

    " }, "acceptRule":{ "shape":"AcceptRule", @@ -2035,13 +2121,13 @@ }, "identifier":{ "shape":"AssetIdentifier", - "documentation":"

    ", + "documentation":"

    The identifier of the asset.

    ", "location":"uri", "locationName":"identifier" }, "revision":{ "shape":"Revision", - "documentation":"

    ", + "documentation":"

    The revision that is to be made to the asset.

    ", "location":"querystring", "locationName":"revision" } @@ -2057,15 +2143,15 @@ "members":{ "assetId":{ "shape":"AssetId", - "documentation":"

    " + "documentation":"

    The ID of the asset.

    " }, "domainId":{ "shape":"DomainId", - "documentation":"

    " + "documentation":"

    The identifier of the Amazon DataZone domain.

    " }, "revision":{ "shape":"Revision", - "documentation":"

    " + "documentation":"

    The revision that is to be made to the asset.

    " } } }, @@ -2476,7 +2562,7 @@ "documentation":"

    The target name in the asset target name map.

    " } }, - "documentation":"

    " + "documentation":"

    The name map for assets.

    " }, "AssetTargetNames":{ "type":"list", @@ -2484,7 +2570,7 @@ }, "AssetTypeIdentifier":{ "type":"string", - "max":385, + "max":513, "min":1, "pattern":"^(?!\\.)[\\w\\.]*\\w$" }, @@ -2593,6 +2679,32 @@ }, "documentation":"

    The configuration of the business name generation.

    " }, + "CancelMetadataGenerationRunInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "identifier" + ], + "members":{ + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    The ID of the Amazon DataZone domain in which the metadata generation run is to be cancelled.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "identifier":{ + "shape":"MetadataGenerationRunIdentifier", + "documentation":"

    The ID of the metadata generation run.

    ", + "location":"uri", + "locationName":"identifier" + } + } + }, + "CancelMetadataGenerationRunOutput":{ + "type":"structure", + "members":{ + } + }, "CancelSubscriptionInput":{ "type":"structure", "required":[ @@ -2783,7 +2895,7 @@ }, "externalIdentifier":{ "shape":"ExternalIdentifier", - "documentation":"

    " + "documentation":"

    The external identifier of the asset.

    " }, "formsInput":{ "shape":"FormInputList", @@ -2846,7 +2958,7 @@ }, "externalIdentifier":{ "shape":"ExternalIdentifier", - "documentation":"

    " + "documentation":"

    The external identifier of the asset.

    " }, "firstRevisionCreatedAt":{ "shape":"CreatedAt", @@ -2870,7 +2982,7 @@ }, "listing":{ "shape":"AssetListingDetails", - "documentation":"

    " + "documentation":"

    The details of an asset published in an Amazon DataZone catalog.

    " }, "name":{ "shape":"AssetName", @@ -2984,7 +3096,7 @@ }, "externalIdentifier":{ "shape":"ExternalIdentifier", - "documentation":"

    " + "documentation":"

    The external identifier of the asset.

    " }, "firstRevisionCreatedAt":{ "shape":"CreatedAt", @@ -3008,7 +3120,7 @@ }, "listing":{ "shape":"AssetListingDetails", - "documentation":"

    " + "documentation":"

    The details of an asset published in an Amazon DataZone catalog.

    " }, "name":{ "shape":"AssetName", @@ -3910,30 +4022,30 @@ "members":{ "action":{ "shape":"ChangeAction", - "documentation":"

    " + "documentation":"

    Specifies whether to publish or unpublish a listing.

    " }, "clientToken":{ "shape":"ClientToken", - "documentation":"

    ", + "documentation":"

    A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

    ", "idempotencyToken":true }, "domainIdentifier":{ "shape":"DomainId", - "documentation":"

    ", + "documentation":"

    The ID of the Amazon DataZone domain.

    ", "location":"uri", "locationName":"domainIdentifier" }, "entityIdentifier":{ "shape":"EntityId", - "documentation":"

    " + "documentation":"

    The ID of the asset.

    " }, "entityRevision":{ "shape":"Revision", - "documentation":"

    " + "documentation":"

    The revision of an asset.

    " }, "entityType":{ "shape":"EntityType", - "documentation":"

    " + "documentation":"

    The type of an entity.

    " } } }, @@ -3947,15 +4059,15 @@ "members":{ "listingId":{ "shape":"ListingId", - "documentation":"

    " + "documentation":"

    The ID of the listing (a record of an asset at a given time).

    " }, "listingRevision":{ "shape":"Revision", - "documentation":"

    " + "documentation":"

    The revision of a listing.

    " }, "status":{ "shape":"ListingStatus", - "documentation":"

    " + "documentation":"

    Specifies the status of the listing.

    " } } }, @@ -4049,7 +4161,7 @@ }, "failureReasons":{ "shape":"FailureReasons", - "documentation":"

    Reasons for failed project deletion

    " + "documentation":"

    Specifies the error message that is returned if the operation cannot be successfully completed.

    " }, "glossaryTerms":{ "shape":"GlossaryTerms", @@ -4069,7 +4181,7 @@ }, "projectStatus":{ "shape":"ProjectStatus", - "documentation":"

    Status of the project

    " + "documentation":"

    The status of the Amazon DataZone project that was created.

    " } } }, @@ -4196,7 +4308,7 @@ }, "subscribedListings":{ "shape":"SubscribedListingInputs", - "documentation":"

    " + "documentation":"

    The published asset for which the subscription grant is to be created.

    " }, "subscribedPrincipals":{ "shape":"SubscribedPrincipalInputs", @@ -4252,7 +4364,7 @@ }, "subscribedListings":{ "shape":"CreateSubscriptionRequestOutputSubscribedListingsList", - "documentation":"

    " + "documentation":"

    The published asset for which the subscription grant is to be created.

    " }, "subscribedPrincipals":{ "shape":"CreateSubscriptionRequestOutputSubscribedPrincipalsList", @@ -5103,7 +5215,7 @@ }, "skipDeletionCheck":{ "shape":"Boolean", - "documentation":"

    Optional flag to delete all child entities within the domain

    ", + "documentation":"

    Specifies the optional flag to delete all child entities within the domain.

    ", "location":"querystring", "locationName":"skipDeletionCheck" } @@ -5274,13 +5386,13 @@ "members":{ "domainIdentifier":{ "shape":"DomainId", - "documentation":"

    ", + "documentation":"

    The ID of the Amazon DataZone domain.

    ", "location":"uri", "locationName":"domainIdentifier" }, "identifier":{ "shape":"ListingId", - "documentation":"

    ", + "documentation":"

    The ID of the listing to be deleted.

    ", "location":"uri", "locationName":"identifier" } @@ -5312,7 +5424,7 @@ }, "skipDeletionCheck":{ "shape":"Boolean", - "documentation":"

    Optional flag to asynchronously delete child entities within the project

    ", + "documentation":"

    Specifies the optional flag to delete all child entities within the project.

    ", "location":"querystring", "locationName":"skipDeletionCheck" } @@ -5662,6 +5774,12 @@ }, "documentation":"

    A summary of a Amazon DataZone domain.

    " }, + "EditedValue":{ + "type":"string", + "max":5000, + "min":1, + "sensitive":true + }, "EnableSetting":{ "type":"string", "enum":[ @@ -6168,7 +6286,7 @@ }, "FormInputContentString":{ "type":"string", - "max":75000, + "max":150000, "min":0 }, "FormInputList":{ @@ -6365,7 +6483,7 @@ }, "externalIdentifier":{ "shape":"ExternalIdentifier", - "documentation":"

    " + "documentation":"

    The external ID of the asset.

    " }, "firstRevisionCreatedAt":{ "shape":"CreatedAt", @@ -6389,7 +6507,7 @@ }, "listing":{ "shape":"AssetListingDetails", - "documentation":"

    " + "documentation":"

    The listing of the asset.

    " }, "name":{ "shape":"AssetName", @@ -6601,7 +6719,7 @@ }, "recommendation":{ "shape":"RecommendationConfiguration", - "documentation":"

    " + "documentation":"

    The recommendation configuration of the data source.

    " }, "schedule":{ "shape":"ScheduleConfiguration", @@ -7429,19 +7547,19 @@ "members":{ "domainIdentifier":{ "shape":"DomainId", - "documentation":"

    ", + "documentation":"

    The ID of the Amazon DataZone domain.

    ", "location":"uri", "locationName":"domainIdentifier" }, "identifier":{ "shape":"ListingId", - "documentation":"

    ", + "documentation":"

    The ID of the listing.

    ", "location":"uri", "locationName":"identifier" }, "listingRevision":{ "shape":"Revision", - "documentation":"

    ", + "documentation":"

    The revision of the listing.

    ", "location":"querystring", "locationName":"listingRevision" } @@ -7457,7 +7575,7 @@ "members":{ "createdAt":{ "shape":"CreatedAt", - "documentation":"

    " + "documentation":"

    The timestamp of when the listing was created.

    " }, "createdBy":{ "shape":"CreatedBy", @@ -7465,31 +7583,31 @@ }, "description":{ "shape":"Description", - "documentation":"

    " + "documentation":"

    The description of the listing.

    " }, "domainId":{ "shape":"DomainId", - "documentation":"

    " + "documentation":"

    The ID of the Amazon DataZone domain.

    " }, "id":{ "shape":"ListingId", - "documentation":"

    " + "documentation":"

    The ID of the listing.

    " }, "item":{ "shape":"ListingItem", - "documentation":"

    " + "documentation":"

    The details of a listing.

    " }, "listingRevision":{ "shape":"Revision", - "documentation":"

    " + "documentation":"

    The revision of a listing.

    " }, "name":{ "shape":"ListingName", - "documentation":"

    " + "documentation":"

    The name of the listing.

    " }, "status":{ "shape":"ListingStatus", - "documentation":"

    " + "documentation":"

    The status of the listing.

    " }, "updatedAt":{ "shape":"UpdatedAt", @@ -7501,6 +7619,69 @@ } } }, + "GetMetadataGenerationRunInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "identifier" + ], + "members":{ + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    The ID of the Amazon DataZone domain the metadata generation run of which you want to get.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "identifier":{ + "shape":"MetadataGenerationRunIdentifier", + "documentation":"

    The identifier of the metadata generation run.

    ", + "location":"uri", + "locationName":"identifier" + } + } + }, + "GetMetadataGenerationRunOutput":{ + "type":"structure", + "required":[ + "domainId", + "id", + "owningProjectId" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The timestamp of when the metadata generation run was start.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The Amazon DataZone user who started the metadata generation run.

    " + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

    The ID of the Amazon DataZone domain the metadata generation run of which you want to get.

    " + }, + "id":{ + "shape":"MetadataGenerationRunIdentifier", + "documentation":"

    The ID of the metadata generation run.

    " + }, + "owningProjectId":{ + "shape":"ProjectId", + "documentation":"

    The ID of the project that owns the assets for which you're running metadata generation.

    " + }, + "status":{ + "shape":"MetadataGenerationRunStatus", + "documentation":"

    The status of the metadata generation run.

    " + }, + "target":{ + "shape":"MetadataGenerationRunTarget", + "documentation":"

    The asset for which you're generating metadata.

    " + }, + "type":{ + "shape":"MetadataGenerationRunType", + "documentation":"

    The type of metadata generation run.

    " + } + } + }, "GetProjectInput":{ "type":"structure", "required":[ @@ -7549,7 +7730,7 @@ }, "failureReasons":{ "shape":"FailureReasons", - "documentation":"

    Reasons for failed project deletion

    " + "documentation":"

    Specifies the error message that is returned if the operation cannot be successfully completed.

    " }, "glossaryTerms":{ "shape":"GlossaryTerms", @@ -7569,7 +7750,7 @@ }, "projectStatus":{ "shape":"ProjectStatus", - "documentation":"

    Status of the project

    " + "documentation":"

    The status of the project.

    " } } }, @@ -7713,7 +7894,7 @@ }, "subscribedListing":{ "shape":"SubscribedListing", - "documentation":"

    " + "documentation":"

    The details of the published asset for which the subscription grant is created.

    " }, "subscribedPrincipal":{ "shape":"SubscribedPrincipal", @@ -8827,7 +9008,7 @@ }, "name":{ "shape":"String", - "documentation":"

    ", + "documentation":"

    The name of the environment.

    ", "location":"querystring", "locationName":"name" }, @@ -8871,6 +9052,55 @@ } } }, + "ListMetadataGenerationRunsInput":{ + "type":"structure", + "required":["domainIdentifier"], + "members":{ + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    The ID of the Amazon DataZone domain where you want to list metadata generation runs.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of metadata generation runs to return in a single call to ListMetadataGenerationRuns. When the number of metadata generation runs to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListMetadataGenerationRuns to list the next set of revisions.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

    When the number of metadata generation runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of metadata generation runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListMetadataGenerationRuns to list the next set of revisions.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "status":{ + "shape":"MetadataGenerationRunStatus", + "documentation":"

    The status of the metadata generation runs.

    ", + "location":"querystring", + "locationName":"status" + }, + "type":{ + "shape":"MetadataGenerationRunType", + "documentation":"

    The type of the metadata generation runs.

    ", + "location":"querystring", + "locationName":"type" + } + } + }, + "ListMetadataGenerationRunsOutput":{ + "type":"structure", + "members":{ + "items":{ + "shape":"MetadataGenerationRuns", + "documentation":"

    The results of the ListMetadataGenerationRuns action.

    " + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

    When the number of metadata generation runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of metadata generation runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListMetadataGenerationRuns to list the next set of revisions.

    " + } + } + }, "ListNotificationsInput":{ "type":"structure", "required":[ @@ -9024,7 +9254,7 @@ }, "name":{ "shape":"ProjectName", - "documentation":"

    ", + "documentation":"

    The name of the project.

    ", "location":"querystring", "locationName":"name" }, @@ -9481,6 +9711,97 @@ "min":0, "sensitive":true }, + "MetadataGenerationRunIdentifier":{ + "type":"string", + "pattern":"^[a-zA-Z0-9_-]{1,36}$" + }, + "MetadataGenerationRunItem":{ + "type":"structure", + "required":[ + "domainId", + "id", + "owningProjectId" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The timestamp at which the metadata generation run was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user who created the metadata generation run.

    " + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

    The ID of the Amazon DataZone domain in which the metadata generation run was created.

    " + }, + "id":{ + "shape":"MetadataGenerationRunIdentifier", + "documentation":"

    The ID of the metadata generation run.

    " + }, + "owningProjectId":{ + "shape":"ProjectId", + "documentation":"

    The ID of the project that owns the asset for which the metadata generation was ran.

    " + }, + "status":{ + "shape":"MetadataGenerationRunStatus", + "documentation":"

    The status of the metadata generation run.

    " + }, + "target":{ + "shape":"MetadataGenerationRunTarget", + "documentation":"

    The asset for which metadata was generated.

    " + }, + "type":{ + "shape":"MetadataGenerationRunType", + "documentation":"

    The type of the metadata generation run.

    " + } + }, + "documentation":"

    The metadata generation run.

    " + }, + "MetadataGenerationRunStatus":{ + "type":"string", + "enum":[ + "SUBMITTED", + "IN_PROGRESS", + "CANCELED", + "SUCCEEDED", + "FAILED" + ] + }, + "MetadataGenerationRunTarget":{ + "type":"structure", + "required":[ + "identifier", + "type" + ], + "members":{ + "identifier":{ + "shape":"String", + "documentation":"

    The ID of the metadata generation run's target.

    " + }, + "revision":{ + "shape":"Revision", + "documentation":"

    The revision of the asset for which metadata was generated.

    " + }, + "type":{ + "shape":"MetadataGenerationTargetType", + "documentation":"

    The type of the asset for which metadata was generated.

    " + } + }, + "documentation":"

    The asset for which metadata was generated.

    " + }, + "MetadataGenerationRunType":{ + "type":"string", + "enum":["BUSINESS_DESCRIPTIONS"] + }, + "MetadataGenerationRuns":{ + "type":"list", + "member":{"shape":"MetadataGenerationRunItem"} + }, + "MetadataGenerationTargetType":{ + "type":"string", + "enum":["ASSET"] + }, "MetadataMap":{ "type":"map", "key":{"shape":"String"}, @@ -9491,10 +9812,10 @@ "members":{ "smithy":{ "shape":"Smithy", - "documentation":"

    " + "documentation":"

    Indicates the smithy model of the API.

    " } }, - "documentation":"

    ", + "documentation":"

    The model of the API.

    ", "sensitive":true, "union":true }, @@ -9640,14 +9961,14 @@ "members":{ "code":{ "shape":"String", - "documentation":"

    Project Deletion Error Code

    " + "documentation":"

    The code of the project deletion error.

    " }, "message":{ "shape":"String", - "documentation":"

    Project Deletion Error Message

    " + "documentation":"

    The message of the project deletion error.

    " } }, - "documentation":"

    Error that occurred during project deletion

    " + "documentation":"

    Specifies the error message that is returned if the operation cannot be successfully completed.

    " }, "ProjectId":{ "type":"string", @@ -9721,7 +10042,7 @@ }, "failureReasons":{ "shape":"FailureReasons", - "documentation":"

    Reasons for failed project deletion

    " + "documentation":"

    Specifies the error message that is returned if the operation cannot be successfully completed.

    " }, "id":{ "shape":"ProjectId", @@ -9733,7 +10054,7 @@ }, "projectStatus":{ "shape":"ProjectStatus", - "documentation":"

    Status of the project

    " + "documentation":"

    The status of the project.

    " }, "updatedAt":{ "shape":"SyntheticTimestamp_date_time", @@ -9996,6 +10317,7 @@ }, "RejectChoice":{ "type":"structure", + "required":["predictionTarget"], "members":{ "predictionChoices":{ "shape":"PredictionChoices", @@ -10038,15 +10360,15 @@ }, "rejectChoices":{ "shape":"RejectChoices", - "documentation":"

    " + "documentation":"

    Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.

    " }, "rejectRule":{ "shape":"RejectRule", - "documentation":"

    " + "documentation":"

    Specifies the rule (or the conditions) under which a prediction can be rejected.

    " }, "revision":{ "shape":"Revision", - "documentation":"

    ", + "documentation":"

    The revision that is to be made to the asset.

    ", "location":"querystring", "locationName":"revision" } @@ -10062,15 +10384,15 @@ "members":{ "assetId":{ "shape":"AssetId", - "documentation":"

    " + "documentation":"

    The ID of the asset.

    " }, "assetRevision":{ "shape":"Revision", - "documentation":"

    " + "documentation":"

    The revision that is to be made to the asset.

    " }, "domainId":{ "shape":"DomainId", - "documentation":"

    " + "documentation":"

    The ID of the Amazon DataZone domain.

    " } } }, @@ -10508,7 +10830,7 @@ }, "searchIn":{ "shape":"SearchInList", - "documentation":"

    " + "documentation":"

    The details of the search.

    " }, "searchScope":{ "shape":"InventorySearchScope", @@ -10579,7 +10901,7 @@ }, "searchIn":{ "shape":"SearchInList", - "documentation":"

    " + "documentation":"

    The details of the search.

    " }, "searchText":{ "shape":"String", @@ -10688,7 +11010,7 @@ }, "managed":{ "shape":"Boolean", - "documentation":"

    " + "documentation":"

    Specifies whether the search is managed.

    " }, "maxResults":{ "shape":"MaxResults", @@ -10700,7 +11022,7 @@ }, "searchIn":{ "shape":"SearchInList", - "documentation":"

    " + "documentation":"

    The details of the search.

    " }, "searchScope":{ "shape":"TypesSearchScope", @@ -10963,6 +11285,77 @@ } } }, + "StartMetadataGenerationRunInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "owningProjectIdentifier", + "target", + "type" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.

    ", + "idempotencyToken":true + }, + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

    The ID of the Amazon DataZone domain where you want to start a metadata generation run.

    ", + "location":"uri", + "locationName":"domainIdentifier" + }, + "owningProjectIdentifier":{ + "shape":"ProjectId", + "documentation":"

    The ID of the project that owns the asset for which you want to start a metadata generation run.

    " + }, + "target":{ + "shape":"MetadataGenerationRunTarget", + "documentation":"

    The asset for which you want to start a metadata generation run.

    " + }, + "type":{ + "shape":"MetadataGenerationRunType", + "documentation":"

    The type of the metadata generation run.

    " + } + } + }, + "StartMetadataGenerationRunOutput":{ + "type":"structure", + "required":[ + "domainId", + "id" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The timestamp at which the metadata generation run was started.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The ID of the user who started the metadata generation run.

    " + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

    The ID of the Amazon DataZone domain in which the metadata generation run was started.

    " + }, + "id":{ + "shape":"MetadataGenerationRunIdentifier", + "documentation":"

    The ID of the metadata generation run.

    " + }, + "owningProjectId":{ + "shape":"ProjectId", + "documentation":"

    The ID of the project that owns the asset for which the metadata generation run was started.

    " + }, + "status":{ + "shape":"MetadataGenerationRunStatus", + "documentation":"

    The status of the metadata generation run.

    " + }, + "type":{ + "shape":"MetadataGenerationRunType", + "documentation":"

    The type of the metadata generation run.

    " + } + } + }, "String":{"type":"string"}, "SubscribedAsset":{ "type":"structure", @@ -12491,7 +12884,7 @@ }, "failureReasons":{ "shape":"FailureReasons", - "documentation":"

    Reasons for failed project deletion

    " + "documentation":"

    Specifies the error message that is returned if the operation cannot be successfully completed.

    " }, "glossaryTerms":{ "shape":"GlossaryTerms", @@ -12511,7 +12904,7 @@ }, "projectStatus":{ "shape":"ProjectStatus", - "documentation":"

    Status of the project

    " + "documentation":"

    The status of the project.

    " } } }, @@ -12571,7 +12964,7 @@ "members":{ "assets":{ "shape":"SubscribedAssets", - "documentation":"

    " + "documentation":"

    The details of the asset for which the subscription grant is created.

    " }, "createdAt":{ "shape":"CreatedAt", diff --git a/tools/code-generation/api-descriptions/deadline-2023-10-12.normal.json b/tools/code-generation/api-descriptions/deadline-2023-10-12.normal.json new file mode 100644 index 00000000000..af88bacfe4d --- /dev/null +++ b/tools/code-generation/api-descriptions/deadline-2023-10-12.normal.json @@ -0,0 +1,11952 @@ +{ + "version":"2.0", + "metadata":{ + "apiVersion":"2023-10-12", + "endpointPrefix":"deadline", + "jsonVersion":"1.1", + "protocol":"rest-json", + "serviceFullName":"AWSDeadlineCloud", + "serviceId":"deadline", + "signatureVersion":"v4", + "signingName":"deadline", + "uid":"deadline-2023-10-12" + }, + "operations":{ + "AssociateMemberToFarm":{ + "name":"AssociateMemberToFarm", + "http":{ + "method":"PUT", + "requestUri":"/2023-10-12/farms/{farmId}/members/{principalId}", + "responseCode":200 + }, + "input":{"shape":"AssociateMemberToFarmRequest"}, + "output":{"shape":"AssociateMemberToFarmResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Assigns a farm membership level to a member.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "AssociateMemberToFleet":{ + "name":"AssociateMemberToFleet", + "http":{ + "method":"PUT", + "requestUri":"/2023-10-12/farms/{farmId}/fleets/{fleetId}/members/{principalId}", + "responseCode":200 + }, + "input":{"shape":"AssociateMemberToFleetRequest"}, + "output":{"shape":"AssociateMemberToFleetResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Assigns a fleet membership level to a member.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "AssociateMemberToJob":{ + "name":"AssociateMemberToJob", + "http":{ + "method":"PUT", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/members/{principalId}", + "responseCode":200 + }, + "input":{"shape":"AssociateMemberToJobRequest"}, + "output":{"shape":"AssociateMemberToJobResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Assigns a job membership level to a member

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "AssociateMemberToQueue":{ + "name":"AssociateMemberToQueue", + "http":{ + "method":"PUT", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/members/{principalId}", + "responseCode":200 + }, + "input":{"shape":"AssociateMemberToQueueRequest"}, + "output":{"shape":"AssociateMemberToQueueResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Assigns a queue membership level to a member

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "AssumeFleetRoleForRead":{ + "name":"AssumeFleetRoleForRead", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/fleets/{fleetId}/read-roles", + "responseCode":200 + }, + "input":{"shape":"AssumeFleetRoleForReadRequest"}, + "output":{"shape":"AssumeFleetRoleForReadResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Get Amazon Web Services credentials from the fleet role. The IAM permissions of the credentials are scoped down to have read-only access.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "AssumeFleetRoleForWorker":{ + "name":"AssumeFleetRoleForWorker", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/fleet-roles", + "responseCode":200 + }, + "input":{"shape":"AssumeFleetRoleForWorkerRequest"}, + "output":{"shape":"AssumeFleetRoleForWorkerResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Get credentials from the fleet role for a worker.

    ", + "endpoint":{"hostPrefix":"scheduling."} + }, + "AssumeQueueRoleForRead":{ + "name":"AssumeQueueRoleForRead", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/read-roles", + "responseCode":200 + }, + "input":{"shape":"AssumeQueueRoleForReadRequest"}, + "output":{"shape":"AssumeQueueRoleForReadResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Gets Amazon Web Services credentials from the queue role. The IAM permissions of the credentials are scoped down to have read-only access.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "AssumeQueueRoleForUser":{ + "name":"AssumeQueueRoleForUser", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/user-roles", + "responseCode":200 + }, + "input":{"shape":"AssumeQueueRoleForUserRequest"}, + "output":{"shape":"AssumeQueueRoleForUserResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Allows a user to assume a role for a queue.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "AssumeQueueRoleForWorker":{ + "name":"AssumeQueueRoleForWorker", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/queue-roles", + "responseCode":200 + }, + "input":{"shape":"AssumeQueueRoleForWorkerRequest"}, + "output":{"shape":"AssumeQueueRoleForWorkerResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Allows a worker to assume a queue role.

    ", + "endpoint":{"hostPrefix":"scheduling."} + }, + "BatchGetJobEntity":{ + "name":"BatchGetJobEntity", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/batchGetJobEntity", + "responseCode":200 + }, + "input":{"shape":"BatchGetJobEntityRequest"}, + "output":{"shape":"BatchGetJobEntityResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Get batched job details for a worker.

    ", + "endpoint":{"hostPrefix":"scheduling."} + }, + "CopyJobTemplate":{ + "name":"CopyJobTemplate", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/template", + "responseCode":200 + }, + "input":{"shape":"CopyJobTemplateRequest"}, + "output":{"shape":"CopyJobTemplateResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Copies a job template to an Amazon S3 bucket.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "CreateBudget":{ + "name":"CreateBudget", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/farms/{farmId}/budgets", + "responseCode":200 + }, + "input":{"shape":"CreateBudgetRequest"}, + "output":{"shape":"CreateBudgetResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Creates a budget to set spending thresholds for your rendering activity.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "CreateFarm":{ + "name":"CreateFarm", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/farms", + "responseCode":200 + }, + "input":{"shape":"CreateFarmRequest"}, + "output":{"shape":"CreateFarmResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Creates a farm to allow space for queues and fleets. Farms are the space where the components of your renders gather and are pieced together in the cloud. Farms contain budgets and allow you to enforce permissions. Deadline Cloud farms are a useful container for large projects.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "CreateFleet":{ + "name":"CreateFleet", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/farms/{farmId}/fleets", + "responseCode":200 + }, + "input":{"shape":"CreateFleetRequest"}, + "output":{"shape":"CreateFleetResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Creates a fleet. Fleets gather information relating to compute, or capacity, for renders within your farms. You can choose to manage your own capacity or opt to have fleets fully managed by Deadline Cloud.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "CreateJob":{ + "name":"CreateJob", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs", + "responseCode":201 + }, + "input":{"shape":"CreateJobRequest"}, + "output":{"shape":"CreateJobResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Creates a job. A job is a render submission submitted by a user. It contains specific job properties outlined as steps and tasks.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "CreateLicenseEndpoint":{ + "name":"CreateLicenseEndpoint", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/license-endpoints", + "responseCode":200 + }, + "input":{"shape":"CreateLicenseEndpointRequest"}, + "output":{"shape":"CreateLicenseEndpointResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Creates a license endpoint to integrate your various licensed software used for rendering on Deadline Cloud.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "CreateMonitor":{ + "name":"CreateMonitor", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/monitors", + "responseCode":200 + }, + "input":{"shape":"CreateMonitorRequest"}, + "output":{"shape":"CreateMonitorResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Creates an Amazon Web Services Deadline Cloud monitor that you can use to view your farms, queues, and fleets. After you submit a job, you can track the progress of the tasks and steps that make up the job, and then download the job's results.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "CreateQueue":{ + "name":"CreateQueue", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/farms/{farmId}/queues", + "responseCode":200 + }, + "input":{"shape":"CreateQueueRequest"}, + "output":{"shape":"CreateQueueResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Creates a queue to coordinate the order in which jobs run on a farm. A queue can also specify where to pull resources and indicate where to output completed jobs.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "CreateQueueEnvironment":{ + "name":"CreateQueueEnvironment", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/environments", + "responseCode":200 + }, + "input":{"shape":"CreateQueueEnvironmentRequest"}, + "output":{"shape":"CreateQueueEnvironmentResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Creates an environment for a queue that defines how jobs in the queue run.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "CreateQueueFleetAssociation":{ + "name":"CreateQueueFleetAssociation", + "http":{ + "method":"PUT", + "requestUri":"/2023-10-12/farms/{farmId}/queue-fleet-associations", + "responseCode":200 + }, + "input":{"shape":"CreateQueueFleetAssociationRequest"}, + "output":{"shape":"CreateQueueFleetAssociationResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Creates an association between a queue and a fleet.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "CreateStorageProfile":{ + "name":"CreateStorageProfile", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/farms/{farmId}/storage-profiles", + "responseCode":200 + }, + "input":{"shape":"CreateStorageProfileRequest"}, + "output":{"shape":"CreateStorageProfileResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Creates a storage profile that specifies the operating system, file type, and file location of resources used on a farm.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "CreateWorker":{ + "name":"CreateWorker", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers", + "responseCode":200 + }, + "input":{"shape":"CreateWorkerRequest"}, + "output":{"shape":"CreateWorkerResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Creates a worker. A worker tells your instance how much processing power (vCPU), and memory (GiB) you’ll need to assemble the digital assets held within a particular instance. You can specify certain instance types to use, or let the worker know which instances types to exclude.

    ", + "endpoint":{"hostPrefix":"scheduling."}, + "idempotent":true + }, + "DeleteBudget":{ + "name":"DeleteBudget", + "http":{ + "method":"DELETE", + "requestUri":"/2023-10-12/farms/{farmId}/budgets/{budgetId}", + "responseCode":200 + }, + "input":{"shape":"DeleteBudgetRequest"}, + "output":{"shape":"DeleteBudgetResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Deletes a budget.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "DeleteFarm":{ + "name":"DeleteFarm", + "http":{ + "method":"DELETE", + "requestUri":"/2023-10-12/farms/{farmId}", + "responseCode":200 + }, + "input":{"shape":"DeleteFarmRequest"}, + "output":{"shape":"DeleteFarmResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Deletes a farm.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "DeleteFleet":{ + "name":"DeleteFleet", + "http":{ + "method":"DELETE", + "requestUri":"/2023-10-12/farms/{farmId}/fleets/{fleetId}", + "responseCode":200 + }, + "input":{"shape":"DeleteFleetRequest"}, + "output":{"shape":"DeleteFleetResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Deletes a fleet.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "DeleteLicenseEndpoint":{ + "name":"DeleteLicenseEndpoint", + "http":{ + "method":"DELETE", + "requestUri":"/2023-10-12/license-endpoints/{licenseEndpointId}", + "responseCode":200 + }, + "input":{"shape":"DeleteLicenseEndpointRequest"}, + "output":{"shape":"DeleteLicenseEndpointResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Deletes a license endpoint.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "DeleteMeteredProduct":{ + "name":"DeleteMeteredProduct", + "http":{ + "method":"DELETE", + "requestUri":"/2023-10-12/license-endpoints/{licenseEndpointId}/metered-products/{productId}", + "responseCode":200 + }, + "input":{"shape":"DeleteMeteredProductRequest"}, + "output":{"shape":"DeleteMeteredProductResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Deletes a metered product.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "DeleteMonitor":{ + "name":"DeleteMonitor", + "http":{ + "method":"DELETE", + "requestUri":"/2023-10-12/monitors/{monitorId}", + "responseCode":200 + }, + "input":{"shape":"DeleteMonitorRequest"}, + "output":{"shape":"DeleteMonitorResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Removes a Deadline Cloud monitor. After you delete a monitor, you can create a new one and attach farms to the monitor.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "DeleteQueue":{ + "name":"DeleteQueue", + "http":{ + "method":"DELETE", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}", + "responseCode":200 + }, + "input":{"shape":"DeleteQueueRequest"}, + "output":{"shape":"DeleteQueueResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Deletes a queue.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "DeleteQueueEnvironment":{ + "name":"DeleteQueueEnvironment", + "http":{ + "method":"DELETE", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/environments/{queueEnvironmentId}", + "responseCode":200 + }, + "input":{"shape":"DeleteQueueEnvironmentRequest"}, + "output":{"shape":"DeleteQueueEnvironmentResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Deletes a queue environment.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "DeleteQueueFleetAssociation":{ + "name":"DeleteQueueFleetAssociation", + "http":{ + "method":"DELETE", + "requestUri":"/2023-10-12/farms/{farmId}/queue-fleet-associations/{queueId}/{fleetId}", + "responseCode":200 + }, + "input":{"shape":"DeleteQueueFleetAssociationRequest"}, + "output":{"shape":"DeleteQueueFleetAssociationResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Deletes a queue-fleet association.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "DeleteStorageProfile":{ + "name":"DeleteStorageProfile", + "http":{ + "method":"DELETE", + "requestUri":"/2023-10-12/farms/{farmId}/storage-profiles/{storageProfileId}", + "responseCode":200 + }, + "input":{"shape":"DeleteStorageProfileRequest"}, + "output":{"shape":"DeleteStorageProfileResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Deletes a storage profile.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "DeleteWorker":{ + "name":"DeleteWorker", + "http":{ + "method":"DELETE", + "requestUri":"/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}", + "responseCode":200 + }, + "input":{"shape":"DeleteWorkerRequest"}, + "output":{"shape":"DeleteWorkerResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Deletes a worker.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "DisassociateMemberFromFarm":{ + "name":"DisassociateMemberFromFarm", + "http":{ + "method":"DELETE", + "requestUri":"/2023-10-12/farms/{farmId}/members/{principalId}", + "responseCode":200 + }, + "input":{"shape":"DisassociateMemberFromFarmRequest"}, + "output":{"shape":"DisassociateMemberFromFarmResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Disassociates a member from a farm.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "DisassociateMemberFromFleet":{ + "name":"DisassociateMemberFromFleet", + "http":{ + "method":"DELETE", + "requestUri":"/2023-10-12/farms/{farmId}/fleets/{fleetId}/members/{principalId}", + "responseCode":200 + }, + "input":{"shape":"DisassociateMemberFromFleetRequest"}, + "output":{"shape":"DisassociateMemberFromFleetResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Disassociates a member from a fleet.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "DisassociateMemberFromJob":{ + "name":"DisassociateMemberFromJob", + "http":{ + "method":"DELETE", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/members/{principalId}", + "responseCode":200 + }, + "input":{"shape":"DisassociateMemberFromJobRequest"}, + "output":{"shape":"DisassociateMemberFromJobResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Disassociates a member from a job.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "DisassociateMemberFromQueue":{ + "name":"DisassociateMemberFromQueue", + "http":{ + "method":"DELETE", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/members/{principalId}", + "responseCode":200 + }, + "input":{"shape":"DisassociateMemberFromQueueRequest"}, + "output":{"shape":"DisassociateMemberFromQueueResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Disassociates a member from a queue.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "GetBudget":{ + "name":"GetBudget", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/budgets/{budgetId}", + "responseCode":200 + }, + "input":{"shape":"GetBudgetRequest"}, + "output":{"shape":"GetBudgetResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Get a budget.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "GetFarm":{ + "name":"GetFarm", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}", + "responseCode":200 + }, + "input":{"shape":"GetFarmRequest"}, + "output":{"shape":"GetFarmResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Get a farm.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "GetFleet":{ + "name":"GetFleet", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/fleets/{fleetId}", + "responseCode":200 + }, + "input":{"shape":"GetFleetRequest"}, + "output":{"shape":"GetFleetResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Get a fleet.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "GetJob":{ + "name":"GetJob", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}", + "responseCode":200 + }, + "input":{"shape":"GetJobRequest"}, + "output":{"shape":"GetJobResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Gets a Deadline Cloud job.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "GetLicenseEndpoint":{ + "name":"GetLicenseEndpoint", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/license-endpoints/{licenseEndpointId}", + "responseCode":200 + }, + "input":{"shape":"GetLicenseEndpointRequest"}, + "output":{"shape":"GetLicenseEndpointResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Gets a licence endpoint.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "GetMonitor":{ + "name":"GetMonitor", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/monitors/{monitorId}", + "responseCode":200 + }, + "input":{"shape":"GetMonitorRequest"}, + "output":{"shape":"GetMonitorResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Gets information about the specified monitor.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "GetQueue":{ + "name":"GetQueue", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}", + "responseCode":200 + }, + "input":{"shape":"GetQueueRequest"}, + "output":{"shape":"GetQueueResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Gets a queue.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "GetQueueEnvironment":{ + "name":"GetQueueEnvironment", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/environments/{queueEnvironmentId}", + "responseCode":200 + }, + "input":{"shape":"GetQueueEnvironmentRequest"}, + "output":{"shape":"GetQueueEnvironmentResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Gets a queue environment.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "GetQueueFleetAssociation":{ + "name":"GetQueueFleetAssociation", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queue-fleet-associations/{queueId}/{fleetId}", + "responseCode":200 + }, + "input":{"shape":"GetQueueFleetAssociationRequest"}, + "output":{"shape":"GetQueueFleetAssociationResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Gets a queue-fleet association.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "GetSession":{ + "name":"GetSession", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/sessions/{sessionId}", + "responseCode":200 + }, + "input":{"shape":"GetSessionRequest"}, + "output":{"shape":"GetSessionResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Gets a session.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "GetSessionAction":{ + "name":"GetSessionAction", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/session-actions/{sessionActionId}", + "responseCode":200 + }, + "input":{"shape":"GetSessionActionRequest"}, + "output":{"shape":"GetSessionActionResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Gets a session action for the job.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "GetSessionsStatisticsAggregation":{ + "name":"GetSessionsStatisticsAggregation", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/sessions-statistics-aggregation", + "responseCode":200 + }, + "input":{"shape":"GetSessionsStatisticsAggregationRequest"}, + "output":{"shape":"GetSessionsStatisticsAggregationResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Gets a set of statistics for queues or farms. Before you can call the GetSessionStatisticsAggregation operation, you must first call the StartSessionsStatisticsAggregation operation. Statistics are available for 1 hour after you call the StartSessionsStatisticsAggregation operation.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "GetStep":{ + "name":"GetStep", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}", + "responseCode":200 + }, + "input":{"shape":"GetStepRequest"}, + "output":{"shape":"GetStepResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Gets a step.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "GetStorageProfile":{ + "name":"GetStorageProfile", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/storage-profiles/{storageProfileId}", + "responseCode":200 + }, + "input":{"shape":"GetStorageProfileRequest"}, + "output":{"shape":"GetStorageProfileResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Gets a storage profile.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "GetStorageProfileForQueue":{ + "name":"GetStorageProfileForQueue", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/storage-profiles/{storageProfileId}", + "responseCode":200 + }, + "input":{"shape":"GetStorageProfileForQueueRequest"}, + "output":{"shape":"GetStorageProfileForQueueResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Gets a storage profile for a queue.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "GetTask":{ + "name":"GetTask", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/tasks/{taskId}", + "responseCode":200 + }, + "input":{"shape":"GetTaskRequest"}, + "output":{"shape":"GetTaskResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Gets a task.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "GetWorker":{ + "name":"GetWorker", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}", + "responseCode":200 + }, + "input":{"shape":"GetWorkerRequest"}, + "output":{"shape":"GetWorkerResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Gets a worker.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListAvailableMeteredProducts":{ + "name":"ListAvailableMeteredProducts", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/metered-products", + "responseCode":200 + }, + "input":{"shape":"ListAvailableMeteredProductsRequest"}, + "output":{"shape":"ListAvailableMeteredProductsResponse"}, + "errors":[ + {"shape":"InternalServerErrorException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

    A list of the available metered products.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListBudgets":{ + "name":"ListBudgets", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/budgets", + "responseCode":200 + }, + "input":{"shape":"ListBudgetsRequest"}, + "output":{"shape":"ListBudgetsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    A list of budgets in a farm.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListFarmMembers":{ + "name":"ListFarmMembers", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/members", + "responseCode":200 + }, + "input":{"shape":"ListFarmMembersRequest"}, + "output":{"shape":"ListFarmMembersResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists the members of a farm.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListFarms":{ + "name":"ListFarms", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms", + "responseCode":200 + }, + "input":{"shape":"ListFarmsRequest"}, + "output":{"shape":"ListFarmsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists farms.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListFleetMembers":{ + "name":"ListFleetMembers", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/fleets/{fleetId}/members", + "responseCode":200 + }, + "input":{"shape":"ListFleetMembersRequest"}, + "output":{"shape":"ListFleetMembersResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists fleet members.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListFleets":{ + "name":"ListFleets", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/fleets", + "responseCode":200 + }, + "input":{"shape":"ListFleetsRequest"}, + "output":{"shape":"ListFleetsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists fleets.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListJobMembers":{ + "name":"ListJobMembers", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/members", + "responseCode":200 + }, + "input":{"shape":"ListJobMembersRequest"}, + "output":{"shape":"ListJobMembersResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists members on a job.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListJobs":{ + "name":"ListJobs", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs", + "responseCode":200 + }, + "input":{"shape":"ListJobsRequest"}, + "output":{"shape":"ListJobsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists jobs.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListLicenseEndpoints":{ + "name":"ListLicenseEndpoints", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/license-endpoints", + "responseCode":200 + }, + "input":{"shape":"ListLicenseEndpointsRequest"}, + "output":{"shape":"ListLicenseEndpointsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists license endpoints.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListMeteredProducts":{ + "name":"ListMeteredProducts", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/license-endpoints/{licenseEndpointId}/metered-products", + "responseCode":200 + }, + "input":{"shape":"ListMeteredProductsRequest"}, + "output":{"shape":"ListMeteredProductsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists metered products.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListMonitors":{ + "name":"ListMonitors", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/monitors", + "responseCode":200 + }, + "input":{"shape":"ListMonitorsRequest"}, + "output":{"shape":"ListMonitorsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Gets a list of your monitors in Deadline Cloud.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListQueueEnvironments":{ + "name":"ListQueueEnvironments", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/environments", + "responseCode":200 + }, + "input":{"shape":"ListQueueEnvironmentsRequest"}, + "output":{"shape":"ListQueueEnvironmentsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists queue environments.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListQueueFleetAssociations":{ + "name":"ListQueueFleetAssociations", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queue-fleet-associations", + "responseCode":200 + }, + "input":{"shape":"ListQueueFleetAssociationsRequest"}, + "output":{"shape":"ListQueueFleetAssociationsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

    Lists queue-fleet associations.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListQueueMembers":{ + "name":"ListQueueMembers", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/members", + "responseCode":200 + }, + "input":{"shape":"ListQueueMembersRequest"}, + "output":{"shape":"ListQueueMembersResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists the members in a queue.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListQueues":{ + "name":"ListQueues", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues", + "responseCode":200 + }, + "input":{"shape":"ListQueuesRequest"}, + "output":{"shape":"ListQueuesResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists queues.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListSessionActions":{ + "name":"ListSessionActions", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/session-actions", + "responseCode":200 + }, + "input":{"shape":"ListSessionActionsRequest"}, + "output":{"shape":"ListSessionActionsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists session actions.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListSessions":{ + "name":"ListSessions", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/sessions", + "responseCode":200 + }, + "input":{"shape":"ListSessionsRequest"}, + "output":{"shape":"ListSessionsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists sessions.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListSessionsForWorker":{ + "name":"ListSessionsForWorker", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/sessions", + "responseCode":200 + }, + "input":{"shape":"ListSessionsForWorkerRequest"}, + "output":{"shape":"ListSessionsForWorkerResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists sessions for a worker.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListStepConsumers":{ + "name":"ListStepConsumers", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/consumers", + "responseCode":200 + }, + "input":{"shape":"ListStepConsumersRequest"}, + "output":{"shape":"ListStepConsumersResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists step consumers.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListStepDependencies":{ + "name":"ListStepDependencies", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/dependencies", + "responseCode":200 + }, + "input":{"shape":"ListStepDependenciesRequest"}, + "output":{"shape":"ListStepDependenciesResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists the dependencies for a step.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListSteps":{ + "name":"ListSteps", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps", + "responseCode":200 + }, + "input":{"shape":"ListStepsRequest"}, + "output":{"shape":"ListStepsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists steps for a job.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListStorageProfiles":{ + "name":"ListStorageProfiles", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/storage-profiles", + "responseCode":200 + }, + "input":{"shape":"ListStorageProfilesRequest"}, + "output":{"shape":"ListStorageProfilesResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists storage profiles.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListStorageProfilesForQueue":{ + "name":"ListStorageProfilesForQueue", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/storage-profiles", + "responseCode":200 + }, + "input":{"shape":"ListStorageProfilesForQueueRequest"}, + "output":{"shape":"ListStorageProfilesForQueueResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists storage profiles for a queue.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListTagsForResource":{ + "name":"ListTagsForResource", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/tags/{resourceArn}", + "responseCode":200 + }, + "input":{"shape":"ListTagsForResourceRequest"}, + "output":{"shape":"ListTagsForResourceResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists tags for a resource.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListTasks":{ + "name":"ListTasks", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/tasks", + "responseCode":200 + }, + "input":{"shape":"ListTasksRequest"}, + "output":{"shape":"ListTasksResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists tasks for a job.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "ListWorkers":{ + "name":"ListWorkers", + "http":{ + "method":"GET", + "requestUri":"/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers", + "responseCode":200 + }, + "input":{"shape":"ListWorkersRequest"}, + "output":{"shape":"ListWorkersResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Lists workers.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "PutMeteredProduct":{ + "name":"PutMeteredProduct", + "http":{ + "method":"PUT", + "requestUri":"/2023-10-12/license-endpoints/{licenseEndpointId}/metered-products/{productId}", + "responseCode":200 + }, + "input":{"shape":"PutMeteredProductRequest"}, + "output":{"shape":"PutMeteredProductResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Adds a metered product.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "SearchJobs":{ + "name":"SearchJobs", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/farms/{farmId}/search/jobs", + "responseCode":200 + }, + "input":{"shape":"SearchJobsRequest"}, + "output":{"shape":"SearchJobsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Searches for jobs.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "SearchSteps":{ + "name":"SearchSteps", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/farms/{farmId}/search/steps", + "responseCode":200 + }, + "input":{"shape":"SearchStepsRequest"}, + "output":{"shape":"SearchStepsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Searches for steps.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "SearchTasks":{ + "name":"SearchTasks", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/farms/{farmId}/search/tasks", + "responseCode":200 + }, + "input":{"shape":"SearchTasksRequest"}, + "output":{"shape":"SearchTasksResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Searches for tasks.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "SearchWorkers":{ + "name":"SearchWorkers", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/farms/{farmId}/search/workers", + "responseCode":200 + }, + "input":{"shape":"SearchWorkersRequest"}, + "output":{"shape":"SearchWorkersResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Searches for workers.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "StartSessionsStatisticsAggregation":{ + "name":"StartSessionsStatisticsAggregation", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/farms/{farmId}/sessions-statistics-aggregation", + "responseCode":200 + }, + "input":{"shape":"StartSessionsStatisticsAggregationRequest"}, + "output":{"shape":"StartSessionsStatisticsAggregationResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Starts an asynchronous request for getting aggregated statistics about queues and farms. Get the statistics using the GetSessionsStatisticsAggregation operation. Statistics are available for 1 hour after you call the StartSessionsStatisticsAggregation operation.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "TagResource":{ + "name":"TagResource", + "http":{ + "method":"POST", + "requestUri":"/2023-10-12/tags/{resourceArn}", + "responseCode":204 + }, + "input":{"shape":"TagResourceRequest"}, + "output":{"shape":"TagResourceResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Tags a resource using the resource's ARN and desired tags.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "UntagResource":{ + "name":"UntagResource", + "http":{ + "method":"DELETE", + "requestUri":"/2023-10-12/tags/{resourceArn}", + "responseCode":204 + }, + "input":{"shape":"UntagResourceRequest"}, + "output":{"shape":"UntagResourceResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Removes a tag from a resource using the resource's ARN and tag to remove.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "UpdateBudget":{ + "name":"UpdateBudget", + "http":{ + "method":"PATCH", + "requestUri":"/2023-10-12/farms/{farmId}/budgets/{budgetId}", + "responseCode":200 + }, + "input":{"shape":"UpdateBudgetRequest"}, + "output":{"shape":"UpdateBudgetResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Updates a budget that sets spending thresholds for rendering activity.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "UpdateFarm":{ + "name":"UpdateFarm", + "http":{ + "method":"PATCH", + "requestUri":"/2023-10-12/farms/{farmId}", + "responseCode":200 + }, + "input":{"shape":"UpdateFarmRequest"}, + "output":{"shape":"UpdateFarmResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Updates a farm.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "UpdateFleet":{ + "name":"UpdateFleet", + "http":{ + "method":"PATCH", + "requestUri":"/2023-10-12/farms/{farmId}/fleets/{fleetId}", + "responseCode":200 + }, + "input":{"shape":"UpdateFleetRequest"}, + "output":{"shape":"UpdateFleetResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    Updates a fleet.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "UpdateJob":{ + "name":"UpdateJob", + "http":{ + "method":"PATCH", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}", + "responseCode":200 + }, + "input":{"shape":"UpdateJobRequest"}, + "output":{"shape":"UpdateJobResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Updates a job.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "UpdateMonitor":{ + "name":"UpdateMonitor", + "http":{ + "method":"PATCH", + "requestUri":"/2023-10-12/monitors/{monitorId}", + "responseCode":200 + }, + "input":{"shape":"UpdateMonitorRequest"}, + "output":{"shape":"UpdateMonitorResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Modifies the settings for a Deadline Cloud monitor. You can modify one or all of the settings when you call UpdateMonitor.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "UpdateQueue":{ + "name":"UpdateQueue", + "http":{ + "method":"PATCH", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}", + "responseCode":200 + }, + "input":{"shape":"UpdateQueueRequest"}, + "output":{"shape":"UpdateQueueResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Updates a queue.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "UpdateQueueEnvironment":{ + "name":"UpdateQueueEnvironment", + "http":{ + "method":"PATCH", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/environments/{queueEnvironmentId}", + "responseCode":200 + }, + "input":{"shape":"UpdateQueueEnvironmentRequest"}, + "output":{"shape":"UpdateQueueEnvironmentResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Updates the queue environment.

    ", + "endpoint":{"hostPrefix":"management."} + }, + "UpdateQueueFleetAssociation":{ + "name":"UpdateQueueFleetAssociation", + "http":{ + "method":"PATCH", + "requestUri":"/2023-10-12/farms/{farmId}/queue-fleet-associations/{queueId}/{fleetId}", + "responseCode":200 + }, + "input":{"shape":"UpdateQueueFleetAssociationRequest"}, + "output":{"shape":"UpdateQueueFleetAssociationResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Updates a queue-fleet association.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "UpdateSession":{ + "name":"UpdateSession", + "http":{ + "method":"PATCH", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/sessions/{sessionId}", + "responseCode":200 + }, + "input":{"shape":"UpdateSessionRequest"}, + "output":{"shape":"UpdateSessionResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Updates a session.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "UpdateStep":{ + "name":"UpdateStep", + "http":{ + "method":"PATCH", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}", + "responseCode":200 + }, + "input":{"shape":"UpdateStepRequest"}, + "output":{"shape":"UpdateStepResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Updates a step.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "UpdateStorageProfile":{ + "name":"UpdateStorageProfile", + "http":{ + "method":"PATCH", + "requestUri":"/2023-10-12/farms/{farmId}/storage-profiles/{storageProfileId}", + "responseCode":200 + }, + "input":{"shape":"UpdateStorageProfileRequest"}, + "output":{"shape":"UpdateStorageProfileResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Updates a storage profile.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "UpdateTask":{ + "name":"UpdateTask", + "http":{ + "method":"PATCH", + "requestUri":"/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/tasks/{taskId}", + "responseCode":200 + }, + "input":{"shape":"UpdateTaskRequest"}, + "output":{"shape":"UpdateTaskResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Updates a task.

    ", + "endpoint":{"hostPrefix":"management."}, + "idempotent":true + }, + "UpdateWorker":{ + "name":"UpdateWorker", + "http":{ + "method":"PATCH", + "requestUri":"/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}", + "responseCode":200 + }, + "input":{"shape":"UpdateWorkerRequest"}, + "output":{"shape":"UpdateWorkerResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Updates a worker.

    ", + "endpoint":{"hostPrefix":"scheduling."}, + "idempotent":true + }, + "UpdateWorkerSchedule":{ + "name":"UpdateWorkerSchedule", + "http":{ + "method":"PATCH", + "requestUri":"/2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/schedule", + "responseCode":200 + }, + "input":{"shape":"UpdateWorkerScheduleRequest"}, + "output":{"shape":"UpdateWorkerScheduleResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerErrorException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"} + ], + "documentation":"

    Updates the schedule for a worker.

    ", + "endpoint":{"hostPrefix":"scheduling."}, + "idempotent":true + } + }, + "shapes":{ + "AcceleratorCountRange":{ + "type":"structure", + "required":["min"], + "members":{ + "max":{ + "shape":"MinZeroMaxInteger", + "documentation":"

    The maximum GPU for the accelerator.

    " + }, + "min":{ + "shape":"MinZeroMaxInteger", + "documentation":"

    The minimum GPU for the accelerator.

    " + } + }, + "documentation":"

    The range for the GPU fleet acceleration.

    " + }, + "AcceleratorTotalMemoryMiBRange":{ + "type":"structure", + "required":["min"], + "members":{ + "max":{ + "shape":"MinZeroMaxInteger", + "documentation":"

    The maximum amount of memory to use for the accelerator, measured in MiB.

    " + }, + "min":{ + "shape":"MinZeroMaxInteger", + "documentation":"

    The minimum amount of memory to use for the accelerator, measured in MiB.

    " + } + }, + "documentation":"

    The range for memory, in MiB, to use for the accelerator.

    " + }, + "AcceleratorType":{ + "type":"string", + "enum":["gpu"] + }, + "AcceleratorTypes":{ + "type":"list", + "member":{"shape":"AcceleratorType"} + }, + "AccessDeniedException":{ + "type":"structure", + "required":["message"], + "members":{ + "context":{ + "shape":"ExceptionContext", + "documentation":"

    Information about the resources in use when the exception was thrown.

    " + }, + "message":{"shape":"String"} + }, + "documentation":"

    You don't have permission to perform the action.

    ", + "error":{ + "httpStatusCode":403, + "senderFault":true + }, + "exception":true + }, + "AccessKeyId":{ + "type":"string", + "sensitive":true + }, + "AggregationId":{ + "type":"string", + "pattern":"^[0-9a-f]{32}$" + }, + "AllowedStorageProfileIds":{ + "type":"list", + "member":{"shape":"StorageProfileId"}, + "max":20, + "min":0 + }, + "AmountCapabilityName":{ + "type":"string", + "max":100, + "min":1, + "pattern":"^([a-zA-Z][a-zA-Z0-9]{0,63}:)?amount(\\.[a-zA-Z][a-zA-Z0-9]{0,63})+$" + }, + "AssignedEnvironmentEnterSessionActionDefinition":{ + "type":"structure", + "required":["environmentId"], + "members":{ + "environmentId":{ + "shape":"EnvironmentId", + "documentation":"

    The environment ID of the assigned environment at the start of a session.

    " + } + }, + "documentation":"

    The assigned starting environment for a worker during session.

    " + }, + "AssignedEnvironmentExitSessionActionDefinition":{ + "type":"structure", + "required":["environmentId"], + "members":{ + "environmentId":{ + "shape":"EnvironmentId", + "documentation":"

    The environment ID of the assigned environment when exiting a session.

    " + } + }, + "documentation":"

    The assigned environment when a worker exits a session.

    " + }, + "AssignedSession":{ + "type":"structure", + "required":[ + "jobId", + "logConfiguration", + "queueId", + "sessionActions" + ], + "members":{ + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID for the assigned session.

    " + }, + "logConfiguration":{ + "shape":"LogConfiguration", + "documentation":"

    The log configuration for the worker's assigned session.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID of the assigned session.

    " + }, + "sessionActions":{ + "shape":"AssignedSessionActions", + "documentation":"

    The session actions to apply to the assigned session.

    " + } + }, + "documentation":"

    The assigned session for the worker.

    " + }, + "AssignedSessionAction":{ + "type":"structure", + "required":[ + "definition", + "sessionActionId" + ], + "members":{ + "definition":{ + "shape":"AssignedSessionActionDefinition", + "documentation":"

    The definition of the assigned session action.

    " + }, + "sessionActionId":{ + "shape":"SessionActionId", + "documentation":"

    The session action ID for the assigned session.

    " + } + }, + "documentation":"

    The action for a session defined by the session action ID.

    " + }, + "AssignedSessionActionDefinition":{ + "type":"structure", + "members":{ + "envEnter":{ + "shape":"AssignedEnvironmentEnterSessionActionDefinition", + "documentation":"

    The environment a session starts on.

    " + }, + "envExit":{ + "shape":"AssignedEnvironmentExitSessionActionDefinition", + "documentation":"

    The environment a session exits from.

    " + }, + "syncInputJobAttachments":{ + "shape":"AssignedSyncInputJobAttachmentsSessionActionDefinition", + "documentation":"

    The job attachment to sync with an assigned session action.

    " + }, + "taskRun":{ + "shape":"AssignedTaskRunSessionActionDefinition", + "documentation":"

    The task run.

    " + } + }, + "documentation":"

    The definition of the assigned session action.

    ", + "union":true + }, + "AssignedSessionActions":{ + "type":"list", + "member":{"shape":"AssignedSessionAction"} + }, + "AssignedSessions":{ + "type":"map", + "key":{"shape":"SessionId"}, + "value":{"shape":"AssignedSession"} + }, + "AssignedSyncInputJobAttachmentsSessionActionDefinition":{ + "type":"structure", + "members":{ + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID.

    " + } + }, + "documentation":"

    The details for an assigned session action as it relates to a job attachment.

    " + }, + "AssignedTaskRunSessionActionDefinition":{ + "type":"structure", + "required":[ + "parameters", + "stepId", + "taskId" + ], + "members":{ + "parameters":{ + "shape":"TaskParameters", + "documentation":"

    The parameters to include.

    " + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID.

    " + }, + "taskId":{ + "shape":"TaskId", + "documentation":"

    The task ID.

    " + } + }, + "documentation":"

    The specific task, step, and parameters to include.

    " + }, + "AssociateMemberToFarmRequest":{ + "type":"structure", + "required":[ + "farmId", + "identityStoreId", + "membershipLevel", + "principalId", + "principalType" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The ID of the farm to associate with the member.

    ", + "location":"uri", + "locationName":"farmId" + }, + "identityStoreId":{ + "shape":"IdentityStoreId", + "documentation":"

    The identity store ID of the member to associate with the farm.

    " + }, + "membershipLevel":{ + "shape":"MembershipLevel", + "documentation":"

    The principal's membership level for the associated farm.

    " + }, + "principalId":{ + "shape":"IdentityCenterPrincipalId", + "documentation":"

    The member's principal ID to associate with the farm.

    ", + "location":"uri", + "locationName":"principalId" + }, + "principalType":{ + "shape":"PrincipalType", + "documentation":"

    The principal type of the member to associate with the farm.

    " + } + } + }, + "AssociateMemberToFarmResponse":{ + "type":"structure", + "members":{ + } + }, + "AssociateMemberToFleetRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId", + "identityStoreId", + "membershipLevel", + "principalId", + "principalType" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the fleet to associate with the member.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The ID of the fleet to associate with a member.

    ", + "location":"uri", + "locationName":"fleetId" + }, + "identityStoreId":{ + "shape":"IdentityStoreId", + "documentation":"

    The member's identity store ID to associate with the fleet.

    " + }, + "membershipLevel":{ + "shape":"MembershipLevel", + "documentation":"

    The principal's membership level for the associated fleet.

    " + }, + "principalId":{ + "shape":"IdentityCenterPrincipalId", + "documentation":"

    The member's principal ID to associate with a fleet.

    ", + "location":"uri", + "locationName":"principalId" + }, + "principalType":{ + "shape":"PrincipalType", + "documentation":"

    The member's principal type to associate with the fleet.

    " + } + } + }, + "AssociateMemberToFleetResponse":{ + "type":"structure", + "members":{ + } + }, + "AssociateMemberToJobRequest":{ + "type":"structure", + "required":[ + "farmId", + "identityStoreId", + "jobId", + "membershipLevel", + "principalId", + "principalType", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the job to associate with the member.

    ", + "location":"uri", + "locationName":"farmId" + }, + "identityStoreId":{ + "shape":"IdentityStoreId", + "documentation":"

    The member's identity store ID to associate with the job.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID to associate with the member.

    ", + "location":"uri", + "locationName":"jobId" + }, + "membershipLevel":{ + "shape":"MembershipLevel", + "documentation":"

    The principal's membership level for the associated job.

    " + }, + "principalId":{ + "shape":"IdentityCenterPrincipalId", + "documentation":"

    The member's principal ID to associate with the job.

    ", + "location":"uri", + "locationName":"principalId" + }, + "principalType":{ + "shape":"PrincipalType", + "documentation":"

    The member's principal type to associate with the job.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID to associate to the member.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "AssociateMemberToJobResponse":{ + "type":"structure", + "members":{ + } + }, + "AssociateMemberToQueueRequest":{ + "type":"structure", + "required":[ + "farmId", + "identityStoreId", + "membershipLevel", + "principalId", + "principalType", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the queue to associate with the member.

    ", + "location":"uri", + "locationName":"farmId" + }, + "identityStoreId":{ + "shape":"IdentityStoreId", + "documentation":"

    The member's identity store ID to associate with the queue.

    " + }, + "membershipLevel":{ + "shape":"MembershipLevel", + "documentation":"

    The principal's membership level for the associated queue.

    " + }, + "principalId":{ + "shape":"IdentityCenterPrincipalId", + "documentation":"

    The member's principal ID to associate with the queue.

    ", + "location":"uri", + "locationName":"principalId" + }, + "principalType":{ + "shape":"PrincipalType", + "documentation":"

    The member's principal type to associate with the queue.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The ID of the queue to associate to the member.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "AssociateMemberToQueueResponse":{ + "type":"structure", + "members":{ + } + }, + "AssumeFleetRoleForReadRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the fleet's farm.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID.

    ", + "location":"uri", + "locationName":"fleetId" + } + } + }, + "AssumeFleetRoleForReadResponse":{ + "type":"structure", + "required":["credentials"], + "members":{ + "credentials":{ + "shape":"AwsCredentials", + "documentation":"

    The credentials for the fleet role.

    " + } + }, + "sensitive":true + }, + "AssumeFleetRoleForWorkerRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId", + "workerId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the fleet's farm.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID that contains the worker.

    ", + "location":"uri", + "locationName":"fleetId" + }, + "workerId":{ + "shape":"WorkerId", + "documentation":"

    The ID of the worker assuming the fleet role.

    ", + "location":"uri", + "locationName":"workerId" + } + } + }, + "AssumeFleetRoleForWorkerResponse":{ + "type":"structure", + "required":["credentials"], + "members":{ + "credentials":{ + "shape":"AwsCredentials", + "documentation":"

    The credentials for the worker.

    " + } + }, + "sensitive":true + }, + "AssumeQueueRoleForReadRequest":{ + "type":"structure", + "required":[ + "farmId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm containing the queue.

    ", + "location":"uri", + "locationName":"farmId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "AssumeQueueRoleForReadResponse":{ + "type":"structure", + "required":["credentials"], + "members":{ + "credentials":{ + "shape":"AwsCredentials", + "documentation":"

    The credentials for the queue role.

    " + } + }, + "sensitive":true + }, + "AssumeQueueRoleForUserRequest":{ + "type":"structure", + "required":[ + "farmId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the queue that the user assumes the role for.

    ", + "location":"uri", + "locationName":"farmId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID of the queue that the user assumes the role for.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "AssumeQueueRoleForUserResponse":{ + "type":"structure", + "required":["credentials"], + "members":{ + "credentials":{ + "shape":"AwsCredentials", + "documentation":"

    The credentials for the queue role that a user has access to.

    " + } + }, + "sensitive":true + }, + "AssumeQueueRoleForWorkerRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId", + "queueId", + "workerId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the worker assuming the queue role.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID of the worker assuming the queue role.

    ", + "location":"uri", + "locationName":"fleetId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID of the worker assuming the queue role.

    ", + "location":"querystring", + "locationName":"queueId" + }, + "workerId":{ + "shape":"WorkerId", + "documentation":"

    The worker ID of the worker assuming the queue role.

    ", + "location":"uri", + "locationName":"workerId" + } + } + }, + "AssumeQueueRoleForWorkerResponse":{ + "type":"structure", + "members":{ + "credentials":{ + "shape":"AwsCredentials", + "documentation":"

    The Amazon Web Services credentials for the role that the worker is assuming.

    " + } + }, + "sensitive":true + }, + "Attachments":{ + "type":"structure", + "required":["manifests"], + "members":{ + "fileSystem":{ + "shape":"JobAttachmentsFileSystem", + "documentation":"

    The file system.

    " + }, + "manifests":{ + "shape":"ManifestPropertiesList", + "documentation":"

    A list of manifests which describe job attachment configurations.

    " + } + }, + "documentation":"

    The attachments for jobs.

    " + }, + "AttributeCapabilityName":{ + "type":"string", + "max":100, + "min":1, + "pattern":"^([a-zA-Z][a-zA-Z0-9]{0,63}:)?attr(\\.[a-zA-Z][a-zA-Z0-9]{0,63})+$" + }, + "AttributeCapabilityValue":{ + "type":"string", + "max":100, + "min":1, + "pattern":"^[a-zA-Z_]([a-zA-Z0-9_\\-]{0,99})$" + }, + "AttributeCapabilityValuesList":{ + "type":"list", + "member":{"shape":"AttributeCapabilityValue"}, + "max":10, + "min":1 + }, + "AutoScalingMode":{ + "type":"string", + "enum":[ + "NO_SCALING", + "EVENT_BASED_AUTO_SCALING" + ] + }, + "AutoScalingStatus":{ + "type":"string", + "enum":[ + "GROWING", + "STEADY", + "SHRINKING" + ] + }, + "AwsCredentials":{ + "type":"structure", + "required":[ + "accessKeyId", + "expiration", + "secretAccessKey", + "sessionToken" + ], + "members":{ + "accessKeyId":{ + "shape":"AccessKeyId", + "documentation":"

    The IAM access key ID.

    " + }, + "expiration":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The expiration date and time of the IAM credentials.

    " + }, + "secretAccessKey":{ + "shape":"SecretAccessKey", + "documentation":"

    The IAM secret access key.

    " + }, + "sessionToken":{ + "shape":"SessionToken", + "documentation":"

    The IAM session token

    " + } + }, + "documentation":"

    The Identity and Access Management credentials.

    ", + "sensitive":true + }, + "BatchGetJobEntityErrors":{ + "type":"list", + "member":{"shape":"GetJobEntityError"} + }, + "BatchGetJobEntityList":{ + "type":"list", + "member":{"shape":"JobEntity"}, + "max":25, + "min":0 + }, + "BatchGetJobEntityRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId", + "identifiers", + "workerId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the worker that's fetching job details. The worker must have an assignment on a job to fetch job details.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID of the worker that's fetching job details. The worker must have an assignment on a job to fetch job details.

    ", + "location":"uri", + "locationName":"fleetId" + }, + "identifiers":{ + "shape":"JobEntityIdentifiers", + "documentation":"

    The job identifiers to include within the job entity batch details.

    " + }, + "workerId":{ + "shape":"WorkerId", + "documentation":"

    The worker ID of the worker containing the job details to get.

    ", + "location":"uri", + "locationName":"workerId" + } + } + }, + "BatchGetJobEntityResponse":{ + "type":"structure", + "required":[ + "entities", + "errors" + ], + "members":{ + "entities":{ + "shape":"BatchGetJobEntityList", + "documentation":"

    A list of the job entities, or details, in the batch.

    " + }, + "errors":{ + "shape":"BatchGetJobEntityErrors", + "documentation":"

    A list of errors from the job error logs for the batch.

    " + } + } + }, + "BoundedString":{ + "type":"string", + "max":64, + "min":1 + }, + "BudgetActionToAdd":{ + "type":"structure", + "required":[ + "thresholdPercentage", + "type" + ], + "members":{ + "description":{ + "shape":"Description", + "documentation":"

    A description for the budget action to add.

    " + }, + "thresholdPercentage":{ + "shape":"ThresholdPercentage", + "documentation":"

    The percentage threshold for the budget action to add.

    " + }, + "type":{ + "shape":"BudgetActionType", + "documentation":"

    The type of budget action to add.

    " + } + }, + "documentation":"

    The budget action to add.

    " + }, + "BudgetActionToRemove":{ + "type":"structure", + "required":[ + "thresholdPercentage", + "type" + ], + "members":{ + "thresholdPercentage":{ + "shape":"ThresholdPercentage", + "documentation":"

    The percentage threshold for the budget action to remove.

    " + }, + "type":{ + "shape":"BudgetActionType", + "documentation":"

    The type of budget action to remove.

    " + } + }, + "documentation":"

    The budget action to remove.

    " + }, + "BudgetActionType":{ + "type":"string", + "enum":[ + "STOP_SCHEDULING_AND_COMPLETE_TASKS", + "STOP_SCHEDULING_AND_CANCEL_TASKS" + ] + }, + "BudgetActionsToAdd":{ + "type":"list", + "member":{"shape":"BudgetActionToAdd"}, + "max":10, + "min":0 + }, + "BudgetActionsToRemove":{ + "type":"list", + "member":{"shape":"BudgetActionToRemove"}, + "max":10, + "min":0 + }, + "BudgetId":{ + "type":"string", + "pattern":"^budget-[0-9a-f]{32}$" + }, + "BudgetSchedule":{ + "type":"structure", + "members":{ + "fixed":{ + "shape":"FixedBudgetSchedule", + "documentation":"

    The fixed start and end time of the budget's schedule.

    " + } + }, + "documentation":"

    The start and end time of the budget.

    ", + "union":true + }, + "BudgetStatus":{ + "type":"string", + "enum":[ + "ACTIVE", + "INACTIVE" + ] + }, + "BudgetSummaries":{ + "type":"list", + "member":{"shape":"BudgetSummary"} + }, + "BudgetSummary":{ + "type":"structure", + "required":[ + "approximateDollarLimit", + "budgetId", + "createdAt", + "createdBy", + "displayName", + "status", + "usageTrackingResource", + "usages" + ], + "members":{ + "approximateDollarLimit":{ + "shape":"ConsumedUsageLimit", + "documentation":"

    The approximate dollar limit of the budget.

    " + }, + "budgetId":{ + "shape":"BudgetId", + "documentation":"

    The budget ID.

    " + }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "description":{ + "shape":"Description", + "documentation":"

    The description of the budget summary.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the budget summary to update.

    " + }, + "status":{ + "shape":"BudgetStatus", + "documentation":"

    The status of the budget.

    • ACTIVE–The budget is being evaluated.

    • INACTIVE–The budget is inactive. This can include Expired, Canceled, or deleted Deleted statuses.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + }, + "usageTrackingResource":{ + "shape":"UsageTrackingResource", + "documentation":"

    The resource used to track expenditure in the budget.

    " + }, + "usages":{ + "shape":"ConsumedUsages", + "documentation":"

    The consumed usage for the budget.

    " + } + }, + "documentation":"

    The budget summary.

    " + }, + "CancelSessionActions":{ + "type":"map", + "key":{"shape":"SessionId"}, + "value":{"shape":"SessionActionIdList"} + }, + "ClientToken":{ + "type":"string", + "max":64, + "min":1 + }, + "CombinationExpression":{ + "type":"string", + "max":1280, + "min":1 + }, + "ComparisonOperator":{ + "type":"string", + "enum":[ + "EQUAL", + "NOT_EQUAL", + "GREATER_THAN_EQUAL_TO", + "GREATER_THAN", + "LESS_THAN_EQUAL_TO", + "LESS_THAN" + ] + }, + "CompletedStatus":{ + "type":"string", + "enum":[ + "SUCCEEDED", + "FAILED", + "INTERRUPTED", + "CANCELED", + "NEVER_ATTEMPTED" + ] + }, + "ConflictException":{ + "type":"structure", + "required":[ + "message", + "reason", + "resourceId", + "resourceType" + ], + "members":{ + "context":{ + "shape":"ExceptionContext", + "documentation":"

    Information about the resources in use when the exception was thrown.

    " + }, + "message":{"shape":"String"}, + "reason":{ + "shape":"ConflictExceptionReason", + "documentation":"

    A description of the error.

    " + }, + "resourceId":{ + "shape":"String", + "documentation":"

    The identifier of the resource in use.

    " + }, + "resourceType":{ + "shape":"String", + "documentation":"

    The type of the resource in use.

    " + } + }, + "documentation":"

    Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.

    ", + "error":{ + "httpStatusCode":409, + "senderFault":true + }, + "exception":true + }, + "ConflictExceptionReason":{ + "type":"string", + "enum":[ + "CONFLICT_EXCEPTION", + "CONCURRENT_MODIFICATION", + "RESOURCE_ALREADY_EXISTS", + "RESOURCE_IN_USE", + "STATUS_CONFLICT" + ] + }, + "ConsumedUsageLimit":{ + "type":"float", + "box":true, + "min":0.01 + }, + "ConsumedUsages":{ + "type":"structure", + "required":["approximateDollarUsage"], + "members":{ + "approximateDollarUsage":{ + "shape":"Float", + "documentation":"

    The amount of the budget consumed.

    " + } + }, + "documentation":"

    The consumed usage for the resource.

    " + }, + "CopyJobTemplateRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "queueId", + "targetS3Location" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID to copy.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID to copy.

    ", + "location":"uri", + "locationName":"jobId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID to copy.

    ", + "location":"uri", + "locationName":"queueId" + }, + "targetS3Location":{ + "shape":"S3Location", + "documentation":"

    The Amazon S3 bucket name and key where you would like to add a copy of the job template.

    " + } + } + }, + "CopyJobTemplateResponse":{ + "type":"structure", + "required":["templateType"], + "members":{ + "templateType":{ + "shape":"JobTemplateType", + "documentation":"

    The format of the job template, either JSON or YAML.

    " + } + } + }, + "CpuArchitectureType":{ + "type":"string", + "enum":[ + "x86_64", + "arm64" + ] + }, + "CreateBudgetRequest":{ + "type":"structure", + "required":[ + "actions", + "approximateDollarLimit", + "displayName", + "farmId", + "schedule", + "usageTrackingResource" + ], + "members":{ + "actions":{ + "shape":"BudgetActionsToAdd", + "documentation":"

    The budget actions to specify what happens when the budget runs out.

    " + }, + "approximateDollarLimit":{ + "shape":"ConsumedUsageLimit", + "documentation":"

    The dollar limit based on consumed usage.

    " + }, + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "description":{ + "shape":"Description", + "documentation":"

    The description of the budget.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the budget.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID to include in this budget.

    ", + "location":"uri", + "locationName":"farmId" + }, + "schedule":{ + "shape":"BudgetSchedule", + "documentation":"

    The schedule to associate with this budget.

    " + }, + "usageTrackingResource":{ + "shape":"UsageTrackingResource", + "documentation":"

    The queue ID provided to this budget to track usage.

    " + } + } + }, + "CreateBudgetResponse":{ + "type":"structure", + "required":["budgetId"], + "members":{ + "budgetId":{ + "shape":"BudgetId", + "documentation":"

    The budget ID.

    " + } + } + }, + "CreateFarmRequest":{ + "type":"structure", + "required":["displayName"], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "description":{ + "shape":"Description", + "documentation":"

    The description of the farm.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the farm.

    " + }, + "kmsKeyArn":{ + "shape":"KmsKeyArn", + "documentation":"

    The ARN of the KMS key to use on the farm.

    " + }, + "tags":{ + "shape":"Tags", + "documentation":"

    The tags to add to your farm. Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.

    " + } + } + }, + "CreateFarmResponse":{ + "type":"structure", + "required":["farmId"], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID.

    " + } + } + }, + "CreateFleetRequest":{ + "type":"structure", + "required":[ + "configuration", + "displayName", + "farmId", + "maxWorkerCount", + "roleArn" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "configuration":{ + "shape":"FleetConfiguration", + "documentation":"

    The configuration settings for the fleet. Customer managed fleets are self-managed. Service managed Amazon EC2 fleets are managed by Deadline Cloud.

    " + }, + "description":{ + "shape":"Description", + "documentation":"

    The description of the fleet.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the fleet.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm to connect to the fleet.

    ", + "location":"uri", + "locationName":"farmId" + }, + "maxWorkerCount":{ + "shape":"MinZeroMaxInteger", + "documentation":"

    The maximum number of workers for the fleet.

    " + }, + "minWorkerCount":{ + "shape":"MinZeroMaxInteger", + "documentation":"

    The minimum number of workers for the fleet.

    " + }, + "roleArn":{ + "shape":"IamRoleArn", + "documentation":"

    The IAM role ARN for the role that the fleet's workers will use.

    " + }, + "tags":{ + "shape":"Tags", + "documentation":"

    Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.

    " + } + } + }, + "CreateFleetResponse":{ + "type":"structure", + "required":["fleetId"], + "members":{ + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID.

    " + } + } + }, + "CreateJobRequest":{ + "type":"structure", + "required":[ + "farmId", + "priority", + "queueId", + "template", + "templateType" + ], + "members":{ + "attachments":{ + "shape":"Attachments", + "documentation":"

    The attachments for the job. Attach files required for the job to run to a render job.

    " + }, + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm to connect to the job.

    ", + "location":"uri", + "locationName":"farmId" + }, + "maxFailedTasksCount":{ + "shape":"MaxFailedTasksCount", + "documentation":"

    The number of task failures before the job stops running and is marked as FAILED.

    " + }, + "maxRetriesPerTask":{ + "shape":"MaxRetriesPerTask", + "documentation":"

    The maximum number of retries for a job.

    " + }, + "parameters":{ + "shape":"JobParameters", + "documentation":"

    The parameters for the job.

    " + }, + "priority":{ + "shape":"JobPriority", + "documentation":"

    The priority of the job on a scale of 1 to 100. The highest priority is 1.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The ID of the queue that the job is submitted to.

    ", + "location":"uri", + "locationName":"queueId" + }, + "storageProfileId":{ + "shape":"StorageProfileId", + "documentation":"

    The storage profile ID for the storage profile to connect to the job.

    " + }, + "targetTaskRunStatus":{ + "shape":"CreateJobTargetTaskRunStatus", + "documentation":"

    The initial status of the job's tasks when they are created. Tasks that are created with a SUSPENDED status will not run until you update their status.

    " + }, + "template":{ + "shape":"JobTemplate", + "documentation":"

    The job template to use for this job.

    " + }, + "templateType":{ + "shape":"JobTemplateType", + "documentation":"

    The file type for the job template.

    " + } + } + }, + "CreateJobResponse":{ + "type":"structure", + "required":["jobId"], + "members":{ + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + } + } + }, + "CreateJobTargetTaskRunStatus":{ + "type":"string", + "enum":[ + "READY", + "SUSPENDED" + ] + }, + "CreateLicenseEndpointRequest":{ + "type":"structure", + "required":[ + "securityGroupIds", + "subnetIds", + "vpcId" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "securityGroupIds":{ + "shape":"CreateLicenseEndpointRequestSecurityGroupIdsList", + "documentation":"

    The security group IDs.

    " + }, + "subnetIds":{ + "shape":"CreateLicenseEndpointRequestSubnetIdsList", + "documentation":"

    The subnet IDs.

    " + }, + "tags":{ + "shape":"Tags", + "documentation":"

    Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.

    " + }, + "vpcId":{ + "shape":"VpcId", + "documentation":"

    The VPC (virtual private cloud) ID to use with the license endpoint.

    " + } + } + }, + "CreateLicenseEndpointRequestSecurityGroupIdsList":{ + "type":"list", + "member":{"shape":"SecurityGroupId"}, + "max":10, + "min":1 + }, + "CreateLicenseEndpointRequestSubnetIdsList":{ + "type":"list", + "member":{"shape":"SubnetId"}, + "max":10, + "min":1 + }, + "CreateLicenseEndpointResponse":{ + "type":"structure", + "required":["licenseEndpointId"], + "members":{ + "licenseEndpointId":{ + "shape":"LicenseEndpointId", + "documentation":"

    The license endpoint ID.

    " + } + } + }, + "CreateMonitorRequest":{ + "type":"structure", + "required":[ + "displayName", + "identityCenterInstanceArn", + "roleArn", + "subdomain" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The name that you give the monitor that is displayed in the Deadline Cloud console.

    " + }, + "identityCenterInstanceArn":{ + "shape":"IdentityCenterInstanceArn", + "documentation":"

    The Amazon Resource Name (ARN) of the IAM Identity Center instance that authenticates monitor users.

    " + }, + "roleArn":{ + "shape":"IamRoleArn", + "documentation":"

    The Amazon Resource Name (ARN) of the IAM role that the monitor uses to connect to Deadline Cloud. Every user that signs in to the monitor using IAM Identity Center uses this role to access Deadline Cloud resources.

    " + }, + "subdomain":{ + "shape":"Subdomain", + "documentation":"

    The subdomain to use when creating the monitor URL. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.

    " + } + } + }, + "CreateMonitorResponse":{ + "type":"structure", + "required":[ + "identityCenterApplicationArn", + "monitorId" + ], + "members":{ + "identityCenterApplicationArn":{ + "shape":"IdentityCenterApplicationArn", + "documentation":"

    The Amazon Resource Name (ARN) that IAM Identity Center assigns to the monitor.

    " + }, + "monitorId":{ + "shape":"MonitorId", + "documentation":"

    The unique identifier of the monitor.

    " + } + } + }, + "CreateQueueEnvironmentRequest":{ + "type":"structure", + "required":[ + "farmId", + "priority", + "queueId", + "template", + "templateType" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm to connect to the environment.

    ", + "location":"uri", + "locationName":"farmId" + }, + "priority":{ + "shape":"Priority", + "documentation":"

    Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority. If two environments share the same priority value, the environment created first takes higher priority.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID to connect the queue and environment.

    ", + "location":"uri", + "locationName":"queueId" + }, + "template":{ + "shape":"EnvironmentTemplate", + "documentation":"

    The environment template to use in the queue.

    " + }, + "templateType":{ + "shape":"EnvironmentTemplateType", + "documentation":"

    The template's file type, JSON or YAML.

    " + } + } + }, + "CreateQueueEnvironmentResponse":{ + "type":"structure", + "required":["queueEnvironmentId"], + "members":{ + "queueEnvironmentId":{ + "shape":"QueueEnvironmentId", + "documentation":"

    The queue environment ID.

    " + } + } + }, + "CreateQueueFleetAssociationRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The ID of the farm that the queue and fleet belong to.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID.

    " + } + } + }, + "CreateQueueFleetAssociationResponse":{ + "type":"structure", + "members":{ + } + }, + "CreateQueueRequest":{ + "type":"structure", + "required":[ + "displayName", + "farmId" + ], + "members":{ + "allowedStorageProfileIds":{ + "shape":"AllowedStorageProfileIds", + "documentation":"

    The storage profile IDs to include in the queue.

    " + }, + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "defaultBudgetAction":{ + "shape":"DefaultQueueBudgetAction", + "documentation":"

    The default action to take on a queue if a budget isn't configured.

    " + }, + "description":{ + "shape":"Description", + "documentation":"

    The description of the queue.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the queue.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm to connect to the queue.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobAttachmentSettings":{ + "shape":"JobAttachmentSettings", + "documentation":"

    The job attachment settings for the queue. These are the Amazon S3 bucket name and the Amazon S3 prefix.

    " + }, + "jobRunAsUser":{ + "shape":"JobRunAsUser", + "documentation":"

    The jobs in the queue run as the specified POSIX user.

    " + }, + "requiredFileSystemLocationNames":{ + "shape":"RequiredFileSystemLocationNames", + "documentation":"

    The file system location name to include in the queue.

    " + }, + "roleArn":{ + "shape":"IamRoleArn", + "documentation":"

    The IAM role ARN that workers will use while running jobs for this queue.

    " + }, + "tags":{ + "shape":"Tags", + "documentation":"

    Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.

    " + } + } + }, + "CreateQueueResponse":{ + "type":"structure", + "required":["queueId"], + "members":{ + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID.

    " + } + } + }, + "CreateStorageProfileRequest":{ + "type":"structure", + "required":[ + "displayName", + "farmId", + "osFamily" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the storage profile.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm to connect to the storage profile.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fileSystemLocations":{ + "shape":"FileSystemLocationsList", + "documentation":"

    File system paths to include in the storage profile.

    " + }, + "osFamily":{ + "shape":"StorageProfileOperatingSystemFamily", + "documentation":"

    The type of operating system (OS) for the storage profile.

    " + } + } + }, + "CreateStorageProfileResponse":{ + "type":"structure", + "required":["storageProfileId"], + "members":{ + "storageProfileId":{ + "shape":"StorageProfileId", + "documentation":"

    The storage profile ID.

    " + } + } + }, + "CreateWorkerRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm to connect to the worker.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID to connect to the worker.

    ", + "location":"uri", + "locationName":"fleetId" + }, + "hostProperties":{ + "shape":"HostPropertiesRequest", + "documentation":"

    The IP address and host name of the worker.

    " + } + } + }, + "CreateWorkerResponse":{ + "type":"structure", + "required":["workerId"], + "members":{ + "workerId":{ + "shape":"WorkerId", + "documentation":"

    The worker ID.

    " + } + } + }, + "CreatedAt":{ + "type":"timestamp", + "timestampFormat":"iso8601" + }, + "CreatedBy":{"type":"string"}, + "CustomFleetAmountCapabilities":{ + "type":"list", + "member":{"shape":"FleetAmountCapability"}, + "max":15, + "min":1 + }, + "CustomFleetAttributeCapabilities":{ + "type":"list", + "member":{"shape":"FleetAttributeCapability"}, + "max":15, + "min":1 + }, + "CustomerManagedFleetConfiguration":{ + "type":"structure", + "required":[ + "mode", + "workerCapabilities" + ], + "members":{ + "mode":{ + "shape":"AutoScalingMode", + "documentation":"

    The Auto Scaling mode for the customer managed fleet configuration.

    " + }, + "storageProfileId":{ + "shape":"StorageProfileId", + "documentation":"

    The storage profile ID.

    " + }, + "workerCapabilities":{ + "shape":"CustomerManagedWorkerCapabilities", + "documentation":"

    The worker capabilities for a customer managed fleet configuration.

    " + } + }, + "documentation":"

    The details of a customer managed fleet configuration.

    " + }, + "CustomerManagedFleetOperatingSystemFamily":{ + "type":"string", + "enum":[ + "WINDOWS", + "LINUX", + "MACOS" + ] + }, + "CustomerManagedWorkerCapabilities":{ + "type":"structure", + "required":[ + "cpuArchitectureType", + "memoryMiB", + "osFamily", + "vCpuCount" + ], + "members":{ + "acceleratorCount":{ + "shape":"AcceleratorCountRange", + "documentation":"

    The range of the accelerator.

    " + }, + "acceleratorTotalMemoryMiB":{ + "shape":"AcceleratorTotalMemoryMiBRange", + "documentation":"

    The total memory (MiB) for the customer managed worker capabilities.

    " + }, + "acceleratorTypes":{ + "shape":"AcceleratorTypes", + "documentation":"

    The accelerator types for the customer managed worker capabilities.

    " + }, + "cpuArchitectureType":{ + "shape":"CpuArchitectureType", + "documentation":"

    The CPU architecture type for the customer managed worker capabilities.

    " + }, + "customAmounts":{ + "shape":"CustomFleetAmountCapabilities", + "documentation":"

    Custom requirement ranges for customer managed worker capabilities.

    " + }, + "customAttributes":{ + "shape":"CustomFleetAttributeCapabilities", + "documentation":"

    Custom attributes for the customer manged worker capabilities.

    " + }, + "memoryMiB":{ + "shape":"MemoryMiBRange", + "documentation":"

    The memory (MiB).

    " + }, + "osFamily":{ + "shape":"CustomerManagedFleetOperatingSystemFamily", + "documentation":"

    The operating system (OS) family.

    " + }, + "vCpuCount":{ + "shape":"VCpuCountRange", + "documentation":"

    The vCPU count for the customer manged worker capabilities.

    " + } + }, + "documentation":"

    The worker capabilities for a customer managed workflow.

    " + }, + "DateTimeFilterExpression":{ + "type":"structure", + "required":[ + "dateTime", + "name", + "operator" + ], + "members":{ + "dateTime":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The date and time.

    " + }, + "name":{ + "shape":"String", + "documentation":"

    The name of the date-time field to filter on.

    " + }, + "operator":{ + "shape":"ComparisonOperator", + "documentation":"

    The type of comparison to use to filter the results.

    " + } + }, + "documentation":"

    The time stamp in date-time format.

    " + }, + "DefaultQueueBudgetAction":{ + "type":"string", + "enum":[ + "NONE", + "STOP_SCHEDULING_AND_COMPLETE_TASKS", + "STOP_SCHEDULING_AND_CANCEL_TASKS" + ] + }, + "DeleteBudgetRequest":{ + "type":"structure", + "required":[ + "budgetId", + "farmId" + ], + "members":{ + "budgetId":{ + "shape":"BudgetId", + "documentation":"

    The budget ID of the budget to delete.

    ", + "location":"uri", + "locationName":"budgetId" + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm to remove from the budget.

    ", + "location":"uri", + "locationName":"farmId" + } + } + }, + "DeleteBudgetResponse":{ + "type":"structure", + "members":{ + } + }, + "DeleteFarmRequest":{ + "type":"structure", + "required":["farmId"], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm to delete.

    ", + "location":"uri", + "locationName":"farmId" + } + } + }, + "DeleteFarmResponse":{ + "type":"structure", + "members":{ + } + }, + "DeleteFleetRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm to remove from the fleet.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID of the fleet to delete.

    ", + "location":"uri", + "locationName":"fleetId" + } + } + }, + "DeleteFleetResponse":{ + "type":"structure", + "members":{ + } + }, + "DeleteLicenseEndpointRequest":{ + "type":"structure", + "required":["licenseEndpointId"], + "members":{ + "licenseEndpointId":{ + "shape":"LicenseEndpointId", + "documentation":"

    The license endpoint ID of the license endpoint to delete.

    ", + "location":"uri", + "locationName":"licenseEndpointId" + } + } + }, + "DeleteLicenseEndpointResponse":{ + "type":"structure", + "members":{ + } + }, + "DeleteMeteredProductRequest":{ + "type":"structure", + "required":[ + "licenseEndpointId", + "productId" + ], + "members":{ + "licenseEndpointId":{ + "shape":"LicenseEndpointId", + "documentation":"

    The ID of the license endpoint from which to remove the metered product.

    ", + "location":"uri", + "locationName":"licenseEndpointId" + }, + "productId":{ + "shape":"MeteredProductId", + "documentation":"

    The product ID to remove from the license endpoint.

    ", + "location":"uri", + "locationName":"productId" + } + } + }, + "DeleteMeteredProductResponse":{ + "type":"structure", + "members":{ + } + }, + "DeleteMonitorRequest":{ + "type":"structure", + "required":["monitorId"], + "members":{ + "monitorId":{ + "shape":"MonitorId", + "documentation":"

    The unique identifier of the monitor to delete. This ID is returned by the CreateMonitor operation, and is included in the response to the GetMonitor operation.

    ", + "location":"uri", + "locationName":"monitorId" + } + } + }, + "DeleteMonitorResponse":{ + "type":"structure", + "members":{ + } + }, + "DeleteQueueEnvironmentRequest":{ + "type":"structure", + "required":[ + "farmId", + "queueEnvironmentId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm from which to remove the queue environment.

    ", + "location":"uri", + "locationName":"farmId" + }, + "queueEnvironmentId":{ + "shape":"QueueEnvironmentId", + "documentation":"

    The queue environment ID of the queue environment to delete.

    ", + "location":"uri", + "locationName":"queueEnvironmentId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID of the queue environment to delete.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "DeleteQueueEnvironmentResponse":{ + "type":"structure", + "members":{ + } + }, + "DeleteQueueFleetAssociationRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm that holds the queue-fleet association.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID of the queue-fleet association.

    ", + "location":"uri", + "locationName":"fleetId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID of the queue-fleet association.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "DeleteQueueFleetAssociationResponse":{ + "type":"structure", + "members":{ + } + }, + "DeleteQueueRequest":{ + "type":"structure", + "required":[ + "farmId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The ID of the farm from which to remove the queue.

    ", + "location":"uri", + "locationName":"farmId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID of the queue to delete.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "DeleteQueueResponse":{ + "type":"structure", + "members":{ + } + }, + "DeleteStorageProfileRequest":{ + "type":"structure", + "required":[ + "farmId", + "storageProfileId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm from which to remove the storage profile.

    ", + "location":"uri", + "locationName":"farmId" + }, + "storageProfileId":{ + "shape":"StorageProfileId", + "documentation":"

    The storage profile ID of the storage profile to delete.

    ", + "location":"uri", + "locationName":"storageProfileId" + } + } + }, + "DeleteStorageProfileResponse":{ + "type":"structure", + "members":{ + } + }, + "DeleteWorkerRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId", + "workerId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the worker to delete.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID of the worker to delete.

    ", + "location":"uri", + "locationName":"fleetId" + }, + "workerId":{ + "shape":"WorkerId", + "documentation":"

    The worker ID of the worker to delete.

    ", + "location":"uri", + "locationName":"workerId" + } + } + }, + "DeleteWorkerResponse":{ + "type":"structure", + "members":{ + } + }, + "DependenciesList":{ + "type":"list", + "member":{"shape":"StepId"} + }, + "DependencyConsumerResolutionStatus":{ + "type":"string", + "enum":[ + "RESOLVED", + "UNRESOLVED" + ] + }, + "DependencyCounts":{ + "type":"structure", + "required":[ + "consumersResolved", + "consumersUnresolved", + "dependenciesResolved", + "dependenciesUnresolved" + ], + "members":{ + "consumersResolved":{ + "shape":"Integer", + "documentation":"

    The number of consumers resolved.

    " + }, + "consumersUnresolved":{ + "shape":"Integer", + "documentation":"

    The number of unresolved consumers.

    " + }, + "dependenciesResolved":{ + "shape":"Integer", + "documentation":"

    The number of resolved dependencies.

    " + }, + "dependenciesUnresolved":{ + "shape":"Integer", + "documentation":"

    The number of unresolved dependencies.

    " + } + }, + "documentation":"

    The number of dependencies for the consumer.

    " + }, + "Description":{ + "type":"string", + "max":100, + "min":0, + "sensitive":true + }, + "DesiredWorkerStatus":{ + "type":"string", + "enum":["STOPPED"] + }, + "DisassociateMemberFromFarmRequest":{ + "type":"structure", + "required":[ + "farmId", + "principalId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm to disassociate from the member.

    ", + "location":"uri", + "locationName":"farmId" + }, + "principalId":{ + "shape":"IdentityCenterPrincipalId", + "documentation":"

    A member's principal ID to disassociate from a farm.

    ", + "location":"uri", + "locationName":"principalId" + } + } + }, + "DisassociateMemberFromFarmResponse":{ + "type":"structure", + "members":{ + } + }, + "DisassociateMemberFromFleetRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId", + "principalId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the fleet to disassociate a member from.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID of the fleet to from which to disassociate a member.

    ", + "location":"uri", + "locationName":"fleetId" + }, + "principalId":{ + "shape":"IdentityCenterPrincipalId", + "documentation":"

    A member's principal ID to disassociate from a fleet.

    ", + "location":"uri", + "locationName":"principalId" + } + } + }, + "DisassociateMemberFromFleetResponse":{ + "type":"structure", + "members":{ + } + }, + "DisassociateMemberFromJobRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "principalId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the job to disassociate from the member.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID to disassociate from a member in a job.

    ", + "location":"uri", + "locationName":"jobId" + }, + "principalId":{ + "shape":"IdentityCenterPrincipalId", + "documentation":"

    A member's principal ID to disassociate from a job.

    ", + "location":"uri", + "locationName":"principalId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID connected to a job for which you're disassociating a member.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "DisassociateMemberFromJobResponse":{ + "type":"structure", + "members":{ + } + }, + "DisassociateMemberFromQueueRequest":{ + "type":"structure", + "required":[ + "farmId", + "principalId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the queue to disassociate from a member.

    ", + "location":"uri", + "locationName":"farmId" + }, + "principalId":{ + "shape":"IdentityCenterPrincipalId", + "documentation":"

    A member's principal ID to disassociate from a queue.

    ", + "location":"uri", + "locationName":"principalId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID of the queue in which you're disassociating from a member.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "DisassociateMemberFromQueueResponse":{ + "type":"structure", + "members":{ + } + }, + "DnsName":{ + "type":"string", + "pattern":"^vpce-[\\w]+-[\\w]+.vpce-svc-[\\w]+.*.vpce.amazonaws.com$" + }, + "Document":{ + "type":"structure", + "members":{ + }, + "document":true, + "sensitive":true + }, + "Double":{ + "type":"double", + "box":true + }, + "EbsIops":{ + "type":"integer", + "box":true, + "max":16000, + "min":3000 + }, + "EbsThroughputMiB":{ + "type":"integer", + "box":true, + "max":1000, + "min":125 + }, + "Ec2EbsVolume":{ + "type":"structure", + "members":{ + "iops":{ + "shape":"EbsIops", + "documentation":"

    The IOPS per volume.

    " + }, + "sizeGiB":{ + "shape":"Integer", + "documentation":"

    The EBS volume size in GiB.

    " + }, + "throughputMiB":{ + "shape":"EbsThroughputMiB", + "documentation":"

    The throughput per volume in MiB.

    " + } + }, + "documentation":"

    Specifies the EBS volume.

    " + }, + "Ec2MarketType":{ + "type":"string", + "enum":[ + "on-demand", + "spot" + ] + }, + "EndedAt":{ + "type":"timestamp", + "timestampFormat":"iso8601" + }, + "EndsAt":{ + "type":"timestamp", + "timestampFormat":"iso8601" + }, + "EnvironmentDetailsEntity":{ + "type":"structure", + "required":[ + "environmentId", + "jobId", + "schemaVersion", + "template" + ], + "members":{ + "environmentId":{ + "shape":"EnvironmentId", + "documentation":"

    The environment ID.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + }, + "schemaVersion":{ + "shape":"String", + "documentation":"

    The schema version in the environment.

    " + }, + "template":{ + "shape":"Document", + "documentation":"

    The template used for the environment.

    " + } + }, + "documentation":"

    The details of a specified environment.

    " + }, + "EnvironmentDetailsError":{ + "type":"structure", + "required":[ + "code", + "environmentId", + "jobId", + "message" + ], + "members":{ + "code":{ + "shape":"JobEntityErrorCode", + "documentation":"

    The error code.

    " + }, + "environmentId":{ + "shape":"EnvironmentId", + "documentation":"

    The environment ID.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + }, + "message":{ + "shape":"String", + "documentation":"

    The error message detailing the error's cause.

    " + } + }, + "documentation":"

    The error details for the environment.

    " + }, + "EnvironmentDetailsIdentifiers":{ + "type":"structure", + "required":[ + "environmentId", + "jobId" + ], + "members":{ + "environmentId":{ + "shape":"EnvironmentId", + "documentation":"

    The environment ID.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + } + }, + "documentation":"

    The IDs of the job and environment.

    " + }, + "EnvironmentEnterSessionActionDefinition":{ + "type":"structure", + "required":["environmentId"], + "members":{ + "environmentId":{ + "shape":"EnvironmentId", + "documentation":"

    The environment ID.

    " + } + }, + "documentation":"

    The environment ID to use to enter a session action.

    " + }, + "EnvironmentEnterSessionActionDefinitionSummary":{ + "type":"structure", + "required":["environmentId"], + "members":{ + "environmentId":{ + "shape":"EnvironmentId", + "documentation":"

    The environment ID.

    " + } + }, + "documentation":"

    Defines the environment a session action enters in.

    " + }, + "EnvironmentExitSessionActionDefinition":{ + "type":"structure", + "required":["environmentId"], + "members":{ + "environmentId":{ + "shape":"EnvironmentId", + "documentation":"

    The environment ID.

    " + } + }, + "documentation":"

    Defines the environment a session action exits from.

    " + }, + "EnvironmentExitSessionActionDefinitionSummary":{ + "type":"structure", + "required":["environmentId"], + "members":{ + "environmentId":{ + "shape":"EnvironmentId", + "documentation":"

    The environment ID.

    " + } + }, + "documentation":"

    A summary of the environment details for which a session action to exits.

    " + }, + "EnvironmentId":{ + "type":"string", + "max":1024, + "min":1, + "pattern":"^(STEP:step-[0-9a-f]{32}:.*)|(JOB:job-[0-9a-f]{32}:.*)$" + }, + "EnvironmentName":{"type":"string"}, + "EnvironmentTemplate":{ + "type":"string", + "max":15000, + "min":1, + "sensitive":true + }, + "EnvironmentTemplateType":{ + "type":"string", + "enum":[ + "JSON", + "YAML" + ] + }, + "ExceptionContext":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"String"} + }, + "FarmId":{ + "type":"string", + "pattern":"^farm-[0-9a-f]{32}$" + }, + "FarmMember":{ + "type":"structure", + "required":[ + "farmId", + "identityStoreId", + "membershipLevel", + "principalId", + "principalType" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm member.

    " + }, + "identityStoreId":{ + "shape":"IdentityStoreId", + "documentation":"

    The identity store ID of the farm member.

    " + }, + "membershipLevel":{ + "shape":"MembershipLevel", + "documentation":"

    The farm member's membership level.

    " + }, + "principalId":{ + "shape":"IdentityCenterPrincipalId", + "documentation":"

    The principal ID of the farm member.

    " + }, + "principalType":{ + "shape":"PrincipalType", + "documentation":"

    The principal type of the farm member.

    " + } + }, + "documentation":"

    The member of a farm.

    " + }, + "FarmMembers":{ + "type":"list", + "member":{"shape":"FarmMember"} + }, + "FarmSummaries":{ + "type":"list", + "member":{"shape":"FarmSummary"} + }, + "FarmSummary":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "displayName", + "farmId" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the farm.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID.

    " + }, + "kmsKeyArn":{ + "shape":"KmsKeyArn", + "documentation":"

    The ARN for the KMS key.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + } + }, + "documentation":"

    The summary of details for a farm.

    " + }, + "FieldSortExpression":{ + "type":"structure", + "required":[ + "name", + "sortOrder" + ], + "members":{ + "name":{ + "shape":"String", + "documentation":"

    The name of the field.

    " + }, + "sortOrder":{ + "shape":"SortOrder", + "documentation":"

    The sort order for the field.

    " + } + }, + "documentation":"

    The field sorting order and name of the field.

    " + }, + "FileSystemLocation":{ + "type":"structure", + "required":[ + "name", + "path", + "type" + ], + "members":{ + "name":{ + "shape":"FileSystemLocationName", + "documentation":"

    The location name.

    " + }, + "path":{ + "shape":"PathString", + "documentation":"

    The file path.

    " + }, + "type":{ + "shape":"FileSystemLocationType", + "documentation":"

    The type of file.

    " + } + }, + "documentation":"

    The details of the file system location for the resource.

    ", + "sensitive":true + }, + "FileSystemLocationName":{ + "type":"string", + "max":64, + "min":1, + "pattern":"^[0-9A-Za-z ]*$", + "sensitive":true + }, + "FileSystemLocationType":{ + "type":"string", + "enum":[ + "SHARED", + "LOCAL" + ] + }, + "FileSystemLocationsList":{ + "type":"list", + "member":{"shape":"FileSystemLocation"}, + "max":20, + "min":0 + }, + "FixedBudgetSchedule":{ + "type":"structure", + "required":[ + "endTime", + "startTime" + ], + "members":{ + "endTime":{ + "shape":"EndsAt", + "documentation":"

    When the budget ends.

    " + }, + "startTime":{ + "shape":"StartsAt", + "documentation":"

    When the budget starts.

    " + } + }, + "documentation":"

    The details of a fixed budget schedule.

    " + }, + "FleetAmountCapabilities":{ + "type":"list", + "member":{"shape":"FleetAmountCapability"}, + "max":25, + "min":1 + }, + "FleetAmountCapability":{ + "type":"structure", + "required":[ + "min", + "name" + ], + "members":{ + "max":{ + "shape":"Float", + "documentation":"

    The maximum amount of the fleet worker capability.

    " + }, + "min":{ + "shape":"Float", + "documentation":"

    The minimum amount of fleet worker capability.

    " + }, + "name":{ + "shape":"AmountCapabilityName", + "documentation":"

    The name of the fleet capability.

    " + } + }, + "documentation":"

    The fleet amount and attribute capabilities.

    " + }, + "FleetAttributeCapabilities":{ + "type":"list", + "member":{"shape":"FleetAttributeCapability"}, + "max":25, + "min":1 + }, + "FleetAttributeCapability":{ + "type":"structure", + "required":[ + "name", + "values" + ], + "members":{ + "name":{ + "shape":"AttributeCapabilityName", + "documentation":"

    The name of the fleet attribute capability for the worker.

    " + }, + "values":{ + "shape":"AttributeCapabilityValuesList", + "documentation":"

    The number of fleet attribute capabilities.

    " + } + }, + "documentation":"

    Defines the fleet's capability name, minimum, and maximum.

    " + }, + "FleetCapabilities":{ + "type":"structure", + "members":{ + "amounts":{ + "shape":"FleetAmountCapabilities", + "documentation":"

    Amount capabilities of the fleet.

    " + }, + "attributes":{ + "shape":"FleetAttributeCapabilities", + "documentation":"

    Attribute capabilities of the fleet.

    " + } + }, + "documentation":"

    The amounts and attributes of fleets.

    " + }, + "FleetConfiguration":{ + "type":"structure", + "members":{ + "customerManaged":{ + "shape":"CustomerManagedFleetConfiguration", + "documentation":"

    The customer managed fleets within a fleet configuration.

    " + }, + "serviceManagedEc2":{ + "shape":"ServiceManagedEc2FleetConfiguration", + "documentation":"

    The service managed Amazon EC2 instances for a fleet configuration.

    " + } + }, + "documentation":"

    Fleet configuration details.

    ", + "union":true + }, + "FleetId":{ + "type":"string", + "pattern":"^fleet-[0-9a-f]{32}$" + }, + "FleetMember":{ + "type":"structure", + "required":[ + "farmId", + "fleetId", + "identityStoreId", + "membershipLevel", + "principalId", + "principalType" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID.

    " + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID.

    " + }, + "identityStoreId":{ + "shape":"IdentityStoreId", + "documentation":"

    The identity store ID.

    " + }, + "membershipLevel":{ + "shape":"MembershipLevel", + "documentation":"

    The fleet member's membership level.

    " + }, + "principalId":{ + "shape":"IdentityCenterPrincipalId", + "documentation":"

    The principal ID of the fleet member.

    " + }, + "principalType":{ + "shape":"PrincipalType", + "documentation":"

    The principal type of the fleet member.

    " + } + }, + "documentation":"

    The fleet member.

    " + }, + "FleetMembers":{ + "type":"list", + "member":{"shape":"FleetMember"} + }, + "FleetStatus":{ + "type":"string", + "enum":[ + "ACTIVE", + "CREATE_IN_PROGRESS", + "UPDATE_IN_PROGRESS", + "CREATE_FAILED", + "UPDATE_FAILED" + ] + }, + "FleetSummaries":{ + "type":"list", + "member":{"shape":"FleetSummary"} + }, + "FleetSummary":{ + "type":"structure", + "required":[ + "configuration", + "createdAt", + "createdBy", + "displayName", + "farmId", + "fleetId", + "maxWorkerCount", + "minWorkerCount", + "status", + "workerCount" + ], + "members":{ + "autoScalingStatus":{ + "shape":"AutoScalingStatus", + "documentation":"

    The Auto Scaling status of a fleet.

    " + }, + "configuration":{ + "shape":"FleetConfiguration", + "documentation":"

    The configuration details for the fleet.

    " + }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the fleet summary to update.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID.

    " + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID.

    " + }, + "maxWorkerCount":{ + "shape":"MinZeroMaxInteger", + "documentation":"

    The maximum number of workers specified in the fleet.

    " + }, + "minWorkerCount":{ + "shape":"MinZeroMaxInteger", + "documentation":"

    The minimum number of workers in the fleet.

    " + }, + "status":{ + "shape":"FleetStatus", + "documentation":"

    The status of the fleet.

    " + }, + "targetWorkerCount":{ + "shape":"Integer", + "documentation":"

    The target number of workers in a fleet.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + }, + "workerCount":{ + "shape":"Integer", + "documentation":"

    The number of workers in the fleet summary.

    " + } + }, + "documentation":"

    The details of a fleet.

    " + }, + "Float":{ + "type":"float", + "box":true + }, + "FloatString":{ + "type":"string", + "max":26, + "min":1, + "pattern":"^[-]?(0|[1-9][0-9]*)([.][0-9]+)?([eE][+-]?[0-9]+)?$" + }, + "GetBudgetRequest":{ + "type":"structure", + "required":[ + "budgetId", + "farmId" + ], + "members":{ + "budgetId":{ + "shape":"BudgetId", + "documentation":"

    The budget ID.

    ", + "location":"uri", + "locationName":"budgetId" + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm connected to the budget.

    ", + "location":"uri", + "locationName":"farmId" + } + } + }, + "GetBudgetResponse":{ + "type":"structure", + "required":[ + "actions", + "approximateDollarLimit", + "budgetId", + "createdAt", + "createdBy", + "displayName", + "schedule", + "status", + "usageTrackingResource", + "usages" + ], + "members":{ + "actions":{ + "shape":"ResponseBudgetActionList", + "documentation":"

    The budget actions for the budget.

    " + }, + "approximateDollarLimit":{ + "shape":"ConsumedUsageLimit", + "documentation":"

    The consumed usage limit for the budget.

    " + }, + "budgetId":{ + "shape":"BudgetId", + "documentation":"

    The budget ID.

    " + }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "description":{ + "shape":"Description", + "documentation":"

    The description of the budget.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the budget.

    " + }, + "queueStoppedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the queue stopped.

    " + }, + "schedule":{ + "shape":"BudgetSchedule", + "documentation":"

    The budget schedule.

    " + }, + "status":{ + "shape":"BudgetStatus", + "documentation":"

    The status of the budget.

    • ACTIVE–Get a budget being evaluated.

    • INACTIVE–Get an inactive budget. This can include expired, canceled, or deleted statuses.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + }, + "usageTrackingResource":{ + "shape":"UsageTrackingResource", + "documentation":"

    The resource that the budget is tracking usage for.

    " + }, + "usages":{ + "shape":"ConsumedUsages", + "documentation":"

    The usages of the budget.

    " + } + } + }, + "GetFarmRequest":{ + "type":"structure", + "required":["farmId"], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm.

    ", + "location":"uri", + "locationName":"farmId" + } + } + }, + "GetFarmResponse":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "displayName", + "farmId", + "kmsKeyArn" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "description":{ + "shape":"Description", + "documentation":"

    The description of the farm.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the farm.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm to get.

    " + }, + "kmsKeyArn":{ + "shape":"KmsKeyArn", + "documentation":"

    The ARN of the KMS key used on the farm.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + } + } + }, + "GetFleetRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm in the fleet.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID of the fleet to get.

    ", + "location":"uri", + "locationName":"fleetId" + } + } + }, + "GetFleetResponse":{ + "type":"structure", + "required":[ + "configuration", + "createdAt", + "createdBy", + "displayName", + "farmId", + "fleetId", + "maxWorkerCount", + "minWorkerCount", + "roleArn", + "status", + "workerCount" + ], + "members":{ + "autoScalingStatus":{ + "shape":"AutoScalingStatus", + "documentation":"

    The Auto Scaling status of the fleet. Either GROWING, STEADY, or SHRINKING.

    " + }, + "capabilities":{ + "shape":"FleetCapabilities", + "documentation":"

    Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.

    " + }, + "configuration":{ + "shape":"FleetConfiguration", + "documentation":"

    The configuration setting for the fleet.

    " + }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "description":{ + "shape":"Description", + "documentation":"

    The description of the fleet.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the fleet.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm in the fleet.

    " + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID.

    " + }, + "maxWorkerCount":{ + "shape":"MinZeroMaxInteger", + "documentation":"

    The maximum number of workers specified in the fleet.

    " + }, + "minWorkerCount":{ + "shape":"MinZeroMaxInteger", + "documentation":"

    The minimum number of workers specified in the fleet.

    " + }, + "roleArn":{ + "shape":"IamRoleArn", + "documentation":"

    The IAM role ARN.

    " + }, + "status":{ + "shape":"FleetStatus", + "documentation":"

    The Auto Scaling status of the fleet.

    " + }, + "targetWorkerCount":{ + "shape":"Integer", + "documentation":"

    The number of target workers in the fleet.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + }, + "workerCount":{ + "shape":"Integer", + "documentation":"

    The number of workers in the fleet.

    " + } + } + }, + "GetJobEntityError":{ + "type":"structure", + "members":{ + "environmentDetails":{ + "shape":"EnvironmentDetailsError", + "documentation":"

    The environment details for the failed job entity.

    " + }, + "jobAttachmentDetails":{ + "shape":"JobAttachmentDetailsError", + "documentation":"

    The job attachment details for the failed job entity.

    " + }, + "jobDetails":{ + "shape":"JobDetailsError", + "documentation":"

    The job details for the failed job entity.

    " + }, + "stepDetails":{ + "shape":"StepDetailsError", + "documentation":"

    The step details for the failed job entity.

    " + } + }, + "documentation":"

    The error for the job entity.

    ", + "union":true + }, + "GetJobRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm in the job.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    ", + "location":"uri", + "locationName":"jobId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID associated with the job.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "GetJobResponse":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "jobId", + "lifecycleStatus", + "lifecycleStatusMessage", + "name", + "priority" + ], + "members":{ + "attachments":{ + "shape":"Attachments", + "documentation":"

    The attachments for the job.

    " + }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "description":{ + "shape":"JobDescription", + "documentation":"

    The description of the job.

    " + }, + "endedAt":{ + "shape":"EndedAt", + "documentation":"

    The date and time the resource ended running.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + }, + "lifecycleStatus":{ + "shape":"JobLifecycleStatus", + "documentation":"

    The life cycle status for the job.

    " + }, + "lifecycleStatusMessage":{ + "shape":"String", + "documentation":"

    A message that communicates the status of the life cycle for the job.

    " + }, + "maxFailedTasksCount":{ + "shape":"MaxFailedTasksCount", + "documentation":"

    The number of task failures before the job stops running and is marked as FAILED.

    " + }, + "maxRetriesPerTask":{ + "shape":"MaxRetriesPerTask", + "documentation":"

    The maximum number of retries per failed tasks.

    " + }, + "name":{ + "shape":"JobName", + "documentation":"

    The name of the job.

    " + }, + "parameters":{ + "shape":"JobParameters", + "documentation":"

    The parameters for the job.

    " + }, + "priority":{ + "shape":"JobPriority", + "documentation":"

    The job priority.

    " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

    The date and time the resource started running.

    " + }, + "storageProfileId":{ + "shape":"StorageProfileId", + "documentation":"

    The storage profile ID associated with the job.

    " + }, + "targetTaskRunStatus":{ + "shape":"JobTargetTaskRunStatus", + "documentation":"

    The task status with which the job started.

    " + }, + "taskRunStatus":{ + "shape":"TaskRunStatus", + "documentation":"

    The task run status for the job.

    " + }, + "taskRunStatusCounts":{ + "shape":"TaskRunStatusCounts", + "documentation":"

    The number of tasks running on the job.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + } + } + }, + "GetLicenseEndpointRequest":{ + "type":"structure", + "required":["licenseEndpointId"], + "members":{ + "licenseEndpointId":{ + "shape":"LicenseEndpointId", + "documentation":"

    The license endpoint ID.

    ", + "location":"uri", + "locationName":"licenseEndpointId" + } + } + }, + "GetLicenseEndpointResponse":{ + "type":"structure", + "required":[ + "licenseEndpointId", + "status", + "statusMessage" + ], + "members":{ + "dnsName":{ + "shape":"DnsName", + "documentation":"

    The DNS name.

    " + }, + "licenseEndpointId":{ + "shape":"LicenseEndpointId", + "documentation":"

    The license endpoint ID.

    " + }, + "securityGroupIds":{ + "shape":"GetLicenseEndpointResponseSecurityGroupIdsList", + "documentation":"

    The security group IDs for the license endpoint.

    " + }, + "status":{ + "shape":"LicenseEndpointStatus", + "documentation":"

    The status of the license endpoint.

    " + }, + "statusMessage":{ + "shape":"StatusMessage", + "documentation":"

    The status message of the license endpoint.

    " + }, + "subnetIds":{ + "shape":"GetLicenseEndpointResponseSubnetIdsList", + "documentation":"

    The subnet IDs.

    " + }, + "vpcId":{ + "shape":"VpcId", + "documentation":"

    The VCP(virtual private cloud) ID associated with the license endpoint.

    " + } + } + }, + "GetLicenseEndpointResponseSecurityGroupIdsList":{ + "type":"list", + "member":{"shape":"SecurityGroupId"}, + "max":10, + "min":1 + }, + "GetLicenseEndpointResponseSubnetIdsList":{ + "type":"list", + "member":{"shape":"SubnetId"}, + "max":10, + "min":1 + }, + "GetMonitorRequest":{ + "type":"structure", + "required":["monitorId"], + "members":{ + "monitorId":{ + "shape":"MonitorId", + "documentation":"

    The unique identifier for the monitor. This ID is returned by the CreateMonitor operation.

    ", + "location":"uri", + "locationName":"monitorId" + } + } + }, + "GetMonitorResponse":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "displayName", + "identityCenterApplicationArn", + "identityCenterInstanceArn", + "monitorId", + "roleArn", + "subdomain", + "url" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The UNIX timestamp of the date and time that the monitor was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user name of the person that created the monitor.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The name used to identify the monitor on the Deadline Cloud console.

    " + }, + "identityCenterApplicationArn":{ + "shape":"IdentityCenterApplicationArn", + "documentation":"

    The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the monitor when it was created.

    " + }, + "identityCenterInstanceArn":{ + "shape":"IdentityCenterInstanceArn", + "documentation":"

    The Amazon Resource Name (ARN) of the IAM Identity Center instance responsible for authenticating monitor users.

    " + }, + "monitorId":{ + "shape":"MonitorId", + "documentation":"

    The unique identifier for the monitor.

    " + }, + "roleArn":{ + "shape":"IamRoleArn", + "documentation":"

    The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the monitor use this role to access Deadline Cloud resources.

    " + }, + "subdomain":{ + "shape":"Subdomain", + "documentation":"

    The subdomain used for the monitor URL. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The UNIX timestamp of the last date and time that the monitor was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user name of the person that last updated the monitor.

    " + }, + "url":{ + "shape":"Url", + "documentation":"

    The complete URL of the monitor. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.

    " + } + } + }, + "GetQueueEnvironmentRequest":{ + "type":"structure", + "required":[ + "farmId", + "queueEnvironmentId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the queue environment.

    ", + "location":"uri", + "locationName":"farmId" + }, + "queueEnvironmentId":{ + "shape":"QueueEnvironmentId", + "documentation":"

    The queue environment ID.

    ", + "location":"uri", + "locationName":"queueEnvironmentId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID for the queue environment.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "GetQueueEnvironmentResponse":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "name", + "priority", + "queueEnvironmentId", + "template", + "templateType" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.>

    " + }, + "name":{ + "shape":"EnvironmentName", + "documentation":"

    The name of the queue environment.

    " + }, + "priority":{ + "shape":"Priority", + "documentation":"

    The priority of the queue environment.

    " + }, + "queueEnvironmentId":{ + "shape":"QueueEnvironmentId", + "documentation":"

    The queue environment ID.

    " + }, + "template":{ + "shape":"EnvironmentTemplate", + "documentation":"

    The template for the queue environment.

    " + }, + "templateType":{ + "shape":"EnvironmentTemplateType", + "documentation":"

    The type of template for the queue environment.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + } + } + }, + "GetQueueFleetAssociationRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm that contains the queue-fleet association.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID for the queue-fleet association.

    ", + "location":"uri", + "locationName":"fleetId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID for the queue-fleet association.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "GetQueueFleetAssociationResponse":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "fleetId", + "queueId", + "status" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID for the queue-fleet association.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID for the queue-fleet association.

    " + }, + "status":{ + "shape":"QueueFleetAssociationStatus", + "documentation":"

    The status of the queue-fleet association.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + } + } + }, + "GetQueueRequest":{ + "type":"structure", + "required":[ + "farmId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm in the queue.

    ", + "location":"uri", + "locationName":"farmId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID for the queue to retrieve.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "GetQueueResponse":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "defaultBudgetAction", + "displayName", + "farmId", + "queueId", + "status" + ], + "members":{ + "allowedStorageProfileIds":{ + "shape":"AllowedStorageProfileIds", + "documentation":"

    The storage profile IDs for the queue.

    " + }, + "blockedReason":{ + "shape":"QueueBlockedReason", + "documentation":"

    The reason the queue was blocked.

    " + }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "defaultBudgetAction":{ + "shape":"DefaultQueueBudgetAction", + "documentation":"

    The default action taken on a queue if a budget wasn't configured.

    " + }, + "description":{ + "shape":"Description", + "documentation":"

    The description of the queue.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the queue.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the queue.

    " + }, + "jobAttachmentSettings":{ + "shape":"JobAttachmentSettings", + "documentation":"

    The job attachment settings for the queue.

    " + }, + "jobRunAsUser":{ + "shape":"JobRunAsUser", + "documentation":"

    The jobs in the queue ran as this specified POSIX user.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID.

    " + }, + "requiredFileSystemLocationNames":{ + "shape":"RequiredFileSystemLocationNames", + "documentation":"

    A list of the required file system location names in the queue.

    " + }, + "roleArn":{ + "shape":"IamRoleArn", + "documentation":"

    The IAM role ARN.

    " + }, + "status":{ + "shape":"QueueStatus", + "documentation":"

    The status of the queue.

    • ACTIVE–The queue is active.

    • SCHEDULING–The queue is scheduling.

    • SCHEDULING_BLOCKED–The queue scheduling is blocked. See the provided reason.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + } + } + }, + "GetSessionActionRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "queueId", + "sessionActionId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the session action.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID for the session.

    ", + "location":"uri", + "locationName":"jobId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID for the session action.

    ", + "location":"uri", + "locationName":"queueId" + }, + "sessionActionId":{ + "shape":"SessionActionId", + "documentation":"

    The session action ID for the session.

    ", + "location":"uri", + "locationName":"sessionActionId" + } + } + }, + "GetSessionActionResponse":{ + "type":"structure", + "required":[ + "definition", + "sessionActionId", + "sessionId", + "status" + ], + "members":{ + "definition":{ + "shape":"SessionActionDefinition", + "documentation":"

    The session action definition.

    " + }, + "endedAt":{ + "shape":"EndedAt", + "documentation":"

    The date and time the resource ended running.

    " + }, + "processExitCode":{ + "shape":"ProcessExitCode", + "documentation":"

    The exit code to exit the session.

    " + }, + "progressMessage":{ + "shape":"SessionActionProgressMessage", + "documentation":"

    The message that communicates the progress of the session action.

    " + }, + "progressPercent":{ + "shape":"SessionActionProgressPercent", + "documentation":"

    The percentage completed for a session action.

    " + }, + "sessionActionId":{ + "shape":"SessionActionId", + "documentation":"

    The session action ID.

    " + }, + "sessionId":{ + "shape":"SessionId", + "documentation":"

    The session ID for the session action.

    " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

    The date and time the resource started running.

    " + }, + "status":{ + "shape":"SessionActionStatus", + "documentation":"

    The status of the session action.

    " + }, + "workerUpdatedAt":{ + "shape":"Timestamp", + "documentation":"

    The Linux timestamp of the date and time the session action was last updated.

    " + } + } + }, + "GetSessionRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "queueId", + "sessionId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the session.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID for the session.

    ", + "location":"uri", + "locationName":"jobId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID for the session.

    ", + "location":"uri", + "locationName":"queueId" + }, + "sessionId":{ + "shape":"SessionId", + "documentation":"

    The session ID.

    ", + "location":"uri", + "locationName":"sessionId" + } + } + }, + "GetSessionResponse":{ + "type":"structure", + "required":[ + "fleetId", + "lifecycleStatus", + "log", + "sessionId", + "startedAt", + "workerId" + ], + "members":{ + "endedAt":{ + "shape":"EndedAt", + "documentation":"

    The date and time the resource ended running.

    " + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID for the session.

    " + }, + "hostProperties":{ + "shape":"HostPropertiesResponse", + "documentation":"

    Provides the Amazon EC2 properties of the host.

    " + }, + "lifecycleStatus":{ + "shape":"SessionLifecycleStatus", + "documentation":"

    The life cycle status of the session.

    " + }, + "log":{ + "shape":"LogConfiguration", + "documentation":"

    The session log.

    " + }, + "sessionId":{ + "shape":"SessionId", + "documentation":"

    The session ID.

    " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

    The date and time the resource started running.

    " + }, + "targetLifecycleStatus":{ + "shape":"SessionLifecycleTargetStatus", + "documentation":"

    The life cycle status with which the session started.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + }, + "workerId":{ + "shape":"WorkerId", + "documentation":"

    The worker ID for the session.

    " + }, + "workerLog":{ + "shape":"LogConfiguration", + "documentation":"

    The worker log for the session.

    " + } + } + }, + "GetSessionsStatisticsAggregationRequest":{ + "type":"structure", + "required":[ + "aggregationId", + "farmId" + ], + "members":{ + "aggregationId":{ + "shape":"AggregationId", + "documentation":"

    The identifier returned by the StartSessionsStatisticsAggregation operation that identifies the aggregated statistics.

    ", + "location":"querystring", + "locationName":"aggregationId" + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The identifier of the farm to include in the statistics. This should be the same as the farm ID used in the call to the StartSessionsStatisticsAggregation operation.

    ", + "location":"uri", + "locationName":"farmId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "GetSessionsStatisticsAggregationResponse":{ + "type":"structure", + "required":["status"], + "members":{ + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + }, + "statistics":{ + "shape":"StatisticsList", + "documentation":"

    The statistics for the specified fleets or queues.

    " + }, + "status":{ + "shape":"SessionsStatisticsAggregationStatus", + "documentation":"

    The status of the aggregated results.

    " + }, + "statusMessage":{ + "shape":"String", + "documentation":"

    A message that describes the status.

    " + } + } + }, + "GetStepRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "queueId", + "stepId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the step.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID for the step.

    ", + "location":"uri", + "locationName":"jobId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID for the step.

    ", + "location":"uri", + "locationName":"queueId" + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID.

    ", + "location":"uri", + "locationName":"stepId" + } + } + }, + "GetStepResponse":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "lifecycleStatus", + "name", + "stepId", + "taskRunStatus", + "taskRunStatusCounts" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "dependencyCounts":{ + "shape":"DependencyCounts", + "documentation":"

    The number of dependencies in the step.

    " + }, + "description":{ + "shape":"StepDescription", + "documentation":"

    The description of the step.

    " + }, + "endedAt":{ + "shape":"EndedAt", + "documentation":"

    The date and time the resource ended running.

    " + }, + "lifecycleStatus":{ + "shape":"StepLifecycleStatus", + "documentation":"

    The life cycle status of the step.

    " + }, + "lifecycleStatusMessage":{ + "shape":"String", + "documentation":"

    A message that describes the lifecycle status of the step.

    " + }, + "name":{ + "shape":"StepName", + "documentation":"

    The name of the step.

    " + }, + "parameterSpace":{ + "shape":"ParameterSpace", + "documentation":"

    A list of step parameters and the combination expression for the step.

    " + }, + "requiredCapabilities":{ + "shape":"StepRequiredCapabilities", + "documentation":"

    The required capabilities of the step.

    " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

    The date and time the resource started running.

    " + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID.

    " + }, + "targetTaskRunStatus":{ + "shape":"StepTargetTaskRunStatus", + "documentation":"

    The task status with which the job started.

    " + }, + "taskRunStatus":{ + "shape":"TaskRunStatus", + "documentation":"

    The task run status for the job.

    " + }, + "taskRunStatusCounts":{ + "shape":"TaskRunStatusCounts", + "documentation":"

    The number of tasks running on the job.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + } + } + }, + "GetStorageProfileForQueueRequest":{ + "type":"structure", + "required":[ + "farmId", + "queueId", + "storageProfileId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the queue in storage profile.

    ", + "location":"uri", + "locationName":"farmId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID the queue in the storage profile.

    ", + "location":"uri", + "locationName":"queueId" + }, + "storageProfileId":{ + "shape":"StorageProfileId", + "documentation":"

    The storage profile ID for the storage profile in the queue.

    ", + "location":"uri", + "locationName":"storageProfileId" + } + } + }, + "GetStorageProfileForQueueResponse":{ + "type":"structure", + "required":[ + "displayName", + "osFamily", + "storageProfileId" + ], + "members":{ + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the storage profile connected to a queue.

    " + }, + "fileSystemLocations":{ + "shape":"FileSystemLocationsList", + "documentation":"

    The location of the files for the storage profile within the queue.

    " + }, + "osFamily":{ + "shape":"StorageProfileOperatingSystemFamily", + "documentation":"

    The operating system of the storage profile in the queue.

    " + }, + "storageProfileId":{ + "shape":"StorageProfileId", + "documentation":"

    The storage profile ID.

    " + } + } + }, + "GetStorageProfileRequest":{ + "type":"structure", + "required":[ + "farmId", + "storageProfileId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the storage profile.

    ", + "location":"uri", + "locationName":"farmId" + }, + "storageProfileId":{ + "shape":"StorageProfileId", + "documentation":"

    The storage profile ID.

    ", + "location":"uri", + "locationName":"storageProfileId" + } + } + }, + "GetStorageProfileResponse":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "displayName", + "osFamily", + "storageProfileId" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the storage profile.

    " + }, + "fileSystemLocations":{ + "shape":"FileSystemLocationsList", + "documentation":"

    The location of the files for the storage profile.

    " + }, + "osFamily":{ + "shape":"StorageProfileOperatingSystemFamily", + "documentation":"

    The operating system (OS) for the storage profile.

    " + }, + "storageProfileId":{ + "shape":"StorageProfileId", + "documentation":"

    The storage profile ID.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + } + } + }, + "GetTaskRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "queueId", + "stepId", + "taskId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the farm connected to the task.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID of the job connected to the task.

    ", + "location":"uri", + "locationName":"jobId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID for the queue connected to the task.

    ", + "location":"uri", + "locationName":"queueId" + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID for the step connected to the task.

    ", + "location":"uri", + "locationName":"stepId" + }, + "taskId":{ + "shape":"TaskId", + "documentation":"

    The task ID.

    ", + "location":"uri", + "locationName":"taskId" + } + } + }, + "GetTaskResponse":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "runStatus", + "taskId" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "endedAt":{ + "shape":"EndedAt", + "documentation":"

    The date and time the resource ended running.

    " + }, + "failureRetryCount":{ + "shape":"TaskRetryCount", + "documentation":"

    The number of times that the task failed and was retried.

    " + }, + "latestSessionActionId":{ + "shape":"SessionActionId", + "documentation":"

    The latest session ID for the task.

    " + }, + "parameters":{ + "shape":"TaskParameters", + "documentation":"

    The parameters for the task.

    " + }, + "runStatus":{ + "shape":"TaskRunStatus", + "documentation":"

    The run status for the task.

    " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

    The date and time the resource started running.

    " + }, + "targetRunStatus":{ + "shape":"TaskTargetRunStatus", + "documentation":"

    The run status with which to start the task.

    " + }, + "taskId":{ + "shape":"TaskId", + "documentation":"

    The task ID.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + } + } + }, + "GetWorkerRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId", + "workerId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the worker.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID of the worker.

    ", + "location":"uri", + "locationName":"fleetId" + }, + "workerId":{ + "shape":"WorkerId", + "documentation":"

    The worker ID.

    ", + "location":"uri", + "locationName":"workerId" + } + } + }, + "GetWorkerResponse":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "farmId", + "fleetId", + "status", + "workerId" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID.

    " + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID.

    " + }, + "hostProperties":{ + "shape":"HostPropertiesResponse", + "documentation":"

    The host properties for the worker.

    " + }, + "log":{ + "shape":"LogConfiguration", + "documentation":"

    The logs for the associated worker.

    " + }, + "status":{ + "shape":"WorkerStatus", + "documentation":"

    The status of the worker.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + }, + "workerId":{ + "shape":"WorkerId", + "documentation":"

    The worker ID.

    " + } + } + }, + "HostName":{ + "type":"string", + "pattern":"^[a-zA-Z0-9_\\.\\-]{0,255}$" + }, + "HostPropertiesRequest":{ + "type":"structure", + "members":{ + "hostName":{ + "shape":"HostName", + "documentation":"

    The host name.

    " + }, + "ipAddresses":{ + "shape":"IpAddresses", + "documentation":"

    The IP address of the host.

    " + } + }, + "documentation":"

    The host property details.

    " + }, + "HostPropertiesResponse":{ + "type":"structure", + "members":{ + "ec2InstanceArn":{ + "shape":"String", + "documentation":"

    The ARN of the host EC2 instance.

    " + }, + "ec2InstanceType":{ + "shape":"InstanceType", + "documentation":"

    The instance type of the host EC2 instance.

    " + }, + "hostName":{ + "shape":"HostName", + "documentation":"

    The host name.

    " + }, + "ipAddresses":{ + "shape":"IpAddresses", + "documentation":"

    The IP address of the host.

    " + } + }, + "documentation":"

    The host property details.

    " + }, + "IamRoleArn":{ + "type":"string", + "pattern":"^arn:(aws[a-zA-Z-]*):iam::\\d{12}:role(/[!-.0-~]+)*/[\\w+=,.@-]+$" + }, + "IdentityCenterApplicationArn":{"type":"string"}, + "IdentityCenterInstanceArn":{ + "type":"string", + "pattern":"^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}$" + }, + "IdentityCenterPrincipalId":{ + "type":"string", + "max":47, + "min":1, + "pattern":"^([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$" + }, + "IdentityStoreId":{ + "type":"string", + "max":36, + "min":1, + "pattern":"^d-[0-9a-f]{10}$|^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" + }, + "InstanceType":{ + "type":"string", + "pattern":"^[a-zA-Z0-9]+\\.[a-zA-Z0-9]+$" + }, + "InstanceTypes":{ + "type":"list", + "member":{"shape":"InstanceType"}, + "max":100, + "min":1 + }, + "IntString":{ + "type":"string", + "max":20, + "min":1, + "pattern":"^[-]?(0|[1-9][0-9]*)$" + }, + "Integer":{ + "type":"integer", + "box":true + }, + "InternalServerErrorException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"}, + "retryAfterSeconds":{ + "shape":"Integer", + "documentation":"

    The number of seconds a client should wait before retrying the request.

    ", + "location":"header", + "locationName":"Retry-After" + } + }, + "documentation":"

    Deadline Cloud can't process your request right now. Try again later.

    ", + "error":{"httpStatusCode":500}, + "exception":true, + "fault":true, + "retryable":{"throttling":false} + }, + "IpAddresses":{ + "type":"structure", + "members":{ + "ipV4Addresses":{ + "shape":"IpV4Addresses", + "documentation":"

    The IpV4 address of the network.

    " + }, + "ipV6Addresses":{ + "shape":"IpV6Addresses", + "documentation":"

    The IpV6 address for the network and node component.

    " + } + }, + "documentation":"

    The IP addresses for a host.

    " + }, + "IpV4Address":{ + "type":"string", + "pattern":"^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}$" + }, + "IpV4Addresses":{ + "type":"list", + "member":{"shape":"IpV4Address"} + }, + "IpV6Address":{ + "type":"string", + "pattern":"^(?:[A-F0-9]{1,4}:){7}[A-F0-9]{1,4}$" + }, + "IpV6Addresses":{ + "type":"list", + "member":{"shape":"IpV6Address"} + }, + "JobAttachmentDetailsEntity":{ + "type":"structure", + "required":[ + "attachments", + "jobId" + ], + "members":{ + "attachments":{ + "shape":"Attachments", + "documentation":"

    The job attachments.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + } + }, + "documentation":"

    The job attachments.

    " + }, + "JobAttachmentDetailsError":{ + "type":"structure", + "required":[ + "code", + "jobId", + "message" + ], + "members":{ + "code":{ + "shape":"JobEntityErrorCode", + "documentation":"

    The error code.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + }, + "message":{ + "shape":"String", + "documentation":"

    The error message detailing the error's cause.

    " + } + }, + "documentation":"

    The error details for job attachments.

    " + }, + "JobAttachmentDetailsIdentifiers":{ + "type":"structure", + "required":["jobId"], + "members":{ + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + } + }, + "documentation":"

    Identifier details for job attachments.

    " + }, + "JobAttachmentSettings":{ + "type":"structure", + "required":[ + "rootPrefix", + "s3BucketName" + ], + "members":{ + "rootPrefix":{ + "shape":"S3Prefix", + "documentation":"

    The root prefix.

    " + }, + "s3BucketName":{ + "shape":"S3BucketName", + "documentation":"

    The Amazon S3 bucket name.

    " + } + }, + "documentation":"

    The job attachment settings. These are the Amazon S3 bucket name and the Amazon S3 prefix.

    " + }, + "JobAttachmentsFileSystem":{ + "type":"string", + "enum":[ + "COPIED", + "VIRTUAL" + ] + }, + "JobDescription":{ + "type":"string", + "max":2048, + "min":1, + "sensitive":true + }, + "JobDetailsEntity":{ + "type":"structure", + "required":[ + "jobId", + "logGroupName", + "schemaVersion" + ], + "members":{ + "jobAttachmentSettings":{ + "shape":"JobAttachmentSettings", + "documentation":"

    The job attachment settings.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + }, + "jobRunAsUser":{ + "shape":"JobRunAsUser", + "documentation":"

    The user name and group that the job uses when run.

    " + }, + "logGroupName":{ + "shape":"String", + "documentation":"

    The log group name.

    " + }, + "parameters":{ + "shape":"JobParameters", + "documentation":"

    The parameters.

    " + }, + "pathMappingRules":{ + "shape":"PathMappingRules", + "documentation":"

    The path mapping rules.

    " + }, + "queueRoleArn":{ + "shape":"IamRoleArn", + "documentation":"

    The queue role ARN.

    " + }, + "schemaVersion":{ + "shape":"String", + "documentation":"

    The schema version.

    " + } + }, + "documentation":"

    The job details for a specific job.

    " + }, + "JobDetailsError":{ + "type":"structure", + "required":[ + "code", + "jobId", + "message" + ], + "members":{ + "code":{ + "shape":"JobEntityErrorCode", + "documentation":"

    The error code.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + }, + "message":{ + "shape":"String", + "documentation":"

    The error message detailing the error's cause.

    " + } + }, + "documentation":"

    The details of a job error.

    " + }, + "JobDetailsIdentifiers":{ + "type":"structure", + "required":["jobId"], + "members":{ + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + } + }, + "documentation":"

    The identifiers for a job.

    " + }, + "JobEntity":{ + "type":"structure", + "members":{ + "environmentDetails":{ + "shape":"EnvironmentDetailsEntity", + "documentation":"

    The environment details for the job entity.

    " + }, + "jobAttachmentDetails":{ + "shape":"JobAttachmentDetailsEntity", + "documentation":"

    The job attachment details.

    " + }, + "jobDetails":{ + "shape":"JobDetailsEntity", + "documentation":"

    The job details.

    " + }, + "stepDetails":{ + "shape":"StepDetailsEntity", + "documentation":"

    The step details.

    " + } + }, + "documentation":"

    The details of a job entity.

    ", + "union":true + }, + "JobEntityErrorCode":{ + "type":"string", + "enum":[ + "AccessDeniedException", + "InternalServerException", + "ValidationException", + "ResourceNotFoundException", + "MaxPayloadSizeExceeded", + "ConflictException" + ] + }, + "JobEntityIdentifiers":{ + "type":"list", + "member":{"shape":"JobEntityIdentifiersUnion"}, + "max":10, + "min":1 + }, + "JobEntityIdentifiersUnion":{ + "type":"structure", + "members":{ + "environmentDetails":{ + "shape":"EnvironmentDetailsIdentifiers", + "documentation":"

    The environment details.

    " + }, + "jobAttachmentDetails":{ + "shape":"JobAttachmentDetailsIdentifiers", + "documentation":"

    The job attachment details.

    " + }, + "jobDetails":{ + "shape":"JobDetailsIdentifiers", + "documentation":"

    The job details.

    " + }, + "stepDetails":{ + "shape":"StepDetailsIdentifiers", + "documentation":"

    The step details.

    " + } + }, + "documentation":"

    The details of a job entity identifier.

    ", + "union":true + }, + "JobId":{ + "type":"string", + "pattern":"^job-[0-9a-f]{32}$" + }, + "JobLifecycleStatus":{ + "type":"string", + "enum":[ + "CREATE_IN_PROGRESS", + "CREATE_FAILED", + "CREATE_COMPLETE", + "UPLOAD_IN_PROGRESS", + "UPLOAD_FAILED", + "UPDATE_IN_PROGRESS", + "UPDATE_FAILED", + "UPDATE_SUCCEEDED", + "ARCHIVED" + ] + }, + "JobMember":{ + "type":"structure", + "required":[ + "farmId", + "identityStoreId", + "jobId", + "membershipLevel", + "principalId", + "principalType", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID.

    " + }, + "identityStoreId":{ + "shape":"IdentityStoreId", + "documentation":"

    The identity store ID.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + }, + "membershipLevel":{ + "shape":"MembershipLevel", + "documentation":"

    The job member's membership level.

    " + }, + "principalId":{ + "shape":"IdentityCenterPrincipalId", + "documentation":"

    The principal ID of the job member.

    " + }, + "principalType":{ + "shape":"PrincipalType", + "documentation":"

    The principal type of the job member.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID.

    " + } + }, + "documentation":"

    The details for a job member.

    " + }, + "JobMembers":{ + "type":"list", + "member":{"shape":"JobMember"} + }, + "JobName":{ + "type":"string", + "max":128, + "min":1 + }, + "JobParameter":{ + "type":"structure", + "members":{ + "float":{ + "shape":"FloatString", + "documentation":"

    A double precision IEEE-754 floating point number represented as a string.

    " + }, + "int":{ + "shape":"IntString", + "documentation":"

    A signed integer represented as a string.

    " + }, + "path":{ + "shape":"PathString", + "documentation":"

    A file system path represented as a string.

    " + }, + "string":{ + "shape":"ParameterString", + "documentation":"

    A UTF-8 string.

    " + } + }, + "documentation":"

    The details of job parameters.

    ", + "union":true + }, + "JobParameters":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"JobParameter"}, + "sensitive":true + }, + "JobPriority":{ + "type":"integer", + "box":true, + "max":100, + "min":0 + }, + "JobRunAsUser":{ + "type":"structure", + "required":["runAs"], + "members":{ + "posix":{ + "shape":"PosixUser", + "documentation":"

    The user and group that the jobs in the queue run as.

    " + }, + "runAs":{ + "shape":"RunAs", + "documentation":"

    Specifies whether the job should run using the queue's system user or if the job should run using the worker agent system user.

    " + }, + "windows":{ + "shape":"WindowsUser", + "documentation":"

    Identifies a Microsoft Windows user.

    " + } + }, + "documentation":"

    Identifies the user for a job.

    " + }, + "JobSearchSummaries":{ + "type":"list", + "member":{"shape":"JobSearchSummary"} + }, + "JobSearchSummary":{ + "type":"structure", + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "endedAt":{ + "shape":"EndedAt", + "documentation":"

    The date and time the resource ended running.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + }, + "jobParameters":{ + "shape":"JobParameters", + "documentation":"

    The job parameters.

    " + }, + "lifecycleStatus":{ + "shape":"JobLifecycleStatus", + "documentation":"

    The life cycle status.

    " + }, + "lifecycleStatusMessage":{ + "shape":"String", + "documentation":"

    The life cycle status message.

    " + }, + "maxFailedTasksCount":{ + "shape":"MaxFailedTasksCount", + "documentation":"

    The number of task failures before the job stops running and is marked as FAILED.

    " + }, + "maxRetriesPerTask":{ + "shape":"MaxRetriesPerTask", + "documentation":"

    The maximum number of retries for a job.

    " + }, + "name":{ + "shape":"JobName", + "documentation":"

    The job name.

    " + }, + "priority":{ + "shape":"JobPriority", + "documentation":"

    The job priority.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID.

    " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

    The date and time the resource started running.

    " + }, + "targetTaskRunStatus":{ + "shape":"JobTargetTaskRunStatus", + "documentation":"

    The task status to start with on the job.

    " + }, + "taskRunStatus":{ + "shape":"TaskRunStatus", + "documentation":"

    task run status for the job.

    • PENDING–pending and waiting for resources.

    • READY–ready to be processed.

    • ASSIGNED–assigned and will run next on a worker.

    • SCHEDULED–scheduled to be run on a worker.

    • INTERRUPTING–being interrupted.

    • RUNNING–running on a worker.

    • SUSPENDED–the task is suspended.

    • CANCELED–the task has been canceled.

    • FAILED–the task has failed.

    • SUCCEEDED–the task has succeeded.

    " + }, + "taskRunStatusCounts":{ + "shape":"TaskRunStatusCounts", + "documentation":"

    The number of tasks running on the job.

    " + } + }, + "documentation":"

    The details of a job search.

    " + }, + "JobSummaries":{ + "type":"list", + "member":{"shape":"JobSummary"} + }, + "JobSummary":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "jobId", + "lifecycleStatus", + "lifecycleStatusMessage", + "name", + "priority" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "endedAt":{ + "shape":"EndedAt", + "documentation":"

    The date and time the resource ended running.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + }, + "lifecycleStatus":{ + "shape":"JobLifecycleStatus", + "documentation":"

    The life cycle status.

    " + }, + "lifecycleStatusMessage":{ + "shape":"String", + "documentation":"

    The life cycle status message.

    " + }, + "maxFailedTasksCount":{ + "shape":"MaxFailedTasksCount", + "documentation":"

    The number of task failures before the job stops running and is marked as FAILED.

    " + }, + "maxRetriesPerTask":{ + "shape":"MaxRetriesPerTask", + "documentation":"

    The maximum number of retries for a job.

    " + }, + "name":{ + "shape":"JobName", + "documentation":"

    The job name.

    " + }, + "priority":{ + "shape":"JobPriority", + "documentation":"

    The job priority.

    " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

    The date and time the resource started running.

    " + }, + "targetTaskRunStatus":{ + "shape":"JobTargetTaskRunStatus", + "documentation":"

    The task status to start with on the job.

    " + }, + "taskRunStatus":{ + "shape":"TaskRunStatus", + "documentation":"

    The task run status for the job.

    • PENDING–pending and waiting for resources.

    • READY–ready to be processed.

    • ASSIGNED–assigned and will run next on a worker.

    • SCHEDULED–scheduled to be run on a worker.

    • INTERRUPTING–being interrupted.

    • RUNNING–running on a worker.

    • SUSPENDED–the task is suspended.

    • CANCELED–the task has been canceled.

    • FAILED–the task has failed.

    • SUCCEEDED–the task has succeeded.

    " + }, + "taskRunStatusCounts":{ + "shape":"TaskRunStatusCounts", + "documentation":"

    The number of tasks running on the job.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + } + }, + "documentation":"

    A summary of job details.

    " + }, + "JobTargetTaskRunStatus":{ + "type":"string", + "enum":[ + "READY", + "FAILED", + "SUCCEEDED", + "CANCELED", + "SUSPENDED", + "PENDING" + ] + }, + "JobTemplate":{ + "type":"string", + "max":300000, + "min":1, + "sensitive":true + }, + "JobTemplateType":{ + "type":"string", + "enum":[ + "JSON", + "YAML" + ] + }, + "KmsKeyArn":{ + "type":"string", + "pattern":"^arn:(aws[a-zA-Z-]*):kms:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:key/[\\w-]{1,120}$" + }, + "LicenseEndpointId":{ + "type":"string", + "pattern":"^le-[0-9a-f]{32}$" + }, + "LicenseEndpointStatus":{ + "type":"string", + "enum":[ + "CREATE_IN_PROGRESS", + "DELETE_IN_PROGRESS", + "READY", + "NOT_READY" + ] + }, + "LicenseEndpointSummaries":{ + "type":"list", + "member":{"shape":"LicenseEndpointSummary"} + }, + "LicenseEndpointSummary":{ + "type":"structure", + "members":{ + "licenseEndpointId":{ + "shape":"LicenseEndpointId", + "documentation":"

    The license endpoint ID.

    " + }, + "status":{ + "shape":"LicenseEndpointStatus", + "documentation":"

    The status of the license endpoint.

    " + }, + "statusMessage":{ + "shape":"StatusMessage", + "documentation":"

    The status message of the license endpoint.

    " + }, + "vpcId":{ + "shape":"VpcId", + "documentation":"

    The VCP(virtual private cloud) ID associated with the license endpoint.

    " + } + }, + "documentation":"

    The details for a license endpoint.

    " + }, + "LicenseProduct":{"type":"string"}, + "ListAttributeCapabilityValue":{ + "type":"list", + "member":{"shape":"AttributeCapabilityValue"} + }, + "ListAvailableMeteredProductsRequest":{ + "type":"structure", + "members":{ + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListAvailableMeteredProductsResponse":{ + "type":"structure", + "required":["meteredProducts"], + "members":{ + "meteredProducts":{ + "shape":"MeteredProductSummaryList", + "documentation":"

    The metered products.

    " + }, + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + } + } + }, + "ListBudgetsRequest":{ + "type":"structure", + "required":["farmId"], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID associated with the budgets.

    ", + "location":"uri", + "locationName":"farmId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "status":{ + "shape":"BudgetStatus", + "documentation":"

    The status to list for the budgets.

    ", + "location":"querystring", + "locationName":"status" + } + } + }, + "ListBudgetsResponse":{ + "type":"structure", + "required":["budgets"], + "members":{ + "budgets":{ + "shape":"BudgetSummaries", + "documentation":"

    The budgets to include on the list.

    " + }, + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + } + } + }, + "ListFarmMembersRequest":{ + "type":"structure", + "required":["farmId"], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID.

    ", + "location":"uri", + "locationName":"farmId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListFarmMembersResponse":{ + "type":"structure", + "required":["members"], + "members":{ + "members":{ + "shape":"FarmMembers", + "documentation":"

    The members on the list.

    " + }, + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + } + } + }, + "ListFarmsRequest":{ + "type":"structure", + "members":{ + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "principalId":{ + "shape":"IdentityCenterPrincipalId", + "documentation":"

    The principal ID of the member to list on the farm.

    ", + "location":"querystring", + "locationName":"principalId" + } + } + }, + "ListFarmsResponse":{ + "type":"structure", + "required":["farms"], + "members":{ + "farms":{ + "shape":"FarmSummaries", + "documentation":"

    Farms on the list.

    " + }, + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + } + } + }, + "ListFleetMembersRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the fleet.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID to include on the list.

    ", + "location":"uri", + "locationName":"fleetId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListFleetMembersResponse":{ + "type":"structure", + "required":["members"], + "members":{ + "members":{ + "shape":"FleetMembers", + "documentation":"

    The members on the list.

    " + }, + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + } + } + }, + "ListFleetsRequest":{ + "type":"structure", + "required":["farmId"], + "members":{ + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display names of a list of fleets.

    ", + "location":"querystring", + "locationName":"displayName" + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the fleets.

    ", + "location":"uri", + "locationName":"farmId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "principalId":{ + "shape":"IdentityCenterPrincipalId", + "documentation":"

    The principal ID of the members to include in the fleet.

    ", + "location":"querystring", + "locationName":"principalId" + }, + "status":{ + "shape":"FleetStatus", + "documentation":"

    The status of the fleet.

    ", + "location":"querystring", + "locationName":"status" + } + } + }, + "ListFleetsResponse":{ + "type":"structure", + "required":["fleets"], + "members":{ + "fleets":{ + "shape":"FleetSummaries", + "documentation":"

    The fleets on the list.

    " + }, + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + } + } + }, + "ListJobMembersRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the job to list.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID to include on the list.

    ", + "location":"uri", + "locationName":"jobId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID to include on the list.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "ListJobMembersResponse":{ + "type":"structure", + "required":["members"], + "members":{ + "members":{ + "shape":"JobMembers", + "documentation":"

    The members on the list.

    " + }, + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + } + } + }, + "ListJobsRequest":{ + "type":"structure", + "required":[ + "farmId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the jobs.

    ", + "location":"uri", + "locationName":"farmId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "principalId":{ + "shape":"IdentityCenterPrincipalId", + "documentation":"

    The principal ID of the members on the jobs.

    ", + "location":"querystring", + "locationName":"principalId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID for the job.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "ListJobsResponse":{ + "type":"structure", + "required":["jobs"], + "members":{ + "jobs":{ + "shape":"JobSummaries", + "documentation":"

    The jobs on the list.

    " + }, + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + } + } + }, + "ListLicenseEndpointsRequest":{ + "type":"structure", + "members":{ + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListLicenseEndpointsResponse":{ + "type":"structure", + "required":["licenseEndpoints"], + "members":{ + "licenseEndpoints":{ + "shape":"LicenseEndpointSummaries", + "documentation":"

    The license endpoints.

    " + }, + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + } + } + }, + "ListMeteredProductsRequest":{ + "type":"structure", + "required":["licenseEndpointId"], + "members":{ + "licenseEndpointId":{ + "shape":"LicenseEndpointId", + "documentation":"

    The license endpoint ID to include on the list of metered products.

    ", + "location":"uri", + "locationName":"licenseEndpointId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListMeteredProductsResponse":{ + "type":"structure", + "required":["meteredProducts"], + "members":{ + "meteredProducts":{ + "shape":"MeteredProductSummaryList", + "documentation":"

    The metered products to list.

    " + }, + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + } + } + }, + "ListMonitorsRequest":{ + "type":"structure", + "members":{ + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListMonitorsResponse":{ + "type":"structure", + "required":["monitors"], + "members":{ + "monitors":{ + "shape":"MonitorSummaries", + "documentation":"

    A list of MonitorSummary objects that describe your monitors in the Deadline Cloud.

    " + }, + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + } + } + }, + "ListQueueEnvironmentsRequest":{ + "type":"structure", + "required":[ + "farmId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the queue environment list.

    ", + "location":"uri", + "locationName":"farmId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID for the queue environment list.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "ListQueueEnvironmentsResponse":{ + "type":"structure", + "required":["environments"], + "members":{ + "environments":{ + "shape":"QueueEnvironmentSummaries", + "documentation":"

    The environments to include in the queue environments list.

    " + }, + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + } + } + }, + "ListQueueFleetAssociationsRequest":{ + "type":"structure", + "required":["farmId"], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the queue-fleet association list.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID for the queue-fleet association list.

    ", + "location":"querystring", + "locationName":"fleetId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID for the queue-fleet association list.

    ", + "location":"querystring", + "locationName":"queueId" + } + } + }, + "ListQueueFleetAssociationsResponse":{ + "type":"structure", + "required":["queueFleetAssociations"], + "members":{ + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + }, + "queueFleetAssociations":{ + "shape":"QueueFleetAssociationSummaries", + "documentation":"

    The queue-fleet associations on the list.

    " + } + } + }, + "ListQueueMembersRequest":{ + "type":"structure", + "required":[ + "farmId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the queue.

    ", + "location":"uri", + "locationName":"farmId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID to include on the list.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "ListQueueMembersResponse":{ + "type":"structure", + "required":["members"], + "members":{ + "members":{ + "shape":"QueueMemberList", + "documentation":"

    The members on the list.

    " + }, + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + } + } + }, + "ListQueuesRequest":{ + "type":"structure", + "required":["farmId"], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the queue.

    ", + "location":"uri", + "locationName":"farmId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "principalId":{ + "shape":"IdentityCenterPrincipalId", + "documentation":"

    The principal ID. This filter is only valid when using Nimble Studio credentials and should match the user ID in the credentials of the caller.

    ", + "location":"querystring", + "locationName":"principalId" + }, + "status":{ + "shape":"QueueStatus", + "documentation":"

    The status of the queues listed.

    • ACTIVE–The queues are active.

    • SCHEDULING–The queues are scheduling.

    • SCHEDULING_BLOCKED–The queue scheduling is blocked for these queues.

    ", + "location":"querystring", + "locationName":"status" + } + } + }, + "ListQueuesResponse":{ + "type":"structure", + "required":["queues"], + "members":{ + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + }, + "queues":{ + "shape":"QueueSummaries", + "documentation":"

    The queues on the list.

    " + } + } + }, + "ListSessionActionsRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the session actions list.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID for the session actions list.

    ", + "location":"uri", + "locationName":"jobId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID for the session actions list.

    ", + "location":"uri", + "locationName":"queueId" + }, + "sessionId":{ + "shape":"SessionId", + "documentation":"

    The session ID to include on the sessions action list.

    ", + "location":"querystring", + "locationName":"sessionId" + }, + "taskId":{ + "shape":"TaskId", + "documentation":"

    The task ID for the session actions list.

    ", + "location":"querystring", + "locationName":"taskId" + } + } + }, + "ListSessionActionsResponse":{ + "type":"structure", + "required":["sessionActions"], + "members":{ + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + }, + "sessionActions":{ + "shape":"SessionActionSummaries", + "documentation":"

    The session actions.

    " + } + } + }, + "ListSessionsForWorkerRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId", + "workerId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the session.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID for the session.

    ", + "location":"uri", + "locationName":"fleetId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "workerId":{ + "shape":"WorkerId", + "documentation":"

    The worker ID for the session.

    ", + "location":"uri", + "locationName":"workerId" + } + } + }, + "ListSessionsForWorkerResponse":{ + "type":"structure", + "required":["sessions"], + "members":{ + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    " + }, + "sessions":{ + "shape":"ListSessionsForWorkerSummaries", + "documentation":"

    The sessions in the response.

    " + } + } + }, + "ListSessionsForWorkerSummaries":{ + "type":"list", + "member":{"shape":"WorkerSessionSummary"} + }, + "ListSessionsRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the list of sessions.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID for the list of sessions.

    ", + "location":"uri", + "locationName":"jobId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID for the list of sessions

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "ListSessionsResponse":{ + "type":"structure", + "required":["sessions"], + "members":{ + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + }, + "sessions":{ + "shape":"SessionSummaries", + "documentation":"

    The sessions on the list.

    " + } + } + }, + "ListStepConsumersRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "queueId", + "stepId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the list of step consumers.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID for the step consumer.

    ", + "location":"uri", + "locationName":"jobId" + }, + "maxResults":{ + "shape":"ListStepConsumersRequestMaxResultsInteger", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID for the step consumer.

    ", + "location":"uri", + "locationName":"queueId" + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID to include on the list.

    ", + "location":"uri", + "locationName":"stepId" + } + } + }, + "ListStepConsumersRequestMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":1000, + "min":1 + }, + "ListStepConsumersResponse":{ + "type":"structure", + "required":["consumers"], + "members":{ + "consumers":{ + "shape":"StepConsumers", + "documentation":"

    The consumers on the list.

    " + }, + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + } + } + }, + "ListStepDependenciesRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "queueId", + "stepId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID for the step dependencies list.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID for the step dependencies list.

    ", + "location":"uri", + "locationName":"jobId" + }, + "maxResults":{ + "shape":"ListStepDependenciesRequestMaxResultsInteger", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID for the step dependencies list.

    ", + "location":"uri", + "locationName":"queueId" + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID to include on the list.

    ", + "location":"uri", + "locationName":"stepId" + } + } + }, + "ListStepDependenciesRequestMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":1000, + "min":1 + }, + "ListStepDependenciesResponse":{ + "type":"structure", + "required":["dependencies"], + "members":{ + "dependencies":{ + "shape":"StepDependencies", + "documentation":"

    The dependencies on the list.

    " + }, + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + } + } + }, + "ListStepsRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID to include on the list of steps.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID to include on the list of steps.

    ", + "location":"uri", + "locationName":"jobId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID to include on the list of steps.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "ListStepsResponse":{ + "type":"structure", + "required":["steps"], + "members":{ + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + }, + "steps":{ + "shape":"StepSummaries", + "documentation":"

    The steps on the list.

    " + } + } + }, + "ListStorageProfilesForQueueRequest":{ + "type":"structure", + "required":[ + "farmId", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the queue's storage profile.

    ", + "location":"uri", + "locationName":"farmId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID for the storage profile.

    ", + "location":"uri", + "locationName":"queueId" + } + } + }, + "ListStorageProfilesForQueueResponse":{ + "type":"structure", + "required":["storageProfiles"], + "members":{ + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + }, + "storageProfiles":{ + "shape":"StorageProfileSummaries", + "documentation":"

    The storage profiles in the queue.

    " + } + } + }, + "ListStorageProfilesRequest":{ + "type":"structure", + "required":["farmId"], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the storage profile.

    ", + "location":"uri", + "locationName":"farmId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListStorageProfilesResponse":{ + "type":"structure", + "required":["storageProfiles"], + "members":{ + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + }, + "storageProfiles":{ + "shape":"StorageProfileSummaries", + "documentation":"

    The storage profiles.

    " + } + } + }, + "ListTagsForResourceRequest":{ + "type":"structure", + "required":["resourceArn"], + "members":{ + "resourceArn":{ + "shape":"String", + "documentation":"

    The resource ARN to list tags for.

    ", + "location":"uri", + "locationName":"resourceArn" + } + } + }, + "ListTagsForResourceResponse":{ + "type":"structure", + "members":{ + "tags":{ + "shape":"Tags", + "documentation":"

    Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.

    " + } + } + }, + "ListTasksRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "queueId", + "stepId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID connected to the tasks.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID for the tasks.

    ", + "location":"uri", + "locationName":"jobId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID connected to the tasks.

    ", + "location":"uri", + "locationName":"queueId" + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID for the tasks.

    ", + "location":"uri", + "locationName":"stepId" + } + } + }, + "ListTasksResponse":{ + "type":"structure", + "required":["tasks"], + "members":{ + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + }, + "tasks":{ + "shape":"TaskSummaries", + "documentation":"

    Tasks for the job.

    " + } + } + }, + "ListWorkersRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID connected to the workers.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID of the workers.

    ", + "location":"uri", + "locationName":"fleetId" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "documentation":"

    The token for the next set of results, or null to start from the beginning.

    ", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListWorkersResponse":{ + "type":"structure", + "required":["workers"], + "members":{ + "nextToken":{ + "shape":"String", + "documentation":"

    If Deadline Cloud returns nextToken, then there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.

    " + }, + "workers":{ + "shape":"WorkerSummaries", + "documentation":"

    The workers on the list.

    " + } + } + }, + "LogConfiguration":{ + "type":"structure", + "required":["logDriver"], + "members":{ + "error":{ + "shape":"LogError", + "documentation":"

    The log configuration error details.

    " + }, + "logDriver":{ + "shape":"LogDriver", + "documentation":"

    The log drivers for worker related logs.

    " + }, + "options":{ + "shape":"LogOptions", + "documentation":"

    The options for a log driver.

    " + }, + "parameters":{ + "shape":"LogParameters", + "documentation":"

    The parameters for the log configuration.

    " + } + }, + "documentation":"

    Log configuration details.

    " + }, + "LogDriver":{ + "type":"string", + "max":512, + "min":1 + }, + "LogError":{ + "type":"string", + "max":512, + "min":1 + }, + "LogOptions":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"String"} + }, + "LogParameters":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"String"} + }, + "LogicalOperator":{ + "type":"string", + "enum":[ + "AND", + "OR" + ] + }, + "ManifestProperties":{ + "type":"structure", + "required":[ + "rootPath", + "rootPathFormat" + ], + "members":{ + "fileSystemLocationName":{ + "shape":"FileSystemLocationName", + "documentation":"

    The file system location name.

    " + }, + "inputManifestHash":{ + "shape":"ManifestPropertiesInputManifestHashString", + "documentation":"

    The has value of the file.

    " + }, + "inputManifestPath":{ + "shape":"ManifestPropertiesInputManifestPathString", + "documentation":"

    The file path.

    " + }, + "outputRelativeDirectories":{ + "shape":"OutputRelativeDirectoriesList", + "documentation":"

    The file path relative to the directory.

    " + }, + "rootPath":{ + "shape":"ManifestPropertiesRootPathString", + "documentation":"

    The file's root path.

    " + }, + "rootPathFormat":{ + "shape":"PathFormat", + "documentation":"

    The format of the root path.

    " + } + }, + "documentation":"

    The details of the manifest that links a job's source information.

    ", + "sensitive":true + }, + "ManifestPropertiesInputManifestHashString":{ + "type":"string", + "max":256, + "min":1 + }, + "ManifestPropertiesInputManifestPathString":{ + "type":"string", + "max":512, + "min":1 + }, + "ManifestPropertiesList":{ + "type":"list", + "member":{"shape":"ManifestProperties"}, + "max":10, + "min":1 + }, + "ManifestPropertiesRootPathString":{ + "type":"string", + "max":1024, + "min":1 + }, + "MaxFailedTasksCount":{ + "type":"integer", + "box":true, + "max":2147483647, + "min":0 + }, + "MaxResults":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "MaxRetriesPerTask":{ + "type":"integer", + "box":true, + "max":2147483647, + "min":0 + }, + "MembershipLevel":{ + "type":"string", + "enum":[ + "VIEWER", + "CONTRIBUTOR", + "OWNER", + "MANAGER" + ] + }, + "MemoryAmountMiB":{ + "type":"integer", + "box":true, + "max":2147483647, + "min":512 + }, + "MemoryMiBRange":{ + "type":"structure", + "required":["min"], + "members":{ + "max":{ + "shape":"MemoryAmountMiB", + "documentation":"

    The maximum amount of memory (in MiB).

    " + }, + "min":{ + "shape":"MemoryAmountMiB", + "documentation":"

    The minimum amount of memory (in MiB).

    " + } + }, + "documentation":"

    The range of memory in MiB.

    " + }, + "MeteredProductId":{ + "type":"string", + "pattern":"^[0-9a-z]{1,32}-[.0-9a-z]{1,32}$" + }, + "MeteredProductSummary":{ + "type":"structure", + "required":[ + "family", + "port", + "productId", + "vendor" + ], + "members":{ + "family":{ + "shape":"BoundedString", + "documentation":"

    The family to which the metered product belongs.

    " + }, + "port":{ + "shape":"PortNumber", + "documentation":"

    The port on which the metered product should run.

    " + }, + "productId":{ + "shape":"MeteredProductId", + "documentation":"

    The product ID.

    " + }, + "vendor":{ + "shape":"BoundedString", + "documentation":"

    The vendor.

    " + } + }, + "documentation":"

    The details of a metered product.

    " + }, + "MeteredProductSummaryList":{ + "type":"list", + "member":{"shape":"MeteredProductSummary"} + }, + "MinOneMaxTenThousand":{ + "type":"integer", + "box":true, + "max":10000, + "min":1 + }, + "MinZeroMaxInteger":{ + "type":"integer", + "box":true, + "max":2147483647, + "min":0 + }, + "MonitorId":{ + "type":"string", + "pattern":"^monitor-[0-9a-f]{32}$" + }, + "MonitorSummaries":{ + "type":"list", + "member":{"shape":"MonitorSummary"} + }, + "MonitorSummary":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "displayName", + "identityCenterApplicationArn", + "identityCenterInstanceArn", + "monitorId", + "roleArn", + "subdomain", + "url" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The UNIX timestamp of the date and time that the monitor was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user name of the person that created the monitor.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The name of the monitor that displays on the Deadline Cloud console.

    " + }, + "identityCenterApplicationArn":{ + "shape":"IdentityCenterApplicationArn", + "documentation":"

    The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the monitor when it was created.

    " + }, + "identityCenterInstanceArn":{ + "shape":"IdentityCenterInstanceArn", + "documentation":"

    The Amazon Resource Name (ARN) of the IAM Identity Center instance responsible for authenticating monitor users.

    " + }, + "monitorId":{ + "shape":"MonitorId", + "documentation":"

    The unique identifier for the monitor.

    " + }, + "roleArn":{ + "shape":"IamRoleArn", + "documentation":"

    The Amazon Resource Name (ARN) of the IAM role for the monitor. Users of the monitor use this role to access Deadline Cloud resources.

    " + }, + "subdomain":{ + "shape":"Subdomain", + "documentation":"

    The subdomain used for the monitor URL. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The UNIX timestamp of the date and time that the monitor was last updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user name of the person that last updated the monitor.

    " + }, + "url":{ + "shape":"Url", + "documentation":"

    The complete URL of the monitor. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.

    " + } + }, + "documentation":"

    Provides information about a monitor in Deadline Cloud.

    " + }, + "NextItemOffset":{ + "type":"integer", + "box":true, + "max":10000, + "min":0 + }, + "OutputRelativeDirectoriesList":{ + "type":"list", + "member":{"shape":"OutputRelativeDirectoriesListMemberString"}, + "max":100, + "min":0 + }, + "OutputRelativeDirectoriesListMemberString":{ + "type":"string", + "max":1024, + "min":1 + }, + "ParameterFilterExpression":{ + "type":"structure", + "required":[ + "name", + "operator", + "value" + ], + "members":{ + "name":{ + "shape":"String", + "documentation":"

    The name of the parameter to filter on.

    " + }, + "operator":{ + "shape":"ComparisonOperator", + "documentation":"

    The type of comparison to use to filter results.

    " + }, + "value":{ + "shape":"ParameterValue", + "documentation":"

    The parameter's value.

    " + } + }, + "documentation":"

    The details of a filtered search for parameters.

    " + }, + "ParameterSortExpression":{ + "type":"structure", + "required":[ + "name", + "sortOrder" + ], + "members":{ + "name":{ + "shape":"String", + "documentation":"

    The parameter name to sort by.

    " + }, + "sortOrder":{ + "shape":"SortOrder", + "documentation":"

    The sort order for the parameter.

    " + } + }, + "documentation":"

    Organizes parameters according to your specifications.

    " + }, + "ParameterSpace":{ + "type":"structure", + "required":["parameters"], + "members":{ + "combination":{ + "shape":"CombinationExpression", + "documentation":"

    The combination expression to use in the search.

    " + }, + "parameters":{ + "shape":"StepParameterList", + "documentation":"

    The parameters to search for.

    " + } + }, + "documentation":"

    The details of a search for two or more step parameters.

    " + }, + "ParameterString":{ + "type":"string", + "max":1024, + "min":0 + }, + "ParameterValue":{ + "type":"string", + "max":256, + "min":1 + }, + "PathFormat":{ + "type":"string", + "enum":[ + "windows", + "posix" + ] + }, + "PathMappingRule":{ + "type":"structure", + "required":[ + "destinationPath", + "sourcePath", + "sourcePathFormat" + ], + "members":{ + "destinationPath":{ + "shape":"String", + "documentation":"

    The destination path.

    " + }, + "sourcePath":{ + "shape":"String", + "documentation":"

    The source path.

    " + }, + "sourcePathFormat":{ + "shape":"PathFormat", + "documentation":"

    The source path format.

    " + } + }, + "documentation":"

    The details of a source and destination path.

    ", + "sensitive":true + }, + "PathMappingRules":{ + "type":"list", + "member":{"shape":"PathMappingRule"} + }, + "PathString":{ + "type":"string", + "max":1024, + "min":0 + }, + "Period":{ + "type":"string", + "enum":[ + "HOURLY", + "DAILY", + "WEEKLY", + "MONTHLY" + ] + }, + "PortNumber":{ + "type":"integer", + "box":true, + "max":65535, + "min":1024 + }, + "PosixUser":{ + "type":"structure", + "required":[ + "group", + "user" + ], + "members":{ + "group":{ + "shape":"PosixUserGroupString", + "documentation":"

    The name of the POSIX user's group.

    " + }, + "user":{ + "shape":"PosixUserUserString", + "documentation":"

    The name of the POSIX user.

    " + } + }, + "documentation":"

    The POSIX user.

    " + }, + "PosixUserGroupString":{ + "type":"string", + "max":31, + "min":0, + "pattern":"^(?:[a-z][a-z0-9-]{0,30})?$" + }, + "PosixUserUserString":{ + "type":"string", + "max":31, + "min":0, + "pattern":"^(?:[a-z][a-z0-9-]{0,30})?$" + }, + "PrincipalType":{ + "type":"string", + "enum":[ + "USER", + "GROUP" + ] + }, + "Priority":{ + "type":"integer", + "box":true, + "max":10000, + "min":0 + }, + "ProcessExitCode":{ + "type":"integer", + "box":true, + "max":2147483647, + "min":-2147483648 + }, + "PutMeteredProductRequest":{ + "type":"structure", + "required":[ + "licenseEndpointId", + "productId" + ], + "members":{ + "licenseEndpointId":{ + "shape":"LicenseEndpointId", + "documentation":"

    The license endpoint ID to add to the metered product.

    ", + "location":"uri", + "locationName":"licenseEndpointId" + }, + "productId":{ + "shape":"MeteredProductId", + "documentation":"

    The product ID to add to the metered product.

    ", + "location":"uri", + "locationName":"productId" + } + } + }, + "PutMeteredProductResponse":{ + "type":"structure", + "members":{ + } + }, + "QueueBlockedReason":{ + "type":"string", + "enum":[ + "NO_BUDGET_CONFIGURED", + "BUDGET_THRESHOLD_REACHED" + ] + }, + "QueueEnvironmentId":{ + "type":"string", + "pattern":"^queueenv-[0-9a-f]{32}$" + }, + "QueueEnvironmentSummaries":{ + "type":"list", + "member":{"shape":"QueueEnvironmentSummary"} + }, + "QueueEnvironmentSummary":{ + "type":"structure", + "required":[ + "name", + "priority", + "queueEnvironmentId" + ], + "members":{ + "name":{ + "shape":"EnvironmentName", + "documentation":"

    The name of the queue environment.

    " + }, + "priority":{ + "shape":"Priority", + "documentation":"

    The queue environment's priority.

    " + }, + "queueEnvironmentId":{ + "shape":"QueueEnvironmentId", + "documentation":"

    The queue environment ID.

    " + } + }, + "documentation":"

    The summary of a queue environment.

    " + }, + "QueueFleetAssociationStatus":{ + "type":"string", + "enum":[ + "ACTIVE", + "STOP_SCHEDULING_AND_COMPLETE_TASKS", + "STOP_SCHEDULING_AND_CANCEL_TASKS", + "STOPPED" + ] + }, + "QueueFleetAssociationSummaries":{ + "type":"list", + "member":{"shape":"QueueFleetAssociationSummary"} + }, + "QueueFleetAssociationSummary":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "fleetId", + "queueId", + "status" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID.

    " + }, + "status":{ + "shape":"QueueFleetAssociationStatus", + "documentation":"

    The status of task scheduling in the queue-fleet association.

    • ACTIVE–Association is active.

    • STOP_SCHEDULING_AND_COMPLETE_TASKS–Association has stopped scheduling new tasks and is completing current tasks.

    • STOP_SCHEDULING_AND_CANCEL_TASKS–Association has stopped scheduling new tasks and is canceling current tasks.

    • STOPPED–Association has been stopped.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + } + }, + "documentation":"

    The details of a queue-fleet association.

    " + }, + "QueueId":{ + "type":"string", + "pattern":"^queue-[0-9a-f]{32}$" + }, + "QueueMember":{ + "type":"structure", + "required":[ + "farmId", + "identityStoreId", + "membershipLevel", + "principalId", + "principalType", + "queueId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID.

    " + }, + "identityStoreId":{ + "shape":"IdentityStoreId", + "documentation":"

    The identity store ID.

    " + }, + "membershipLevel":{ + "shape":"MembershipLevel", + "documentation":"

    The queue member's membership level.

    " + }, + "principalId":{ + "shape":"IdentityCenterPrincipalId", + "documentation":"

    The principal ID of the queue member.

    " + }, + "principalType":{ + "shape":"PrincipalType", + "documentation":"

    The principal type of the queue member.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID.

    " + } + }, + "documentation":"

    The details of a queue member.

    " + }, + "QueueMemberList":{ + "type":"list", + "member":{"shape":"QueueMember"} + }, + "QueueStatus":{ + "type":"string", + "enum":[ + "IDLE", + "SCHEDULING", + "SCHEDULING_BLOCKED" + ] + }, + "QueueSummaries":{ + "type":"list", + "member":{"shape":"QueueSummary"} + }, + "QueueSummary":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "defaultBudgetAction", + "displayName", + "farmId", + "queueId", + "status" + ], + "members":{ + "blockedReason":{ + "shape":"QueueBlockedReason", + "documentation":"

    The reason the queue is blocked, if applicable.

    " + }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "defaultBudgetAction":{ + "shape":"DefaultQueueBudgetAction", + "documentation":"

    The default action taken on a queue summary if a budget wasn't configured.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the queue summary to update.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID.

    " + }, + "status":{ + "shape":"QueueStatus", + "documentation":"

    That status of the queue.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + } + }, + "documentation":"

    The details of a queue summary.

    " + }, + "RequiredFileSystemLocationNames":{ + "type":"list", + "member":{"shape":"FileSystemLocationName"}, + "max":20, + "min":0 + }, + "ResourceName":{ + "type":"string", + "max":100, + "min":1 + }, + "ResourceNotFoundException":{ + "type":"structure", + "required":[ + "message", + "resourceId", + "resourceType" + ], + "members":{ + "context":{ + "shape":"ExceptionContext", + "documentation":"

    Information about the resources in use when the exception was thrown.

    " + }, + "message":{"shape":"String"}, + "resourceId":{ + "shape":"String", + "documentation":"

    The identifier of the resource that couldn't be found.

    " + }, + "resourceType":{ + "shape":"String", + "documentation":"

    The type of the resource that couldn't be found.

    " + } + }, + "documentation":"

    The requested resource can't be found.

    ", + "error":{ + "httpStatusCode":404, + "senderFault":true + }, + "exception":true + }, + "ResponseBudgetAction":{ + "type":"structure", + "required":[ + "thresholdPercentage", + "type" + ], + "members":{ + "description":{ + "shape":"Description", + "documentation":"

    The budget action description.

    " + }, + "thresholdPercentage":{ + "shape":"ThresholdPercentage", + "documentation":"

    The percentage threshold for the budget.

    " + }, + "type":{ + "shape":"BudgetActionType", + "documentation":"

    The action taken on the budget once scheduling stops.

    " + } + }, + "documentation":"

    The details of a budget action.

    " + }, + "ResponseBudgetActionList":{ + "type":"list", + "member":{"shape":"ResponseBudgetAction"}, + "max":10, + "min":0 + }, + "RunAs":{ + "type":"string", + "enum":[ + "QUEUE_CONFIGURED_USER", + "WORKER_AGENT_USER" + ] + }, + "S3BucketName":{ + "type":"string", + "max":255, + "min":1 + }, + "S3Key":{ + "type":"string", + "max":1024, + "min":1 + }, + "S3Location":{ + "type":"structure", + "required":[ + "bucketName", + "key" + ], + "members":{ + "bucketName":{ + "shape":"S3BucketName", + "documentation":"

    The name of the Amazon S3 bucket.

    " + }, + "key":{ + "shape":"S3Key", + "documentation":"

    The Amazon S3 object key that uniquely identifies the Amazon S3 bucket.

    " + } + }, + "documentation":"

    The Amazon S3 location information.

    " + }, + "S3Prefix":{ + "type":"string", + "max":63, + "min":1 + }, + "SearchFilterExpression":{ + "type":"structure", + "members":{ + "dateTimeFilter":{ + "shape":"DateTimeFilterExpression", + "documentation":"

    Filters based on date and time.

    " + }, + "groupFilter":{ + "shape":"SearchGroupedFilterExpressions", + "documentation":"

    Filters by group.

    " + }, + "parameterFilter":{ + "shape":"ParameterFilterExpression", + "documentation":"

    Filters by parameter.

    " + }, + "searchTermFilter":{ + "shape":"SearchTermFilterExpression", + "documentation":"

    Filters by a specified search term.

    " + }, + "stringFilter":{ + "shape":"StringFilterExpression", + "documentation":"

    Filters by a string.

    " + } + }, + "documentation":"

    The type of search filter to apply.

    ", + "union":true + }, + "SearchFilterExpressions":{ + "type":"list", + "member":{"shape":"SearchFilterExpression"}, + "max":3, + "min":1 + }, + "SearchGroupedFilterExpressions":{ + "type":"structure", + "required":[ + "filters", + "operator" + ], + "members":{ + "filters":{ + "shape":"SearchFilterExpressions", + "documentation":"

    The filters to use for the search.

    " + }, + "operator":{ + "shape":"LogicalOperator", + "documentation":"

    The operators to include in the search.

    " + } + }, + "documentation":"

    The filter expression, AND or OR, to use when searching among a group of search strings in a resource.

    You can use two groupings per search each within parenthesis ().

    " + }, + "SearchJobsRequest":{ + "type":"structure", + "required":[ + "farmId", + "itemOffset", + "queueIds" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the job.

    ", + "location":"uri", + "locationName":"farmId" + }, + "filterExpressions":{ + "shape":"SearchGroupedFilterExpressions", + "documentation":"

    The filter expression, AND or OR, to use when searching among a group of search strings in a resource.

    You can use two groupings per search each within parenthesis ().

    " + }, + "itemOffset":{ + "shape":"SearchJobsRequestItemOffsetInteger", + "documentation":"

    Defines how far into the scrollable list to start the return of results.

    " + }, + "pageSize":{ + "shape":"SearchJobsRequestPageSizeInteger", + "documentation":"

    Specifies the number of items per page for the resource.

    " + }, + "queueIds":{ + "shape":"SearchJobsRequestQueueIdsList", + "documentation":"

    The queue ID to use in the job search.

    " + }, + "sortExpressions":{ + "shape":"SearchSortExpressions", + "documentation":"

    The search terms for a resource.

    " + } + } + }, + "SearchJobsRequestItemOffsetInteger":{ + "type":"integer", + "box":true, + "max":10000, + "min":0 + }, + "SearchJobsRequestPageSizeInteger":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "SearchJobsRequestQueueIdsList":{ + "type":"list", + "member":{"shape":"QueueId"}, + "max":10, + "min":1 + }, + "SearchJobsResponse":{ + "type":"structure", + "required":[ + "jobs", + "totalResults" + ], + "members":{ + "jobs":{ + "shape":"JobSearchSummaries", + "documentation":"

    The jobs in the search.

    " + }, + "nextItemOffset":{ + "shape":"NextItemOffset", + "documentation":"

    The next incremental starting point after the defined itemOffset.

    " + }, + "totalResults":{ + "shape":"TotalResults", + "documentation":"

    The total number of results in the search.

    " + } + } + }, + "SearchSortExpression":{ + "type":"structure", + "members":{ + "fieldSort":{ + "shape":"FieldSortExpression", + "documentation":"

    Options for sorting by a field.

    " + }, + "parameterSort":{ + "shape":"ParameterSortExpression", + "documentation":"

    Options for sorting by a parameter.

    " + }, + "userJobsFirst":{ + "shape":"UserJobsFirst", + "documentation":"

    Options for sorting a particular user's jobs first.

    " + } + }, + "documentation":"

    The resources to search.

    ", + "union":true + }, + "SearchSortExpressions":{ + "type":"list", + "member":{"shape":"SearchSortExpression"}, + "max":1, + "min":1 + }, + "SearchStepsRequest":{ + "type":"structure", + "required":[ + "farmId", + "itemOffset", + "queueIds" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID to use for the step search.

    ", + "location":"uri", + "locationName":"farmId" + }, + "filterExpressions":{ + "shape":"SearchGroupedFilterExpressions", + "documentation":"

    The filter expression, AND or OR, to use when searching among a group of search strings in a resource.

    You can use two groupings per search each within parenthesis ().

    " + }, + "itemOffset":{ + "shape":"SearchStepsRequestItemOffsetInteger", + "documentation":"

    Defines how far into the scrollable list to start the return of results.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID to use in the step search.

    " + }, + "pageSize":{ + "shape":"SearchStepsRequestPageSizeInteger", + "documentation":"

    Specifies the number of items per page for the resource.

    " + }, + "queueIds":{ + "shape":"SearchStepsRequestQueueIdsList", + "documentation":"

    The queue IDs in the step search.

    " + }, + "sortExpressions":{ + "shape":"SearchSortExpressions", + "documentation":"

    The search terms for a resource.

    " + } + } + }, + "SearchStepsRequestItemOffsetInteger":{ + "type":"integer", + "box":true, + "max":10000, + "min":0 + }, + "SearchStepsRequestPageSizeInteger":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "SearchStepsRequestQueueIdsList":{ + "type":"list", + "member":{"shape":"QueueId"}, + "max":10, + "min":1 + }, + "SearchStepsResponse":{ + "type":"structure", + "required":[ + "steps", + "totalResults" + ], + "members":{ + "nextItemOffset":{ + "shape":"NextItemOffset", + "documentation":"

    The next incremental starting point after the defined itemOffset.

    " + }, + "steps":{ + "shape":"StepSearchSummaries", + "documentation":"

    The steps in the search.

    " + }, + "totalResults":{ + "shape":"TotalResults", + "documentation":"

    The total number of results in the search.

    " + } + } + }, + "SearchTasksRequest":{ + "type":"structure", + "required":[ + "farmId", + "itemOffset", + "queueIds" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the task.

    ", + "location":"uri", + "locationName":"farmId" + }, + "filterExpressions":{ + "shape":"SearchGroupedFilterExpressions", + "documentation":"

    The filter expression, AND or OR, to use when searching among a group of search strings in a resource.

    You can use two groupings per search each within parenthesis ().

    " + }, + "itemOffset":{ + "shape":"SearchTasksRequestItemOffsetInteger", + "documentation":"

    Defines how far into the scrollable list to start the return of results.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID for the task search.

    " + }, + "pageSize":{ + "shape":"SearchTasksRequestPageSizeInteger", + "documentation":"

    Specifies the number of items per page for the resource.

    " + }, + "queueIds":{ + "shape":"SearchTasksRequestQueueIdsList", + "documentation":"

    The queue IDs to include in the search.

    " + }, + "sortExpressions":{ + "shape":"SearchSortExpressions", + "documentation":"

    The search terms for a resource.

    " + } + } + }, + "SearchTasksRequestItemOffsetInteger":{ + "type":"integer", + "box":true, + "max":10000, + "min":0 + }, + "SearchTasksRequestPageSizeInteger":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "SearchTasksRequestQueueIdsList":{ + "type":"list", + "member":{"shape":"QueueId"}, + "max":10, + "min":1 + }, + "SearchTasksResponse":{ + "type":"structure", + "required":[ + "tasks", + "totalResults" + ], + "members":{ + "nextItemOffset":{ + "shape":"NextItemOffset", + "documentation":"

    The next incremental starting point after the defined itemOffset.

    " + }, + "tasks":{ + "shape":"TaskSearchSummaries", + "documentation":"

    Tasks in the search.

    " + }, + "totalResults":{ + "shape":"TotalResults", + "documentation":"

    The total number of results in the search.

    " + } + } + }, + "SearchTerm":{ + "type":"string", + "max":256, + "min":1 + }, + "SearchTermFilterExpression":{ + "type":"structure", + "required":["searchTerm"], + "members":{ + "searchTerm":{ + "shape":"SearchTerm", + "documentation":"

    The term to search for.

    " + } + }, + "documentation":"

    Searches for a particular search term.

    " + }, + "SearchWorkersRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetIds", + "itemOffset" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID in the workers search.

    ", + "location":"uri", + "locationName":"farmId" + }, + "filterExpressions":{ + "shape":"SearchGroupedFilterExpressions", + "documentation":"

    The filter expression, AND or OR, to use when searching among a group of search strings in a resource.

    You can use two groupings per search each within parenthesis ().

    " + }, + "fleetIds":{ + "shape":"SearchWorkersRequestFleetIdsList", + "documentation":"

    The fleet ID of the workers to search for.

    " + }, + "itemOffset":{ + "shape":"SearchWorkersRequestItemOffsetInteger", + "documentation":"

    Defines how far into the scrollable list to start the return of results.

    " + }, + "pageSize":{ + "shape":"SearchWorkersRequestPageSizeInteger", + "documentation":"

    Specifies the number of items per page for the resource.

    " + }, + "sortExpressions":{ + "shape":"SearchSortExpressions", + "documentation":"

    The search terms for a resource.

    " + } + } + }, + "SearchWorkersRequestFleetIdsList":{ + "type":"list", + "member":{"shape":"FleetId"}, + "max":10, + "min":1 + }, + "SearchWorkersRequestItemOffsetInteger":{ + "type":"integer", + "box":true, + "max":10000, + "min":0 + }, + "SearchWorkersRequestPageSizeInteger":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "SearchWorkersResponse":{ + "type":"structure", + "required":[ + "totalResults", + "workers" + ], + "members":{ + "nextItemOffset":{ + "shape":"NextItemOffset", + "documentation":"

    The next incremental starting point after the defined itemOffset.

    " + }, + "totalResults":{ + "shape":"TotalResults", + "documentation":"

    The total number of results in the search.

    " + }, + "workers":{ + "shape":"WorkerSearchSummaries", + "documentation":"

    The workers for the search.

    " + } + } + }, + "SecretAccessKey":{ + "type":"string", + "sensitive":true + }, + "SecurityGroupId":{ + "type":"string", + "pattern":"^sg-[\\w]{1,120}$" + }, + "ServiceManagedEc2FleetConfiguration":{ + "type":"structure", + "required":[ + "instanceCapabilities", + "instanceMarketOptions" + ], + "members":{ + "instanceCapabilities":{ + "shape":"ServiceManagedEc2InstanceCapabilities", + "documentation":"

    The Amazon EC2 instance capabilities.

    " + }, + "instanceMarketOptions":{ + "shape":"ServiceManagedEc2InstanceMarketOptions", + "documentation":"

    The Amazon EC2 market type.

    " + } + }, + "documentation":"

    The configuration details for a service managed Amazon EC2 fleet.

    " + }, + "ServiceManagedEc2InstanceCapabilities":{ + "type":"structure", + "required":[ + "cpuArchitectureType", + "memoryMiB", + "osFamily", + "vCpuCount" + ], + "members":{ + "allowedInstanceTypes":{ + "shape":"InstanceTypes", + "documentation":"

    The allowable Amazon EC2 instance types.

    " + }, + "cpuArchitectureType":{ + "shape":"CpuArchitectureType", + "documentation":"

    The CPU architecture type.

    " + }, + "customAmounts":{ + "shape":"CustomFleetAmountCapabilities", + "documentation":"

    The custom capability amounts to require for instances in this fleet.

    " + }, + "customAttributes":{ + "shape":"CustomFleetAttributeCapabilities", + "documentation":"

    The custom capability attributes to require for instances in this fleet.

    " + }, + "excludedInstanceTypes":{ + "shape":"InstanceTypes", + "documentation":"

    The instance types to exclude from the fleet.

    " + }, + "memoryMiB":{ + "shape":"MemoryMiBRange", + "documentation":"

    The memory, as MiB, for the Amazon EC2 instance type.

    " + }, + "osFamily":{ + "shape":"ServiceManagedFleetOperatingSystemFamily", + "documentation":"

    The operating system (OS) family.

    " + }, + "rootEbsVolume":{ + "shape":"Ec2EbsVolume", + "documentation":"

    The root EBS volume.

    " + }, + "vCpuCount":{ + "shape":"VCpuCountRange", + "documentation":"

    The amount of vCPU to require for instances in this fleet.

    " + } + }, + "documentation":"

    The Amazon EC2 instance capabilities.

    " + }, + "ServiceManagedEc2InstanceMarketOptions":{ + "type":"structure", + "required":["type"], + "members":{ + "type":{ + "shape":"Ec2MarketType", + "documentation":"

    The Amazon EC2 instance type.

    " + } + }, + "documentation":"

    The details of the Amazon EC2 instance market options for a service managed fleet.

    " + }, + "ServiceManagedFleetOperatingSystemFamily":{ + "type":"string", + "enum":[ + "WINDOWS", + "LINUX" + ] + }, + "ServiceQuotaExceededException":{ + "type":"structure", + "required":[ + "message", + "quotaCode", + "reason", + "resourceType", + "serviceCode" + ], + "members":{ + "context":{ + "shape":"ExceptionContext", + "documentation":"

    Information about the resources in use when the exception was thrown.

    " + }, + "message":{"shape":"String"}, + "quotaCode":{ + "shape":"String", + "documentation":"

    Identifies the quota that has been exceeded.

    " + }, + "reason":{ + "shape":"ServiceQuotaExceededExceptionReason", + "documentation":"

    A string that describes the reason the quota was exceeded.

    " + }, + "resourceId":{ + "shape":"String", + "documentation":"

    The identifier of the affected resource.

    " + }, + "resourceType":{ + "shape":"String", + "documentation":"

    The type of the affected resource

    " + }, + "serviceCode":{ + "shape":"String", + "documentation":"

    Identifies the service that exceeded the quota.

    " + } + }, + "documentation":"

    You exceeded your service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account.

    ", + "error":{ + "httpStatusCode":402, + "senderFault":true + }, + "exception":true + }, + "ServiceQuotaExceededExceptionReason":{ + "type":"string", + "enum":[ + "SERVICE_QUOTA_EXCEEDED_EXCEPTION", + "KMS_KEY_LIMIT_EXCEEDED" + ] + }, + "SessionActionDefinition":{ + "type":"structure", + "members":{ + "envEnter":{ + "shape":"EnvironmentEnterSessionActionDefinition", + "documentation":"

    The environment to enter into.

    " + }, + "envExit":{ + "shape":"EnvironmentExitSessionActionDefinition", + "documentation":"

    The environment to exit from.

    " + }, + "syncInputJobAttachments":{ + "shape":"SyncInputJobAttachmentsSessionActionDefinition", + "documentation":"

    The job attachments to sync with a session action.

    " + }, + "taskRun":{ + "shape":"TaskRunSessionActionDefinition", + "documentation":"

    The task run in the session.

    " + } + }, + "documentation":"

    The definition of the session action.

    ", + "union":true + }, + "SessionActionDefinitionSummary":{ + "type":"structure", + "members":{ + "envEnter":{ + "shape":"EnvironmentEnterSessionActionDefinitionSummary", + "documentation":"

    The environment to enter into.

    " + }, + "envExit":{ + "shape":"EnvironmentExitSessionActionDefinitionSummary", + "documentation":"

    The environment to exit from.

    " + }, + "syncInputJobAttachments":{ + "shape":"SyncInputJobAttachmentsSessionActionDefinitionSummary", + "documentation":"

    The job attachments to sync with the session action definition.

    " + }, + "taskRun":{ + "shape":"TaskRunSessionActionDefinitionSummary", + "documentation":"

    The task run.

    " + } + }, + "documentation":"

    The details of a session action definition.

    ", + "union":true + }, + "SessionActionId":{ + "type":"string", + "pattern":"^sessionaction-[0-9a-f]{32}-(0|([1-9][0-9]{0,9}))$" + }, + "SessionActionIdList":{ + "type":"list", + "member":{"shape":"SessionActionId"}, + "max":100, + "min":0 + }, + "SessionActionProgressMessage":{ + "type":"string", + "max":4096, + "min":0, + "sensitive":true + }, + "SessionActionProgressPercent":{ + "type":"float", + "box":true, + "max":100, + "min":0 + }, + "SessionActionStatus":{ + "type":"string", + "enum":[ + "ASSIGNED", + "RUNNING", + "CANCELING", + "SUCCEEDED", + "FAILED", + "INTERRUPTED", + "CANCELED", + "NEVER_ATTEMPTED", + "SCHEDULED", + "RECLAIMING", + "RECLAIMED" + ] + }, + "SessionActionSummaries":{ + "type":"list", + "member":{"shape":"SessionActionSummary"} + }, + "SessionActionSummary":{ + "type":"structure", + "required":[ + "definition", + "sessionActionId", + "status" + ], + "members":{ + "definition":{ + "shape":"SessionActionDefinitionSummary", + "documentation":"

    The session action definition.

    " + }, + "endedAt":{ + "shape":"EndedAt", + "documentation":"

    The date and time the resource ended running.

    " + }, + "progressPercent":{ + "shape":"SessionActionProgressPercent", + "documentation":"

    The completion percentage for the session action.

    " + }, + "sessionActionId":{ + "shape":"SessionActionId", + "documentation":"

    The session action ID.

    " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

    The date and time the resource started running.

    " + }, + "status":{ + "shape":"SessionActionStatus", + "documentation":"

    The status of the session action.

    " + }, + "workerUpdatedAt":{ + "shape":"Timestamp", + "documentation":"

    The Linux timestamp of the last date and time that the session action was updated.

    " + } + }, + "documentation":"

    The details of a session action.

    " + }, + "SessionId":{ + "type":"string", + "pattern":"^session-[0-9a-f]{32}$" + }, + "SessionLifecycleStatus":{ + "type":"string", + "enum":[ + "STARTED", + "UPDATE_IN_PROGRESS", + "UPDATE_SUCCEEDED", + "UPDATE_FAILED", + "ENDED" + ] + }, + "SessionLifecycleTargetStatus":{ + "type":"string", + "enum":["ENDED"] + }, + "SessionSummaries":{ + "type":"list", + "member":{"shape":"SessionSummary"} + }, + "SessionSummary":{ + "type":"structure", + "required":[ + "fleetId", + "lifecycleStatus", + "sessionId", + "startedAt", + "workerId" + ], + "members":{ + "endedAt":{ + "shape":"EndedAt", + "documentation":"

    The date and time the resource ended running.

    " + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID.

    " + }, + "lifecycleStatus":{ + "shape":"SessionLifecycleStatus", + "documentation":"

    The life cycle status for the session.

    " + }, + "sessionId":{ + "shape":"SessionId", + "documentation":"

    The session ID.

    " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

    The date and time the resource started running.

    " + }, + "targetLifecycleStatus":{ + "shape":"SessionLifecycleTargetStatus", + "documentation":"

    The target life cycle status for the session.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + }, + "workerId":{ + "shape":"WorkerId", + "documentation":"

    The worker ID.

    " + } + }, + "documentation":"

    The summary of a session.

    " + }, + "SessionToken":{ + "type":"string", + "sensitive":true + }, + "SessionsStatisticsAggregationStatus":{ + "type":"string", + "enum":[ + "IN_PROGRESS", + "TIMEOUT", + "FAILED", + "COMPLETED" + ] + }, + "SessionsStatisticsResources":{ + "type":"structure", + "members":{ + "fleetIds":{ + "shape":"SessionsStatisticsResourcesFleetIdsList", + "documentation":"

    One to 10 fleet IDs that specify the fleets to return statistics for. If you specify the fleetIds field, you can't specify the queueIds field.

    " + }, + "queueIds":{ + "shape":"SessionsStatisticsResourcesQueueIdsList", + "documentation":"

    One to 10 queue IDs that specify the queues to return statistics for. If you specify the queueIds field, you can't specify the fleetIds field.

    " + } + }, + "documentation":"

    Specifies the fleet IDs or queue IDs to return statistics. You can specify only fleet IDs or queue IDS, not both.

    ", + "union":true + }, + "SessionsStatisticsResourcesFleetIdsList":{ + "type":"list", + "member":{"shape":"FleetId"}, + "max":10, + "min":1 + }, + "SessionsStatisticsResourcesQueueIdsList":{ + "type":"list", + "member":{"shape":"QueueId"}, + "max":10, + "min":1 + }, + "SortOrder":{ + "type":"string", + "enum":[ + "ASCENDING", + "DESCENDING" + ] + }, + "StartSessionsStatisticsAggregationRequest":{ + "type":"structure", + "required":[ + "endTime", + "farmId", + "groupBy", + "resourceIds", + "startTime", + "statistics" + ], + "members":{ + "endTime":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The Linux timestamp of the date and time that the statistics end.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The identifier of the farm that contains queues or fleets to return statistics for.

    ", + "location":"uri", + "locationName":"farmId" + }, + "groupBy":{ + "shape":"UsageGroupBy", + "documentation":"

    The field to use to group the statistics.

    " + }, + "period":{ + "shape":"Period", + "documentation":"

    The period to aggregate the statistics.

    " + }, + "resourceIds":{ + "shape":"SessionsStatisticsResources", + "documentation":"

    A list of fleet IDs or queue IDs to gather statistics for.

    " + }, + "startTime":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The Linux timestamp of the date and time that the statistics start.

    " + }, + "statistics":{ + "shape":"UsageStatistics", + "documentation":"

    One to four statistics to return.

    " + }, + "timezone":{ + "shape":"Timezone", + "documentation":"

    The timezone to use for the statistics. Use UTC notation such as \"UTC+8.\"

    " + } + } + }, + "StartSessionsStatisticsAggregationResponse":{ + "type":"structure", + "required":["aggregationId"], + "members":{ + "aggregationId":{ + "shape":"AggregationId", + "documentation":"

    A unique identifier for the aggregated statistics. Use this identifier with the GetAggregatedStatisticsForSessions operation to return the statistics.

    " + } + } + }, + "StartedAt":{ + "type":"timestamp", + "timestampFormat":"iso8601" + }, + "StartsAt":{ + "type":"timestamp", + "timestampFormat":"iso8601" + }, + "Statistics":{ + "type":"structure", + "required":[ + "costInUsd", + "count", + "runtimeInSeconds" + ], + "members":{ + "aggregationEndTime":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The end time for the aggregation.

    " + }, + "aggregationStartTime":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The start time for the aggregation.

    " + }, + "costInUsd":{ + "shape":"Stats", + "documentation":"

    How the statistics should appear in USD. Options include: minimum, maximum, average or sum.

    " + }, + "count":{ + "shape":"Integer", + "documentation":"

    The number of instances in a list of statistics.

    " + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID.

    " + }, + "instanceType":{ + "shape":"InstanceType", + "documentation":"

    The type of instance.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + }, + "jobName":{ + "shape":"JobName", + "documentation":"

    The job name.

    " + }, + "licenseProduct":{ + "shape":"LicenseProduct", + "documentation":"

    The licensed product.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID.

    " + }, + "runtimeInSeconds":{ + "shape":"Stats", + "documentation":"

    The total aggregated runtime.

    " + }, + "usageType":{ + "shape":"UsageType", + "documentation":"

    The type of usage for the statistics.

    " + }, + "userId":{ + "shape":"UserId", + "documentation":"

    The user ID.

    " + } + }, + "documentation":"

    A list of statistics for a session.

    " + }, + "StatisticsList":{ + "type":"list", + "member":{"shape":"Statistics"} + }, + "Stats":{ + "type":"structure", + "members":{ + "avg":{ + "shape":"Double", + "documentation":"

    The average of the usage statistics.

    " + }, + "max":{ + "shape":"Double", + "documentation":"

    The maximum among the usage statistics.

    " + }, + "min":{ + "shape":"Double", + "documentation":"

    The minimum of the usage statistics.

    " + }, + "sum":{ + "shape":"Double", + "documentation":"

    The sum of the usage statistics.

    " + } + }, + "documentation":"

    The minimum, maximum, average, and sum.

    " + }, + "StatusMessage":{ + "type":"string", + "max":1024, + "min":0 + }, + "StepAmountCapabilities":{ + "type":"list", + "member":{"shape":"StepAmountCapability"} + }, + "StepAmountCapability":{ + "type":"structure", + "required":["name"], + "members":{ + "max":{ + "shape":"Double", + "documentation":"

    The maximum amount.

    " + }, + "min":{ + "shape":"Double", + "documentation":"

    The minimum amount.

    " + }, + "name":{ + "shape":"AmountCapabilityName", + "documentation":"

    The name of the step.

    " + }, + "value":{ + "shape":"Double", + "documentation":"

    The amount value.

    " + } + }, + "documentation":"

    The details outlining the minimum and maximum capability of a step.

    " + }, + "StepAttributeCapabilities":{ + "type":"list", + "member":{"shape":"StepAttributeCapability"} + }, + "StepAttributeCapability":{ + "type":"structure", + "required":["name"], + "members":{ + "allOf":{ + "shape":"ListAttributeCapabilityValue", + "documentation":"

    Requires all of the step attribute values.

    " + }, + "anyOf":{ + "shape":"ListAttributeCapabilityValue", + "documentation":"

    Requires any of the step attributes in a given list.

    " + }, + "name":{ + "shape":"AttributeCapabilityName", + "documentation":"

    The name of the step attribute.

    " + } + }, + "documentation":"

    The list of step attributes.

    " + }, + "StepConsumer":{ + "type":"structure", + "required":[ + "status", + "stepId" + ], + "members":{ + "status":{ + "shape":"DependencyConsumerResolutionStatus", + "documentation":"

    The step consumer status.

    " + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID.

    " + } + }, + "documentation":"

    The details of a step consumer.

    " + }, + "StepConsumers":{ + "type":"list", + "member":{"shape":"StepConsumer"} + }, + "StepDependencies":{ + "type":"list", + "member":{"shape":"StepDependency"} + }, + "StepDependency":{ + "type":"structure", + "required":[ + "status", + "stepId" + ], + "members":{ + "status":{ + "shape":"DependencyConsumerResolutionStatus", + "documentation":"

    The step dependency status.

    " + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID.

    " + } + }, + "documentation":"

    The details of step dependency.

    " + }, + "StepDescription":{ + "type":"string", + "max":2048, + "min":1, + "sensitive":true + }, + "StepDetailsEntity":{ + "type":"structure", + "required":[ + "dependencies", + "jobId", + "schemaVersion", + "stepId", + "template" + ], + "members":{ + "dependencies":{ + "shape":"DependenciesList", + "documentation":"

    The dependencies for a step.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + }, + "schemaVersion":{ + "shape":"String", + "documentation":"

    The schema version for a step template.

    " + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID.

    " + }, + "template":{ + "shape":"Document", + "documentation":"

    The template for a step.

    " + } + }, + "documentation":"

    The details of a step entity.

    " + }, + "StepDetailsError":{ + "type":"structure", + "required":[ + "code", + "jobId", + "message", + "stepId" + ], + "members":{ + "code":{ + "shape":"JobEntityErrorCode", + "documentation":"

    The error code.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + }, + "message":{ + "shape":"String", + "documentation":"

    The error message detailing the error's cause.

    " + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID.

    " + } + }, + "documentation":"

    The details of the step error.

    " + }, + "StepDetailsIdentifiers":{ + "type":"structure", + "required":[ + "jobId", + "stepId" + ], + "members":{ + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID.

    " + } + }, + "documentation":"

    The details of identifiers for a step.

    " + }, + "StepId":{ + "type":"string", + "pattern":"^step-[0-9a-f]{32}$" + }, + "StepLifecycleStatus":{ + "type":"string", + "enum":[ + "CREATE_COMPLETE", + "UPDATE_IN_PROGRESS", + "UPDATE_FAILED", + "UPDATE_SUCCEEDED" + ] + }, + "StepName":{ + "type":"string", + "max":64, + "min":1 + }, + "StepParameter":{ + "type":"structure", + "required":[ + "name", + "type" + ], + "members":{ + "name":{ + "shape":"StepParameterName", + "documentation":"

    The name of the parameter.

    " + }, + "type":{ + "shape":"StepParameterType", + "documentation":"

    The data type of the parameter.

    " + } + }, + "documentation":"

    The details of a step parameter.

    " + }, + "StepParameterList":{ + "type":"list", + "member":{"shape":"StepParameter"} + }, + "StepParameterName":{ + "type":"string", + "max":64, + "min":1 + }, + "StepParameterType":{ + "type":"string", + "enum":[ + "INT", + "FLOAT", + "STRING", + "PATH" + ] + }, + "StepRequiredCapabilities":{ + "type":"structure", + "required":[ + "amounts", + "attributes" + ], + "members":{ + "amounts":{ + "shape":"StepAmountCapabilities", + "documentation":"

    The capability amounts that the step requires.

    " + }, + "attributes":{ + "shape":"StepAttributeCapabilities", + "documentation":"

    The capability attributes that the step requires.

    " + } + }, + "documentation":"

    The details of required step capabilities.

    " + }, + "StepSearchSummaries":{ + "type":"list", + "member":{"shape":"StepSearchSummary"} + }, + "StepSearchSummary":{ + "type":"structure", + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "endedAt":{ + "shape":"EndedAt", + "documentation":"

    The date and time the resource ended running.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + }, + "lifecycleStatus":{ + "shape":"StepLifecycleStatus", + "documentation":"

    The life cycle status.

    " + }, + "lifecycleStatusMessage":{ + "shape":"String", + "documentation":"

    The life cycle status message.

    " + }, + "name":{ + "shape":"StepName", + "documentation":"

    The step name.

    " + }, + "parameterSpace":{ + "shape":"ParameterSpace", + "documentation":"

    The parameters and combination expressions for the search.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID.

    " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

    The date and time the resource started running.

    " + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID.

    " + }, + "targetTaskRunStatus":{ + "shape":"StepTargetTaskRunStatus", + "documentation":"

    The task status to start with on the job.

    " + }, + "taskRunStatus":{ + "shape":"TaskRunStatus", + "documentation":"

    The task run status for the job.

    • PENDING–pending and waiting for resources.

    • READY–ready to be processed.

    • ASSIGNED–assigned and will run next on a worker.

    • SCHEDULED–scheduled to be run on a worker.

    • INTERRUPTING–being interrupted.

    • RUNNING–running on a worker.

    • SUSPENDED–the task is suspended.

    • CANCELED–the task has been canceled.

    • FAILED–the task has failed.

    • SUCCEEDED–the task has succeeded.

    " + }, + "taskRunStatusCounts":{ + "shape":"TaskRunStatusCounts", + "documentation":"

    The number of tasks running on the job.

    " + } + }, + "documentation":"

    The details of a step search.

    " + }, + "StepSummaries":{ + "type":"list", + "member":{"shape":"StepSummary"} + }, + "StepSummary":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "lifecycleStatus", + "name", + "stepId", + "taskRunStatus", + "taskRunStatusCounts" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "dependencyCounts":{ + "shape":"DependencyCounts", + "documentation":"

    The number of dependencies for the step.

    " + }, + "endedAt":{ + "shape":"EndedAt", + "documentation":"

    The date and time the resource ended running.

    " + }, + "lifecycleStatus":{ + "shape":"StepLifecycleStatus", + "documentation":"

    The life cycle status.

    " + }, + "lifecycleStatusMessage":{ + "shape":"String", + "documentation":"

    A message that describes the lifecycle of the step.

    " + }, + "name":{ + "shape":"StepName", + "documentation":"

    The name of the step.

    " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

    The date and time the resource started running.

    " + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID.

    " + }, + "targetTaskRunStatus":{ + "shape":"StepTargetTaskRunStatus", + "documentation":"

    The task status to start with on the job.

    " + }, + "taskRunStatus":{ + "shape":"TaskRunStatus", + "documentation":"

    The task run status for the job.

    • PENDING–pending and waiting for resources.

    • READY–ready to process.

    • ASSIGNED–assigned and will run next on a worker.

    • SCHEDULED–scheduled to run on a worker.

    • INTERRUPTING–being interrupted.

    • RUNNING–running on a worker.

    • SUSPENDED–the task is suspended.

    • CANCELED–the task has been canceled.

    • FAILED–the task has failed.

    • SUCCEEDED–the task has succeeded.

    " + }, + "taskRunStatusCounts":{ + "shape":"TaskRunStatusCounts", + "documentation":"

    The number of tasks running on the job.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + } + }, + "documentation":"

    The details for a step.

    " + }, + "StepTargetTaskRunStatus":{ + "type":"string", + "enum":[ + "READY", + "FAILED", + "SUCCEEDED", + "CANCELED", + "SUSPENDED", + "PENDING" + ] + }, + "StorageProfileId":{ + "type":"string", + "pattern":"^sp-[0-9a-f]{32}$" + }, + "StorageProfileOperatingSystemFamily":{ + "type":"string", + "enum":[ + "WINDOWS", + "LINUX", + "MACOS" + ] + }, + "StorageProfileSummaries":{ + "type":"list", + "member":{"shape":"StorageProfileSummary"} + }, + "StorageProfileSummary":{ + "type":"structure", + "required":[ + "displayName", + "osFamily", + "storageProfileId" + ], + "members":{ + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the storage profile summary to update.

    " + }, + "osFamily":{ + "shape":"StorageProfileOperatingSystemFamily", + "documentation":"

    The operating system (OS) family.

    " + }, + "storageProfileId":{ + "shape":"StorageProfileId", + "documentation":"

    The storage profile ID.

    " + } + }, + "documentation":"

    The details of a storage profile.

    " + }, + "String":{"type":"string"}, + "StringFilter":{ + "type":"string", + "max":256, + "min":1 + }, + "StringFilterExpression":{ + "type":"structure", + "required":[ + "name", + "operator", + "value" + ], + "members":{ + "name":{ + "shape":"String", + "documentation":"

    The field name to search.

    " + }, + "operator":{ + "shape":"ComparisonOperator", + "documentation":"

    The type of comparison to use for this search.

    " + }, + "value":{ + "shape":"StringFilter", + "documentation":"

    The string to search for.

    " + } + }, + "documentation":"

    Searches for a particular string.

    " + }, + "StringList":{ + "type":"list", + "member":{"shape":"String"} + }, + "Subdomain":{ + "type":"string", + "pattern":"^[a-z0-9-]{1,100}$" + }, + "SubnetId":{ + "type":"string", + "max":32, + "min":1, + "pattern":"^subnet-[\\w]{1,120}$" + }, + "SyncInputJobAttachmentsSessionActionDefinition":{ + "type":"structure", + "members":{ + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID for the step in the job attachment.

    " + } + }, + "documentation":"

    The job attachment in a session action to sync.

    " + }, + "SyncInputJobAttachmentsSessionActionDefinitionSummary":{ + "type":"structure", + "members":{ + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID of the step in the job attachment.

    " + } + }, + "documentation":"

    The details of a synced job attachment.

    " + }, + "SyntheticTimestamp_date_time":{ + "type":"timestamp", + "timestampFormat":"iso8601" + }, + "TagResourceRequest":{ + "type":"structure", + "required":["resourceArn"], + "members":{ + "resourceArn":{ + "shape":"String", + "documentation":"

    The ARN of the resource to apply tags to.

    ", + "location":"uri", + "locationName":"resourceArn" + }, + "tags":{ + "shape":"Tags", + "documentation":"

    Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.

    " + } + } + }, + "TagResourceResponse":{ + "type":"structure", + "members":{ + } + }, + "Tags":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"String"} + }, + "TaskId":{ + "type":"string", + "pattern":"^task-[0-9a-f]{32}-(0|([1-9][0-9]{0,9}))$" + }, + "TaskParameterValue":{ + "type":"structure", + "members":{ + "float":{ + "shape":"FloatString", + "documentation":"

    A double precision IEEE-754 floating point number represented as a string.

    " + }, + "int":{ + "shape":"IntString", + "documentation":"

    A signed integer represented as a string.

    " + }, + "path":{ + "shape":"PathString", + "documentation":"

    A file system path represented as a string.

    " + }, + "string":{ + "shape":"ParameterString", + "documentation":"

    A UTF-8 string.

    " + } + }, + "documentation":"

    The data types for the task parameters.

    ", + "sensitive":true, + "union":true + }, + "TaskParameters":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"TaskParameterValue"}, + "sensitive":true + }, + "TaskRetryCount":{ + "type":"integer", + "box":true, + "max":2147483647, + "min":0 + }, + "TaskRunSessionActionDefinition":{ + "type":"structure", + "required":[ + "parameters", + "stepId", + "taskId" + ], + "members":{ + "parameters":{ + "shape":"TaskParameters", + "documentation":"

    The task parameters.

    " + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID.

    " + }, + "taskId":{ + "shape":"TaskId", + "documentation":"

    The task ID.

    " + } + }, + "documentation":"

    The task, step, and parameters for the task run in the session action.

    " + }, + "TaskRunSessionActionDefinitionSummary":{ + "type":"structure", + "required":[ + "stepId", + "taskId" + ], + "members":{ + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID.

    " + }, + "taskId":{ + "shape":"TaskId", + "documentation":"

    The task ID.

    " + } + }, + "documentation":"

    The details of a task run in a session action.

    " + }, + "TaskRunStatus":{ + "type":"string", + "enum":[ + "PENDING", + "READY", + "ASSIGNED", + "STARTING", + "SCHEDULED", + "INTERRUPTING", + "RUNNING", + "SUSPENDED", + "CANCELED", + "FAILED", + "SUCCEEDED", + "NOT_COMPATIBLE" + ] + }, + "TaskRunStatusCounts":{ + "type":"map", + "key":{"shape":"TaskRunStatus"}, + "value":{"shape":"Integer"} + }, + "TaskSearchSummaries":{ + "type":"list", + "member":{"shape":"TaskSearchSummary"} + }, + "TaskSearchSummary":{ + "type":"structure", + "members":{ + "endedAt":{ + "shape":"EndedAt", + "documentation":"

    The date and time the resource ended running.

    " + }, + "failureRetryCount":{ + "shape":"TaskRetryCount", + "documentation":"

    The number of times that the task failed and was retried.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID.

    " + }, + "parameters":{ + "shape":"TaskParameters", + "documentation":"

    The parameters to search for.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID.

    " + }, + "runStatus":{ + "shape":"TaskRunStatus", + "documentation":"

    The run status of the task.

    " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

    The date and time the resource started running.

    " + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID.

    " + }, + "targetRunStatus":{ + "shape":"TaskTargetRunStatus", + "documentation":"

    The run status that the task is being updated to.

    " + }, + "taskId":{ + "shape":"TaskId", + "documentation":"

    The task ID.

    " + } + }, + "documentation":"

    The details of a task search.

    " + }, + "TaskSummaries":{ + "type":"list", + "member":{"shape":"TaskSummary"} + }, + "TaskSummary":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "runStatus", + "taskId" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "endedAt":{ + "shape":"EndedAt", + "documentation":"

    The date and time the resource ended running.

    " + }, + "failureRetryCount":{ + "shape":"TaskRetryCount", + "documentation":"

    The number of times that the task failed and was retried.

    " + }, + "latestSessionActionId":{ + "shape":"SessionActionId", + "documentation":"

    The latest session action for the task.

    " + }, + "parameters":{ + "shape":"TaskParameters", + "documentation":"

    The task parameters.

    " + }, + "runStatus":{ + "shape":"TaskRunStatus", + "documentation":"

    The run status of the task.

    " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

    The date and time the resource started running.

    " + }, + "targetRunStatus":{ + "shape":"TaskTargetRunStatus", + "documentation":"

    The run status on which the started.

    " + }, + "taskId":{ + "shape":"TaskId", + "documentation":"

    The task ID.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + } + }, + "documentation":"

    The details of a task.

    " + }, + "TaskTargetRunStatus":{ + "type":"string", + "enum":[ + "READY", + "FAILED", + "SUCCEEDED", + "CANCELED", + "SUSPENDED", + "PENDING" + ] + }, + "ThresholdPercentage":{ + "type":"float", + "box":true, + "max":100, + "min":0 + }, + "ThrottlingException":{ + "type":"structure", + "required":["message"], + "members":{ + "context":{ + "shape":"ExceptionContext", + "documentation":"

    Information about the resources in use when the exception was thrown.

    " + }, + "message":{"shape":"String"}, + "quotaCode":{ + "shape":"String", + "documentation":"

    Identifies the quota that is being throttled.

    " + }, + "retryAfterSeconds":{ + "shape":"Integer", + "documentation":"

    The number of seconds a client should wait before retrying the request.

    ", + "location":"header", + "locationName":"Retry-After" + }, + "serviceCode":{ + "shape":"String", + "documentation":"

    Identifies the service that is being throttled.

    " + } + }, + "documentation":"

    Your request exceeded a request rate quota.

    ", + "error":{ + "httpStatusCode":429, + "senderFault":true + }, + "exception":true, + "retryable":{"throttling":true} + }, + "Timestamp":{ + "type":"timestamp", + "timestampFormat":"iso8601" + }, + "Timezone":{ + "type":"string", + "max":9, + "min":9, + "pattern":"^UTC[-+][01][0-9]:(30|00)$" + }, + "TotalResults":{ + "type":"integer", + "box":true, + "max":10000, + "min":0 + }, + "UntagResourceRequest":{ + "type":"structure", + "required":[ + "resourceArn", + "tagKeys" + ], + "members":{ + "resourceArn":{ + "shape":"String", + "documentation":"

    The ARN of the resource to remove the tag from.

    ", + "location":"uri", + "locationName":"resourceArn" + }, + "tagKeys":{ + "shape":"StringList", + "documentation":"

    They keys of the tag.

    ", + "location":"querystring", + "locationName":"tagKeys" + } + } + }, + "UntagResourceResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateBudgetRequest":{ + "type":"structure", + "required":[ + "budgetId", + "farmId" + ], + "members":{ + "actionsToAdd":{ + "shape":"BudgetActionsToAdd", + "documentation":"

    The budget actions to add. Budget actions specify what happens when the budget runs out.

    " + }, + "actionsToRemove":{ + "shape":"BudgetActionsToRemove", + "documentation":"

    The budget actions to remove from the budget.

    " + }, + "approximateDollarLimit":{ + "shape":"ConsumedUsageLimit", + "documentation":"

    The dollar limit to update on the budget. Based on consumed usage.

    " + }, + "budgetId":{ + "shape":"BudgetId", + "documentation":"

    The budget ID to update.

    ", + "location":"uri", + "locationName":"budgetId" + }, + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "description":{ + "shape":"Description", + "documentation":"

    The description of the budget to update.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the budget to update.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the budget to update.

    ", + "location":"uri", + "locationName":"farmId" + }, + "schedule":{ + "shape":"BudgetSchedule", + "documentation":"

    The schedule to update.

    " + }, + "status":{ + "shape":"BudgetStatus", + "documentation":"

    Updates the status of the budget.

    • ACTIVE–The budget is being evaluated.

    • INACTIVE–The budget is inactive. This can include Expired, Canceled, or deleted Deleted statuses.

    " + } + } + }, + "UpdateBudgetResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateFarmRequest":{ + "type":"structure", + "required":["farmId"], + "members":{ + "description":{ + "shape":"Description", + "documentation":"

    The description of the farm to update.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the farm to update.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID to update.

    ", + "location":"uri", + "locationName":"farmId" + } + } + }, + "UpdateFarmResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateFleetRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "configuration":{ + "shape":"FleetConfiguration", + "documentation":"

    The fleet configuration to update.

    " + }, + "description":{ + "shape":"Description", + "documentation":"

    The description of the fleet to update.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the fleet to update.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID to update.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID to update.

    ", + "location":"uri", + "locationName":"fleetId" + }, + "maxWorkerCount":{ + "shape":"MinZeroMaxInteger", + "documentation":"

    The maximum number of workers in the fleet.

    " + }, + "minWorkerCount":{ + "shape":"MinZeroMaxInteger", + "documentation":"

    The minimum number of workers in the fleet.

    " + }, + "roleArn":{ + "shape":"IamRoleArn", + "documentation":"

    The IAM role ARN that the fleet's workers assume while running jobs.

    " + } + } + }, + "UpdateFleetResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateJobLifecycleStatus":{ + "type":"string", + "enum":["ARCHIVED"] + }, + "UpdateJobRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "queueId" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the job to update.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID to update.

    ", + "location":"uri", + "locationName":"jobId" + }, + "lifecycleStatus":{ + "shape":"UpdateJobLifecycleStatus", + "documentation":"

    The status of a job in its lifecycle.

    " + }, + "maxFailedTasksCount":{ + "shape":"MaxFailedTasksCount", + "documentation":"

    The number of task failures before the job stops running and is marked as FAILED.

    " + }, + "maxRetriesPerTask":{ + "shape":"MaxRetriesPerTask", + "documentation":"

    The maximum number of retries for a job.

    " + }, + "priority":{ + "shape":"JobPriority", + "documentation":"

    The job priority to update.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID of the job to update.

    ", + "location":"uri", + "locationName":"queueId" + }, + "targetTaskRunStatus":{ + "shape":"JobTargetTaskRunStatus", + "documentation":"

    The task status to update the job's tasks to.

    " + } + } + }, + "UpdateJobResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateMonitorRequest":{ + "type":"structure", + "required":["monitorId"], + "members":{ + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The new value to use for the monitor's display name.

    " + }, + "monitorId":{ + "shape":"MonitorId", + "documentation":"

    The unique identifier of the monitor to update.

    ", + "location":"uri", + "locationName":"monitorId" + }, + "roleArn":{ + "shape":"IamRoleArn", + "documentation":"

    The Amazon Resource Name (ARN) of the new IAM role to use with the monitor.

    " + }, + "subdomain":{ + "shape":"Subdomain", + "documentation":"

    The new value of the subdomain to use when forming the monitor URL.

    " + } + } + }, + "UpdateMonitorResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateQueueEnvironmentRequest":{ + "type":"structure", + "required":[ + "farmId", + "queueEnvironmentId", + "queueId" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID of the queue environment to update.

    ", + "location":"uri", + "locationName":"farmId" + }, + "priority":{ + "shape":"Priority", + "documentation":"

    The priority to update.

    " + }, + "queueEnvironmentId":{ + "shape":"QueueEnvironmentId", + "documentation":"

    The queue environment ID to update.

    ", + "location":"uri", + "locationName":"queueEnvironmentId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID of the queue environment to update.

    ", + "location":"uri", + "locationName":"queueId" + }, + "template":{ + "shape":"EnvironmentTemplate", + "documentation":"

    The template to update.

    " + }, + "templateType":{ + "shape":"EnvironmentTemplateType", + "documentation":"

    The template type to update.

    " + } + } + }, + "UpdateQueueEnvironmentResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateQueueFleetAssociationRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId", + "queueId", + "status" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID to update.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID to update.

    ", + "location":"uri", + "locationName":"fleetId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID to update.

    ", + "location":"uri", + "locationName":"queueId" + }, + "status":{ + "shape":"UpdateQueueFleetAssociationStatus", + "documentation":"

    The status to update.

    " + } + } + }, + "UpdateQueueFleetAssociationResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateQueueFleetAssociationStatus":{ + "type":"string", + "enum":[ + "ACTIVE", + "STOP_SCHEDULING_AND_COMPLETE_TASKS", + "STOP_SCHEDULING_AND_CANCEL_TASKS" + ] + }, + "UpdateQueueRequest":{ + "type":"structure", + "required":[ + "farmId", + "queueId" + ], + "members":{ + "allowedStorageProfileIdsToAdd":{ + "shape":"AllowedStorageProfileIds", + "documentation":"

    The storage profile IDs to add.

    " + }, + "allowedStorageProfileIdsToRemove":{ + "shape":"AllowedStorageProfileIds", + "documentation":"

    The storage profile ID to remove.

    " + }, + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The idempotency token to update in the queue.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "defaultBudgetAction":{ + "shape":"DefaultQueueBudgetAction", + "documentation":"

    The default action to take for a queue update if a budget isn't configured.

    " + }, + "description":{ + "shape":"Description", + "documentation":"

    The description of the queue to update.

    " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the queue to update.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID to update in the queue.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobAttachmentSettings":{ + "shape":"JobAttachmentSettings", + "documentation":"

    The job attachment settings to update for the queue.

    " + }, + "jobRunAsUser":{ + "shape":"JobRunAsUser", + "documentation":"

    Update the jobs in the queue to run as a specified POSIX user.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID to update.

    ", + "location":"uri", + "locationName":"queueId" + }, + "requiredFileSystemLocationNamesToAdd":{ + "shape":"RequiredFileSystemLocationNames", + "documentation":"

    The required file system location names to add to the queue.

    " + }, + "requiredFileSystemLocationNamesToRemove":{ + "shape":"RequiredFileSystemLocationNames", + "documentation":"

    The required file system location names to remove from the queue.

    " + }, + "roleArn":{ + "shape":"IamRoleArn", + "documentation":"

    The IAM role ARN that's used to run jobs from this queue.

    " + } + } + }, + "UpdateQueueResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateSessionRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "queueId", + "sessionId", + "targetLifecycleStatus" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID to update in the session.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID to update in the session.

    ", + "location":"uri", + "locationName":"jobId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID to update in the session.

    ", + "location":"uri", + "locationName":"queueId" + }, + "sessionId":{ + "shape":"SessionId", + "documentation":"

    The session ID to update.

    ", + "location":"uri", + "locationName":"sessionId" + }, + "targetLifecycleStatus":{ + "shape":"SessionLifecycleTargetStatus", + "documentation":"

    The life cycle status to update in the session.

    " + } + } + }, + "UpdateSessionResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateStepRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "queueId", + "stepId", + "targetTaskRunStatus" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID to update.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID to update.

    ", + "location":"uri", + "locationName":"jobId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID to update.

    ", + "location":"uri", + "locationName":"queueId" + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID to update.

    ", + "location":"uri", + "locationName":"stepId" + }, + "targetTaskRunStatus":{ + "shape":"StepTargetTaskRunStatus", + "documentation":"

    The task status to update the step's tasks to.

    " + } + } + }, + "UpdateStepResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateStorageProfileRequest":{ + "type":"structure", + "required":[ + "farmId", + "storageProfileId" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

    The display name of the storage profile to update.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID to update.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fileSystemLocationsToAdd":{ + "shape":"FileSystemLocationsList", + "documentation":"

    The file system location names to add.

    " + }, + "fileSystemLocationsToRemove":{ + "shape":"FileSystemLocationsList", + "documentation":"

    The file system location names to remove.

    " + }, + "osFamily":{ + "shape":"StorageProfileOperatingSystemFamily", + "documentation":"

    The OS system to update.

    " + }, + "storageProfileId":{ + "shape":"StorageProfileId", + "documentation":"

    The storage profile ID to update.

    ", + "location":"uri", + "locationName":"storageProfileId" + } + } + }, + "UpdateStorageProfileResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateTaskRequest":{ + "type":"structure", + "required":[ + "farmId", + "jobId", + "queueId", + "stepId", + "targetRunStatus", + "taskId" + ], + "members":{ + "clientToken":{ + "shape":"ClientToken", + "documentation":"

    The unique token which the server uses to recognize retries of the same request.

    ", + "idempotencyToken":true, + "location":"header", + "locationName":"X-Amz-Client-Token" + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID to update.

    ", + "location":"uri", + "locationName":"farmId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID to update.

    ", + "location":"uri", + "locationName":"jobId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID to update.

    ", + "location":"uri", + "locationName":"queueId" + }, + "stepId":{ + "shape":"StepId", + "documentation":"

    The step ID to update.

    ", + "location":"uri", + "locationName":"stepId" + }, + "targetRunStatus":{ + "shape":"TaskTargetRunStatus", + "documentation":"

    The run status with which to start the task.

    " + }, + "taskId":{ + "shape":"TaskId", + "documentation":"

    The task ID to update.

    ", + "location":"uri", + "locationName":"taskId" + } + } + }, + "UpdateTaskResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateWorkerRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId", + "workerId" + ], + "members":{ + "capabilities":{ + "shape":"WorkerCapabilities", + "documentation":"

    The worker capabilities to update.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID to update.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID to update.

    ", + "location":"uri", + "locationName":"fleetId" + }, + "hostProperties":{ + "shape":"HostPropertiesRequest", + "documentation":"

    The host properties to update.

    " + }, + "status":{ + "shape":"UpdatedWorkerStatus", + "documentation":"

    The worker status to update.

    " + }, + "workerId":{ + "shape":"WorkerId", + "documentation":"

    The worker ID to update.

    ", + "location":"uri", + "locationName":"workerId" + } + } + }, + "UpdateWorkerResponse":{ + "type":"structure", + "members":{ + "log":{ + "shape":"LogConfiguration", + "documentation":"

    The worker log to update.

    " + } + } + }, + "UpdateWorkerScheduleInterval":{ + "type":"integer", + "box":true, + "min":0 + }, + "UpdateWorkerScheduleRequest":{ + "type":"structure", + "required":[ + "farmId", + "fleetId", + "workerId" + ], + "members":{ + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID to update.

    ", + "location":"uri", + "locationName":"farmId" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID to update.

    ", + "location":"uri", + "locationName":"fleetId" + }, + "updatedSessionActions":{ + "shape":"UpdatedSessionActions", + "documentation":"

    The session actions associated with the worker schedule to update.

    " + }, + "workerId":{ + "shape":"WorkerId", + "documentation":"

    The worker ID to update.

    ", + "location":"uri", + "locationName":"workerId" + } + } + }, + "UpdateWorkerScheduleResponse":{ + "type":"structure", + "required":[ + "assignedSessions", + "cancelSessionActions", + "updateIntervalSeconds" + ], + "members":{ + "assignedSessions":{ + "shape":"AssignedSessions", + "documentation":"

    The assigned sessions to update.

    " + }, + "cancelSessionActions":{ + "shape":"CancelSessionActions", + "documentation":"

    The session actions associated with the worker schedule to cancel.

    " + }, + "desiredWorkerStatus":{ + "shape":"DesiredWorkerStatus", + "documentation":"

    The status to update the worker to.

    " + }, + "updateIntervalSeconds":{ + "shape":"UpdateWorkerScheduleInterval", + "documentation":"

    Updates the time interval (in seconds) for the schedule.

    " + } + } + }, + "UpdatedAt":{ + "type":"timestamp", + "timestampFormat":"iso8601" + }, + "UpdatedBy":{"type":"string"}, + "UpdatedSessionActionInfo":{ + "type":"structure", + "members":{ + "completedStatus":{ + "shape":"CompletedStatus", + "documentation":"

    The status of the session upon completion.

    " + }, + "endedAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The date and time the resource ended running.

    " + }, + "processExitCode":{ + "shape":"ProcessExitCode", + "documentation":"

    The process exit code.

    " + }, + "progressMessage":{ + "shape":"SessionActionProgressMessage", + "documentation":"

    A message to indicate the progress of the updated session action.

    " + }, + "progressPercent":{ + "shape":"SessionActionProgressPercent", + "documentation":"

    The percentage completed.

    " + }, + "startedAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The date and time the resource started running.

    " + }, + "updatedAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

    The updated time.

    " + } + }, + "documentation":"

    The updated session action information as it relates to completion and progress of the session.

    " + }, + "UpdatedSessionActions":{ + "type":"map", + "key":{"shape":"SessionActionId"}, + "value":{"shape":"UpdatedSessionActionInfo"} + }, + "UpdatedWorkerStatus":{ + "type":"string", + "enum":[ + "STARTED", + "STOPPING", + "STOPPED" + ] + }, + "Url":{"type":"string"}, + "UsageGroupBy":{ + "type":"list", + "member":{"shape":"UsageGroupByField"}, + "max":2, + "min":1 + }, + "UsageGroupByField":{ + "type":"string", + "enum":[ + "QUEUE_ID", + "FLEET_ID", + "JOB_ID", + "USER_ID", + "USAGE_TYPE", + "INSTANCE_TYPE", + "LICENSE_PRODUCT" + ] + }, + "UsageStatistic":{ + "type":"string", + "enum":[ + "SUM", + "MIN", + "MAX", + "AVG" + ] + }, + "UsageStatistics":{ + "type":"list", + "member":{"shape":"UsageStatistic"}, + "max":4, + "min":1 + }, + "UsageTrackingResource":{ + "type":"structure", + "members":{ + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID.

    " + } + }, + "documentation":"

    The usage details of the allotted budget.

    ", + "union":true + }, + "UsageType":{ + "type":"string", + "enum":[ + "COMPUTE", + "LICENSE" + ] + }, + "UserId":{"type":"string"}, + "UserJobsFirst":{ + "type":"structure", + "required":["userIdentityId"], + "members":{ + "userIdentityId":{ + "shape":"String", + "documentation":"

    The user's ID.

    " + } + }, + "documentation":"

    Allows setting a specific user's job to run first.

    " + }, + "VCpuCountRange":{ + "type":"structure", + "required":["min"], + "members":{ + "max":{ + "shape":"MinOneMaxTenThousand", + "documentation":"

    The maximum amount of vCPU.

    " + }, + "min":{ + "shape":"MinOneMaxTenThousand", + "documentation":"

    The minimum amount of vCPU.

    " + } + }, + "documentation":"

    The allowable range of vCPU processing power for the fleet.

    " + }, + "ValidationException":{ + "type":"structure", + "required":[ + "message", + "reason" + ], + "members":{ + "context":{ + "shape":"ExceptionContext", + "documentation":"

    Information about the resources in use when the exception was thrown.

    " + }, + "fieldList":{ + "shape":"ValidationExceptionFieldList", + "documentation":"

    A list of fields that failed validation.

    " + }, + "message":{"shape":"String"}, + "reason":{ + "shape":"ValidationExceptionReason", + "documentation":"

    The reason that the request failed validation.

    " + } + }, + "documentation":"

    The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.

    ", + "error":{ + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, + "ValidationExceptionField":{ + "type":"structure", + "required":[ + "message", + "name" + ], + "members":{ + "message":{ + "shape":"String", + "documentation":"

    The error message for the validation exception.

    " + }, + "name":{ + "shape":"String", + "documentation":"

    The name of the validation exception.

    " + } + }, + "documentation":"

    The details of a validation exception.

    " + }, + "ValidationExceptionFieldList":{ + "type":"list", + "member":{"shape":"ValidationExceptionField"} + }, + "ValidationExceptionReason":{ + "type":"string", + "enum":[ + "UNKNOWN_OPERATION", + "CANNOT_PARSE", + "FIELD_VALIDATION_FAILED", + "OTHER" + ] + }, + "VpcId":{ + "type":"string", + "max":32, + "min":1, + "pattern":"^vpc-[\\w]{1,120}$" + }, + "WindowsUser":{ + "type":"structure", + "required":[ + "passwordArn", + "user" + ], + "members":{ + "passwordArn":{ + "shape":"WindowsUserPasswordArnString", + "documentation":"

    The password ARN for the Windows user.

    " + }, + "user":{ + "shape":"WindowsUserUserString", + "documentation":"

    The user.

    " + } + }, + "documentation":"

    The Windows user details.

    " + }, + "WindowsUserPasswordArnString":{ + "type":"string", + "max":2048, + "min":20, + "pattern":"^arn:(aws[a-zA-Z-]*):secretsmanager:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:secret:[a-zA-Z0-9-/_+=.@]{1,2028}$" + }, + "WindowsUserUserString":{ + "type":"string", + "max":111, + "min":0, + "pattern":"^[^\"'/\\[\\]:;|=,+*?<>\\s]*$" + }, + "WorkerAmountCapability":{ + "type":"structure", + "required":[ + "name", + "value" + ], + "members":{ + "name":{ + "shape":"AmountCapabilityName", + "documentation":"

    The name of the worker amount capability.

    " + }, + "value":{ + "shape":"Float", + "documentation":"

    The value of the worker amount capability.

    " + } + }, + "documentation":"

    The details of the worker amount capability.

    " + }, + "WorkerAmountCapabilityList":{ + "type":"list", + "member":{"shape":"WorkerAmountCapability"}, + "max":17, + "min":2 + }, + "WorkerAttributeCapability":{ + "type":"structure", + "required":[ + "name", + "values" + ], + "members":{ + "name":{ + "shape":"AttributeCapabilityName", + "documentation":"

    The name of the worker attribute capability.

    " + }, + "values":{ + "shape":"AttributeCapabilityValuesList", + "documentation":"

    The values of the worker amount capability.

    " + } + }, + "documentation":"

    The details of the worker attribute capability.

    " + }, + "WorkerAttributeCapabilityList":{ + "type":"list", + "member":{"shape":"WorkerAttributeCapability"}, + "max":17, + "min":2 + }, + "WorkerCapabilities":{ + "type":"structure", + "required":[ + "amounts", + "attributes" + ], + "members":{ + "amounts":{ + "shape":"WorkerAmountCapabilityList", + "documentation":"

    The worker capabilities amounts on a list of worker capabilities.

    " + }, + "attributes":{ + "shape":"WorkerAttributeCapabilityList", + "documentation":"

    The worker attribute capabilities in the list of attribute capabilities.

    " + } + }, + "documentation":"

    The details for worker capabilities.

    " + }, + "WorkerId":{ + "type":"string", + "pattern":"^worker-[0-9a-f]{32}$" + }, + "WorkerSearchSummaries":{ + "type":"list", + "member":{"shape":"WorkerSearchSummary"} + }, + "WorkerSearchSummary":{ + "type":"structure", + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID.

    " + }, + "hostProperties":{ + "shape":"HostPropertiesResponse", + "documentation":"

    Provides the Amazon EC2 instance properties of the worker host.

    " + }, + "status":{ + "shape":"WorkerStatus", + "documentation":"

    The status of the worker search.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + }, + "workerId":{ + "shape":"WorkerId", + "documentation":"

    The worker ID.

    " + } + }, + "documentation":"

    The details of a worker search.

    " + }, + "WorkerSessionSummary":{ + "type":"structure", + "required":[ + "jobId", + "lifecycleStatus", + "queueId", + "sessionId", + "startedAt" + ], + "members":{ + "endedAt":{ + "shape":"EndedAt", + "documentation":"

    The date and time the resource ended running.

    " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

    The job ID for the job associated with the worker's session.

    " + }, + "lifecycleStatus":{ + "shape":"SessionLifecycleStatus", + "documentation":"

    The life cycle status for the worker's session.

    " + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

    The queue ID for the queue associated to the worker.

    " + }, + "sessionId":{ + "shape":"SessionId", + "documentation":"

    The session ID for the session action.

    " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

    The date and time the resource started running.

    " + }, + "targetLifecycleStatus":{ + "shape":"SessionLifecycleTargetStatus", + "documentation":"

    The life cycle status

    " + } + }, + "documentation":"

    Summarizes the session for a particular worker.

    " + }, + "WorkerStatus":{ + "type":"string", + "enum":[ + "CREATED", + "STARTED", + "STOPPING", + "STOPPED", + "NOT_RESPONDING", + "NOT_COMPATIBLE", + "RUNNING", + "IDLE" + ] + }, + "WorkerSummaries":{ + "type":"list", + "member":{"shape":"WorkerSummary"} + }, + "WorkerSummary":{ + "type":"structure", + "required":[ + "createdAt", + "createdBy", + "farmId", + "fleetId", + "status", + "workerId" + ], + "members":{ + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

    The date and time the resource was created.

    " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

    The user or system that created this resource.

    " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

    The farm ID.

    " + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

    The fleet ID.

    " + }, + "hostProperties":{ + "shape":"HostPropertiesResponse", + "documentation":"

    The host properties of the worker.

    " + }, + "log":{ + "shape":"LogConfiguration", + "documentation":"

    The log configuration for the worker.

    " + }, + "status":{ + "shape":"WorkerStatus", + "documentation":"

    The status of the worker.

    " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

    The date and time the resource was updated.

    " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

    The user or system that updated this resource.

    " + }, + "workerId":{ + "shape":"WorkerId", + "documentation":"

    The worker ID.

    " + } + }, + "documentation":"

    The summary of details for a worker.

    " + } + }, + "documentation":"

    The Amazon Web Services Deadline Cloud API provides infrastructure and centralized management for your projects. Use the Deadline Cloud API to onboard users, assign projects, and attach permissions specific to their job function.

    With Deadline Cloud, content production teams can deploy resources for their workforce securely in the cloud, reducing the costs of added physical infrastructure. Keep your content production operations secure, while allowing your contributors to access the tools they need, such as scalable high-speed storage, licenses, and cost management services.

    " +} diff --git a/tools/code-generation/api-descriptions/elasticmapreduce-2009-03-31.normal.json b/tools/code-generation/api-descriptions/elasticmapreduce-2009-03-31.normal.json index 63b45ccdd1c..74f16541429 100644 --- a/tools/code-generation/api-descriptions/elasticmapreduce-2009-03-31.normal.json +++ b/tools/code-generation/api-descriptions/elasticmapreduce-2009-03-31.normal.json @@ -664,7 +664,7 @@ "errors":[ {"shape":"InternalServerError"} ], - "documentation":"

    Specify whether to enable unhealthy node replacement, which lets Amazon EMR gracefully replace core nodes on a cluster if any nodes become unhealthy. For example, a node becomes unhealthy if disk usage is above 90%. If unhealthy node replacement is on and TerminationProtected are off, Amazon EMR immediately terminates the unhealthy core nodes. To use unhealthy node replacement and retain unhealthy core nodes, use to turn on termination protection. In such cases, Amazon EMR adds the unhealthy nodes to a denylist, reducing job interruptions and failures.

    If unhealthy node replacement is on, Amazon EMR notifies YARN and other applications on the cluster to stop scheduling tasks with these nodes, moves the data, and then terminates the nodes.

    For more information, see graceful node replacement in the Amazon EMR Management Guide.

    " + "documentation":"

    Specify whether to enable unhealthy node replacement, which lets Amazon EMR gracefully replace core nodes on a cluster if any nodes become unhealthy. For example, a node becomes unhealthy if disk usage is above 90%. If unhealthy node replacement is on and TerminationProtected are off, Amazon EMR immediately terminates the unhealthy core nodes. To use unhealthy node replacement and retain unhealthy core nodes, use to turn on termination protection. In such cases, Amazon EMR adds the unhealthy nodes to a denylist, reducing job interruptions and failures.

    If unhealthy node replacement is on, Amazon EMR notifies YARN and other applications on the cluster to stop scheduling tasks with these nodes, moves the data, and then terminates the nodes.

    For more information, see graceful node replacement in the Amazon EMR Management Guide.

    " }, "SetVisibleToAllUsers":{ "name":"SetVisibleToAllUsers", @@ -1208,7 +1208,7 @@ }, "Name":{ "shape":"String", - "documentation":"

    The name of the cluster.

    " + "documentation":"

    The name of the cluster. This parameter can't contain the characters <, >, $, |, or ` (backtick).

    " }, "Status":{ "shape":"ClusterStatus", @@ -3369,7 +3369,7 @@ }, "KeepJobFlowAliveWhenNoSteps":{ "shape":"Boolean", - "documentation":"

    Specifies whether the cluster should remain available after completing all steps. Defaults to true. For more information about configuring cluster termination, see Control Cluster Termination in the EMR Management Guide.

    " + "documentation":"

    Specifies whether the cluster should remain available after completing all steps. Defaults to false. For more information about configuring cluster termination, see Control Cluster Termination in the EMR Management Guide.

    " }, "TerminationProtected":{ "shape":"Boolean", diff --git a/tools/code-generation/api-descriptions/lightsail-2016-11-28.normal.json b/tools/code-generation/api-descriptions/lightsail-2016-11-28.normal.json index 5750921dd44..cb178ff9528 100644 --- a/tools/code-generation/api-descriptions/lightsail-2016-11-28.normal.json +++ b/tools/code-generation/api-descriptions/lightsail-2016-11-28.normal.json @@ -5153,6 +5153,14 @@ "tags":{ "shape":"TagList", "documentation":"

    The tag keys and optional values to add to the distribution during create.

    Use the TagResource action to tag a resource after it's created.

    " + }, + "certificateName":{ + "shape":"ResourceName", + "documentation":"

    The name of the SSL/TLS certificate that you want to attach to the distribution.

    Use the GetCertificates action to get a list of certificate names that you can specify.

    " + }, + "viewerMinimumTlsProtocolVersion":{ + "shape":"ViewerMinimumTlsProtocolVersionEnum", + "documentation":"

    The minimum TLS protocol version for the SSL/TLS certificate.

    " } } }, @@ -8740,6 +8748,10 @@ "protocolPolicy":{ "shape":"OriginProtocolPolicyEnum", "documentation":"

    The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.

    " + }, + "responseTimeout":{ + "shape":"integer", + "documentation":"

    The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.

    " } }, "documentation":"

    Describes the origin resource of an Amazon Lightsail content delivery network (CDN) distribution.

    An origin can be a Lightsail instance, bucket, container service, or load balancer. A distribution pulls content from an origin, caches it, and serves it to viewers via a worldwide network of edge servers.

    " @@ -9447,6 +9459,10 @@ "tags":{ "shape":"TagList", "documentation":"

    The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

    " + }, + "viewerMinimumTlsProtocolVersion":{ + "shape":"string", + "documentation":"

    The minimum TLS protocol version that the distribution can use to communicate with viewers.

    " } }, "documentation":"

    Describes an Amazon Lightsail content delivery network (CDN) distribution.

    " @@ -10314,6 +10330,10 @@ "protocolPolicy":{ "shape":"OriginProtocolPolicyEnum", "documentation":"

    The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.

    " + }, + "responseTimeout":{ + "shape":"integer", + "documentation":"

    The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.

    " } }, "documentation":"

    Describes the origin resource of an Amazon Lightsail content delivery network (CDN) distribution.

    An origin can be a Lightsail instance, bucket, or load balancer. A distribution pulls content from an origin, caches it, and serves it to viewers via a worldwide network of edge servers.

    " @@ -12183,6 +12203,18 @@ "isEnabled":{ "shape":"boolean", "documentation":"

    Indicates whether to enable the distribution.

    " + }, + "viewerMinimumTlsProtocolVersion":{ + "shape":"ViewerMinimumTlsProtocolVersionEnum", + "documentation":"

    Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached to the distribution.

    " + }, + "certificateName":{ + "shape":"ResourceName", + "documentation":"

    The name of the SSL/TLS certificate that you want to attach to the distribution.

    Only certificates with a status of ISSUED can be attached to a distribution.

    Use the GetCertificates action to get a list of certificate names that you can specify.

    " + }, + "useDefaultCertificate":{ + "shape":"boolean", + "documentation":"

    Indicates whether the default SSL/TLS certificate is attached to the distribution. The default value is true. When true, the distribution uses the default domain name such as d111111abcdef8.cloudfront.net.

    Set this value to false to attach a new certificate to the distribution.

    " } } }, @@ -12372,6 +12404,15 @@ } } }, + "ViewerMinimumTlsProtocolVersionEnum":{ + "type":"string", + "enum":[ + "TLSv1.1_2016", + "TLSv1.2_2018", + "TLSv1.2_2019", + "TLSv1.2_2021" + ] + }, "boolean":{"type":"boolean"}, "double":{"type":"double"}, "float":{"type":"float"}, diff --git a/tools/code-generation/api-descriptions/monitoring-2010-08-01.normal.json b/tools/code-generation/api-descriptions/monitoring-2010-08-01.normal.json index a33bb94f9b9..cc8ccc20dbd 100644 --- a/tools/code-generation/api-descriptions/monitoring-2010-08-01.normal.json +++ b/tools/code-generation/api-descriptions/monitoring-2010-08-01.normal.json @@ -441,7 +441,7 @@ {"shape":"MissingRequiredParameterException"}, {"shape":"InvalidParameterCombinationException"} ], - "documentation":"

    Creates an anomaly detection model for a CloudWatch metric. You can use the model to display a band of expected normal values when the metric is graphed.

    For more information, see CloudWatch Anomaly Detection.

    " + "documentation":"

    Creates an anomaly detection model for a CloudWatch metric. You can use the model to display a band of expected normal values when the metric is graphed.

    If you have enabled unified cross-account observability, and this account is a monitoring account, the metric can be in the same account or a source account. You can specify the account ID in the object you specify in the SingleMetricAnomalyDetector parameter.

    For more information, see CloudWatch Anomaly Detection.

    " }, "PutCompositeAlarm":{ "name":"PutCompositeAlarm", @@ -453,7 +453,7 @@ "errors":[ {"shape":"LimitExceededFault"} ], - "documentation":"

    Creates or updates a composite alarm. When you create a composite alarm, you specify a rule expression for the alarm that takes into account the alarm states of other alarms that you have created. The composite alarm goes into ALARM state only if all conditions of the rule are met.

    The alarms specified in a composite alarm's rule expression can include metric alarms and other composite alarms. The rule expression of a composite alarm can include as many as 100 underlying alarms. Any single alarm can be included in the rule expressions of as many as 150 composite alarms.

    Using composite alarms can reduce alarm noise. You can create multiple metric alarms, and also create a composite alarm and set up alerts only for the composite alarm. For example, you could create a composite alarm that goes into ALARM state only when more than one of the underlying metric alarms are in ALARM state.

    Currently, the only alarm actions that can be taken by composite alarms are notifying SNS topics.

    It is possible to create a loop or cycle of composite alarms, where composite alarm A depends on composite alarm B, and composite alarm B also depends on composite alarm A. In this scenario, you can't delete any composite alarm that is part of the cycle because there is always still a composite alarm that depends on that alarm that you want to delete.

    To get out of such a situation, you must break the cycle by changing the rule of one of the composite alarms in the cycle to remove a dependency that creates the cycle. The simplest change to make to break a cycle is to change the AlarmRule of one of the alarms to false.

    Additionally, the evaluation of composite alarms stops if CloudWatch detects a cycle in the evaluation path.

    When this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed. For a composite alarm, this initial time after creation is the only time that the alarm can be in INSUFFICIENT_DATA state.

    When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm.

    To use this operation, you must be signed on with the cloudwatch:PutCompositeAlarm permission that is scoped to *. You can't create a composite alarms if your cloudwatch:PutCompositeAlarm permission has a narrower scope.

    If you are an IAM user, you must have iam:CreateServiceLinkedRole to create a composite alarm that has Systems Manager OpsItem actions.

    " + "documentation":"

    Creates or updates a composite alarm. When you create a composite alarm, you specify a rule expression for the alarm that takes into account the alarm states of other alarms that you have created. The composite alarm goes into ALARM state only if all conditions of the rule are met.

    The alarms specified in a composite alarm's rule expression can include metric alarms and other composite alarms. The rule expression of a composite alarm can include as many as 100 underlying alarms. Any single alarm can be included in the rule expressions of as many as 150 composite alarms.

    Using composite alarms can reduce alarm noise. You can create multiple metric alarms, and also create a composite alarm and set up alerts only for the composite alarm. For example, you could create a composite alarm that goes into ALARM state only when more than one of the underlying metric alarms are in ALARM state.

    Composite alarms can take the following actions:

    • Notify Amazon SNS topics.

    • Invoke Lambda functions.

    • Create OpsItems in Systems Manager Ops Center.

    • Create incidents in Systems Manager Incident Manager.

    It is possible to create a loop or cycle of composite alarms, where composite alarm A depends on composite alarm B, and composite alarm B also depends on composite alarm A. In this scenario, you can't delete any composite alarm that is part of the cycle because there is always still a composite alarm that depends on that alarm that you want to delete.

    To get out of such a situation, you must break the cycle by changing the rule of one of the composite alarms in the cycle to remove a dependency that creates the cycle. The simplest change to make to break a cycle is to change the AlarmRule of one of the alarms to false.

    Additionally, the evaluation of composite alarms stops if CloudWatch detects a cycle in the evaluation path.

    When this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed. For a composite alarm, this initial time after creation is the only time that the alarm can be in INSUFFICIENT_DATA state.

    When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm.

    To use this operation, you must be signed on with the cloudwatch:PutCompositeAlarm permission that is scoped to *. You can't create a composite alarms if your cloudwatch:PutCompositeAlarm permission has a narrower scope.

    If you are an IAM user, you must have iam:CreateServiceLinkedRole to create a composite alarm that has Systems Manager OpsItem actions.

    " }, "PutDashboard":{ "name":"PutDashboard", @@ -532,7 +532,7 @@ {"shape":"InvalidParameterCombinationException"}, {"shape":"InternalServiceFault"} ], - "documentation":"

    Publishes metric data points to Amazon CloudWatch. CloudWatch associates the data points with the specified metric. If the specified metric does not exist, CloudWatch creates the metric. When CloudWatch creates a metric, it can take up to fifteen minutes for the metric to appear in calls to ListMetrics.

    You can publish either individual data points in the Value field, or arrays of values and the number of times each value occurred during the period by using the Values and Counts fields in the MetricDatum structure. Using the Values and Counts method enables you to publish up to 150 values per metric with one PutMetricData request, and supports retrieving percentile statistics on this data.

    Each PutMetricData request is limited to 1 MB in size for HTTP POST requests. You can send a payload compressed by gzip. Each request is also limited to no more than 1000 different metrics.

    Although the Value parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported.

    You can use up to 30 dimensions per metric to further clarify what data the metric collects. Each dimension consists of a Name and Value pair. For more information about specifying dimensions, see Publishing Metrics in the Amazon CloudWatch User Guide.

    You specify the time stamp to be associated with each data point. You can specify time stamps that are as much as two weeks before the current date, and as much as 2 hours after the current day and time.

    Data points with time stamps from 24 hours ago or longer can take at least 48 hours to become available for GetMetricData or GetMetricStatistics from the time they are submitted. Data points with time stamps between 3 and 24 hours ago can take as much as 2 hours to become available for for GetMetricData or GetMetricStatistics.

    CloudWatch needs raw data points to calculate percentile statistics. If you publish data using a statistic set instead, you can only retrieve percentile statistics for this data if one of the following conditions is true:

    • The SampleCount value of the statistic set is 1 and Min, Max, and Sum are all equal.

    • The Min and Max are equal, and Sum is equal to Min multiplied by SampleCount.

    ", + "documentation":"

    Publishes metric data points to Amazon CloudWatch. CloudWatch associates the data points with the specified metric. If the specified metric does not exist, CloudWatch creates the metric. When CloudWatch creates a metric, it can take up to fifteen minutes for the metric to appear in calls to ListMetrics.

    You can publish either individual data points in the Value field, or arrays of values and the number of times each value occurred during the period by using the Values and Counts fields in the MetricData structure. Using the Values and Counts method enables you to publish up to 150 values per metric with one PutMetricData request, and supports retrieving percentile statistics on this data.

    Each PutMetricData request is limited to 1 MB in size for HTTP POST requests. You can send a payload compressed by gzip. Each request is also limited to no more than 1000 different metrics.

    Although the Value parameter accepts numbers of type Double, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported.

    You can use up to 30 dimensions per metric to further clarify what data the metric collects. Each dimension consists of a Name and Value pair. For more information about specifying dimensions, see Publishing Metrics in the Amazon CloudWatch User Guide.

    You specify the time stamp to be associated with each data point. You can specify time stamps that are as much as two weeks before the current date, and as much as 2 hours after the current day and time.

    Data points with time stamps from 24 hours ago or longer can take at least 48 hours to become available for GetMetricData or GetMetricStatistics from the time they are submitted. Data points with time stamps between 3 and 24 hours ago can take as much as 2 hours to become available for for GetMetricData or GetMetricStatistics.

    CloudWatch needs raw data points to calculate percentile statistics. If you publish data using a statistic set instead, you can only retrieve percentile statistics for this data if one of the following conditions is true:

    • The SampleCount value of the statistic set is 1 and Min, Max, and Sum are all equal.

    • The Min and Max are equal, and Sum is equal to Min multiplied by SampleCount.

    ", "requestcompression":{"encodings":["gzip"]} }, "PutMetricStream":{ @@ -792,7 +792,7 @@ "documentation":"

    The CloudWatch metric math expression for this anomaly detector.

    " } }, - "documentation":"

    An anomaly detection model associated with a particular CloudWatch metric, statistic, or metric math expression. You can use the model to display a band of expected, normal values when the metric is graphed.

    " + "documentation":"

    An anomaly detection model associated with a particular CloudWatch metric, statistic, or metric math expression. You can use the model to display a band of expected, normal values when the metric is graphed.

    If you have enabled unified cross-account observability, and this account is a monitoring account, the metric can be in the same account or a source account.

    " }, "AnomalyDetectorConfiguration":{ "type":"structure", @@ -1722,7 +1722,7 @@ }, "ScanBy":{ "shape":"ScanBy", - "documentation":"

    The order in which data points should be returned. TimestampDescending returns the newest data first and paginates when the MaxDatapoints limit is reached. TimestampAscending returns the oldest data first and paginates when the MaxDatapoints limit is reached.

    " + "documentation":"

    The order in which data points should be returned. TimestampDescending returns the newest data first and paginates when the MaxDatapoints limit is reached. TimestampAscending returns the oldest data first and paginates when the MaxDatapoints limit is reached.

    If you omit this parameter, the default of TimestampDescending is used.

    " }, "MaxDatapoints":{ "shape":"GetMetricDataMaxDatapoints", @@ -3062,7 +3062,7 @@ }, "SingleMetricAnomalyDetector":{ "shape":"SingleMetricAnomalyDetector", - "documentation":"

    A single metric anomaly detector to be created.

    When using SingleMetricAnomalyDetector, you cannot include the following parameters in the same operation:

    • Dimensions

    • MetricName

    • Namespace

    • Stat

    • the MetricMatchAnomalyDetector parameters of PutAnomalyDetectorInput

    Instead, specify the single metric anomaly detector attributes as part of the property SingleMetricAnomalyDetector.

    " + "documentation":"

    A single metric anomaly detector to be created.

    When using SingleMetricAnomalyDetector, you cannot include the following parameters in the same operation:

    • Dimensions

    • MetricName

    • Namespace

    • Stat

    • the MetricMathAnomalyDetector parameters of PutAnomalyDetectorInput

    Instead, specify the single metric anomaly detector attributes as part of the property SingleMetricAnomalyDetector.

    " }, "MetricMathAnomalyDetector":{ "shape":"MetricMathAnomalyDetector", @@ -3088,7 +3088,7 @@ }, "AlarmActions":{ "shape":"ResourceList", - "documentation":"

    The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

    Valid Values: arn:aws:sns:region:account-id:sns-topic-name | arn:aws:ssm:region:account-id:opsitem:severity

    " + "documentation":"

    The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

    Valid Values: ]

    Amazon SNS actions:

    arn:aws:sns:region:account-id:sns-topic-name

    Lambda actions:

    • Invoke the latest version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name

    • Invoke a specific version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name:version-number

    • Invoke a function by using an alias Lambda function: arn:aws:lambda:region:account-id:function:function-name:alias-name

    Systems Manager actions:

    arn:aws:ssm:region:account-id:opsitem:severity

    " }, "AlarmDescription":{ "shape":"AlarmDescription", @@ -3104,15 +3104,15 @@ }, "InsufficientDataActions":{ "shape":"ResourceList", - "documentation":"

    The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

    Valid Values: arn:aws:sns:region:account-id:sns-topic-name

    " + "documentation":"

    The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

    Valid Values: ]

    Amazon SNS actions:

    arn:aws:sns:region:account-id:sns-topic-name

    Lambda actions:

    • Invoke the latest version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name

    • Invoke a specific version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name:version-number

    • Invoke a function by using an alias Lambda function: arn:aws:lambda:region:account-id:function:function-name:alias-name

    " }, "OKActions":{ "shape":"ResourceList", - "documentation":"

    The actions to execute when this alarm transitions to an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

    Valid Values: arn:aws:sns:region:account-id:sns-topic-name

    " + "documentation":"

    The actions to execute when this alarm transitions to an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

    Valid Values: ]

    Amazon SNS actions:

    arn:aws:sns:region:account-id:sns-topic-name

    Lambda actions:

    • Invoke the latest version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name

    • Invoke a specific version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name:version-number

    • Invoke a function by using an alias Lambda function: arn:aws:lambda:region:account-id:function:function-name:alias-name

    " }, "Tags":{ "shape":"TagList", - "documentation":"

    A list of key-value pairs to associate with the composite alarm. You can associate as many as 50 tags with an alarm.

    Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.

    " + "documentation":"

    A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the cloudwatch:TagResource permission.

    Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

    If you are using this operation to update an existing alarm, any tags you specify in this parameter are ignored. To change the tags of an existing alarm, use TagResource or UntagResource.

    " }, "ActionsSuppressor":{ "shape":"AlarmArn", @@ -3225,15 +3225,15 @@ }, "OKActions":{ "shape":"ResourceList", - "documentation":"

    The actions to execute when this alarm transitions to an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN). Valid values:

    EC2 actions:

    • arn:aws:automate:region:ec2:stop

    • arn:aws:automate:region:ec2:terminate

    • arn:aws:automate:region:ec2:reboot

    • arn:aws:automate:region:ec2:recover

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0

    Autoscaling action:

    • arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name

    SNS notification action:

    • arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name

    SSM integration actions:

    • arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name

    • arn:aws:ssm-incidents::account-id:responseplan/response-plan-name

    " + "documentation":"

    The actions to execute when this alarm transitions to an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN). Valid values:

    EC2 actions:

    • arn:aws:automate:region:ec2:stop

    • arn:aws:automate:region:ec2:terminate

    • arn:aws:automate:region:ec2:reboot

    • arn:aws:automate:region:ec2:recover

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0

    Autoscaling action:

    • arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name

    Lambda actions:

    • Invoke the latest version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name

    • Invoke a specific version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name:version-number

    • Invoke a function by using an alias Lambda function: arn:aws:lambda:region:account-id:function:function-name:alias-name

    SNS notification action:

    • arn:aws:sns:region:account-id:sns-topic-name

    SSM integration actions:

    • arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name

    • arn:aws:ssm-incidents::account-id:responseplan/response-plan-name

    " }, "AlarmActions":{ "shape":"ResourceList", - "documentation":"

    The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN). Valid values:

    EC2 actions:

    • arn:aws:automate:region:ec2:stop

    • arn:aws:automate:region:ec2:terminate

    • arn:aws:automate:region:ec2:reboot

    • arn:aws:automate:region:ec2:recover

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0

    Autoscaling action:

    • arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name

    SNS notification action:

    • arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name

    SSM integration actions:

    • arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name

    • arn:aws:ssm-incidents::account-id:responseplan/response-plan-name

    " + "documentation":"

    The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN). Valid values:

    EC2 actions:

    • arn:aws:automate:region:ec2:stop

    • arn:aws:automate:region:ec2:terminate

    • arn:aws:automate:region:ec2:reboot

    • arn:aws:automate:region:ec2:recover

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0

    Autoscaling action:

    • arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name

    Lambda actions:

    • Invoke the latest version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name

    • Invoke a specific version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name:version-number

    • Invoke a function by using an alias Lambda function: arn:aws:lambda:region:account-id:function:function-name:alias-name

    SNS notification action:

    • arn:aws:sns:region:account-id:sns-topic-name

    SSM integration actions:

    • arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name

    • arn:aws:ssm-incidents::account-id:responseplan/response-plan-name

    " }, "InsufficientDataActions":{ "shape":"ResourceList", - "documentation":"

    The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN). Valid values:

    EC2 actions:

    • arn:aws:automate:region:ec2:stop

    • arn:aws:automate:region:ec2:terminate

    • arn:aws:automate:region:ec2:reboot

    • arn:aws:automate:region:ec2:recover

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0

    Autoscaling action:

    • arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name

    SNS notification action:

    • arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name

    SSM integration actions:

    • arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name

    • arn:aws:ssm-incidents::account-id:responseplan/response-plan-name

    " + "documentation":"

    The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN). Valid values:

    EC2 actions:

    • arn:aws:automate:region:ec2:stop

    • arn:aws:automate:region:ec2:terminate

    • arn:aws:automate:region:ec2:reboot

    • arn:aws:automate:region:ec2:recover

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0

    • arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0

    Autoscaling action:

    • arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name

    Lambda actions:

    • Invoke the latest version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name

    • Invoke a specific version of a Lambda function: arn:aws:lambda:region:account-id:function:function-name:version-number

    • Invoke a function by using an alias Lambda function: arn:aws:lambda:region:account-id:function:function-name:alias-name

    SNS notification action:

    • arn:aws:sns:region:account-id:sns-topic-name

    SSM integration actions:

    • arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name

    • arn:aws:ssm-incidents::account-id:responseplan/response-plan-name

    " }, "MetricName":{ "shape":"MetricName", @@ -3479,6 +3479,10 @@ "SingleMetricAnomalyDetector":{ "type":"structure", "members":{ + "AccountId":{ + "shape":"AccountId", + "documentation":"

    If the CloudWatch metric that provides the time series that the anomaly detector uses as input is in another account, specify that account ID here. If you omit this parameter, the current account is used.

    " + }, "Namespace":{ "shape":"Namespace", "documentation":"

    The namespace of the metric to create the anomaly detection model for.

    " @@ -3496,7 +3500,7 @@ "documentation":"

    The statistic to use for the metric and anomaly detection model.

    " } }, - "documentation":"

    Designates the CloudWatch metric and statistic that provides the time series the anomaly detector uses as input.

    " + "documentation":"

    Designates the CloudWatch metric and statistic that provides the time series the anomaly detector uses as input. If you have enabled unified cross-account observability, and this account is a monitoring account, the metric can be in the same account or a source account.

    " }, "Size":{"type":"long"}, "StandardUnit":{ diff --git a/tools/code-generation/endpoints/deadline-2023-10-12.endpoint-rule-set.json b/tools/code-generation/endpoints/deadline-2023-10-12.endpoint-rule-set.json new file mode 100644 index 00000000000..6150299bedf --- /dev/null +++ b/tools/code-generation/endpoints/deadline-2023-10-12.endpoint-rule-set.json @@ -0,0 +1,350 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://deadline-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + }, + true + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://deadline-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://deadline.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://deadline.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" + } + ], + "type": "tree" + } + ] +} \ No newline at end of file diff --git a/tools/code-generation/endpoints/deadline-2023-10-12.endpoint-tests.json b/tools/code-generation/endpoints/deadline-2023-10-12.endpoint-tests.json new file mode 100644 index 00000000000..5d9474e43a4 --- /dev/null +++ b/tools/code-generation/endpoints/deadline-2023-10-12.endpoint-tests.json @@ -0,0 +1,314 @@ +{ + "testCases": [ + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://deadline-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deadline-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://deadline.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deadline.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://deadline-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deadline-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://deadline.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deadline.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://deadline-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deadline-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://deadline.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deadline.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deadline-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deadline.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deadline-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://deadline.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } + } + ], + "version": "1.0" +} \ No newline at end of file