diff --git a/VERSION b/VERSION index 9bd745e2c4c..7abf606fa5d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.386 \ No newline at end of file +1.11.387 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockClient.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockClient.h index 16a1e65b59b..f76657d96c8 100644 --- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockClient.h +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockClient.h @@ -246,6 +246,41 @@ namespace Bedrock return SubmitAsync(&BedrockClient::CreateModelCustomizationJob, request, handler, context); } + /** + *

Creates a job to invoke a model on multiple prompts (batch inference). Format + * your data according to Format + * your inference data and upload it to an Amazon S3 bucket. For more + * information, see Create + * a batch inference job.

The response returns a jobArn + * that you can use to stop or get details about the job. You can check the status + * of the job by sending a GetModelCustomizationJob + * request.

See Also:

AWS + * API Reference

+ */ + virtual Model::CreateModelInvocationJobOutcome CreateModelInvocationJob(const Model::CreateModelInvocationJobRequest& request) const; + + /** + * A Callable wrapper for CreateModelInvocationJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateModelInvocationJobOutcomeCallable CreateModelInvocationJobCallable(const CreateModelInvocationJobRequestT& request) const + { + return SubmitCallable(&BedrockClient::CreateModelInvocationJob, request); + } + + /** + * An Async wrapper for CreateModelInvocationJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateModelInvocationJobAsync(const CreateModelInvocationJobRequestT& request, const CreateModelInvocationJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BedrockClient::CreateModelInvocationJob, request, handler, context); + } + /** *

Creates dedicated throughput for a base or custom model with the model units * and for the duration that you specify. For pricing details, see Gets details about a batch inference job. For more information, see View + * details about a batch inference job

See Also:

AWS + * API Reference

+ */ + virtual Model::GetModelInvocationJobOutcome GetModelInvocationJob(const Model::GetModelInvocationJobRequest& request) const; + + /** + * A Callable wrapper for GetModelInvocationJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetModelInvocationJobOutcomeCallable GetModelInvocationJobCallable(const GetModelInvocationJobRequestT& request) const + { + return SubmitCallable(&BedrockClient::GetModelInvocationJob, request); + } + + /** + * An Async wrapper for GetModelInvocationJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetModelInvocationJobAsync(const GetModelInvocationJobRequestT& request, const GetModelInvocationJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BedrockClient::GetModelInvocationJob, request, handler, context); + } + /** *

Get the current configuration values for model invocation * logging.

See Also:

Lists all batch inference jobs in the account. For more information, see View + * details about a batch inference job.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListModelInvocationJobsOutcome ListModelInvocationJobs(const Model::ListModelInvocationJobsRequest& request = {}) const; + + /** + * A Callable wrapper for ListModelInvocationJobs that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListModelInvocationJobsOutcomeCallable ListModelInvocationJobsCallable(const ListModelInvocationJobsRequestT& request = {}) const + { + return SubmitCallable(&BedrockClient::ListModelInvocationJobs, request); + } + + /** + * An Async wrapper for ListModelInvocationJobs that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListModelInvocationJobsAsync(const ListModelInvocationJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const ListModelInvocationJobsRequestT& request = {}) const + { + return SubmitAsync(&BedrockClient::ListModelInvocationJobs, request, handler, context); + } + /** *

Lists the Provisioned Throughputs in the account. For more information, see * Stops a batch inference job. You're only charged for tokens that were already + * processed. For more information, see Stop + * a batch inference job.

See Also:

AWS + * API Reference

+ */ + virtual Model::StopModelInvocationJobOutcome StopModelInvocationJob(const Model::StopModelInvocationJobRequest& request) const; + + /** + * A Callable wrapper for StopModelInvocationJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::StopModelInvocationJobOutcomeCallable StopModelInvocationJobCallable(const StopModelInvocationJobRequestT& request) const + { + return SubmitCallable(&BedrockClient::StopModelInvocationJob, request); + } + + /** + * An Async wrapper for StopModelInvocationJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void StopModelInvocationJobAsync(const StopModelInvocationJobRequestT& request, const StopModelInvocationJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BedrockClient::StopModelInvocationJob, request, handler, context); + } + /** *

Associate tags with a resource. For more information, see Tagging diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockServiceClientModel.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockServiceClientModel.h index abeb0031cb7..186090c0dfe 100644 --- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockServiceClientModel.h @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -34,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -42,17 +44,20 @@ #include #include #include +#include #include #include #include #include #include +#include #include #include #include #include #include #include +#include #include #include #include @@ -105,6 +110,7 @@ namespace Aws class CreateGuardrailVersionRequest; class CreateModelCopyJobRequest; class CreateModelCustomizationJobRequest; + class CreateModelInvocationJobRequest; class CreateProvisionedModelThroughputRequest; class DeleteCustomModelRequest; class DeleteGuardrailRequest; @@ -116,6 +122,7 @@ namespace Aws class GetGuardrailRequest; class GetModelCopyJobRequest; class GetModelCustomizationJobRequest; + class GetModelInvocationJobRequest; class GetModelInvocationLoggingConfigurationRequest; class GetProvisionedModelThroughputRequest; class ListCustomModelsRequest; @@ -124,11 +131,13 @@ namespace Aws class ListGuardrailsRequest; class ListModelCopyJobsRequest; class ListModelCustomizationJobsRequest; + class ListModelInvocationJobsRequest; class ListProvisionedModelThroughputsRequest; class ListTagsForResourceRequest; class PutModelInvocationLoggingConfigurationRequest; class StopEvaluationJobRequest; class StopModelCustomizationJobRequest; + class StopModelInvocationJobRequest; class TagResourceRequest; class UntagResourceRequest; class UpdateGuardrailRequest; @@ -141,6 +150,7 @@ namespace Aws typedef Aws::Utils::Outcome CreateGuardrailVersionOutcome; typedef Aws::Utils::Outcome CreateModelCopyJobOutcome; typedef Aws::Utils::Outcome CreateModelCustomizationJobOutcome; + typedef Aws::Utils::Outcome CreateModelInvocationJobOutcome; typedef Aws::Utils::Outcome CreateProvisionedModelThroughputOutcome; typedef Aws::Utils::Outcome DeleteCustomModelOutcome; typedef Aws::Utils::Outcome DeleteGuardrailOutcome; @@ -152,6 +162,7 @@ namespace Aws typedef Aws::Utils::Outcome GetGuardrailOutcome; typedef Aws::Utils::Outcome GetModelCopyJobOutcome; typedef Aws::Utils::Outcome GetModelCustomizationJobOutcome; + typedef Aws::Utils::Outcome GetModelInvocationJobOutcome; typedef Aws::Utils::Outcome GetModelInvocationLoggingConfigurationOutcome; typedef Aws::Utils::Outcome GetProvisionedModelThroughputOutcome; typedef Aws::Utils::Outcome ListCustomModelsOutcome; @@ -160,11 +171,13 @@ namespace Aws typedef Aws::Utils::Outcome ListGuardrailsOutcome; typedef Aws::Utils::Outcome ListModelCopyJobsOutcome; typedef Aws::Utils::Outcome ListModelCustomizationJobsOutcome; + typedef Aws::Utils::Outcome ListModelInvocationJobsOutcome; typedef Aws::Utils::Outcome ListProvisionedModelThroughputsOutcome; typedef Aws::Utils::Outcome ListTagsForResourceOutcome; typedef Aws::Utils::Outcome PutModelInvocationLoggingConfigurationOutcome; typedef Aws::Utils::Outcome StopEvaluationJobOutcome; typedef Aws::Utils::Outcome StopModelCustomizationJobOutcome; + typedef Aws::Utils::Outcome StopModelInvocationJobOutcome; typedef Aws::Utils::Outcome TagResourceOutcome; typedef Aws::Utils::Outcome UntagResourceOutcome; typedef Aws::Utils::Outcome UpdateGuardrailOutcome; @@ -177,6 +190,7 @@ namespace Aws typedef std::future CreateGuardrailVersionOutcomeCallable; typedef std::future CreateModelCopyJobOutcomeCallable; typedef std::future CreateModelCustomizationJobOutcomeCallable; + typedef std::future CreateModelInvocationJobOutcomeCallable; typedef std::future CreateProvisionedModelThroughputOutcomeCallable; typedef std::future DeleteCustomModelOutcomeCallable; typedef std::future DeleteGuardrailOutcomeCallable; @@ -188,6 +202,7 @@ namespace Aws typedef std::future GetGuardrailOutcomeCallable; typedef std::future GetModelCopyJobOutcomeCallable; typedef std::future GetModelCustomizationJobOutcomeCallable; + typedef std::future GetModelInvocationJobOutcomeCallable; typedef std::future GetModelInvocationLoggingConfigurationOutcomeCallable; typedef std::future GetProvisionedModelThroughputOutcomeCallable; typedef std::future ListCustomModelsOutcomeCallable; @@ -196,11 +211,13 @@ namespace Aws typedef std::future ListGuardrailsOutcomeCallable; typedef std::future ListModelCopyJobsOutcomeCallable; typedef std::future ListModelCustomizationJobsOutcomeCallable; + typedef std::future ListModelInvocationJobsOutcomeCallable; typedef std::future ListProvisionedModelThroughputsOutcomeCallable; typedef std::future ListTagsForResourceOutcomeCallable; typedef std::future PutModelInvocationLoggingConfigurationOutcomeCallable; typedef std::future StopEvaluationJobOutcomeCallable; typedef std::future StopModelCustomizationJobOutcomeCallable; + typedef std::future StopModelInvocationJobOutcomeCallable; typedef std::future TagResourceOutcomeCallable; typedef std::future UntagResourceOutcomeCallable; typedef std::future UpdateGuardrailOutcomeCallable; @@ -216,6 +233,7 @@ namespace Aws typedef std::function&) > CreateGuardrailVersionResponseReceivedHandler; typedef std::function&) > CreateModelCopyJobResponseReceivedHandler; typedef std::function&) > CreateModelCustomizationJobResponseReceivedHandler; + typedef std::function&) > CreateModelInvocationJobResponseReceivedHandler; typedef std::function&) > CreateProvisionedModelThroughputResponseReceivedHandler; typedef std::function&) > DeleteCustomModelResponseReceivedHandler; typedef std::function&) > DeleteGuardrailResponseReceivedHandler; @@ -227,6 +245,7 @@ namespace Aws typedef std::function&) > GetGuardrailResponseReceivedHandler; typedef std::function&) > GetModelCopyJobResponseReceivedHandler; typedef std::function&) > GetModelCustomizationJobResponseReceivedHandler; + typedef std::function&) > GetModelInvocationJobResponseReceivedHandler; typedef std::function&) > GetModelInvocationLoggingConfigurationResponseReceivedHandler; typedef std::function&) > GetProvisionedModelThroughputResponseReceivedHandler; typedef std::function&) > ListCustomModelsResponseReceivedHandler; @@ -235,11 +254,13 @@ namespace Aws typedef std::function&) > ListGuardrailsResponseReceivedHandler; typedef std::function&) > ListModelCopyJobsResponseReceivedHandler; typedef std::function&) > ListModelCustomizationJobsResponseReceivedHandler; + typedef std::function&) > ListModelInvocationJobsResponseReceivedHandler; typedef std::function&) > ListProvisionedModelThroughputsResponseReceivedHandler; typedef std::function&) > ListTagsForResourceResponseReceivedHandler; typedef std::function&) > PutModelInvocationLoggingConfigurationResponseReceivedHandler; typedef std::function&) > StopEvaluationJobResponseReceivedHandler; typedef std::function&) > StopModelCustomizationJobResponseReceivedHandler; + typedef std::function&) > StopModelInvocationJobResponseReceivedHandler; typedef std::function&) > TagResourceResponseReceivedHandler; typedef std::function&) > UntagResourceResponseReceivedHandler; typedef std::function&) > UpdateGuardrailResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelInvocationJobRequest.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelInvocationJobRequest.h new file mode 100644 index 00000000000..e309fb93651 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelInvocationJobRequest.h @@ -0,0 +1,185 @@ +/** + * 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 Bedrock +{ +namespace Model +{ + + /** + */ + class CreateModelInvocationJobRequest : public BedrockRequest + { + public: + AWS_BEDROCK_API CreateModelInvocationJobRequest(); + + // 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 "CreateModelInvocationJob"; } + + AWS_BEDROCK_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

A name to give the batch inference job.

+ */ + inline const Aws::String& GetJobName() const{ return m_jobName; } + inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } + inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } + inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } + inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } + inline CreateModelInvocationJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} + inline CreateModelInvocationJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} + inline CreateModelInvocationJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;} + ///@} + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the service role with permissions to carry + * out and manage batch inference. You can use the console to create a default + * service role or follow the steps at Create + * a service role for batch inference.

+ */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + inline CreateModelInvocationJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + inline CreateModelInvocationJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + inline CreateModelInvocationJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + ///@} + + ///@{ + /** + *

A unique, case-sensitive identifier to ensure that the API request completes + * no more than one time. If this token matches a previous request, Amazon Bedrock + * ignores the request, but does not return an error. For more information, see Ensuring + * idempotency.

+ */ + inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } + inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } + inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } + inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } + inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } + inline CreateModelInvocationJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} + inline CreateModelInvocationJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} + inline CreateModelInvocationJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} + ///@} + + ///@{ + /** + *

The unique identifier of the foundation model to use for the batch inference + * job.

+ */ + inline const Aws::String& GetModelId() const{ return m_modelId; } + inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; } + inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; } + inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); } + inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); } + inline CreateModelInvocationJobRequest& WithModelId(const Aws::String& value) { SetModelId(value); return *this;} + inline CreateModelInvocationJobRequest& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;} + inline CreateModelInvocationJobRequest& WithModelId(const char* value) { SetModelId(value); return *this;} + ///@} + + ///@{ + /** + *

Details about the location of the input to the batch inference job.

+ */ + inline const ModelInvocationJobInputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; } + inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; } + inline void SetInputDataConfig(const ModelInvocationJobInputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; } + inline void SetInputDataConfig(ModelInvocationJobInputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); } + inline CreateModelInvocationJobRequest& WithInputDataConfig(const ModelInvocationJobInputDataConfig& value) { SetInputDataConfig(value); return *this;} + inline CreateModelInvocationJobRequest& WithInputDataConfig(ModelInvocationJobInputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Details about the location of the output of the batch inference job.

+ */ + inline const ModelInvocationJobOutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; } + inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; } + inline void SetOutputDataConfig(const ModelInvocationJobOutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; } + inline void SetOutputDataConfig(ModelInvocationJobOutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); } + inline CreateModelInvocationJobRequest& WithOutputDataConfig(const ModelInvocationJobOutputDataConfig& value) { SetOutputDataConfig(value); return *this;} + inline CreateModelInvocationJobRequest& WithOutputDataConfig(ModelInvocationJobOutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The number of hours after which to force the batch inference job to time + * out.

+ */ + inline int GetTimeoutDurationInHours() const{ return m_timeoutDurationInHours; } + inline bool TimeoutDurationInHoursHasBeenSet() const { return m_timeoutDurationInHoursHasBeenSet; } + inline void SetTimeoutDurationInHours(int value) { m_timeoutDurationInHoursHasBeenSet = true; m_timeoutDurationInHours = value; } + inline CreateModelInvocationJobRequest& WithTimeoutDurationInHours(int value) { SetTimeoutDurationInHours(value); return *this;} + ///@} + + ///@{ + /** + *

Any tags to associate with the batch inference job. For more information, see + * Tagging + * Amazon Bedrock resources.

+ */ + inline const Aws::Vector& GetTags() const{ return m_tags; } + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } + inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + inline CreateModelInvocationJobRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} + inline CreateModelInvocationJobRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} + inline CreateModelInvocationJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } + inline CreateModelInvocationJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::String m_jobName; + bool m_jobNameHasBeenSet = false; + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; + + Aws::String m_clientRequestToken; + bool m_clientRequestTokenHasBeenSet = false; + + Aws::String m_modelId; + bool m_modelIdHasBeenSet = false; + + ModelInvocationJobInputDataConfig m_inputDataConfig; + bool m_inputDataConfigHasBeenSet = false; + + ModelInvocationJobOutputDataConfig m_outputDataConfig; + bool m_outputDataConfigHasBeenSet = false; + + int m_timeoutDurationInHours; + bool m_timeoutDurationInHoursHasBeenSet = false; + + Aws::Vector m_tags; + bool m_tagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelInvocationJobResult.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelInvocationJobResult.h new file mode 100644 index 00000000000..95134428ddb --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelInvocationJobResult.h @@ -0,0 +1,67 @@ +/** + * 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 Bedrock +{ +namespace Model +{ + class CreateModelInvocationJobResult + { + public: + AWS_BEDROCK_API CreateModelInvocationJobResult(); + AWS_BEDROCK_API CreateModelInvocationJobResult(const Aws::AmazonWebServiceResult& result); + AWS_BEDROCK_API CreateModelInvocationJobResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the batch inference job.

+ */ + inline const Aws::String& GetJobArn() const{ return m_jobArn; } + inline void SetJobArn(const Aws::String& value) { m_jobArn = value; } + inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); } + inline void SetJobArn(const char* value) { m_jobArn.assign(value); } + inline CreateModelInvocationJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;} + inline CreateModelInvocationJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;} + inline CreateModelInvocationJobResult& WithJobArn(const char* value) { SetJobArn(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 CreateModelInvocationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateModelInvocationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateModelInvocationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_jobArn; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelInvocationJobRequest.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelInvocationJobRequest.h new file mode 100644 index 00000000000..18a121e0585 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelInvocationJobRequest.h @@ -0,0 +1,56 @@ +/** + * 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 Bedrock +{ +namespace Model +{ + + /** + */ + class GetModelInvocationJobRequest : public BedrockRequest + { + public: + AWS_BEDROCK_API GetModelInvocationJobRequest(); + + // 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 "GetModelInvocationJob"; } + + AWS_BEDROCK_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the batch inference job.

+ */ + inline const Aws::String& GetJobIdentifier() const{ return m_jobIdentifier; } + inline bool JobIdentifierHasBeenSet() const { return m_jobIdentifierHasBeenSet; } + inline void SetJobIdentifier(const Aws::String& value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier = value; } + inline void SetJobIdentifier(Aws::String&& value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier = std::move(value); } + inline void SetJobIdentifier(const char* value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier.assign(value); } + inline GetModelInvocationJobRequest& WithJobIdentifier(const Aws::String& value) { SetJobIdentifier(value); return *this;} + inline GetModelInvocationJobRequest& WithJobIdentifier(Aws::String&& value) { SetJobIdentifier(std::move(value)); return *this;} + inline GetModelInvocationJobRequest& WithJobIdentifier(const char* value) { SetJobIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_jobIdentifier; + bool m_jobIdentifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelInvocationJobResult.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelInvocationJobResult.h new file mode 100644 index 00000000000..39d9a8fcfb0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelInvocationJobResult.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 +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Bedrock +{ +namespace Model +{ + class GetModelInvocationJobResult + { + public: + AWS_BEDROCK_API GetModelInvocationJobResult(); + AWS_BEDROCK_API GetModelInvocationJobResult(const Aws::AmazonWebServiceResult& result); + AWS_BEDROCK_API GetModelInvocationJobResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the batch inference job.

+ */ + inline const Aws::String& GetJobArn() const{ return m_jobArn; } + inline void SetJobArn(const Aws::String& value) { m_jobArn = value; } + inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); } + inline void SetJobArn(const char* value) { m_jobArn.assign(value); } + inline GetModelInvocationJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;} + inline GetModelInvocationJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;} + inline GetModelInvocationJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;} + ///@} + + ///@{ + /** + *

The name of the batch inference job.

+ */ + inline const Aws::String& GetJobName() const{ return m_jobName; } + inline void SetJobName(const Aws::String& value) { m_jobName = value; } + inline void SetJobName(Aws::String&& value) { m_jobName = std::move(value); } + inline void SetJobName(const char* value) { m_jobName.assign(value); } + inline GetModelInvocationJobResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} + inline GetModelInvocationJobResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} + inline GetModelInvocationJobResult& WithJobName(const char* value) { SetJobName(value); return *this;} + ///@} + + ///@{ + /** + *

The unique identifier of the foundation model used for model inference.

+ */ + inline const Aws::String& GetModelId() const{ return m_modelId; } + inline void SetModelId(const Aws::String& value) { m_modelId = value; } + inline void SetModelId(Aws::String&& value) { m_modelId = std::move(value); } + inline void SetModelId(const char* value) { m_modelId.assign(value); } + inline GetModelInvocationJobResult& WithModelId(const Aws::String& value) { SetModelId(value); return *this;} + inline GetModelInvocationJobResult& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;} + inline GetModelInvocationJobResult& WithModelId(const char* value) { SetModelId(value); return *this;} + ///@} + + ///@{ + /** + *

A unique, case-sensitive identifier to ensure that the API request completes + * no more than one time. If this token matches a previous request, Amazon Bedrock + * ignores the request, but does not return an error. For more information, see Ensuring + * idempotency.

+ */ + inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } + inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; } + inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); } + inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); } + inline GetModelInvocationJobResult& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} + inline GetModelInvocationJobResult& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} + inline GetModelInvocationJobResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} + ///@} + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the service role with permissions to carry + * out and manage batch inference. You can use the console to create a default + * service role or follow the steps at Create + * a service role for batch inference.

+ */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; } + inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); } + inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } + inline GetModelInvocationJobResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + inline GetModelInvocationJobResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + inline GetModelInvocationJobResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + ///@} + + ///@{ + /** + *

The status of the batch inference job.

+ */ + inline const ModelInvocationJobStatus& GetStatus() const{ return m_status; } + inline void SetStatus(const ModelInvocationJobStatus& value) { m_status = value; } + inline void SetStatus(ModelInvocationJobStatus&& value) { m_status = std::move(value); } + inline GetModelInvocationJobResult& WithStatus(const ModelInvocationJobStatus& value) { SetStatus(value); return *this;} + inline GetModelInvocationJobResult& WithStatus(ModelInvocationJobStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

If the batch inference job failed, this field contains a message describing + * why the job failed.

+ */ + inline const Aws::String& GetMessage() const{ return m_message; } + inline void SetMessage(const Aws::String& value) { m_message = value; } + inline void SetMessage(Aws::String&& value) { m_message = std::move(value); } + inline void SetMessage(const char* value) { m_message.assign(value); } + inline GetModelInvocationJobResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline GetModelInvocationJobResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline GetModelInvocationJobResult& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + + ///@{ + /** + *

The time at which the batch inference job was submitted.

+ */ + inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; } + inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTime = value; } + inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTime = std::move(value); } + inline GetModelInvocationJobResult& WithSubmitTime(const Aws::Utils::DateTime& value) { SetSubmitTime(value); return *this;} + inline GetModelInvocationJobResult& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The time at which the batch inference job was last modified.

+ */ + inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } + inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; } + inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); } + inline GetModelInvocationJobResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} + inline GetModelInvocationJobResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The time at which the batch inference job ended.

+ */ + inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } + inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; } + inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); } + inline GetModelInvocationJobResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} + inline GetModelInvocationJobResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Details about the location of the input to the batch inference job.

+ */ + inline const ModelInvocationJobInputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; } + inline void SetInputDataConfig(const ModelInvocationJobInputDataConfig& value) { m_inputDataConfig = value; } + inline void SetInputDataConfig(ModelInvocationJobInputDataConfig&& value) { m_inputDataConfig = std::move(value); } + inline GetModelInvocationJobResult& WithInputDataConfig(const ModelInvocationJobInputDataConfig& value) { SetInputDataConfig(value); return *this;} + inline GetModelInvocationJobResult& WithInputDataConfig(ModelInvocationJobInputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Details about the location of the output of the batch inference job.

+ */ + inline const ModelInvocationJobOutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; } + inline void SetOutputDataConfig(const ModelInvocationJobOutputDataConfig& value) { m_outputDataConfig = value; } + inline void SetOutputDataConfig(ModelInvocationJobOutputDataConfig&& value) { m_outputDataConfig = std::move(value); } + inline GetModelInvocationJobResult& WithOutputDataConfig(const ModelInvocationJobOutputDataConfig& value) { SetOutputDataConfig(value); return *this;} + inline GetModelInvocationJobResult& WithOutputDataConfig(ModelInvocationJobOutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The number of hours after which batch inference job was set to time out.

+ */ + inline int GetTimeoutDurationInHours() const{ return m_timeoutDurationInHours; } + inline void SetTimeoutDurationInHours(int value) { m_timeoutDurationInHours = value; } + inline GetModelInvocationJobResult& WithTimeoutDurationInHours(int value) { SetTimeoutDurationInHours(value); return *this;} + ///@} + + ///@{ + /** + *

The time at which the batch inference job times or timed out.

+ */ + inline const Aws::Utils::DateTime& GetJobExpirationTime() const{ return m_jobExpirationTime; } + inline void SetJobExpirationTime(const Aws::Utils::DateTime& value) { m_jobExpirationTime = value; } + inline void SetJobExpirationTime(Aws::Utils::DateTime&& value) { m_jobExpirationTime = std::move(value); } + inline GetModelInvocationJobResult& WithJobExpirationTime(const Aws::Utils::DateTime& value) { SetJobExpirationTime(value); return *this;} + inline GetModelInvocationJobResult& WithJobExpirationTime(Aws::Utils::DateTime&& value) { SetJobExpirationTime(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 GetModelInvocationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetModelInvocationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetModelInvocationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_jobArn; + + Aws::String m_jobName; + + Aws::String m_modelId; + + Aws::String m_clientRequestToken; + + Aws::String m_roleArn; + + ModelInvocationJobStatus m_status; + + Aws::String m_message; + + Aws::Utils::DateTime m_submitTime; + + Aws::Utils::DateTime m_lastModifiedTime; + + Aws::Utils::DateTime m_endTime; + + ModelInvocationJobInputDataConfig m_inputDataConfig; + + ModelInvocationJobOutputDataConfig m_outputDataConfig; + + int m_timeoutDurationInHours; + + Aws::Utils::DateTime m_jobExpirationTime; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListModelInvocationJobsRequest.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListModelInvocationJobsRequest.h new file mode 100644 index 00000000000..42b9d9fe098 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListModelInvocationJobsRequest.h @@ -0,0 +1,181 @@ +/** + * 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 Http +{ + class URI; +} //namespace Http +namespace Bedrock +{ +namespace Model +{ + + /** + */ + class ListModelInvocationJobsRequest : public BedrockRequest + { + public: + AWS_BEDROCK_API ListModelInvocationJobsRequest(); + + // 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 "ListModelInvocationJobs"; } + + AWS_BEDROCK_API Aws::String SerializePayload() const override; + + AWS_BEDROCK_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

Specify a time to filter for batch inference jobs that were submitted after + * the time you specify.

+ */ + inline const Aws::Utils::DateTime& GetSubmitTimeAfter() const{ return m_submitTimeAfter; } + inline bool SubmitTimeAfterHasBeenSet() const { return m_submitTimeAfterHasBeenSet; } + inline void SetSubmitTimeAfter(const Aws::Utils::DateTime& value) { m_submitTimeAfterHasBeenSet = true; m_submitTimeAfter = value; } + inline void SetSubmitTimeAfter(Aws::Utils::DateTime&& value) { m_submitTimeAfterHasBeenSet = true; m_submitTimeAfter = std::move(value); } + inline ListModelInvocationJobsRequest& WithSubmitTimeAfter(const Aws::Utils::DateTime& value) { SetSubmitTimeAfter(value); return *this;} + inline ListModelInvocationJobsRequest& WithSubmitTimeAfter(Aws::Utils::DateTime&& value) { SetSubmitTimeAfter(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Specify a time to filter for batch inference jobs that were submitted before + * the time you specify.

+ */ + inline const Aws::Utils::DateTime& GetSubmitTimeBefore() const{ return m_submitTimeBefore; } + inline bool SubmitTimeBeforeHasBeenSet() const { return m_submitTimeBeforeHasBeenSet; } + inline void SetSubmitTimeBefore(const Aws::Utils::DateTime& value) { m_submitTimeBeforeHasBeenSet = true; m_submitTimeBefore = value; } + inline void SetSubmitTimeBefore(Aws::Utils::DateTime&& value) { m_submitTimeBeforeHasBeenSet = true; m_submitTimeBefore = std::move(value); } + inline ListModelInvocationJobsRequest& WithSubmitTimeBefore(const Aws::Utils::DateTime& value) { SetSubmitTimeBefore(value); return *this;} + inline ListModelInvocationJobsRequest& WithSubmitTimeBefore(Aws::Utils::DateTime&& value) { SetSubmitTimeBefore(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Specify a status to filter for batch inference jobs whose statuses match the + * string you specify.

+ */ + inline const ModelInvocationJobStatus& GetStatusEquals() const{ return m_statusEquals; } + inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; } + inline void SetStatusEquals(const ModelInvocationJobStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; } + inline void SetStatusEquals(ModelInvocationJobStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); } + inline ListModelInvocationJobsRequest& WithStatusEquals(const ModelInvocationJobStatus& value) { SetStatusEquals(value); return *this;} + inline ListModelInvocationJobsRequest& WithStatusEquals(ModelInvocationJobStatus&& value) { SetStatusEquals(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Specify a string to filter for batch inference jobs whose names contain the + * string.

+ */ + inline const Aws::String& GetNameContains() const{ return m_nameContains; } + inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; } + inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; } + inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); } + inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); } + inline ListModelInvocationJobsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;} + inline ListModelInvocationJobsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;} + inline ListModelInvocationJobsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;} + ///@} + + ///@{ + /** + *

The maximum number of results to return. If there are more results than the + * number that you specify, a nextToken value is returned. Use the + * nextToken in a request to return the next batch of results.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListModelInvocationJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

If there were more results than the value you specified in the + * maxResults field in a previous ListModelInvocationJobs + * request, the response would have returned a nextToken value. To see + * the next batch of results, send the nextToken value in another + * request.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListModelInvocationJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListModelInvocationJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListModelInvocationJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

An attribute by which to sort the results.

+ */ + inline const SortJobsBy& GetSortBy() const{ return m_sortBy; } + inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; } + inline void SetSortBy(const SortJobsBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; } + inline void SetSortBy(SortJobsBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); } + inline ListModelInvocationJobsRequest& WithSortBy(const SortJobsBy& value) { SetSortBy(value); return *this;} + inline ListModelInvocationJobsRequest& WithSortBy(SortJobsBy&& value) { SetSortBy(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Specifies whether to sort the results by ascending or descending order.

+ */ + inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } + inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } + inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } + inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } + inline ListModelInvocationJobsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} + inline ListModelInvocationJobsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} + ///@} + private: + + Aws::Utils::DateTime m_submitTimeAfter; + bool m_submitTimeAfterHasBeenSet = false; + + Aws::Utils::DateTime m_submitTimeBefore; + bool m_submitTimeBeforeHasBeenSet = false; + + ModelInvocationJobStatus m_statusEquals; + bool m_statusEqualsHasBeenSet = false; + + Aws::String m_nameContains; + bool m_nameContainsHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + SortJobsBy m_sortBy; + bool m_sortByHasBeenSet = false; + + SortOrder m_sortOrder; + bool m_sortOrderHasBeenSet = false; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListModelInvocationJobsResult.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListModelInvocationJobsResult.h new file mode 100644 index 00000000000..18f6541c427 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListModelInvocationJobsResult.h @@ -0,0 +1,87 @@ +/** + * 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 Bedrock +{ +namespace Model +{ + class ListModelInvocationJobsResult + { + public: + AWS_BEDROCK_API ListModelInvocationJobsResult(); + AWS_BEDROCK_API ListModelInvocationJobsResult(const Aws::AmazonWebServiceResult& result); + AWS_BEDROCK_API ListModelInvocationJobsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

If there are more results than can fit in the response, a + * nextToken is returned. Use the nextToken in a request + * to return the next batch of results.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListModelInvocationJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListModelInvocationJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListModelInvocationJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

A list of items, each of which contains a summary about a batch inference + * job.

+ */ + inline const Aws::Vector& GetInvocationJobSummaries() const{ return m_invocationJobSummaries; } + inline void SetInvocationJobSummaries(const Aws::Vector& value) { m_invocationJobSummaries = value; } + inline void SetInvocationJobSummaries(Aws::Vector&& value) { m_invocationJobSummaries = std::move(value); } + inline ListModelInvocationJobsResult& WithInvocationJobSummaries(const Aws::Vector& value) { SetInvocationJobSummaries(value); return *this;} + inline ListModelInvocationJobsResult& WithInvocationJobSummaries(Aws::Vector&& value) { SetInvocationJobSummaries(std::move(value)); return *this;} + inline ListModelInvocationJobsResult& AddInvocationJobSummaries(const ModelInvocationJobSummary& value) { m_invocationJobSummaries.push_back(value); return *this; } + inline ListModelInvocationJobsResult& AddInvocationJobSummaries(ModelInvocationJobSummary&& value) { m_invocationJobSummaries.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 ListModelInvocationJobsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListModelInvocationJobsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListModelInvocationJobsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_nextToken; + + Aws::Vector m_invocationJobSummaries; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobInputDataConfig.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobInputDataConfig.h new file mode 100644 index 00000000000..13b669aa931 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobInputDataConfig.h @@ -0,0 +1,60 @@ +/** + * 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 Bedrock +{ +namespace Model +{ + + /** + *

Details about the location of the input to the batch inference + * job.

See Also:

AWS + * API Reference

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

Contains the configuration of the S3 location of the input data.

+ */ + inline const ModelInvocationJobS3InputDataConfig& GetS3InputDataConfig() const{ return m_s3InputDataConfig; } + inline bool S3InputDataConfigHasBeenSet() const { return m_s3InputDataConfigHasBeenSet; } + inline void SetS3InputDataConfig(const ModelInvocationJobS3InputDataConfig& value) { m_s3InputDataConfigHasBeenSet = true; m_s3InputDataConfig = value; } + inline void SetS3InputDataConfig(ModelInvocationJobS3InputDataConfig&& value) { m_s3InputDataConfigHasBeenSet = true; m_s3InputDataConfig = std::move(value); } + inline ModelInvocationJobInputDataConfig& WithS3InputDataConfig(const ModelInvocationJobS3InputDataConfig& value) { SetS3InputDataConfig(value); return *this;} + inline ModelInvocationJobInputDataConfig& WithS3InputDataConfig(ModelInvocationJobS3InputDataConfig&& value) { SetS3InputDataConfig(std::move(value)); return *this;} + ///@} + private: + + ModelInvocationJobS3InputDataConfig m_s3InputDataConfig; + bool m_s3InputDataConfigHasBeenSet = false; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobOutputDataConfig.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobOutputDataConfig.h new file mode 100644 index 00000000000..3c4a344b7a4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobOutputDataConfig.h @@ -0,0 +1,60 @@ +/** + * 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 Bedrock +{ +namespace Model +{ + + /** + *

Contains the configuration of the S3 location of the output + * data.

See Also:

AWS + * API Reference

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

Contains the configuration of the S3 location of the output data.

+ */ + inline const ModelInvocationJobS3OutputDataConfig& GetS3OutputDataConfig() const{ return m_s3OutputDataConfig; } + inline bool S3OutputDataConfigHasBeenSet() const { return m_s3OutputDataConfigHasBeenSet; } + inline void SetS3OutputDataConfig(const ModelInvocationJobS3OutputDataConfig& value) { m_s3OutputDataConfigHasBeenSet = true; m_s3OutputDataConfig = value; } + inline void SetS3OutputDataConfig(ModelInvocationJobS3OutputDataConfig&& value) { m_s3OutputDataConfigHasBeenSet = true; m_s3OutputDataConfig = std::move(value); } + inline ModelInvocationJobOutputDataConfig& WithS3OutputDataConfig(const ModelInvocationJobS3OutputDataConfig& value) { SetS3OutputDataConfig(value); return *this;} + inline ModelInvocationJobOutputDataConfig& WithS3OutputDataConfig(ModelInvocationJobS3OutputDataConfig&& value) { SetS3OutputDataConfig(std::move(value)); return *this;} + ///@} + private: + + ModelInvocationJobS3OutputDataConfig m_s3OutputDataConfig; + bool m_s3OutputDataConfigHasBeenSet = false; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobS3InputDataConfig.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobS3InputDataConfig.h new file mode 100644 index 00000000000..8b31d3f19d3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobS3InputDataConfig.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 +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Bedrock +{ +namespace Model +{ + + /** + *

Contains the configuration of the S3 location of the output + * data.

See Also:

AWS + * API Reference

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

The format of the input data.

+ */ + inline const S3InputFormat& GetS3InputFormat() const{ return m_s3InputFormat; } + inline bool S3InputFormatHasBeenSet() const { return m_s3InputFormatHasBeenSet; } + inline void SetS3InputFormat(const S3InputFormat& value) { m_s3InputFormatHasBeenSet = true; m_s3InputFormat = value; } + inline void SetS3InputFormat(S3InputFormat&& value) { m_s3InputFormatHasBeenSet = true; m_s3InputFormat = std::move(value); } + inline ModelInvocationJobS3InputDataConfig& WithS3InputFormat(const S3InputFormat& value) { SetS3InputFormat(value); return *this;} + inline ModelInvocationJobS3InputDataConfig& WithS3InputFormat(S3InputFormat&& value) { SetS3InputFormat(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The S3 location of the input data.

+ */ + inline const Aws::String& GetS3Uri() const{ return m_s3Uri; } + inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; } + inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; } + inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); } + inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); } + inline ModelInvocationJobS3InputDataConfig& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;} + inline ModelInvocationJobS3InputDataConfig& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;} + inline ModelInvocationJobS3InputDataConfig& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} + ///@} + private: + + S3InputFormat m_s3InputFormat; + bool m_s3InputFormatHasBeenSet = false; + + Aws::String m_s3Uri; + bool m_s3UriHasBeenSet = false; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobS3OutputDataConfig.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobS3OutputDataConfig.h new file mode 100644 index 00000000000..d9d70ffadf2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobS3OutputDataConfig.h @@ -0,0 +1,80 @@ +/** + * 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 Bedrock +{ +namespace Model +{ + + /** + *

Contains the configuration of the S3 location of the output + * data.

See Also:

AWS + * API Reference

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

The S3 location of the output data.

+ */ + inline const Aws::String& GetS3Uri() const{ return m_s3Uri; } + inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; } + inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; } + inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); } + inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); } + inline ModelInvocationJobS3OutputDataConfig& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;} + inline ModelInvocationJobS3OutputDataConfig& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;} + inline ModelInvocationJobS3OutputDataConfig& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} + ///@} + + ///@{ + /** + *

The unique identifier of the key that encrypts the S3 location of the output + * data.

+ */ + inline const Aws::String& GetS3EncryptionKeyId() const{ return m_s3EncryptionKeyId; } + inline bool S3EncryptionKeyIdHasBeenSet() const { return m_s3EncryptionKeyIdHasBeenSet; } + inline void SetS3EncryptionKeyId(const Aws::String& value) { m_s3EncryptionKeyIdHasBeenSet = true; m_s3EncryptionKeyId = value; } + inline void SetS3EncryptionKeyId(Aws::String&& value) { m_s3EncryptionKeyIdHasBeenSet = true; m_s3EncryptionKeyId = std::move(value); } + inline void SetS3EncryptionKeyId(const char* value) { m_s3EncryptionKeyIdHasBeenSet = true; m_s3EncryptionKeyId.assign(value); } + inline ModelInvocationJobS3OutputDataConfig& WithS3EncryptionKeyId(const Aws::String& value) { SetS3EncryptionKeyId(value); return *this;} + inline ModelInvocationJobS3OutputDataConfig& WithS3EncryptionKeyId(Aws::String&& value) { SetS3EncryptionKeyId(std::move(value)); return *this;} + inline ModelInvocationJobS3OutputDataConfig& WithS3EncryptionKeyId(const char* value) { SetS3EncryptionKeyId(value); return *this;} + ///@} + private: + + Aws::String m_s3Uri; + bool m_s3UriHasBeenSet = false; + + Aws::String m_s3EncryptionKeyId; + bool m_s3EncryptionKeyIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobStatus.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobStatus.h new file mode 100644 index 00000000000..4f313e853bb --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobStatus.h @@ -0,0 +1,39 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Bedrock +{ +namespace Model +{ + enum class ModelInvocationJobStatus + { + NOT_SET, + Submitted, + InProgress, + Completed, + Failed, + Stopping, + Stopped, + PartiallyCompleted, + Expired, + Validating, + Scheduled + }; + +namespace ModelInvocationJobStatusMapper +{ +AWS_BEDROCK_API ModelInvocationJobStatus GetModelInvocationJobStatusForName(const Aws::String& name); + +AWS_BEDROCK_API Aws::String GetNameForModelInvocationJobStatus(ModelInvocationJobStatus value); +} // namespace ModelInvocationJobStatusMapper +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobSummary.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobSummary.h new file mode 100644 index 00000000000..72a4657e58c --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelInvocationJobSummary.h @@ -0,0 +1,278 @@ +/** + * 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 Bedrock +{ +namespace Model +{ + + /** + *

A summary of a batch inference job.

See Also:

AWS + * API Reference

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

The Amazon Resource Name (ARN) of the batch inference job.

+ */ + inline const Aws::String& GetJobArn() const{ return m_jobArn; } + inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; } + inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; } + inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); } + inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); } + inline ModelInvocationJobSummary& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;} + inline ModelInvocationJobSummary& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;} + inline ModelInvocationJobSummary& WithJobArn(const char* value) { SetJobArn(value); return *this;} + ///@} + + ///@{ + /** + *

The name of the batch inference job.

+ */ + inline const Aws::String& GetJobName() const{ return m_jobName; } + inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } + inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } + inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } + inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } + inline ModelInvocationJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} + inline ModelInvocationJobSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} + inline ModelInvocationJobSummary& WithJobName(const char* value) { SetJobName(value); return *this;} + ///@} + + ///@{ + /** + *

The unique identifier of the foundation model used for model inference.

+ */ + inline const Aws::String& GetModelId() const{ return m_modelId; } + inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; } + inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; } + inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); } + inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); } + inline ModelInvocationJobSummary& WithModelId(const Aws::String& value) { SetModelId(value); return *this;} + inline ModelInvocationJobSummary& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;} + inline ModelInvocationJobSummary& WithModelId(const char* value) { SetModelId(value); return *this;} + ///@} + + ///@{ + /** + *

A unique, case-sensitive identifier to ensure that the API request completes + * no more than one time. If this token matches a previous request, Amazon Bedrock + * ignores the request, but does not return an error. For more information, see Ensuring + * idempotency.

+ */ + inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } + inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } + inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } + inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } + inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } + inline ModelInvocationJobSummary& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} + inline ModelInvocationJobSummary& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} + inline ModelInvocationJobSummary& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} + ///@} + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the service role with permissions to carry + * out and manage batch inference. You can use the console to create a default + * service role or follow the steps at Create + * a service role for batch inference.

+ */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + inline ModelInvocationJobSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + inline ModelInvocationJobSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + inline ModelInvocationJobSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + ///@} + + ///@{ + /** + *

The status of the batch inference job.

+ */ + inline const ModelInvocationJobStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const ModelInvocationJobStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(ModelInvocationJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline ModelInvocationJobSummary& WithStatus(const ModelInvocationJobStatus& value) { SetStatus(value); return *this;} + inline ModelInvocationJobSummary& WithStatus(ModelInvocationJobStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

If the batch inference job failed, this field contains a message describing + * why the job failed.

+ */ + 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 ModelInvocationJobSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline ModelInvocationJobSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline ModelInvocationJobSummary& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + + ///@{ + /** + *

The time at which the batch inference job was submitted.

+ */ + inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; } + inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; } + inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; } + inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); } + inline ModelInvocationJobSummary& WithSubmitTime(const Aws::Utils::DateTime& value) { SetSubmitTime(value); return *this;} + inline ModelInvocationJobSummary& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The time at which the batch inference job was last modified.

+ */ + inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } + inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } + inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } + inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } + inline ModelInvocationJobSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} + inline ModelInvocationJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The time at which the batch inference job ended.

+ */ + inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } + inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } + inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } + inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } + inline ModelInvocationJobSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} + inline ModelInvocationJobSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Details about the location of the input to the batch inference job.

+ */ + inline const ModelInvocationJobInputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; } + inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; } + inline void SetInputDataConfig(const ModelInvocationJobInputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; } + inline void SetInputDataConfig(ModelInvocationJobInputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); } + inline ModelInvocationJobSummary& WithInputDataConfig(const ModelInvocationJobInputDataConfig& value) { SetInputDataConfig(value); return *this;} + inline ModelInvocationJobSummary& WithInputDataConfig(ModelInvocationJobInputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Details about the location of the output of the batch inference job.

+ */ + inline const ModelInvocationJobOutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; } + inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; } + inline void SetOutputDataConfig(const ModelInvocationJobOutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; } + inline void SetOutputDataConfig(ModelInvocationJobOutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); } + inline ModelInvocationJobSummary& WithOutputDataConfig(const ModelInvocationJobOutputDataConfig& value) { SetOutputDataConfig(value); return *this;} + inline ModelInvocationJobSummary& WithOutputDataConfig(ModelInvocationJobOutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The number of hours after which the batch inference job was set to time + * out.

+ */ + inline int GetTimeoutDurationInHours() const{ return m_timeoutDurationInHours; } + inline bool TimeoutDurationInHoursHasBeenSet() const { return m_timeoutDurationInHoursHasBeenSet; } + inline void SetTimeoutDurationInHours(int value) { m_timeoutDurationInHoursHasBeenSet = true; m_timeoutDurationInHours = value; } + inline ModelInvocationJobSummary& WithTimeoutDurationInHours(int value) { SetTimeoutDurationInHours(value); return *this;} + ///@} + + ///@{ + /** + *

The time at which the batch inference job times or timed out.

+ */ + inline const Aws::Utils::DateTime& GetJobExpirationTime() const{ return m_jobExpirationTime; } + inline bool JobExpirationTimeHasBeenSet() const { return m_jobExpirationTimeHasBeenSet; } + inline void SetJobExpirationTime(const Aws::Utils::DateTime& value) { m_jobExpirationTimeHasBeenSet = true; m_jobExpirationTime = value; } + inline void SetJobExpirationTime(Aws::Utils::DateTime&& value) { m_jobExpirationTimeHasBeenSet = true; m_jobExpirationTime = std::move(value); } + inline ModelInvocationJobSummary& WithJobExpirationTime(const Aws::Utils::DateTime& value) { SetJobExpirationTime(value); return *this;} + inline ModelInvocationJobSummary& WithJobExpirationTime(Aws::Utils::DateTime&& value) { SetJobExpirationTime(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_jobArn; + bool m_jobArnHasBeenSet = false; + + Aws::String m_jobName; + bool m_jobNameHasBeenSet = false; + + Aws::String m_modelId; + bool m_modelIdHasBeenSet = false; + + Aws::String m_clientRequestToken; + bool m_clientRequestTokenHasBeenSet = false; + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; + + ModelInvocationJobStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + Aws::Utils::DateTime m_submitTime; + bool m_submitTimeHasBeenSet = false; + + Aws::Utils::DateTime m_lastModifiedTime; + bool m_lastModifiedTimeHasBeenSet = false; + + Aws::Utils::DateTime m_endTime; + bool m_endTimeHasBeenSet = false; + + ModelInvocationJobInputDataConfig m_inputDataConfig; + bool m_inputDataConfigHasBeenSet = false; + + ModelInvocationJobOutputDataConfig m_outputDataConfig; + bool m_outputDataConfigHasBeenSet = false; + + int m_timeoutDurationInHours; + bool m_timeoutDurationInHoursHasBeenSet = false; + + Aws::Utils::DateTime m_jobExpirationTime; + bool m_jobExpirationTimeHasBeenSet = false; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/S3InputFormat.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/S3InputFormat.h new file mode 100644 index 00000000000..a5d8cb394b3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/S3InputFormat.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 Bedrock +{ +namespace Model +{ + enum class S3InputFormat + { + NOT_SET, + JSONL + }; + +namespace S3InputFormatMapper +{ +AWS_BEDROCK_API S3InputFormat GetS3InputFormatForName(const Aws::String& name); + +AWS_BEDROCK_API Aws::String GetNameForS3InputFormat(S3InputFormat value); +} // namespace S3InputFormatMapper +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/StopModelInvocationJobRequest.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/StopModelInvocationJobRequest.h new file mode 100644 index 00000000000..b12c0a74e8e --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/StopModelInvocationJobRequest.h @@ -0,0 +1,56 @@ +/** + * 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 Bedrock +{ +namespace Model +{ + + /** + */ + class StopModelInvocationJobRequest : public BedrockRequest + { + public: + AWS_BEDROCK_API StopModelInvocationJobRequest(); + + // 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 "StopModelInvocationJob"; } + + AWS_BEDROCK_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the batch inference job to stop.

+ */ + inline const Aws::String& GetJobIdentifier() const{ return m_jobIdentifier; } + inline bool JobIdentifierHasBeenSet() const { return m_jobIdentifierHasBeenSet; } + inline void SetJobIdentifier(const Aws::String& value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier = value; } + inline void SetJobIdentifier(Aws::String&& value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier = std::move(value); } + inline void SetJobIdentifier(const char* value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier.assign(value); } + inline StopModelInvocationJobRequest& WithJobIdentifier(const Aws::String& value) { SetJobIdentifier(value); return *this;} + inline StopModelInvocationJobRequest& WithJobIdentifier(Aws::String&& value) { SetJobIdentifier(std::move(value)); return *this;} + inline StopModelInvocationJobRequest& WithJobIdentifier(const char* value) { SetJobIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_jobIdentifier; + bool m_jobIdentifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/StopModelInvocationJobResult.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/StopModelInvocationJobResult.h new file mode 100644 index 00000000000..8f5819298b0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/StopModelInvocationJobResult.h @@ -0,0 +1,52 @@ +/** + * 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 Bedrock +{ +namespace Model +{ + class StopModelInvocationJobResult + { + public: + AWS_BEDROCK_API StopModelInvocationJobResult(); + AWS_BEDROCK_API StopModelInvocationJobResult(const Aws::AmazonWebServiceResult& result); + AWS_BEDROCK_API StopModelInvocationJobResult& 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 StopModelInvocationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline StopModelInvocationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline StopModelInvocationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/source/BedrockClient.cpp b/generated/src/aws-cpp-sdk-bedrock/source/BedrockClient.cpp index b02a7c7dca2..143c99e040d 100644 --- a/generated/src/aws-cpp-sdk-bedrock/source/BedrockClient.cpp +++ b/generated/src/aws-cpp-sdk-bedrock/source/BedrockClient.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -37,6 +38,7 @@ #include #include #include +#include #include #include #include @@ -45,11 +47,13 @@ #include #include #include +#include #include #include #include #include #include +#include #include #include #include @@ -336,6 +340,33 @@ CreateModelCustomizationJobOutcome BedrockClient::CreateModelCustomizationJob(co {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CreateModelInvocationJobOutcome BedrockClient::CreateModelInvocationJob(const CreateModelInvocationJobRequest& request) const +{ + AWS_OPERATION_GUARD(CreateModelInvocationJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateModelInvocationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateModelInvocationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateModelInvocationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateModelInvocationJob", + {{ 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( + [&]()-> CreateModelInvocationJobOutcome { + 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, CreateModelInvocationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/model-invocation-job"); + return CreateModelInvocationJobOutcome(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()}}); +} + CreateProvisionedModelThroughputOutcome BedrockClient::CreateProvisionedModelThroughput(const CreateProvisionedModelThroughputRequest& request) const { AWS_OPERATION_GUARD(CreateProvisionedModelThroughput); @@ -687,6 +718,39 @@ GetModelCustomizationJobOutcome BedrockClient::GetModelCustomizationJob(const Ge {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetModelInvocationJobOutcome BedrockClient::GetModelInvocationJob(const GetModelInvocationJobRequest& request) const +{ + AWS_OPERATION_GUARD(GetModelInvocationJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetModelInvocationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.JobIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetModelInvocationJob", "Required field: JobIdentifier, is not set"); + return GetModelInvocationJobOutcome(Aws::Client::AWSError(BedrockErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetModelInvocationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetModelInvocationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetModelInvocationJob", + {{ 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( + [&]()-> GetModelInvocationJobOutcome { + 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, GetModelInvocationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/model-invocation-job/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobIdentifier()); + return GetModelInvocationJobOutcome(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()}}); +} + GetModelInvocationLoggingConfigurationOutcome BedrockClient::GetModelInvocationLoggingConfiguration(const GetModelInvocationLoggingConfigurationRequest& request) const { AWS_OPERATION_GUARD(GetModelInvocationLoggingConfiguration); @@ -909,6 +973,33 @@ ListModelCustomizationJobsOutcome BedrockClient::ListModelCustomizationJobs(cons {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListModelInvocationJobsOutcome BedrockClient::ListModelInvocationJobs(const ListModelInvocationJobsRequest& request) const +{ + AWS_OPERATION_GUARD(ListModelInvocationJobs); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListModelInvocationJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListModelInvocationJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListModelInvocationJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListModelInvocationJobs", + {{ 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( + [&]()-> ListModelInvocationJobsOutcome { + 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, ListModelInvocationJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/model-invocation-jobs"); + return ListModelInvocationJobsOutcome(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()}}); +} + ListProvisionedModelThroughputsOutcome BedrockClient::ListProvisionedModelThroughputs(const ListProvisionedModelThroughputsRequest& request) const { AWS_OPERATION_GUARD(ListProvisionedModelThroughputs); @@ -1058,6 +1149,40 @@ StopModelCustomizationJobOutcome BedrockClient::StopModelCustomizationJob(const {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +StopModelInvocationJobOutcome BedrockClient::StopModelInvocationJob(const StopModelInvocationJobRequest& request) const +{ + AWS_OPERATION_GUARD(StopModelInvocationJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StopModelInvocationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.JobIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("StopModelInvocationJob", "Required field: JobIdentifier, is not set"); + return StopModelInvocationJobOutcome(Aws::Client::AWSError(BedrockErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StopModelInvocationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StopModelInvocationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StopModelInvocationJob", + {{ 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( + [&]()-> StopModelInvocationJobOutcome { + 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, StopModelInvocationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/model-invocation-job/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/stop"); + return StopModelInvocationJobOutcome(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 BedrockClient::TagResource(const TagResourceRequest& request) const { AWS_OPERATION_GUARD(TagResource); diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/CreateModelInvocationJobRequest.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/CreateModelInvocationJobRequest.cpp new file mode 100644 index 00000000000..8e92aecb967 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/CreateModelInvocationJobRequest.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::Bedrock::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateModelInvocationJobRequest::CreateModelInvocationJobRequest() : + m_jobNameHasBeenSet(false), + m_roleArnHasBeenSet(false), + m_clientRequestToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientRequestTokenHasBeenSet(true), + m_modelIdHasBeenSet(false), + m_inputDataConfigHasBeenSet(false), + m_outputDataConfigHasBeenSet(false), + m_timeoutDurationInHours(0), + m_timeoutDurationInHoursHasBeenSet(false), + m_tagsHasBeenSet(false) +{ +} + +Aws::String CreateModelInvocationJobRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_jobNameHasBeenSet) + { + payload.WithString("jobName", m_jobName); + + } + + if(m_roleArnHasBeenSet) + { + payload.WithString("roleArn", m_roleArn); + + } + + if(m_clientRequestTokenHasBeenSet) + { + payload.WithString("clientRequestToken", m_clientRequestToken); + + } + + if(m_modelIdHasBeenSet) + { + payload.WithString("modelId", m_modelId); + + } + + if(m_inputDataConfigHasBeenSet) + { + payload.WithObject("inputDataConfig", m_inputDataConfig.Jsonize()); + + } + + if(m_outputDataConfigHasBeenSet) + { + payload.WithObject("outputDataConfig", m_outputDataConfig.Jsonize()); + + } + + if(m_timeoutDurationInHoursHasBeenSet) + { + payload.WithInteger("timeoutDurationInHours", m_timeoutDurationInHours); + + } + + if(m_tagsHasBeenSet) + { + Aws::Utils::Array tagsJsonList(m_tags.size()); + for(unsigned tagsIndex = 0; tagsIndex < tagsJsonList.GetLength(); ++tagsIndex) + { + tagsJsonList[tagsIndex].AsObject(m_tags[tagsIndex].Jsonize()); + } + payload.WithArray("tags", std::move(tagsJsonList)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/CreateModelInvocationJobResult.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/CreateModelInvocationJobResult.cpp new file mode 100644 index 00000000000..a84f35aa777 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/CreateModelInvocationJobResult.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::Bedrock::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateModelInvocationJobResult::CreateModelInvocationJobResult() +{ +} + +CreateModelInvocationJobResult::CreateModelInvocationJobResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateModelInvocationJobResult& CreateModelInvocationJobResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("jobArn")) + { + m_jobArn = jsonValue.GetString("jobArn"); + + } + + + 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-bedrock/source/model/GetModelInvocationJobRequest.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/GetModelInvocationJobRequest.cpp new file mode 100644 index 00000000000..f63d6842391 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/GetModelInvocationJobRequest.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::Bedrock::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetModelInvocationJobRequest::GetModelInvocationJobRequest() : + m_jobIdentifierHasBeenSet(false) +{ +} + +Aws::String GetModelInvocationJobRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/GetModelInvocationJobResult.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/GetModelInvocationJobResult.cpp new file mode 100644 index 00000000000..c206ab455ce --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/GetModelInvocationJobResult.cpp @@ -0,0 +1,129 @@ +/** + * 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::Bedrock::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetModelInvocationJobResult::GetModelInvocationJobResult() : + m_status(ModelInvocationJobStatus::NOT_SET), + m_timeoutDurationInHours(0) +{ +} + +GetModelInvocationJobResult::GetModelInvocationJobResult(const Aws::AmazonWebServiceResult& result) + : GetModelInvocationJobResult() +{ + *this = result; +} + +GetModelInvocationJobResult& GetModelInvocationJobResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("jobArn")) + { + m_jobArn = jsonValue.GetString("jobArn"); + + } + + if(jsonValue.ValueExists("jobName")) + { + m_jobName = jsonValue.GetString("jobName"); + + } + + if(jsonValue.ValueExists("modelId")) + { + m_modelId = jsonValue.GetString("modelId"); + + } + + if(jsonValue.ValueExists("clientRequestToken")) + { + m_clientRequestToken = jsonValue.GetString("clientRequestToken"); + + } + + if(jsonValue.ValueExists("roleArn")) + { + m_roleArn = jsonValue.GetString("roleArn"); + + } + + if(jsonValue.ValueExists("status")) + { + m_status = ModelInvocationJobStatusMapper::GetModelInvocationJobStatusForName(jsonValue.GetString("status")); + + } + + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + } + + if(jsonValue.ValueExists("submitTime")) + { + m_submitTime = jsonValue.GetString("submitTime"); + + } + + if(jsonValue.ValueExists("lastModifiedTime")) + { + m_lastModifiedTime = jsonValue.GetString("lastModifiedTime"); + + } + + if(jsonValue.ValueExists("endTime")) + { + m_endTime = jsonValue.GetString("endTime"); + + } + + if(jsonValue.ValueExists("inputDataConfig")) + { + m_inputDataConfig = jsonValue.GetObject("inputDataConfig"); + + } + + if(jsonValue.ValueExists("outputDataConfig")) + { + m_outputDataConfig = jsonValue.GetObject("outputDataConfig"); + + } + + if(jsonValue.ValueExists("timeoutDurationInHours")) + { + m_timeoutDurationInHours = jsonValue.GetInteger("timeoutDurationInHours"); + + } + + if(jsonValue.ValueExists("jobExpirationTime")) + { + m_jobExpirationTime = jsonValue.GetString("jobExpirationTime"); + + } + + + 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-bedrock/source/model/ListModelInvocationJobsRequest.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/ListModelInvocationJobsRequest.cpp new file mode 100644 index 00000000000..d6689870f65 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/ListModelInvocationJobsRequest.cpp @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Bedrock::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListModelInvocationJobsRequest::ListModelInvocationJobsRequest() : + m_submitTimeAfterHasBeenSet(false), + m_submitTimeBeforeHasBeenSet(false), + m_statusEquals(ModelInvocationJobStatus::NOT_SET), + m_statusEqualsHasBeenSet(false), + m_nameContainsHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_sortBy(SortJobsBy::NOT_SET), + m_sortByHasBeenSet(false), + m_sortOrder(SortOrder::NOT_SET), + m_sortOrderHasBeenSet(false) +{ +} + +Aws::String ListModelInvocationJobsRequest::SerializePayload() const +{ + return {}; +} + +void ListModelInvocationJobsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_submitTimeAfterHasBeenSet) + { + ss << m_submitTimeAfter.ToGmtString(Aws::Utils::DateFormat::ISO_8601); + uri.AddQueryStringParameter("submitTimeAfter", ss.str()); + ss.str(""); + } + + if(m_submitTimeBeforeHasBeenSet) + { + ss << m_submitTimeBefore.ToGmtString(Aws::Utils::DateFormat::ISO_8601); + uri.AddQueryStringParameter("submitTimeBefore", ss.str()); + ss.str(""); + } + + if(m_statusEqualsHasBeenSet) + { + ss << ModelInvocationJobStatusMapper::GetNameForModelInvocationJobStatus(m_statusEquals); + uri.AddQueryStringParameter("statusEquals", ss.str()); + ss.str(""); + } + + if(m_nameContainsHasBeenSet) + { + ss << m_nameContains; + uri.AddQueryStringParameter("nameContains", 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_sortByHasBeenSet) + { + ss << SortJobsByMapper::GetNameForSortJobsBy(m_sortBy); + uri.AddQueryStringParameter("sortBy", ss.str()); + ss.str(""); + } + + if(m_sortOrderHasBeenSet) + { + ss << SortOrderMapper::GetNameForSortOrder(m_sortOrder); + uri.AddQueryStringParameter("sortOrder", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/ListModelInvocationJobsResult.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/ListModelInvocationJobsResult.cpp new file mode 100644 index 00000000000..283bfb16ad9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/ListModelInvocationJobsResult.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::Bedrock::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListModelInvocationJobsResult::ListModelInvocationJobsResult() +{ +} + +ListModelInvocationJobsResult::ListModelInvocationJobsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListModelInvocationJobsResult& ListModelInvocationJobsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("invocationJobSummaries")) + { + Aws::Utils::Array invocationJobSummariesJsonList = jsonValue.GetArray("invocationJobSummaries"); + for(unsigned invocationJobSummariesIndex = 0; invocationJobSummariesIndex < invocationJobSummariesJsonList.GetLength(); ++invocationJobSummariesIndex) + { + m_invocationJobSummaries.push_back(invocationJobSummariesJsonList[invocationJobSummariesIndex].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-bedrock/source/model/ModelInvocationJobInputDataConfig.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/ModelInvocationJobInputDataConfig.cpp new file mode 100644 index 00000000000..434b2881ebf --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/ModelInvocationJobInputDataConfig.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 Bedrock +{ +namespace Model +{ + +ModelInvocationJobInputDataConfig::ModelInvocationJobInputDataConfig() : + m_s3InputDataConfigHasBeenSet(false) +{ +} + +ModelInvocationJobInputDataConfig::ModelInvocationJobInputDataConfig(JsonView jsonValue) + : ModelInvocationJobInputDataConfig() +{ + *this = jsonValue; +} + +ModelInvocationJobInputDataConfig& ModelInvocationJobInputDataConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("s3InputDataConfig")) + { + m_s3InputDataConfig = jsonValue.GetObject("s3InputDataConfig"); + + m_s3InputDataConfigHasBeenSet = true; + } + + return *this; +} + +JsonValue ModelInvocationJobInputDataConfig::Jsonize() const +{ + JsonValue payload; + + if(m_s3InputDataConfigHasBeenSet) + { + payload.WithObject("s3InputDataConfig", m_s3InputDataConfig.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/ModelInvocationJobOutputDataConfig.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/ModelInvocationJobOutputDataConfig.cpp new file mode 100644 index 00000000000..51eff4324b0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/ModelInvocationJobOutputDataConfig.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 Bedrock +{ +namespace Model +{ + +ModelInvocationJobOutputDataConfig::ModelInvocationJobOutputDataConfig() : + m_s3OutputDataConfigHasBeenSet(false) +{ +} + +ModelInvocationJobOutputDataConfig::ModelInvocationJobOutputDataConfig(JsonView jsonValue) + : ModelInvocationJobOutputDataConfig() +{ + *this = jsonValue; +} + +ModelInvocationJobOutputDataConfig& ModelInvocationJobOutputDataConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("s3OutputDataConfig")) + { + m_s3OutputDataConfig = jsonValue.GetObject("s3OutputDataConfig"); + + m_s3OutputDataConfigHasBeenSet = true; + } + + return *this; +} + +JsonValue ModelInvocationJobOutputDataConfig::Jsonize() const +{ + JsonValue payload; + + if(m_s3OutputDataConfigHasBeenSet) + { + payload.WithObject("s3OutputDataConfig", m_s3OutputDataConfig.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/ModelInvocationJobS3InputDataConfig.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/ModelInvocationJobS3InputDataConfig.cpp new file mode 100644 index 00000000000..f575b974909 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/ModelInvocationJobS3InputDataConfig.cpp @@ -0,0 +1,73 @@ +/** + * 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 Bedrock +{ +namespace Model +{ + +ModelInvocationJobS3InputDataConfig::ModelInvocationJobS3InputDataConfig() : + m_s3InputFormat(S3InputFormat::NOT_SET), + m_s3InputFormatHasBeenSet(false), + m_s3UriHasBeenSet(false) +{ +} + +ModelInvocationJobS3InputDataConfig::ModelInvocationJobS3InputDataConfig(JsonView jsonValue) + : ModelInvocationJobS3InputDataConfig() +{ + *this = jsonValue; +} + +ModelInvocationJobS3InputDataConfig& ModelInvocationJobS3InputDataConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("s3InputFormat")) + { + m_s3InputFormat = S3InputFormatMapper::GetS3InputFormatForName(jsonValue.GetString("s3InputFormat")); + + m_s3InputFormatHasBeenSet = true; + } + + if(jsonValue.ValueExists("s3Uri")) + { + m_s3Uri = jsonValue.GetString("s3Uri"); + + m_s3UriHasBeenSet = true; + } + + return *this; +} + +JsonValue ModelInvocationJobS3InputDataConfig::Jsonize() const +{ + JsonValue payload; + + if(m_s3InputFormatHasBeenSet) + { + payload.WithString("s3InputFormat", S3InputFormatMapper::GetNameForS3InputFormat(m_s3InputFormat)); + } + + if(m_s3UriHasBeenSet) + { + payload.WithString("s3Uri", m_s3Uri); + + } + + return payload; +} + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/ModelInvocationJobS3OutputDataConfig.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/ModelInvocationJobS3OutputDataConfig.cpp new file mode 100644 index 00000000000..ce7d83ad994 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/ModelInvocationJobS3OutputDataConfig.cpp @@ -0,0 +1,73 @@ +/** + * 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 Bedrock +{ +namespace Model +{ + +ModelInvocationJobS3OutputDataConfig::ModelInvocationJobS3OutputDataConfig() : + m_s3UriHasBeenSet(false), + m_s3EncryptionKeyIdHasBeenSet(false) +{ +} + +ModelInvocationJobS3OutputDataConfig::ModelInvocationJobS3OutputDataConfig(JsonView jsonValue) + : ModelInvocationJobS3OutputDataConfig() +{ + *this = jsonValue; +} + +ModelInvocationJobS3OutputDataConfig& ModelInvocationJobS3OutputDataConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("s3Uri")) + { + m_s3Uri = jsonValue.GetString("s3Uri"); + + m_s3UriHasBeenSet = true; + } + + if(jsonValue.ValueExists("s3EncryptionKeyId")) + { + m_s3EncryptionKeyId = jsonValue.GetString("s3EncryptionKeyId"); + + m_s3EncryptionKeyIdHasBeenSet = true; + } + + return *this; +} + +JsonValue ModelInvocationJobS3OutputDataConfig::Jsonize() const +{ + JsonValue payload; + + if(m_s3UriHasBeenSet) + { + payload.WithString("s3Uri", m_s3Uri); + + } + + if(m_s3EncryptionKeyIdHasBeenSet) + { + payload.WithString("s3EncryptionKeyId", m_s3EncryptionKeyId); + + } + + return payload; +} + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/ModelInvocationJobStatus.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/ModelInvocationJobStatus.cpp new file mode 100644 index 00000000000..584650c70b0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/ModelInvocationJobStatus.cpp @@ -0,0 +1,128 @@ +/** + * 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 Bedrock + { + namespace Model + { + namespace ModelInvocationJobStatusMapper + { + + static const int Submitted_HASH = HashingUtils::HashString("Submitted"); + static const int InProgress_HASH = HashingUtils::HashString("InProgress"); + static const int Completed_HASH = HashingUtils::HashString("Completed"); + static const int Failed_HASH = HashingUtils::HashString("Failed"); + static const int Stopping_HASH = HashingUtils::HashString("Stopping"); + static const int Stopped_HASH = HashingUtils::HashString("Stopped"); + static const int PartiallyCompleted_HASH = HashingUtils::HashString("PartiallyCompleted"); + static const int Expired_HASH = HashingUtils::HashString("Expired"); + static const int Validating_HASH = HashingUtils::HashString("Validating"); + static const int Scheduled_HASH = HashingUtils::HashString("Scheduled"); + + + ModelInvocationJobStatus GetModelInvocationJobStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == Submitted_HASH) + { + return ModelInvocationJobStatus::Submitted; + } + else if (hashCode == InProgress_HASH) + { + return ModelInvocationJobStatus::InProgress; + } + else if (hashCode == Completed_HASH) + { + return ModelInvocationJobStatus::Completed; + } + else if (hashCode == Failed_HASH) + { + return ModelInvocationJobStatus::Failed; + } + else if (hashCode == Stopping_HASH) + { + return ModelInvocationJobStatus::Stopping; + } + else if (hashCode == Stopped_HASH) + { + return ModelInvocationJobStatus::Stopped; + } + else if (hashCode == PartiallyCompleted_HASH) + { + return ModelInvocationJobStatus::PartiallyCompleted; + } + else if (hashCode == Expired_HASH) + { + return ModelInvocationJobStatus::Expired; + } + else if (hashCode == Validating_HASH) + { + return ModelInvocationJobStatus::Validating; + } + else if (hashCode == Scheduled_HASH) + { + return ModelInvocationJobStatus::Scheduled; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ModelInvocationJobStatus::NOT_SET; + } + + Aws::String GetNameForModelInvocationJobStatus(ModelInvocationJobStatus enumValue) + { + switch(enumValue) + { + case ModelInvocationJobStatus::NOT_SET: + return {}; + case ModelInvocationJobStatus::Submitted: + return "Submitted"; + case ModelInvocationJobStatus::InProgress: + return "InProgress"; + case ModelInvocationJobStatus::Completed: + return "Completed"; + case ModelInvocationJobStatus::Failed: + return "Failed"; + case ModelInvocationJobStatus::Stopping: + return "Stopping"; + case ModelInvocationJobStatus::Stopped: + return "Stopped"; + case ModelInvocationJobStatus::PartiallyCompleted: + return "PartiallyCompleted"; + case ModelInvocationJobStatus::Expired: + return "Expired"; + case ModelInvocationJobStatus::Validating: + return "Validating"; + case ModelInvocationJobStatus::Scheduled: + return "Scheduled"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ModelInvocationJobStatusMapper + } // namespace Model + } // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/ModelInvocationJobSummary.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/ModelInvocationJobSummary.cpp new file mode 100644 index 00000000000..dad6d4d984b --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/ModelInvocationJobSummary.cpp @@ -0,0 +1,238 @@ +/** + * 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 Bedrock +{ +namespace Model +{ + +ModelInvocationJobSummary::ModelInvocationJobSummary() : + m_jobArnHasBeenSet(false), + m_jobNameHasBeenSet(false), + m_modelIdHasBeenSet(false), + m_clientRequestTokenHasBeenSet(false), + m_roleArnHasBeenSet(false), + m_status(ModelInvocationJobStatus::NOT_SET), + m_statusHasBeenSet(false), + m_messageHasBeenSet(false), + m_submitTimeHasBeenSet(false), + m_lastModifiedTimeHasBeenSet(false), + m_endTimeHasBeenSet(false), + m_inputDataConfigHasBeenSet(false), + m_outputDataConfigHasBeenSet(false), + m_timeoutDurationInHours(0), + m_timeoutDurationInHoursHasBeenSet(false), + m_jobExpirationTimeHasBeenSet(false) +{ +} + +ModelInvocationJobSummary::ModelInvocationJobSummary(JsonView jsonValue) + : ModelInvocationJobSummary() +{ + *this = jsonValue; +} + +ModelInvocationJobSummary& ModelInvocationJobSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("jobArn")) + { + m_jobArn = jsonValue.GetString("jobArn"); + + m_jobArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobName")) + { + m_jobName = jsonValue.GetString("jobName"); + + m_jobNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("modelId")) + { + m_modelId = jsonValue.GetString("modelId"); + + m_modelIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("clientRequestToken")) + { + m_clientRequestToken = jsonValue.GetString("clientRequestToken"); + + m_clientRequestTokenHasBeenSet = true; + } + + if(jsonValue.ValueExists("roleArn")) + { + m_roleArn = jsonValue.GetString("roleArn"); + + m_roleArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = ModelInvocationJobStatusMapper::GetModelInvocationJobStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("submitTime")) + { + m_submitTime = jsonValue.GetString("submitTime"); + + m_submitTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("lastModifiedTime")) + { + m_lastModifiedTime = jsonValue.GetString("lastModifiedTime"); + + m_lastModifiedTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("endTime")) + { + m_endTime = jsonValue.GetString("endTime"); + + m_endTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("inputDataConfig")) + { + m_inputDataConfig = jsonValue.GetObject("inputDataConfig"); + + m_inputDataConfigHasBeenSet = true; + } + + if(jsonValue.ValueExists("outputDataConfig")) + { + m_outputDataConfig = jsonValue.GetObject("outputDataConfig"); + + m_outputDataConfigHasBeenSet = true; + } + + if(jsonValue.ValueExists("timeoutDurationInHours")) + { + m_timeoutDurationInHours = jsonValue.GetInteger("timeoutDurationInHours"); + + m_timeoutDurationInHoursHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobExpirationTime")) + { + m_jobExpirationTime = jsonValue.GetString("jobExpirationTime"); + + m_jobExpirationTimeHasBeenSet = true; + } + + return *this; +} + +JsonValue ModelInvocationJobSummary::Jsonize() const +{ + JsonValue payload; + + if(m_jobArnHasBeenSet) + { + payload.WithString("jobArn", m_jobArn); + + } + + if(m_jobNameHasBeenSet) + { + payload.WithString("jobName", m_jobName); + + } + + if(m_modelIdHasBeenSet) + { + payload.WithString("modelId", m_modelId); + + } + + if(m_clientRequestTokenHasBeenSet) + { + payload.WithString("clientRequestToken", m_clientRequestToken); + + } + + if(m_roleArnHasBeenSet) + { + payload.WithString("roleArn", m_roleArn); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", ModelInvocationJobStatusMapper::GetNameForModelInvocationJobStatus(m_status)); + } + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + if(m_submitTimeHasBeenSet) + { + payload.WithString("submitTime", m_submitTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_lastModifiedTimeHasBeenSet) + { + payload.WithString("lastModifiedTime", m_lastModifiedTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_endTimeHasBeenSet) + { + payload.WithString("endTime", m_endTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_inputDataConfigHasBeenSet) + { + payload.WithObject("inputDataConfig", m_inputDataConfig.Jsonize()); + + } + + if(m_outputDataConfigHasBeenSet) + { + payload.WithObject("outputDataConfig", m_outputDataConfig.Jsonize()); + + } + + if(m_timeoutDurationInHoursHasBeenSet) + { + payload.WithInteger("timeoutDurationInHours", m_timeoutDurationInHours); + + } + + if(m_jobExpirationTimeHasBeenSet) + { + payload.WithString("jobExpirationTime", m_jobExpirationTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + return payload; +} + +} // namespace Model +} // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/S3InputFormat.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/S3InputFormat.cpp new file mode 100644 index 00000000000..65838ea80c8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/S3InputFormat.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 Bedrock + { + namespace Model + { + namespace S3InputFormatMapper + { + + static const int JSONL_HASH = HashingUtils::HashString("JSONL"); + + + S3InputFormat GetS3InputFormatForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == JSONL_HASH) + { + return S3InputFormat::JSONL; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return S3InputFormat::NOT_SET; + } + + Aws::String GetNameForS3InputFormat(S3InputFormat enumValue) + { + switch(enumValue) + { + case S3InputFormat::NOT_SET: + return {}; + case S3InputFormat::JSONL: + return "JSONL"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace S3InputFormatMapper + } // namespace Model + } // namespace Bedrock +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/StopModelInvocationJobRequest.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/StopModelInvocationJobRequest.cpp new file mode 100644 index 00000000000..4e84a562905 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/StopModelInvocationJobRequest.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::Bedrock::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +StopModelInvocationJobRequest::StopModelInvocationJobRequest() : + m_jobIdentifierHasBeenSet(false) +{ +} + +Aws::String StopModelInvocationJobRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/StopModelInvocationJobResult.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/StopModelInvocationJobResult.cpp new file mode 100644 index 00000000000..c833d9f5565 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock/source/model/StopModelInvocationJobResult.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::Bedrock::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +StopModelInvocationJobResult::StopModelInvocationJobResult() +{ +} + +StopModelInvocationJobResult::StopModelInvocationJobResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +StopModelInvocationJobResult& StopModelInvocationJobResult::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-codebuild/include/aws/codebuild/model/CreateFleetRequest.h b/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/CreateFleetRequest.h index e8e80aaf9f0..88f373a9a87 100644 --- a/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/CreateFleetRequest.h +++ b/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/CreateFleetRequest.h @@ -180,6 +180,20 @@ namespace Model inline CreateFleetRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} ///@} + ///@{ + /** + *

The Amazon Machine Image (AMI) of the compute fleet.

+ */ + inline const Aws::String& GetImageId() const{ return m_imageId; } + inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; } + inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; } + inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); } + inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); } + inline CreateFleetRequest& WithImageId(const Aws::String& value) { SetImageId(value); return *this;} + inline CreateFleetRequest& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;} + inline CreateFleetRequest& WithImageId(const char* value) { SetImageId(value); return *this;} + ///@} + ///@{ /** *

The service role associated with the compute fleet. For more information, see @@ -236,6 +250,9 @@ namespace Model VpcConfig m_vpcConfig; bool m_vpcConfigHasBeenSet = false; + Aws::String m_imageId; + bool m_imageIdHasBeenSet = false; + Aws::String m_fleetServiceRole; bool m_fleetServiceRoleHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/EnvironmentType.h b/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/EnvironmentType.h index 819d3a388f4..ab77d22d5aa 100644 --- a/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/EnvironmentType.h +++ b/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/EnvironmentType.h @@ -22,7 +22,8 @@ namespace Model ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER, LINUX_LAMBDA_CONTAINER, - ARM_LAMBDA_CONTAINER + ARM_LAMBDA_CONTAINER, + MAC_ARM }; namespace EnvironmentTypeMapper diff --git a/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/Fleet.h b/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/Fleet.h index 7bf3b18c361..146384ea6c4 100644 --- a/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/Fleet.h +++ b/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/Fleet.h @@ -250,6 +250,20 @@ namespace Model inline Fleet& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} ///@} + ///@{ + /** + *

The Amazon Machine Image (AMI) of the compute fleet.

+ */ + inline const Aws::String& GetImageId() const{ return m_imageId; } + inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; } + inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; } + inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); } + inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); } + inline Fleet& WithImageId(const Aws::String& value) { SetImageId(value); return *this;} + inline Fleet& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;} + inline Fleet& WithImageId(const char* value) { SetImageId(value); return *this;} + ///@} + ///@{ /** *

The service role associated with the compute fleet. For more information, see @@ -321,6 +335,9 @@ namespace Model VpcConfig m_vpcConfig; bool m_vpcConfigHasBeenSet = false; + Aws::String m_imageId; + bool m_imageIdHasBeenSet = false; + Aws::String m_fleetServiceRole; bool m_fleetServiceRoleHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/FleetContextCode.h b/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/FleetContextCode.h index f34f3491274..e54b3ab1cf6 100644 --- a/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/FleetContextCode.h +++ b/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/FleetContextCode.h @@ -18,7 +18,9 @@ namespace Model NOT_SET, CREATE_FAILED, UPDATE_FAILED, - ACTION_REQUIRED + ACTION_REQUIRED, + PENDING_DELETION, + INSUFFICIENT_CAPACITY }; namespace FleetContextCodeMapper diff --git a/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/UpdateFleetRequest.h b/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/UpdateFleetRequest.h index 19f95dfce92..37b20c5ef69 100644 --- a/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/UpdateFleetRequest.h +++ b/generated/src/aws-cpp-sdk-codebuild/include/aws/codebuild/model/UpdateFleetRequest.h @@ -180,6 +180,20 @@ namespace Model inline UpdateFleetRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} ///@} + ///@{ + /** + *

The Amazon Machine Image (AMI) of the compute fleet.

+ */ + inline const Aws::String& GetImageId() const{ return m_imageId; } + inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; } + inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; } + inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); } + inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); } + inline UpdateFleetRequest& WithImageId(const Aws::String& value) { SetImageId(value); return *this;} + inline UpdateFleetRequest& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;} + inline UpdateFleetRequest& WithImageId(const char* value) { SetImageId(value); return *this;} + ///@} + ///@{ /** *

The service role associated with the compute fleet. For more information, see @@ -236,6 +250,9 @@ namespace Model VpcConfig m_vpcConfig; bool m_vpcConfigHasBeenSet = false; + Aws::String m_imageId; + bool m_imageIdHasBeenSet = false; + Aws::String m_fleetServiceRole; bool m_fleetServiceRoleHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-codebuild/source/model/CreateFleetRequest.cpp b/generated/src/aws-cpp-sdk-codebuild/source/model/CreateFleetRequest.cpp index b82b2cde95f..e571c9d377e 100644 --- a/generated/src/aws-cpp-sdk-codebuild/source/model/CreateFleetRequest.cpp +++ b/generated/src/aws-cpp-sdk-codebuild/source/model/CreateFleetRequest.cpp @@ -24,6 +24,7 @@ CreateFleetRequest::CreateFleetRequest() : m_overflowBehavior(FleetOverflowBehavior::NOT_SET), m_overflowBehaviorHasBeenSet(false), m_vpcConfigHasBeenSet(false), + m_imageIdHasBeenSet(false), m_fleetServiceRoleHasBeenSet(false), m_tagsHasBeenSet(false) { @@ -72,6 +73,12 @@ Aws::String CreateFleetRequest::SerializePayload() const } + if(m_imageIdHasBeenSet) + { + payload.WithString("imageId", m_imageId); + + } + if(m_fleetServiceRoleHasBeenSet) { payload.WithString("fleetServiceRole", m_fleetServiceRole); diff --git a/generated/src/aws-cpp-sdk-codebuild/source/model/EnvironmentType.cpp b/generated/src/aws-cpp-sdk-codebuild/source/model/EnvironmentType.cpp index 0c963cc440c..904e9902d84 100644 --- a/generated/src/aws-cpp-sdk-codebuild/source/model/EnvironmentType.cpp +++ b/generated/src/aws-cpp-sdk-codebuild/source/model/EnvironmentType.cpp @@ -27,6 +27,7 @@ namespace Aws static const int WINDOWS_SERVER_2019_CONTAINER_HASH = HashingUtils::HashString("WINDOWS_SERVER_2019_CONTAINER"); static const int LINUX_LAMBDA_CONTAINER_HASH = HashingUtils::HashString("LINUX_LAMBDA_CONTAINER"); static const int ARM_LAMBDA_CONTAINER_HASH = HashingUtils::HashString("ARM_LAMBDA_CONTAINER"); + static const int MAC_ARM_HASH = HashingUtils::HashString("MAC_ARM"); EnvironmentType GetEnvironmentTypeForName(const Aws::String& name) @@ -60,6 +61,10 @@ namespace Aws { return EnvironmentType::ARM_LAMBDA_CONTAINER; } + else if (hashCode == MAC_ARM_HASH) + { + return EnvironmentType::MAC_ARM; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -90,6 +95,8 @@ namespace Aws return "LINUX_LAMBDA_CONTAINER"; case EnvironmentType::ARM_LAMBDA_CONTAINER: return "ARM_LAMBDA_CONTAINER"; + case EnvironmentType::MAC_ARM: + return "MAC_ARM"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-codebuild/source/model/Fleet.cpp b/generated/src/aws-cpp-sdk-codebuild/source/model/Fleet.cpp index 0bbde7af159..9ef4ae3d37e 100644 --- a/generated/src/aws-cpp-sdk-codebuild/source/model/Fleet.cpp +++ b/generated/src/aws-cpp-sdk-codebuild/source/model/Fleet.cpp @@ -35,6 +35,7 @@ Fleet::Fleet() : m_overflowBehavior(FleetOverflowBehavior::NOT_SET), m_overflowBehaviorHasBeenSet(false), m_vpcConfigHasBeenSet(false), + m_imageIdHasBeenSet(false), m_fleetServiceRoleHasBeenSet(false), m_tagsHasBeenSet(false) { @@ -132,6 +133,13 @@ Fleet& Fleet::operator =(JsonView jsonValue) m_vpcConfigHasBeenSet = true; } + if(jsonValue.ValueExists("imageId")) + { + m_imageId = jsonValue.GetString("imageId"); + + m_imageIdHasBeenSet = true; + } + if(jsonValue.ValueExists("fleetServiceRole")) { m_fleetServiceRole = jsonValue.GetString("fleetServiceRole"); @@ -223,6 +231,12 @@ JsonValue Fleet::Jsonize() const } + if(m_imageIdHasBeenSet) + { + payload.WithString("imageId", m_imageId); + + } + if(m_fleetServiceRoleHasBeenSet) { payload.WithString("fleetServiceRole", m_fleetServiceRole); diff --git a/generated/src/aws-cpp-sdk-codebuild/source/model/FleetContextCode.cpp b/generated/src/aws-cpp-sdk-codebuild/source/model/FleetContextCode.cpp index 34ca224c44d..2fb39a9ddd9 100644 --- a/generated/src/aws-cpp-sdk-codebuild/source/model/FleetContextCode.cpp +++ b/generated/src/aws-cpp-sdk-codebuild/source/model/FleetContextCode.cpp @@ -23,6 +23,8 @@ namespace Aws static const int CREATE_FAILED_HASH = HashingUtils::HashString("CREATE_FAILED"); static const int UPDATE_FAILED_HASH = HashingUtils::HashString("UPDATE_FAILED"); static const int ACTION_REQUIRED_HASH = HashingUtils::HashString("ACTION_REQUIRED"); + static const int PENDING_DELETION_HASH = HashingUtils::HashString("PENDING_DELETION"); + static const int INSUFFICIENT_CAPACITY_HASH = HashingUtils::HashString("INSUFFICIENT_CAPACITY"); FleetContextCode GetFleetContextCodeForName(const Aws::String& name) @@ -40,6 +42,14 @@ namespace Aws { return FleetContextCode::ACTION_REQUIRED; } + else if (hashCode == PENDING_DELETION_HASH) + { + return FleetContextCode::PENDING_DELETION; + } + else if (hashCode == INSUFFICIENT_CAPACITY_HASH) + { + return FleetContextCode::INSUFFICIENT_CAPACITY; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -62,6 +72,10 @@ namespace Aws return "UPDATE_FAILED"; case FleetContextCode::ACTION_REQUIRED: return "ACTION_REQUIRED"; + case FleetContextCode::PENDING_DELETION: + return "PENDING_DELETION"; + case FleetContextCode::INSUFFICIENT_CAPACITY: + return "INSUFFICIENT_CAPACITY"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-codebuild/source/model/UpdateFleetRequest.cpp b/generated/src/aws-cpp-sdk-codebuild/source/model/UpdateFleetRequest.cpp index 92b30ca57b2..07299608dd7 100644 --- a/generated/src/aws-cpp-sdk-codebuild/source/model/UpdateFleetRequest.cpp +++ b/generated/src/aws-cpp-sdk-codebuild/source/model/UpdateFleetRequest.cpp @@ -24,6 +24,7 @@ UpdateFleetRequest::UpdateFleetRequest() : m_overflowBehavior(FleetOverflowBehavior::NOT_SET), m_overflowBehaviorHasBeenSet(false), m_vpcConfigHasBeenSet(false), + m_imageIdHasBeenSet(false), m_fleetServiceRoleHasBeenSet(false), m_tagsHasBeenSet(false) { @@ -72,6 +73,12 @@ Aws::String UpdateFleetRequest::SerializePayload() const } + if(m_imageIdHasBeenSet) + { + payload.WithString("imageId", m_imageId); + + } + if(m_fleetServiceRoleHasBeenSet) { payload.WithString("fleetServiceRole", m_fleetServiceRole); 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 index eb6b9cae878..1d0e375d856 100644 --- a/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineClient.h +++ b/generated/src/aws-cpp-sdk-deadline/include/aws/deadline/DeadlineClient.h @@ -446,9 +446,10 @@ namespace deadline } /** - *

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:

- * Creates a job. A job is a set of instructions that AWS Deadline Cloud uses to + * schedule and run work on available workers. For more information, see Deadline + * Cloud jobs.

See Also:

AWS * API Reference

*/ @@ -811,7 +812,9 @@ namespace deadline } /** - *

Deletes a queue.

See Also:

Deletes a queue.

You can't recover the jobs in a queue if + * you delete the queue. Deleting the queue also deletes the jobs in that + * queue.

See Also:

AWS * API Reference

*/ @@ -2243,7 +2246,10 @@ namespace deadline /** *

Starts an asynchronous request for getting aggregated statistics about queues * and farms. Get the statistics using the - * GetSessionsStatisticsAggregation operation. Statistics are + * GetSessionsStatisticsAggregation operation. You can only have one + * running aggregation for your Deadline Cloud farm. Call the + * GetSessionsStatisticsAggregation operation and check the + * status field to see if an aggregation is running. Statistics are * available for 1 hour after you call the * StartSessionsStatisticsAggregation operation.

See * Also:

Updates a job.

See Also:

Updates a job.

When you change the status of the job to + * ARCHIVED, the job can't be scheduled or archived.

+ *

An archived jobs and its steps and tasks are deleted after 120 days. The job + * can't be recovered.

See Also:

AWS * API Reference

*/ 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 index d50b390cd31..6a6c1e2c4b4 100644 --- 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 @@ -35,16 +35,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

The maximum GPU for the accelerator.

- */ - inline int GetMax() const{ return m_max; } - inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } - inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; } - inline AcceleratorCountRange& WithMax(int value) { SetMax(value); return *this;} - ///@} - ///@{ /** *

The minimum GPU for the accelerator.

@@ -54,13 +44,23 @@ namespace Model inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; } inline AcceleratorCountRange& WithMin(int value) { SetMin(value); return *this;} ///@} - private: - int m_max; - bool m_maxHasBeenSet = false; + ///@{ + /** + *

The maximum GPU for the accelerator.

+ */ + inline int GetMax() const{ return m_max; } + inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } + inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; } + inline AcceleratorCountRange& WithMax(int value) { SetMax(value); return *this;} + ///@} + private: int m_min; bool m_minHasBeenSet = false; + + int m_max; + bool m_maxHasBeenSet = false; }; } // namespace Model 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 index 3b188ed2813..77a1b2ede56 100644 --- 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 @@ -36,16 +36,6 @@ namespace Model 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; } - inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } - inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; } - inline AcceleratorTotalMemoryMiBRange& WithMax(int value) { SetMax(value); return *this;} - ///@} - ///@{ /** *

The minimum amount of memory to use for the accelerator, measured in MiB.

@@ -55,13 +45,23 @@ namespace Model inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; } inline AcceleratorTotalMemoryMiBRange& WithMin(int value) { SetMin(value); return *this;} ///@} - private: - int m_max; - bool m_maxHasBeenSet = false; + ///@{ + /** + *

The maximum amount of memory to use for the accelerator, measured in MiB.

+ */ + inline int GetMax() const{ return m_max; } + inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } + inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; } + inline AcceleratorTotalMemoryMiBRange& WithMax(int value) { SetMax(value); return *this;} + ///@} + private: int m_min; bool m_minHasBeenSet = false; + + int m_max; + bool m_maxHasBeenSet = false; }; } // namespace Model 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 index adfc3456a5b..e9180e19664 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -39,6 +39,18 @@ namespace Model 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 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;} + ///@} + ///@{ /** *

Information about the resources in use when the exception was thrown.

@@ -57,25 +69,13 @@ namespace Model inline AccessDeniedException& AddContext(Aws::String&& key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } 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; + + Aws::Map m_context; + bool m_contextHasBeenSet = false; }; } // namespace Model 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 index b19d3eed4a8..95f170bd6f5 100644 --- 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 @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include #include @@ -40,32 +40,6 @@ namespace Model 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; } - inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } - inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } - inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } - inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } - inline AssignedSession& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} - inline AssignedSession& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} - 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; } - inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; } - inline void SetLogConfiguration(const LogConfiguration& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = value; } - inline void SetLogConfiguration(LogConfiguration&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::move(value); } - inline AssignedSession& WithLogConfiguration(const LogConfiguration& value) { SetLogConfiguration(value); return *this;} - inline AssignedSession& WithLogConfiguration(LogConfiguration&& value) { SetLogConfiguration(std::move(value)); return *this;} - ///@} - ///@{ /** *

The queue ID of the assigned session.

@@ -80,6 +54,20 @@ namespace Model inline AssignedSession& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} + ///@{ + /** + *

The job ID for the assigned session.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + inline AssignedSession& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + inline AssignedSession& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + inline AssignedSession& WithJobId(const char* value) { SetJobId(value); return *this;} + ///@} + ///@{ /** *

The session actions to apply to the assigned session.

@@ -93,19 +81,31 @@ namespace Model inline AssignedSession& AddSessionActions(const AssignedSessionAction& value) { m_sessionActionsHasBeenSet = true; m_sessionActions.push_back(value); return *this; } 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; + ///@{ + /** + *

The log configuration for the worker's assigned session.

+ */ + inline const LogConfiguration& GetLogConfiguration() const{ return m_logConfiguration; } + inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; } + inline void SetLogConfiguration(const LogConfiguration& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = value; } + inline void SetLogConfiguration(LogConfiguration&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::move(value); } + inline AssignedSession& WithLogConfiguration(const LogConfiguration& value) { SetLogConfiguration(value); return *this;} + inline AssignedSession& WithLogConfiguration(LogConfiguration&& value) { SetLogConfiguration(std::move(value)); return *this;} + ///@} + private: Aws::String m_queueId; bool m_queueIdHasBeenSet = false; + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + Aws::Vector m_sessionActions; bool m_sessionActionsHasBeenSet = false; + + LogConfiguration m_logConfiguration; + bool m_logConfigurationHasBeenSet = false; }; } // namespace Model 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 index d41454236b5..a7f3cb23886 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -39,18 +39,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

The definition of the assigned session action.

- */ - inline const AssignedSessionActionDefinition& GetDefinition() const{ return m_definition; } - inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; } - inline void SetDefinition(const AssignedSessionActionDefinition& value) { m_definitionHasBeenSet = true; m_definition = value; } - inline void SetDefinition(AssignedSessionActionDefinition&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); } - inline AssignedSessionAction& WithDefinition(const AssignedSessionActionDefinition& value) { SetDefinition(value); return *this;} - inline AssignedSessionAction& WithDefinition(AssignedSessionActionDefinition&& value) { SetDefinition(std::move(value)); return *this;} - ///@} - ///@{ /** *

The session action ID for the assigned session.

@@ -64,13 +52,25 @@ namespace Model inline AssignedSessionAction& WithSessionActionId(Aws::String&& value) { SetSessionActionId(std::move(value)); return *this;} inline AssignedSessionAction& WithSessionActionId(const char* value) { SetSessionActionId(value); return *this;} ///@} - private: - AssignedSessionActionDefinition m_definition; - bool m_definitionHasBeenSet = false; + ///@{ + /** + *

The definition of the assigned session action.

+ */ + inline const AssignedSessionActionDefinition& GetDefinition() const{ return m_definition; } + inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; } + inline void SetDefinition(const AssignedSessionActionDefinition& value) { m_definitionHasBeenSet = true; m_definition = value; } + inline void SetDefinition(AssignedSessionActionDefinition&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); } + inline AssignedSessionAction& WithDefinition(const AssignedSessionActionDefinition& value) { SetDefinition(value); return *this;} + inline AssignedSessionAction& WithDefinition(AssignedSessionActionDefinition&& value) { SetDefinition(std::move(value)); return *this;} + ///@} + private: Aws::String m_sessionActionId; bool m_sessionActionIdHasBeenSet = false; + + AssignedSessionActionDefinition m_definition; + bool m_definitionHasBeenSet = false; }; } // namespace Model 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 index c04ab3e63f1..3b5a5131fbd 100644 --- 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 @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include namespace Aws @@ -64,18 +64,6 @@ namespace Model 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; } - inline bool SyncInputJobAttachmentsHasBeenSet() const { return m_syncInputJobAttachmentsHasBeenSet; } - inline void SetSyncInputJobAttachments(const AssignedSyncInputJobAttachmentsSessionActionDefinition& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = value; } - inline void SetSyncInputJobAttachments(AssignedSyncInputJobAttachmentsSessionActionDefinition&& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = std::move(value); } - inline AssignedSessionActionDefinition& WithSyncInputJobAttachments(const AssignedSyncInputJobAttachmentsSessionActionDefinition& value) { SetSyncInputJobAttachments(value); return *this;} - inline AssignedSessionActionDefinition& WithSyncInputJobAttachments(AssignedSyncInputJobAttachmentsSessionActionDefinition&& value) { SetSyncInputJobAttachments(std::move(value)); return *this;} - ///@} - ///@{ /** *

The task run.

@@ -87,6 +75,18 @@ namespace Model inline AssignedSessionActionDefinition& WithTaskRun(const AssignedTaskRunSessionActionDefinition& value) { SetTaskRun(value); return *this;} inline AssignedSessionActionDefinition& WithTaskRun(AssignedTaskRunSessionActionDefinition&& value) { SetTaskRun(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

The job attachment to sync with an assigned session action.

+ */ + inline const AssignedSyncInputJobAttachmentsSessionActionDefinition& GetSyncInputJobAttachments() const{ return m_syncInputJobAttachments; } + inline bool SyncInputJobAttachmentsHasBeenSet() const { return m_syncInputJobAttachmentsHasBeenSet; } + inline void SetSyncInputJobAttachments(const AssignedSyncInputJobAttachmentsSessionActionDefinition& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = value; } + inline void SetSyncInputJobAttachments(AssignedSyncInputJobAttachmentsSessionActionDefinition&& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = std::move(value); } + inline AssignedSessionActionDefinition& WithSyncInputJobAttachments(const AssignedSyncInputJobAttachmentsSessionActionDefinition& value) { SetSyncInputJobAttachments(value); return *this;} + inline AssignedSessionActionDefinition& WithSyncInputJobAttachments(AssignedSyncInputJobAttachmentsSessionActionDefinition&& value) { SetSyncInputJobAttachments(std::move(value)); return *this;} + ///@} private: AssignedEnvironmentEnterSessionActionDefinition m_envEnter; @@ -95,11 +95,11 @@ namespace Model AssignedEnvironmentExitSessionActionDefinition m_envExit; bool m_envExitHasBeenSet = false; - AssignedSyncInputJobAttachmentsSessionActionDefinition m_syncInputJobAttachments; - bool m_syncInputJobAttachmentsHasBeenSet = false; - AssignedTaskRunSessionActionDefinition m_taskRun; bool m_taskRunHasBeenSet = false; + + AssignedSyncInputJobAttachmentsSessionActionDefinition m_syncInputJobAttachments; + bool m_syncInputJobAttachmentsHasBeenSet = false; }; } // namespace Model 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 index 61e19125d9e..b18572abfd7 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -42,20 +42,16 @@ namespace Model ///@{ /** - *

The parameters to include.

+ *

The task ID.

*/ - inline const Aws::Map& GetParameters() const{ return m_parameters; } - inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } - inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } - inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } - inline AssignedTaskRunSessionActionDefinition& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} - inline AssignedTaskRunSessionActionDefinition& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} - inline AssignedTaskRunSessionActionDefinition& AddParameters(const Aws::String& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } - inline AssignedTaskRunSessionActionDefinition& AddParameters(Aws::String&& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } - inline AssignedTaskRunSessionActionDefinition& AddParameters(const Aws::String& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } - inline AssignedTaskRunSessionActionDefinition& AddParameters(Aws::String&& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } - inline AssignedTaskRunSessionActionDefinition& AddParameters(const char* key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } - inline AssignedTaskRunSessionActionDefinition& AddParameters(const char* key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + inline const Aws::String& GetTaskId() const{ return m_taskId; } + inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } + inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } + inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } + inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } + inline AssignedTaskRunSessionActionDefinition& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} + inline AssignedTaskRunSessionActionDefinition& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} + inline AssignedTaskRunSessionActionDefinition& WithTaskId(const char* value) { SetTaskId(value); return *this;} ///@} ///@{ @@ -74,27 +70,31 @@ namespace Model ///@{ /** - *

The task ID.

+ *

The parameters to include.

*/ - inline const Aws::String& GetTaskId() const{ return m_taskId; } - inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } - inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } - inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } - inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } - inline AssignedTaskRunSessionActionDefinition& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} - inline AssignedTaskRunSessionActionDefinition& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} - inline AssignedTaskRunSessionActionDefinition& WithTaskId(const char* value) { SetTaskId(value); return *this;} + inline const Aws::Map& GetParameters() const{ return m_parameters; } + inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } + inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } + inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } + inline AssignedTaskRunSessionActionDefinition& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} + inline AssignedTaskRunSessionActionDefinition& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} + inline AssignedTaskRunSessionActionDefinition& AddParameters(const Aws::String& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + inline AssignedTaskRunSessionActionDefinition& AddParameters(Aws::String&& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } + inline AssignedTaskRunSessionActionDefinition& AddParameters(const Aws::String& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + inline AssignedTaskRunSessionActionDefinition& AddParameters(Aws::String&& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } + inline AssignedTaskRunSessionActionDefinition& AddParameters(const char* key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + inline AssignedTaskRunSessionActionDefinition& AddParameters(const char* key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } ///@} private: - Aws::Map m_parameters; - bool m_parametersHasBeenSet = false; + Aws::String m_taskId; + bool m_taskIdHasBeenSet = false; Aws::String m_stepId; bool m_stepIdHasBeenSet = false; - Aws::String m_taskId; - bool m_taskIdHasBeenSet = false; + Aws::Map m_parameters; + bool m_parametersHasBeenSet = false; }; } // namespace Model 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 index f0d6130ee6c..f2e5cb7383d 100644 --- 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 @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include namespace Aws @@ -48,32 +48,6 @@ namespace Model 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; } - inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } - inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } - inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } - inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } - inline AssociateMemberToFarmRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} - inline AssociateMemberToFarmRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} - 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; } - inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } - inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } - inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } - inline AssociateMemberToFarmRequest& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} - inline AssociateMemberToFarmRequest& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} - ///@} - ///@{ /** *

The member's principal ID to associate with the farm.

@@ -99,22 +73,48 @@ namespace Model inline AssociateMemberToFarmRequest& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;} inline AssociateMemberToFarmRequest& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

The identity store ID of the member to associate with the farm.

+ */ + inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } + inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } + inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } + inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } + inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } + inline AssociateMemberToFarmRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} + inline AssociateMemberToFarmRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} + 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; } + inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } + inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } + inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } + inline AssociateMemberToFarmRequest& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} + inline AssociateMemberToFarmRequest& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(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; + + Aws::String m_identityStoreId; + bool m_identityStoreIdHasBeenSet = false; + + MembershipLevel m_membershipLevel; + bool m_membershipLevelHasBeenSet = false; }; } // namespace Model 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 index 702244cfea1..6f2d70d81e6 100644 --- 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 @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include namespace Aws @@ -62,32 +62,6 @@ namespace Model 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; } - inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } - inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } - inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } - inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } - inline AssociateMemberToFleetRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} - inline AssociateMemberToFleetRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} - 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; } - inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } - inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } - inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } - inline AssociateMemberToFleetRequest& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} - inline AssociateMemberToFleetRequest& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} - ///@} - ///@{ /** *

The member's principal ID to associate with a fleet.

@@ -113,6 +87,32 @@ namespace Model inline AssociateMemberToFleetRequest& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;} inline AssociateMemberToFleetRequest& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

The member's identity store ID to associate with the fleet.

+ */ + inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } + inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } + inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } + inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } + inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } + inline AssociateMemberToFleetRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} + inline AssociateMemberToFleetRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} + 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; } + inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } + inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } + inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } + inline AssociateMemberToFleetRequest& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} + inline AssociateMemberToFleetRequest& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} + ///@} private: Aws::String m_farmId; @@ -121,17 +121,17 @@ namespace Model 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; + + Aws::String m_identityStoreId; + bool m_identityStoreIdHasBeenSet = false; + + MembershipLevel m_membershipLevel; + bool m_membershipLevelHasBeenSet = false; }; } // namespace Model 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 index 12d16ee56c4..002df353e9e 100644 --- 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 @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include namespace Aws @@ -50,16 +50,16 @@ namespace Model ///@{ /** - *

The member's identity store ID to associate with the job.

+ *

The queue ID to associate to the member.

*/ - inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } - inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } - inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } - inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } - inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } - inline AssociateMemberToJobRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} - inline AssociateMemberToJobRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} - inline AssociateMemberToJobRequest& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline AssociateMemberToJobRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline AssociateMemberToJobRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline AssociateMemberToJobRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} ///@{ @@ -76,18 +76,6 @@ namespace Model 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; } - inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } - inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } - inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } - inline AssociateMemberToJobRequest& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} - inline AssociateMemberToJobRequest& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} - ///@} - ///@{ /** *

The member's principal ID to associate with the job.

@@ -116,39 +104,51 @@ namespace Model ///@{ /** - *

The queue ID to associate to the member.

+ *

The member's identity store ID to associate with the job.

*/ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline AssociateMemberToJobRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline AssociateMemberToJobRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline AssociateMemberToJobRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } + inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } + inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } + inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } + inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } + inline AssociateMemberToJobRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} + inline AssociateMemberToJobRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} + inline AssociateMemberToJobRequest& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} + ///@} + + ///@{ + /** + *

The principal's membership level for the associated job.

+ */ + inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } + inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } + inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } + inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } + inline AssociateMemberToJobRequest& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} + inline AssociateMemberToJobRequest& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} ///@} private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; - Aws::String m_identityStoreId; - bool m_identityStoreIdHasBeenSet = false; + Aws::String m_queueId; + bool m_queueIdHasBeenSet = 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; + Aws::String m_identityStoreId; + bool m_identityStoreIdHasBeenSet = false; + + MembershipLevel m_membershipLevel; + bool m_membershipLevelHasBeenSet = false; }; } // namespace Model 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 index ef198bedc87..0691d4ea8da 100644 --- 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 @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include namespace Aws @@ -50,28 +50,16 @@ namespace Model ///@{ /** - *

The member's identity store ID to associate with the queue.

- */ - inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } - inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } - inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } - inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } - inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } - inline AssociateMemberToQueueRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} - inline AssociateMemberToQueueRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} - inline AssociateMemberToQueueRequest& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} - ///@} - - ///@{ - /** - *

The principal's membership level for the associated queue.

+ *

The ID of the queue to associate to the member.

*/ - inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } - inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } - inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } - inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } - inline AssociateMemberToQueueRequest& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} - inline AssociateMemberToQueueRequest& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline AssociateMemberToQueueRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline AssociateMemberToQueueRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline AssociateMemberToQueueRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} ///@{ @@ -102,27 +90,36 @@ namespace Model ///@{ /** - *

The ID of the queue to associate to the member.

+ *

The member's identity store ID to associate with the queue.

*/ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline AssociateMemberToQueueRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline AssociateMemberToQueueRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline AssociateMemberToQueueRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } + inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } + inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } + inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } + inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } + inline AssociateMemberToQueueRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} + inline AssociateMemberToQueueRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} + 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; } + inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } + inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } + inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } + inline AssociateMemberToQueueRequest& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} + inline AssociateMemberToQueueRequest& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(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_queueId; + bool m_queueIdHasBeenSet = false; Aws::String m_principalId; bool m_principalIdHasBeenSet = false; @@ -130,8 +127,11 @@ namespace Model PrincipalType m_principalType; bool m_principalTypeHasBeenSet = false; - Aws::String m_queueId; - bool m_queueIdHasBeenSet = false; + Aws::String m_identityStoreId; + bool m_identityStoreIdHasBeenSet = false; + + MembershipLevel m_membershipLevel; + bool m_membershipLevelHasBeenSet = false; }; } // namespace Model 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 index d7e5239baf8..b61af5b147c 100644 --- 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 @@ -66,20 +66,6 @@ namespace Model 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; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline AssumeQueueRoleForWorkerRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline AssumeQueueRoleForWorkerRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline AssumeQueueRoleForWorkerRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} - ///@} - ///@{ /** *

The worker ID of the worker assuming the queue role.

@@ -93,6 +79,20 @@ namespace Model inline AssumeQueueRoleForWorkerRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} inline AssumeQueueRoleForWorkerRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} ///@} + + ///@{ + /** + *

The queue ID of the worker assuming the queue role.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline AssumeQueueRoleForWorkerRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline AssumeQueueRoleForWorkerRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline AssumeQueueRoleForWorkerRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + ///@} private: Aws::String m_farmId; @@ -101,11 +101,11 @@ namespace Model Aws::String m_fleetId; bool m_fleetIdHasBeenSet = false; - Aws::String m_queueId; - bool m_queueIdHasBeenSet = false; - Aws::String m_workerId; bool m_workerIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; }; } // namespace Model 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 index bc1de22a06f..a84e7d7ddea 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -39,18 +39,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

The file system.

- */ - inline const JobAttachmentsFileSystem& GetFileSystem() const{ return m_fileSystem; } - inline bool FileSystemHasBeenSet() const { return m_fileSystemHasBeenSet; } - inline void SetFileSystem(const JobAttachmentsFileSystem& value) { m_fileSystemHasBeenSet = true; m_fileSystem = value; } - inline void SetFileSystem(JobAttachmentsFileSystem&& value) { m_fileSystemHasBeenSet = true; m_fileSystem = std::move(value); } - inline Attachments& WithFileSystem(const JobAttachmentsFileSystem& value) { SetFileSystem(value); return *this;} - inline Attachments& WithFileSystem(JobAttachmentsFileSystem&& value) { SetFileSystem(std::move(value)); return *this;} - ///@} - ///@{ /** *

A list of manifests which describe job attachment configurations.

@@ -64,13 +52,25 @@ namespace Model inline Attachments& AddManifests(const ManifestProperties& value) { m_manifestsHasBeenSet = true; m_manifests.push_back(value); return *this; } 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; + ///@{ + /** + *

The file system.

+ */ + inline const JobAttachmentsFileSystem& GetFileSystem() const{ return m_fileSystem; } + inline bool FileSystemHasBeenSet() const { return m_fileSystemHasBeenSet; } + inline void SetFileSystem(const JobAttachmentsFileSystem& value) { m_fileSystemHasBeenSet = true; m_fileSystem = value; } + inline void SetFileSystem(JobAttachmentsFileSystem&& value) { m_fileSystemHasBeenSet = true; m_fileSystem = std::move(value); } + inline Attachments& WithFileSystem(const JobAttachmentsFileSystem& value) { SetFileSystem(value); return *this;} + inline Attachments& WithFileSystem(JobAttachmentsFileSystem&& value) { SetFileSystem(std::move(value)); return *this;} + ///@} + private: Aws::Vector m_manifests; bool m_manifestsHasBeenSet = false; + + JobAttachmentsFileSystem m_fileSystem; + bool m_fileSystemHasBeenSet = false; }; } // namespace Model 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 index 49d93e35e42..91c65281d42 100644 --- 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 @@ -52,18 +52,6 @@ namespace Model 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; } - inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; } - inline void SetExpiration(const Aws::Utils::DateTime& value) { m_expirationHasBeenSet = true; m_expiration = value; } - inline void SetExpiration(Aws::Utils::DateTime&& value) { m_expirationHasBeenSet = true; m_expiration = std::move(value); } - inline AwsCredentials& WithExpiration(const Aws::Utils::DateTime& value) { SetExpiration(value); return *this;} - inline AwsCredentials& WithExpiration(Aws::Utils::DateTime&& value) { SetExpiration(std::move(value)); return *this;} - ///@} - ///@{ /** *

The IAM secret access key.

@@ -91,19 +79,31 @@ namespace Model inline AwsCredentials& WithSessionToken(Aws::String&& value) { SetSessionToken(std::move(value)); return *this;} inline AwsCredentials& WithSessionToken(const char* value) { SetSessionToken(value); return *this;} ///@} + + ///@{ + /** + *

The expiration date and time of the IAM credentials.

+ */ + inline const Aws::Utils::DateTime& GetExpiration() const{ return m_expiration; } + inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; } + inline void SetExpiration(const Aws::Utils::DateTime& value) { m_expirationHasBeenSet = true; m_expiration = value; } + inline void SetExpiration(Aws::Utils::DateTime&& value) { m_expirationHasBeenSet = true; m_expiration = std::move(value); } + inline AwsCredentials& WithExpiration(const Aws::Utils::DateTime& value) { SetExpiration(value); return *this;} + inline AwsCredentials& WithExpiration(Aws::Utils::DateTime&& value) { SetExpiration(std::move(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; + + Aws::Utils::DateTime m_expiration; + bool m_expirationHasBeenSet = false; }; } // namespace Model 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 index bee7af6947c..a4c67eb7fd3 100644 --- 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 @@ -64,20 +64,6 @@ namespace Model 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; } - inline bool IdentifiersHasBeenSet() const { return m_identifiersHasBeenSet; } - inline void SetIdentifiers(const Aws::Vector& value) { m_identifiersHasBeenSet = true; m_identifiers = value; } - inline void SetIdentifiers(Aws::Vector&& value) { m_identifiersHasBeenSet = true; m_identifiers = std::move(value); } - inline BatchGetJobEntityRequest& WithIdentifiers(const Aws::Vector& value) { SetIdentifiers(value); return *this;} - inline BatchGetJobEntityRequest& WithIdentifiers(Aws::Vector&& value) { SetIdentifiers(std::move(value)); return *this;} - inline BatchGetJobEntityRequest& AddIdentifiers(const JobEntityIdentifiersUnion& value) { m_identifiersHasBeenSet = true; m_identifiers.push_back(value); return *this; } - 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.

@@ -91,6 +77,20 @@ namespace Model inline BatchGetJobEntityRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} inline BatchGetJobEntityRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} ///@} + + ///@{ + /** + *

The job identifiers to include within the job entity batch details.

+ */ + inline const Aws::Vector& GetIdentifiers() const{ return m_identifiers; } + inline bool IdentifiersHasBeenSet() const { return m_identifiersHasBeenSet; } + inline void SetIdentifiers(const Aws::Vector& value) { m_identifiersHasBeenSet = true; m_identifiers = value; } + inline void SetIdentifiers(Aws::Vector&& value) { m_identifiersHasBeenSet = true; m_identifiers = std::move(value); } + inline BatchGetJobEntityRequest& WithIdentifiers(const Aws::Vector& value) { SetIdentifiers(value); return *this;} + inline BatchGetJobEntityRequest& WithIdentifiers(Aws::Vector&& value) { SetIdentifiers(std::move(value)); return *this;} + inline BatchGetJobEntityRequest& AddIdentifiers(const JobEntityIdentifiersUnion& value) { m_identifiersHasBeenSet = true; m_identifiers.push_back(value); return *this; } + inline BatchGetJobEntityRequest& AddIdentifiers(JobEntityIdentifiersUnion&& value) { m_identifiersHasBeenSet = true; m_identifiers.push_back(std::move(value)); return *this; } + ///@} private: Aws::String m_farmId; @@ -99,11 +99,11 @@ namespace Model Aws::String m_fleetId; bool m_fleetIdHasBeenSet = false; - Aws::Vector m_identifiers; - bool m_identifiersHasBeenSet = false; - Aws::String m_workerId; bool m_workerIdHasBeenSet = false; + + Aws::Vector m_identifiers; + bool m_identifiersHasBeenSet = false; }; } // namespace Model 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 index 54226b99754..7bc4ac4a11b 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -40,16 +40,14 @@ namespace Model ///@{ /** - *

A description for the budget action to add.

+ *

The type of budget action to add.

*/ - inline const Aws::String& GetDescription() const{ return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } - inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } - inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } - inline BudgetActionToAdd& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - inline BudgetActionToAdd& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - inline BudgetActionToAdd& WithDescription(const char* value) { SetDescription(value); return *this;} + inline const BudgetActionType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const BudgetActionType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(BudgetActionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline BudgetActionToAdd& WithType(const BudgetActionType& value) { SetType(value); return *this;} + inline BudgetActionToAdd& WithType(BudgetActionType&& value) { SetType(std::move(value)); return *this;} ///@} ///@{ @@ -64,25 +62,30 @@ namespace Model ///@{ /** - *

The type of budget action to add.

+ *

A description for the budget action to add.

This field can + * store any content. Escape or encode this content before displaying it on a + * webpage or any other system that might interpret the content of this field.

+ * */ - inline const BudgetActionType& GetType() const{ return m_type; } - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - inline void SetType(const BudgetActionType& value) { m_typeHasBeenSet = true; m_type = value; } - inline void SetType(BudgetActionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } - inline BudgetActionToAdd& WithType(const BudgetActionType& value) { SetType(value); return *this;} - inline BudgetActionToAdd& WithType(BudgetActionType&& value) { SetType(std::move(value)); return *this;} + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline BudgetActionToAdd& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline BudgetActionToAdd& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline BudgetActionToAdd& WithDescription(const char* value) { SetDescription(value); return *this;} ///@} private: - Aws::String m_description; - bool m_descriptionHasBeenSet = false; + BudgetActionType m_type; + bool m_typeHasBeenSet = false; double m_thresholdPercentage; bool m_thresholdPercentageHasBeenSet = false; - BudgetActionType m_type; - bool m_typeHasBeenSet = false; + Aws::String m_description; + bool m_descriptionHasBeenSet = false; }; } // namespace Model 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 index cc1c2b8d9ad..9d4d755704b 100644 --- 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 @@ -37,16 +37,6 @@ namespace Model 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; } - inline bool ThresholdPercentageHasBeenSet() const { return m_thresholdPercentageHasBeenSet; } - inline void SetThresholdPercentage(double value) { m_thresholdPercentageHasBeenSet = true; m_thresholdPercentage = value; } - inline BudgetActionToRemove& WithThresholdPercentage(double value) { SetThresholdPercentage(value); return *this;} - ///@} - ///@{ /** *

The type of budget action to remove.

@@ -58,13 +48,23 @@ namespace Model inline BudgetActionToRemove& WithType(const BudgetActionType& value) { SetType(value); return *this;} inline BudgetActionToRemove& WithType(BudgetActionType&& value) { SetType(std::move(value)); return *this;} ///@} - private: - double m_thresholdPercentage; - bool m_thresholdPercentageHasBeenSet = false; + ///@{ + /** + *

The percentage threshold for the budget action to remove.

+ */ + inline double GetThresholdPercentage() const{ return m_thresholdPercentage; } + inline bool ThresholdPercentageHasBeenSet() const { return m_thresholdPercentageHasBeenSet; } + inline void SetThresholdPercentage(double value) { m_thresholdPercentageHasBeenSet = true; m_thresholdPercentage = value; } + inline BudgetActionToRemove& WithThresholdPercentage(double value) { SetThresholdPercentage(value); return *this;} + ///@} + private: BudgetActionType m_type; bool m_typeHasBeenSet = false; + + double m_thresholdPercentage; + bool m_thresholdPercentageHasBeenSet = false; }; } // namespace Model 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 index 3e90ba3f31d..c6e09bd4f26 100644 --- 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 @@ -6,10 +6,10 @@ #pragma once #include #include -#include -#include #include +#include #include +#include #include namespace Aws @@ -41,16 +41,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

The approximate dollar limit of the budget.

- */ - inline double GetApproximateDollarLimit() const{ return m_approximateDollarLimit; } - inline bool ApproximateDollarLimitHasBeenSet() const { return m_approximateDollarLimitHasBeenSet; } - inline void SetApproximateDollarLimit(double value) { m_approximateDollarLimitHasBeenSet = true; m_approximateDollarLimit = value; } - inline BudgetSummary& WithApproximateDollarLimit(double value) { SetApproximateDollarLimit(value); return *this;} - ///@} - ///@{ /** *

The budget ID.

@@ -67,47 +57,37 @@ namespace Model ///@{ /** - *

The date and time the resource was created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } - inline BudgetSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline BudgetSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

The user or system that created this resource.

+ *

The resource used to track expenditure in the budget.

*/ - inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } - inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } - inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } - inline BudgetSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline BudgetSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline BudgetSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + inline const UsageTrackingResource& GetUsageTrackingResource() const{ return m_usageTrackingResource; } + inline bool UsageTrackingResourceHasBeenSet() const { return m_usageTrackingResourceHasBeenSet; } + inline void SetUsageTrackingResource(const UsageTrackingResource& value) { m_usageTrackingResourceHasBeenSet = true; m_usageTrackingResource = value; } + inline void SetUsageTrackingResource(UsageTrackingResource&& value) { m_usageTrackingResourceHasBeenSet = true; m_usageTrackingResource = std::move(value); } + inline BudgetSummary& WithUsageTrackingResource(const UsageTrackingResource& value) { SetUsageTrackingResource(value); return *this;} + inline BudgetSummary& WithUsageTrackingResource(UsageTrackingResource&& value) { SetUsageTrackingResource(std::move(value)); return *this;} ///@} ///@{ /** - *

The description of the budget summary.

+ *

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 Aws::String& GetDescription() const{ return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } - inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } - inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } - inline BudgetSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - inline BudgetSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - inline BudgetSummary& WithDescription(const char* value) { SetDescription(value); return *this;} + inline const BudgetStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const BudgetStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(BudgetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline BudgetSummary& WithStatus(const BudgetStatus& value) { SetStatus(value); return *this;} + inline BudgetSummary& WithStatus(BudgetStatus&& value) { SetStatus(std::move(value)); return *this;} ///@} ///@{ /** - *

The display name of the budget summary to update.

+ *

The display name of the budget summary to update.

This + * field can store any content. Escape or encode this content before displaying it + * on a webpage or any other system that might interpret the content of this + * field.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } @@ -121,29 +101,50 @@ namespace Model ///@{ /** - *

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.

    - *
+ *

The approximate dollar limit of the budget.

*/ - inline const BudgetStatus& GetStatus() const{ return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(const BudgetStatus& value) { m_statusHasBeenSet = true; m_status = value; } - inline void SetStatus(BudgetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } - inline BudgetSummary& WithStatus(const BudgetStatus& value) { SetStatus(value); return *this;} - inline BudgetSummary& WithStatus(BudgetStatus&& value) { SetStatus(std::move(value)); return *this;} + inline double GetApproximateDollarLimit() const{ return m_approximateDollarLimit; } + inline bool ApproximateDollarLimitHasBeenSet() const { return m_approximateDollarLimitHasBeenSet; } + inline void SetApproximateDollarLimit(double value) { m_approximateDollarLimitHasBeenSet = true; m_approximateDollarLimit = value; } + inline BudgetSummary& WithApproximateDollarLimit(double value) { SetApproximateDollarLimit(value); return *this;} ///@} ///@{ /** - *

The date and time the resource was updated.

+ *

The consumed usage for the budget.

*/ - inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } - inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } - inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } - inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } - inline BudgetSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} - inline BudgetSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + inline const ConsumedUsages& GetUsages() const{ return m_usages; } + inline bool UsagesHasBeenSet() const { return m_usagesHasBeenSet; } + inline void SetUsages(const ConsumedUsages& value) { m_usagesHasBeenSet = true; m_usages = value; } + inline void SetUsages(ConsumedUsages&& value) { m_usagesHasBeenSet = true; m_usages = std::move(value); } + inline BudgetSummary& WithUsages(const ConsumedUsages& value) { SetUsages(value); return *this;} + inline BudgetSummary& WithUsages(ConsumedUsages&& value) { SetUsages(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The user or system that created this resource.

+ */ + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline BudgetSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline BudgetSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline BudgetSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + + ///@{ + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline BudgetSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline BudgetSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} ///@} ///@{ @@ -162,61 +163,46 @@ namespace Model ///@{ /** - *

The resource used to track expenditure in the budget.

- */ - inline const UsageTrackingResource& GetUsageTrackingResource() const{ return m_usageTrackingResource; } - inline bool UsageTrackingResourceHasBeenSet() const { return m_usageTrackingResourceHasBeenSet; } - inline void SetUsageTrackingResource(const UsageTrackingResource& value) { m_usageTrackingResourceHasBeenSet = true; m_usageTrackingResource = value; } - inline void SetUsageTrackingResource(UsageTrackingResource&& value) { m_usageTrackingResourceHasBeenSet = true; m_usageTrackingResource = std::move(value); } - inline BudgetSummary& WithUsageTrackingResource(const UsageTrackingResource& value) { SetUsageTrackingResource(value); return *this;} - inline BudgetSummary& WithUsageTrackingResource(UsageTrackingResource&& value) { SetUsageTrackingResource(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

The consumed usage for the budget.

+ *

The date and time the resource was updated.

*/ - inline const ConsumedUsages& GetUsages() const{ return m_usages; } - inline bool UsagesHasBeenSet() const { return m_usagesHasBeenSet; } - inline void SetUsages(const ConsumedUsages& value) { m_usagesHasBeenSet = true; m_usages = value; } - inline void SetUsages(ConsumedUsages&& value) { m_usagesHasBeenSet = true; m_usages = std::move(value); } - inline BudgetSummary& WithUsages(const ConsumedUsages& value) { SetUsages(value); return *this;} - inline BudgetSummary& WithUsages(ConsumedUsages&& value) { SetUsages(std::move(value)); return *this;} + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } + inline BudgetSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + inline BudgetSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(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; + UsageTrackingResource m_usageTrackingResource; + bool m_usageTrackingResourceHasBeenSet = false; - Aws::String m_description; - bool m_descriptionHasBeenSet = false; + BudgetStatus m_status; + bool m_statusHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; - BudgetStatus m_status; - bool m_statusHasBeenSet = false; + double m_approximateDollarLimit; + bool m_approximateDollarLimitHasBeenSet = false; - Aws::Utils::DateTime m_updatedAt; - bool m_updatedAtHasBeenSet = false; + ConsumedUsages m_usages; + bool m_usagesHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; Aws::String m_updatedBy; bool m_updatedByHasBeenSet = false; - UsageTrackingResource m_usageTrackingResource; - bool m_usageTrackingResourceHasBeenSet = false; - - ConsumedUsages m_usages; - bool m_usagesHasBeenSet = false; + Aws::Utils::DateTime m_updatedAt; + bool m_updatedAtHasBeenSet = false; }; } // namespace Model 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 index 977caf28fb6..336a8101449 100644 --- 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 @@ -5,9 +5,9 @@ #pragma once #include -#include #include #include +#include #include namespace Aws @@ -41,25 +41,6 @@ namespace Model 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; } - inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } - inline void SetContext(const Aws::Map& value) { m_contextHasBeenSet = true; m_context = value; } - inline void SetContext(Aws::Map&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } - inline ConflictException& WithContext(const Aws::Map& value) { SetContext(value); return *this;} - inline ConflictException& WithContext(Aws::Map&& value) { SetContext(std::move(value)); return *this;} - inline ConflictException& AddContext(const Aws::String& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } - inline ConflictException& AddContext(Aws::String&& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } - inline ConflictException& AddContext(const Aws::String& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } - inline ConflictException& AddContext(Aws::String&& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), std::move(value)); return *this; } - inline ConflictException& AddContext(const char* key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } - inline ConflictException& AddContext(Aws::String&& key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } - 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; } @@ -111,10 +92,26 @@ namespace Model inline ConflictException& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} inline ConflictException& WithResourceType(const char* value) { SetResourceType(value); return *this;} ///@} - private: - Aws::Map m_context; - bool m_contextHasBeenSet = false; + ///@{ + /** + *

Information about the resources in use when the exception was thrown.

+ */ + inline const Aws::Map& GetContext() const{ return m_context; } + inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } + inline void SetContext(const Aws::Map& value) { m_contextHasBeenSet = true; m_context = value; } + inline void SetContext(Aws::Map&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } + inline ConflictException& WithContext(const Aws::Map& value) { SetContext(value); return *this;} + inline ConflictException& WithContext(Aws::Map&& value) { SetContext(std::move(value)); return *this;} + inline ConflictException& AddContext(const Aws::String& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + inline ConflictException& AddContext(Aws::String&& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + inline ConflictException& AddContext(const Aws::String& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + inline ConflictException& AddContext(Aws::String&& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), std::move(value)); return *this; } + inline ConflictException& AddContext(const char* key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + inline ConflictException& AddContext(Aws::String&& key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + inline ConflictException& AddContext(const char* key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + ///@} + private: Aws::String m_message; bool m_messageHasBeenSet = false; @@ -127,6 +124,9 @@ namespace Model Aws::String m_resourceType; bool m_resourceTypeHasBeenSet = false; + + Aws::Map m_context; + bool m_contextHasBeenSet = false; }; } // namespace Model 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 index eded1e0396c..a4f643d5507 100644 --- 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 @@ -6,10 +6,10 @@ #pragma once #include #include -#include #include -#include #include +#include +#include #include #include #include @@ -39,30 +39,6 @@ namespace Model 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; } - inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; } - inline void SetActions(const Aws::Vector& value) { m_actionsHasBeenSet = true; m_actions = value; } - inline void SetActions(Aws::Vector&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); } - inline CreateBudgetRequest& WithActions(const Aws::Vector& value) { SetActions(value); return *this;} - inline CreateBudgetRequest& WithActions(Aws::Vector&& value) { SetActions(std::move(value)); return *this;} - inline CreateBudgetRequest& AddActions(const BudgetActionToAdd& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; } - 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; } - inline bool ApproximateDollarLimitHasBeenSet() const { return m_approximateDollarLimitHasBeenSet; } - inline void SetApproximateDollarLimit(double value) { m_approximateDollarLimitHasBeenSet = true; m_approximateDollarLimit = value; } - inline CreateBudgetRequest& WithApproximateDollarLimit(double value) { SetApproximateDollarLimit(value); return *this;} - ///@} - ///@{ /** *

The unique token which the server uses to recognize retries of the same @@ -80,21 +56,35 @@ namespace Model ///@{ /** - *

The description of the budget.

+ *

The farm ID to include in this budget.

*/ - inline const Aws::String& GetDescription() const{ return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } - inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } - inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } - inline CreateBudgetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - inline CreateBudgetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - inline CreateBudgetRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + inline const Aws::String& GetFarmId() const{ return m_farmId; } + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + inline CreateBudgetRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + inline CreateBudgetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + inline CreateBudgetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + ///@} + + ///@{ + /** + *

The queue ID provided to this budget to track usage.

+ */ + inline const UsageTrackingResource& GetUsageTrackingResource() const{ return m_usageTrackingResource; } + inline bool UsageTrackingResourceHasBeenSet() const { return m_usageTrackingResourceHasBeenSet; } + inline void SetUsageTrackingResource(const UsageTrackingResource& value) { m_usageTrackingResourceHasBeenSet = true; m_usageTrackingResource = value; } + inline void SetUsageTrackingResource(UsageTrackingResource&& value) { m_usageTrackingResourceHasBeenSet = true; m_usageTrackingResource = std::move(value); } + inline CreateBudgetRequest& WithUsageTrackingResource(const UsageTrackingResource& value) { SetUsageTrackingResource(value); return *this;} + inline CreateBudgetRequest& WithUsageTrackingResource(UsageTrackingResource&& value) { SetUsageTrackingResource(std::move(value)); return *this;} ///@} ///@{ /** - *

The display name of the budget.

+ *

The display name of the budget.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } @@ -108,16 +98,42 @@ namespace Model ///@{ /** - *

The farm ID to include in this budget.

+ *

The description of the budget.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

*/ - inline const Aws::String& GetFarmId() const{ return m_farmId; } - inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } - inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } - inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } - inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } - inline CreateBudgetRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} - inline CreateBudgetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} - inline CreateBudgetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline CreateBudgetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline CreateBudgetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline CreateBudgetRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

The dollar limit based on consumed usage.

+ */ + inline double GetApproximateDollarLimit() const{ return m_approximateDollarLimit; } + inline bool ApproximateDollarLimitHasBeenSet() const { return m_approximateDollarLimitHasBeenSet; } + inline void SetApproximateDollarLimit(double value) { m_approximateDollarLimitHasBeenSet = true; m_approximateDollarLimit = value; } + inline CreateBudgetRequest& WithApproximateDollarLimit(double value) { SetApproximateDollarLimit(value); return *this;} + ///@} + + ///@{ + /** + *

The budget actions to specify what happens when the budget runs out.

+ */ + inline const Aws::Vector& GetActions() const{ return m_actions; } + inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; } + inline void SetActions(const Aws::Vector& value) { m_actionsHasBeenSet = true; m_actions = value; } + inline void SetActions(Aws::Vector&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); } + inline CreateBudgetRequest& WithActions(const Aws::Vector& value) { SetActions(value); return *this;} + inline CreateBudgetRequest& WithActions(Aws::Vector&& value) { SetActions(std::move(value)); return *this;} + inline CreateBudgetRequest& AddActions(const BudgetActionToAdd& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; } + inline CreateBudgetRequest& AddActions(BudgetActionToAdd&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; } ///@} ///@{ @@ -131,43 +147,31 @@ namespace Model inline CreateBudgetRequest& WithSchedule(const BudgetSchedule& value) { SetSchedule(value); return *this;} 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; } - inline bool UsageTrackingResourceHasBeenSet() const { return m_usageTrackingResourceHasBeenSet; } - inline void SetUsageTrackingResource(const UsageTrackingResource& value) { m_usageTrackingResourceHasBeenSet = true; m_usageTrackingResource = value; } - inline void SetUsageTrackingResource(UsageTrackingResource&& value) { m_usageTrackingResourceHasBeenSet = true; m_usageTrackingResource = std::move(value); } - inline CreateBudgetRequest& WithUsageTrackingResource(const UsageTrackingResource& value) { SetUsageTrackingResource(value); return *this;} - 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_farmId; + bool m_farmIdHasBeenSet = false; + + UsageTrackingResource m_usageTrackingResource; + bool m_usageTrackingResourceHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; - Aws::String m_farmId; - bool m_farmIdHasBeenSet = false; + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + double m_approximateDollarLimit; + bool m_approximateDollarLimitHasBeenSet = false; + + Aws::Vector m_actions; + bool m_actionsHasBeenSet = false; BudgetSchedule m_schedule; bool m_scheduleHasBeenSet = false; - - UsageTrackingResource m_usageTrackingResource; - bool m_usageTrackingResourceHasBeenSet = false; }; } // namespace Model 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 index e0d518a5cd8..8ceac53f9f4 100644 --- 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 @@ -53,21 +53,9 @@ namespace Model ///@{ /** - *

The description of the farm.

- */ - inline const Aws::String& GetDescription() const{ return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } - inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } - inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } - inline CreateFarmRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - inline CreateFarmRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - inline CreateFarmRequest& WithDescription(const char* value) { SetDescription(value); return *this;} - ///@} - - ///@{ - /** - *

The display name of the farm.

+ *

The display name of the farm.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } @@ -79,6 +67,22 @@ namespace Model inline CreateFarmRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} ///@} + ///@{ + /** + *

The description of the farm.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline CreateFarmRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline CreateFarmRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline CreateFarmRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + ///@{ /** *

The ARN of the KMS key to use on the farm.

@@ -117,12 +121,12 @@ namespace Model 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_description; + bool m_descriptionHasBeenSet = false; + Aws::String m_kmsKeyArn; bool m_kmsKeyArnHasBeenSet = false; 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 index df4e12be262..62a0b4718a4 100644 --- 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 @@ -54,35 +54,23 @@ namespace Model ///@{ /** - *

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; } - inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } - inline void SetConfiguration(const FleetConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } - inline void SetConfiguration(FleetConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } - inline CreateFleetRequest& WithConfiguration(const FleetConfiguration& value) { SetConfiguration(value); return *this;} - inline CreateFleetRequest& WithConfiguration(FleetConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

The description of the fleet.

+ *

The farm ID of the farm to connect to the fleet.

*/ - inline const Aws::String& GetDescription() const{ return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } - inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } - inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } - inline CreateFleetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - inline CreateFleetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - inline CreateFleetRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + inline const Aws::String& GetFarmId() const{ return m_farmId; } + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + inline CreateFleetRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + inline CreateFleetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + inline CreateFleetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} ///@{ /** - *

The display name of the fleet.

+ *

The display name of the fleet.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } @@ -96,26 +84,32 @@ namespace Model ///@{ /** - *

The farm ID of the farm to connect to the fleet.

+ *

The description of the fleet.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

*/ - inline const Aws::String& GetFarmId() const{ return m_farmId; } - inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } - inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } - inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } - inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } - inline CreateFleetRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} - inline CreateFleetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} - inline CreateFleetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline CreateFleetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline CreateFleetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline CreateFleetRequest& WithDescription(const char* value) { SetDescription(value); return *this;} ///@} ///@{ /** - *

The maximum number of workers for the fleet.

+ *

The IAM role ARN for the role that the fleet's workers will use.

*/ - inline int GetMaxWorkerCount() const{ return m_maxWorkerCount; } - inline bool MaxWorkerCountHasBeenSet() const { return m_maxWorkerCountHasBeenSet; } - inline void SetMaxWorkerCount(int value) { m_maxWorkerCountHasBeenSet = true; m_maxWorkerCount = value; } - inline CreateFleetRequest& WithMaxWorkerCount(int value) { SetMaxWorkerCount(value); return *this;} + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + inline CreateFleetRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + inline CreateFleetRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + inline CreateFleetRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} ///@} ///@{ @@ -130,16 +124,26 @@ namespace Model ///@{ /** - *

The IAM role ARN for the role that the fleet's workers will use.

+ *

The maximum number of workers for the fleet.

*/ - inline const Aws::String& GetRoleArn() const{ return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } - inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } - inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } - inline CreateFleetRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} - inline CreateFleetRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} - inline CreateFleetRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + inline int GetMaxWorkerCount() const{ return m_maxWorkerCount; } + inline bool MaxWorkerCountHasBeenSet() const { return m_maxWorkerCountHasBeenSet; } + inline void SetMaxWorkerCount(int value) { m_maxWorkerCountHasBeenSet = true; m_maxWorkerCount = value; } + inline CreateFleetRequest& WithMaxWorkerCount(int value) { SetMaxWorkerCount(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; } + inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } + inline void SetConfiguration(const FleetConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } + inline void SetConfiguration(FleetConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } + inline CreateFleetRequest& WithConfiguration(const FleetConfiguration& value) { SetConfiguration(value); return *this;} + inline CreateFleetRequest& WithConfiguration(FleetConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} ///@} ///@{ @@ -166,26 +170,26 @@ namespace Model 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_farmId; + bool m_farmIdHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; - Aws::String m_farmId; - bool m_farmIdHasBeenSet = false; + Aws::String m_description; + bool m_descriptionHasBeenSet = false; - int m_maxWorkerCount; - bool m_maxWorkerCountHasBeenSet = false; + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; int m_minWorkerCount; bool m_minWorkerCountHasBeenSet = false; - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; + int m_maxWorkerCount; + bool m_maxWorkerCountHasBeenSet = false; + + FleetConfiguration m_configuration; + bool m_configurationHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; 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 index 85fec4dc28f..1f095580944 100644 --- 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 @@ -6,11 +6,11 @@ #pragma once #include #include -#include #include +#include #include +#include #include -#include #include #include #include @@ -42,15 +42,30 @@ namespace Model ///@{ /** - *

The attachments for the job. Attach files required for the job to run to a - * render job.

+ *

The farm ID of the farm to connect to the job.

*/ - inline const Attachments& GetAttachments() const{ return m_attachments; } - inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; } - inline void SetAttachments(const Attachments& value) { m_attachmentsHasBeenSet = true; m_attachments = value; } - inline void SetAttachments(Attachments&& value) { m_attachmentsHasBeenSet = true; m_attachments = std::move(value); } - inline CreateJobRequest& WithAttachments(const Attachments& value) { SetAttachments(value); return *this;} - inline CreateJobRequest& WithAttachments(Attachments&& value) { SetAttachments(std::move(value)); return *this;} + inline const Aws::String& GetFarmId() const{ return m_farmId; } + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + inline CreateJobRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + inline CreateJobRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + inline CreateJobRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the queue that the job is submitted to.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline CreateJobRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline CreateJobRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline CreateJobRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} ///@{ @@ -70,37 +85,40 @@ namespace Model ///@{ /** - *

The farm ID of the farm to connect to the job.

+ *

The job template to use for this job.

*/ - inline const Aws::String& GetFarmId() const{ return m_farmId; } - inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } - inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } - inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } - inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } - inline CreateJobRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} - inline CreateJobRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} - inline CreateJobRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + inline const Aws::String& GetTemplate() const{ return m_template; } + inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } + inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; } + inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); } + inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); } + inline CreateJobRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;} + inline CreateJobRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;} + inline CreateJobRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;} ///@} ///@{ /** - *

The number of task failures before the job stops running and is marked as - * FAILED.

+ *

The file type for the job template.

*/ - inline int GetMaxFailedTasksCount() const{ return m_maxFailedTasksCount; } - inline bool MaxFailedTasksCountHasBeenSet() const { return m_maxFailedTasksCountHasBeenSet; } - inline void SetMaxFailedTasksCount(int value) { m_maxFailedTasksCountHasBeenSet = true; m_maxFailedTasksCount = value; } - inline CreateJobRequest& WithMaxFailedTasksCount(int value) { SetMaxFailedTasksCount(value); return *this;} + inline const JobTemplateType& GetTemplateType() const{ return m_templateType; } + inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; } + inline void SetTemplateType(const JobTemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; } + inline void SetTemplateType(JobTemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); } + inline CreateJobRequest& WithTemplateType(const JobTemplateType& value) { SetTemplateType(value); return *this;} + inline CreateJobRequest& WithTemplateType(JobTemplateType&& value) { SetTemplateType(std::move(value)); return *this;} ///@} ///@{ /** - *

The maximum number of retries for a job.

+ *

The priority of the job on a scale of 0 to 100. The highest priority (first + * scheduled) is 100. When two jobs have the same priority, the oldest job is + * scheduled first.

*/ - inline int GetMaxRetriesPerTask() const{ return m_maxRetriesPerTask; } - inline bool MaxRetriesPerTaskHasBeenSet() const { return m_maxRetriesPerTaskHasBeenSet; } - inline void SetMaxRetriesPerTask(int value) { m_maxRetriesPerTaskHasBeenSet = true; m_maxRetriesPerTask = value; } - inline CreateJobRequest& WithMaxRetriesPerTask(int value) { SetMaxRetriesPerTask(value); return *this;} + inline int GetPriority() const{ return m_priority; } + inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } + inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } + inline CreateJobRequest& WithPriority(int value) { SetPriority(value); return *this;} ///@} ///@{ @@ -123,27 +141,15 @@ namespace Model ///@{ /** - *

The priority of the job on a scale of 1 to 100. The highest priority is - * 1.

- */ - inline int GetPriority() const{ return m_priority; } - inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } - inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } - inline CreateJobRequest& WithPriority(int value) { SetPriority(value); return *this;} - ///@} - - ///@{ - /** - *

The ID of the queue that the job is submitted to.

+ *

The attachments for the job. Attach files required for the job to run to a + * render job.

*/ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline CreateJobRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline CreateJobRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline CreateJobRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + inline const Attachments& GetAttachments() const{ return m_attachments; } + inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; } + inline void SetAttachments(const Attachments& value) { m_attachmentsHasBeenSet = true; m_attachments = value; } + inline void SetAttachments(Attachments&& value) { m_attachmentsHasBeenSet = true; m_attachments = std::move(value); } + inline CreateJobRequest& WithAttachments(const Attachments& value) { SetAttachments(value); return *this;} + inline CreateJobRequest& WithAttachments(Attachments&& value) { SetAttachments(std::move(value)); return *this;} ///@} ///@{ @@ -162,9 +168,8 @@ namespace Model ///@{ /** - *

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.

+ *

The initial job status when it is created. Jobs that are created with a + * SUSPENDED status will not run until manually requeued.

*/ inline const CreateJobTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } @@ -176,54 +181,49 @@ namespace Model ///@{ /** - *

The job template to use for this job.

+ *

The number of task failures before the job stops running and is marked as + * FAILED.

*/ - inline const Aws::String& GetTemplate() const{ return m_template; } - inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } - inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; } - inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); } - inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); } - inline CreateJobRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;} - inline CreateJobRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;} - inline CreateJobRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;} + inline int GetMaxFailedTasksCount() const{ return m_maxFailedTasksCount; } + inline bool MaxFailedTasksCountHasBeenSet() const { return m_maxFailedTasksCountHasBeenSet; } + inline void SetMaxFailedTasksCount(int value) { m_maxFailedTasksCountHasBeenSet = true; m_maxFailedTasksCount = value; } + inline CreateJobRequest& WithMaxFailedTasksCount(int value) { SetMaxFailedTasksCount(value); return *this;} ///@} ///@{ /** - *

The file type for the job template.

+ *

The maximum number of retries for each task.

*/ - inline const JobTemplateType& GetTemplateType() const{ return m_templateType; } - inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; } - inline void SetTemplateType(const JobTemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; } - inline void SetTemplateType(JobTemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); } - inline CreateJobRequest& WithTemplateType(const JobTemplateType& value) { SetTemplateType(value); return *this;} - inline CreateJobRequest& WithTemplateType(JobTemplateType&& value) { SetTemplateType(std::move(value)); return *this;} + inline int GetMaxRetriesPerTask() const{ return m_maxRetriesPerTask; } + inline bool MaxRetriesPerTaskHasBeenSet() const { return m_maxRetriesPerTaskHasBeenSet; } + inline void SetMaxRetriesPerTask(int value) { m_maxRetriesPerTaskHasBeenSet = true; m_maxRetriesPerTask = value; } + inline CreateJobRequest& WithMaxRetriesPerTask(int value) { SetMaxRetriesPerTask(value); return *this;} ///@} private: - Attachments m_attachments; - bool m_attachmentsHasBeenSet = false; + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; - Aws::String m_farmId; - bool m_farmIdHasBeenSet = false; + Aws::String m_template; + bool m_templateHasBeenSet = false; - int m_maxFailedTasksCount; - bool m_maxFailedTasksCountHasBeenSet = false; + JobTemplateType m_templateType; + bool m_templateTypeHasBeenSet = false; - int m_maxRetriesPerTask; - bool m_maxRetriesPerTaskHasBeenSet = false; + int m_priority; + bool m_priorityHasBeenSet = false; Aws::Map m_parameters; bool m_parametersHasBeenSet = false; - int m_priority; - bool m_priorityHasBeenSet = false; - - Aws::String m_queueId; - bool m_queueIdHasBeenSet = false; + Attachments m_attachments; + bool m_attachmentsHasBeenSet = false; Aws::String m_storageProfileId; bool m_storageProfileIdHasBeenSet = false; @@ -231,11 +231,11 @@ namespace Model CreateJobTargetTaskRunStatus m_targetTaskRunStatus; bool m_targetTaskRunStatusHasBeenSet = false; - Aws::String m_template; - bool m_templateHasBeenSet = false; + int m_maxFailedTasksCount; + bool m_maxFailedTasksCountHasBeenSet = false; - JobTemplateType m_templateType; - bool m_templateTypeHasBeenSet = false; + int m_maxRetriesPerTask; + bool m_maxRetriesPerTaskHasBeenSet = false; }; } // namespace Model 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 index ada8131f75b..6ba81ecf8bb 100644 --- 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 @@ -54,17 +54,16 @@ namespace Model ///@{ /** - *

The security group IDs.

+ *

The VPC (virtual private cloud) ID to use with the license endpoint.

*/ - inline const Aws::Vector& GetSecurityGroupIds() const{ return m_securityGroupIds; } - inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } - inline void SetSecurityGroupIds(const Aws::Vector& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; } - inline void SetSecurityGroupIds(Aws::Vector&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); } - inline CreateLicenseEndpointRequest& WithSecurityGroupIds(const Aws::Vector& value) { SetSecurityGroupIds(value); return *this;} - inline CreateLicenseEndpointRequest& WithSecurityGroupIds(Aws::Vector&& value) { SetSecurityGroupIds(std::move(value)); return *this;} - inline CreateLicenseEndpointRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } - inline CreateLicenseEndpointRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } - inline CreateLicenseEndpointRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } + inline const Aws::String& GetVpcId() const{ return m_vpcId; } + inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } + inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } + inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } + inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } + inline CreateLicenseEndpointRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} + inline CreateLicenseEndpointRequest& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} + inline CreateLicenseEndpointRequest& WithVpcId(const char* value) { SetVpcId(value); return *this;} ///@} ///@{ @@ -82,6 +81,21 @@ namespace Model inline CreateLicenseEndpointRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } ///@} + ///@{ + /** + *

The security group IDs.

+ */ + inline const Aws::Vector& GetSecurityGroupIds() const{ return m_securityGroupIds; } + inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } + inline void SetSecurityGroupIds(const Aws::Vector& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; } + inline void SetSecurityGroupIds(Aws::Vector&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); } + inline CreateLicenseEndpointRequest& WithSecurityGroupIds(const Aws::Vector& value) { SetSecurityGroupIds(value); return *this;} + inline CreateLicenseEndpointRequest& WithSecurityGroupIds(Aws::Vector&& value) { SetSecurityGroupIds(std::move(value)); return *this;} + inline CreateLicenseEndpointRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } + inline CreateLicenseEndpointRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } + inline CreateLicenseEndpointRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } + ///@} + ///@{ /** *

Each tag consists of a tag key and a tag value. Tag keys and values are both @@ -101,36 +115,22 @@ namespace Model inline CreateLicenseEndpointRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } 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; } - inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } - inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } - inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } - inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } - inline CreateLicenseEndpointRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} - inline CreateLicenseEndpointRequest& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} - 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::String m_vpcId; + bool m_vpcIdHasBeenSet = false; Aws::Vector m_subnetIds; bool m_subnetIdsHasBeenSet = false; + Aws::Vector m_securityGroupIds; + bool m_securityGroupIdsHasBeenSet = false; + Aws::Map m_tags; bool m_tagsHasBeenSet = false; - - Aws::String m_vpcId; - bool m_vpcIdHasBeenSet = false; }; } // namespace Model 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 index 00f92241e76..9e40f92aaba 100644 --- 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 @@ -53,7 +53,9 @@ namespace Model ///@{ /** *

The name that you give the monitor that is displayed in the Deadline Cloud - * console.

+ * console.

This field can store any content. Escape or encode + * this content before displaying it on a webpage or any other system that might + * interpret the content of this field.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } @@ -80,6 +82,21 @@ namespace Model inline CreateMonitorRequest& WithIdentityCenterInstanceArn(const char* value) { SetIdentityCenterInstanceArn(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; } + inline bool SubdomainHasBeenSet() const { return m_subdomainHasBeenSet; } + inline void SetSubdomain(const Aws::String& value) { m_subdomainHasBeenSet = true; m_subdomain = value; } + inline void SetSubdomain(Aws::String&& value) { m_subdomainHasBeenSet = true; m_subdomain = std::move(value); } + inline void SetSubdomain(const char* value) { m_subdomainHasBeenSet = true; m_subdomain.assign(value); } + inline CreateMonitorRequest& WithSubdomain(const Aws::String& value) { SetSubdomain(value); return *this;} + inline CreateMonitorRequest& WithSubdomain(Aws::String&& value) { SetSubdomain(std::move(value)); return *this;} + inline CreateMonitorRequest& WithSubdomain(const char* value) { SetSubdomain(value); return *this;} + ///@} + ///@{ /** *

The Amazon Resource Name (ARN) of the IAM role that the monitor uses to @@ -95,21 +112,6 @@ namespace Model inline CreateMonitorRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} 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; } - inline bool SubdomainHasBeenSet() const { return m_subdomainHasBeenSet; } - inline void SetSubdomain(const Aws::String& value) { m_subdomainHasBeenSet = true; m_subdomain = value; } - inline void SetSubdomain(Aws::String&& value) { m_subdomainHasBeenSet = true; m_subdomain = std::move(value); } - inline void SetSubdomain(const char* value) { m_subdomainHasBeenSet = true; m_subdomain.assign(value); } - inline CreateMonitorRequest& WithSubdomain(const Aws::String& value) { SetSubdomain(value); return *this;} - inline CreateMonitorRequest& WithSubdomain(Aws::String&& value) { SetSubdomain(std::move(value)); return *this;} - inline CreateMonitorRequest& WithSubdomain(const char* value) { SetSubdomain(value); return *this;} - ///@} private: Aws::String m_clientToken; @@ -121,11 +123,11 @@ namespace Model Aws::String m_identityCenterInstanceArn; bool m_identityCenterInstanceArnHasBeenSet = false; - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; - Aws::String m_subdomain; bool m_subdomainHasBeenSet = false; + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; }; } // namespace Model 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 index 66c3bb4d693..648e294a5e6 100644 --- 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 @@ -32,6 +32,19 @@ namespace Model AWS_DEADLINE_API CreateMonitorResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

The unique identifier of the monitor.

+ */ + inline const Aws::String& GetMonitorId() const{ return m_monitorId; } + inline void SetMonitorId(const Aws::String& value) { m_monitorId = value; } + inline void SetMonitorId(Aws::String&& value) { m_monitorId = std::move(value); } + inline void SetMonitorId(const char* value) { m_monitorId.assign(value); } + inline CreateMonitorResult& WithMonitorId(const Aws::String& value) { SetMonitorId(value); return *this;} + inline CreateMonitorResult& WithMonitorId(Aws::String&& value) { SetMonitorId(std::move(value)); return *this;} + inline CreateMonitorResult& WithMonitorId(const char* value) { SetMonitorId(value); return *this;} + ///@} + ///@{ /** *

The Amazon Resource Name (ARN) that IAM Identity Center assigns to the @@ -46,19 +59,6 @@ namespace Model 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; } - inline void SetMonitorId(const Aws::String& value) { m_monitorId = value; } - inline void SetMonitorId(Aws::String&& value) { m_monitorId = std::move(value); } - inline void SetMonitorId(const char* value) { m_monitorId.assign(value); } - inline CreateMonitorResult& WithMonitorId(const Aws::String& value) { SetMonitorId(value); return *this;} - inline CreateMonitorResult& WithMonitorId(Aws::String&& value) { SetMonitorId(std::move(value)); return *this;} - inline CreateMonitorResult& WithMonitorId(const char* value) { SetMonitorId(value); return *this;} - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -71,10 +71,10 @@ namespace Model ///@} private: - Aws::String m_identityCenterApplicationArn; - Aws::String m_monitorId; + Aws::String m_identityCenterApplicationArn; + Aws::String m_requestId; }; 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 index 87af2a81b01..f27f861307c 100644 --- 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 @@ -65,18 +65,6 @@ namespace Model 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; } - inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } - inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } - inline CreateQueueEnvironmentRequest& WithPriority(int value) { SetPriority(value); return *this;} - ///@} - ///@{ /** *

The queue ID to connect the queue and environment.

@@ -93,16 +81,14 @@ namespace Model ///@{ /** - *

The environment template to use in the queue.

+ *

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 const Aws::String& GetTemplate() const{ return m_template; } - inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } - inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; } - inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); } - inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); } - inline CreateQueueEnvironmentRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;} - inline CreateQueueEnvironmentRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;} - inline CreateQueueEnvironmentRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;} + inline int GetPriority() const{ return m_priority; } + inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } + inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } + inline CreateQueueEnvironmentRequest& WithPriority(int value) { SetPriority(value); return *this;} ///@} ///@{ @@ -116,6 +102,20 @@ namespace Model inline CreateQueueEnvironmentRequest& WithTemplateType(const EnvironmentTemplateType& value) { SetTemplateType(value); return *this;} inline CreateQueueEnvironmentRequest& WithTemplateType(EnvironmentTemplateType&& value) { SetTemplateType(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

The environment template to use in the queue.

+ */ + inline const Aws::String& GetTemplate() const{ return m_template; } + inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } + inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; } + inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); } + inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); } + inline CreateQueueEnvironmentRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;} + inline CreateQueueEnvironmentRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;} + inline CreateQueueEnvironmentRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;} + ///@} private: Aws::String m_clientToken; @@ -124,17 +124,17 @@ namespace Model 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; + int m_priority; + bool m_priorityHasBeenSet = false; EnvironmentTemplateType m_templateType; bool m_templateTypeHasBeenSet = false; + + Aws::String m_template; + bool m_templateHasBeenSet = false; }; } // namespace Model 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 index 6aa02d6ca27..d4be6c5a709 100644 --- 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 @@ -46,20 +46,6 @@ namespace Model inline CreateQueueFleetAssociationRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} - ///@{ - /** - *

The fleet ID.

- */ - inline const Aws::String& GetFleetId() const{ return m_fleetId; } - inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } - inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } - inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } - inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } - inline CreateQueueFleetAssociationRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} - inline CreateQueueFleetAssociationRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} - inline CreateQueueFleetAssociationRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} - ///@} - ///@{ /** *

The queue ID.

@@ -73,16 +59,30 @@ namespace Model inline CreateQueueFleetAssociationRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} inline CreateQueueFleetAssociationRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} + + ///@{ + /** + *

The fleet ID.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + inline CreateQueueFleetAssociationRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + inline CreateQueueFleetAssociationRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + inline CreateQueueFleetAssociationRequest& 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; - Aws::String m_queueId; bool m_queueIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; }; } // namespace Model 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 index 61c0c1fa2d9..bc0f30bdb74 100644 --- 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 @@ -6,11 +6,11 @@ #pragma once #include #include -#include #include #include #include #include +#include #include #include #include @@ -40,21 +40,6 @@ namespace Model 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; } - inline bool AllowedStorageProfileIdsHasBeenSet() const { return m_allowedStorageProfileIdsHasBeenSet; } - inline void SetAllowedStorageProfileIds(const Aws::Vector& value) { m_allowedStorageProfileIdsHasBeenSet = true; m_allowedStorageProfileIds = value; } - inline void SetAllowedStorageProfileIds(Aws::Vector&& value) { m_allowedStorageProfileIdsHasBeenSet = true; m_allowedStorageProfileIds = std::move(value); } - inline CreateQueueRequest& WithAllowedStorageProfileIds(const Aws::Vector& value) { SetAllowedStorageProfileIds(value); return *this;} - inline CreateQueueRequest& WithAllowedStorageProfileIds(Aws::Vector&& value) { SetAllowedStorageProfileIds(std::move(value)); return *this;} - inline CreateQueueRequest& AddAllowedStorageProfileIds(const Aws::String& value) { m_allowedStorageProfileIdsHasBeenSet = true; m_allowedStorageProfileIds.push_back(value); return *this; } - inline CreateQueueRequest& AddAllowedStorageProfileIds(Aws::String&& value) { m_allowedStorageProfileIdsHasBeenSet = true; m_allowedStorageProfileIds.push_back(std::move(value)); return *this; } - 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 @@ -72,33 +57,23 @@ namespace Model ///@{ /** - *

The default action to take on a queue if a budget isn't configured.

- */ - inline const DefaultQueueBudgetAction& GetDefaultBudgetAction() const{ return m_defaultBudgetAction; } - inline bool DefaultBudgetActionHasBeenSet() const { return m_defaultBudgetActionHasBeenSet; } - inline void SetDefaultBudgetAction(const DefaultQueueBudgetAction& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = value; } - inline void SetDefaultBudgetAction(DefaultQueueBudgetAction&& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = std::move(value); } - inline CreateQueueRequest& WithDefaultBudgetAction(const DefaultQueueBudgetAction& value) { SetDefaultBudgetAction(value); return *this;} - inline CreateQueueRequest& WithDefaultBudgetAction(DefaultQueueBudgetAction&& value) { SetDefaultBudgetAction(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

The description of the queue.

+ *

The farm ID of the farm to connect to the queue.

*/ - inline const Aws::String& GetDescription() const{ return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } - inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } - inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } - inline CreateQueueRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - inline CreateQueueRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - inline CreateQueueRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + inline const Aws::String& GetFarmId() const{ return m_farmId; } + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + inline CreateQueueRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + inline CreateQueueRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + inline CreateQueueRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} ///@{ /** - *

The display name of the queue.

+ *

The display name of the queue.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } @@ -112,16 +87,30 @@ namespace Model ///@{ /** - *

The farm ID of the farm to connect to the queue.

+ *

The description of the queue.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

*/ - inline const Aws::String& GetFarmId() const{ return m_farmId; } - inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } - inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } - inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } - inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } - inline CreateQueueRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} - inline CreateQueueRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} - inline CreateQueueRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline CreateQueueRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline CreateQueueRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline CreateQueueRequest& WithDescription(const char* value) { SetDescription(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; } + inline bool DefaultBudgetActionHasBeenSet() const { return m_defaultBudgetActionHasBeenSet; } + inline void SetDefaultBudgetAction(const DefaultQueueBudgetAction& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = value; } + inline void SetDefaultBudgetAction(DefaultQueueBudgetAction&& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = std::move(value); } + inline CreateQueueRequest& WithDefaultBudgetAction(const DefaultQueueBudgetAction& value) { SetDefaultBudgetAction(value); return *this;} + inline CreateQueueRequest& WithDefaultBudgetAction(DefaultQueueBudgetAction&& value) { SetDefaultBudgetAction(std::move(value)); return *this;} ///@} ///@{ @@ -137,6 +126,20 @@ namespace Model inline CreateQueueRequest& WithJobAttachmentSettings(JobAttachmentSettings&& value) { SetJobAttachmentSettings(std::move(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; } + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + inline CreateQueueRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + inline CreateQueueRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + inline CreateQueueRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + ///@} + ///@{ /** *

The jobs in the queue run as the specified POSIX user.

@@ -166,16 +169,17 @@ namespace Model ///@{ /** - *

The IAM role ARN that workers will use while running jobs for this queue.

+ *

The storage profile IDs to include in the queue.

*/ - inline const Aws::String& GetRoleArn() const{ return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } - inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } - inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } - inline CreateQueueRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} - inline CreateQueueRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} - inline CreateQueueRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + inline const Aws::Vector& GetAllowedStorageProfileIds() const{ return m_allowedStorageProfileIds; } + inline bool AllowedStorageProfileIdsHasBeenSet() const { return m_allowedStorageProfileIdsHasBeenSet; } + inline void SetAllowedStorageProfileIds(const Aws::Vector& value) { m_allowedStorageProfileIdsHasBeenSet = true; m_allowedStorageProfileIds = value; } + inline void SetAllowedStorageProfileIds(Aws::Vector&& value) { m_allowedStorageProfileIdsHasBeenSet = true; m_allowedStorageProfileIds = std::move(value); } + inline CreateQueueRequest& WithAllowedStorageProfileIds(const Aws::Vector& value) { SetAllowedStorageProfileIds(value); return *this;} + inline CreateQueueRequest& WithAllowedStorageProfileIds(Aws::Vector&& value) { SetAllowedStorageProfileIds(std::move(value)); return *this;} + inline CreateQueueRequest& AddAllowedStorageProfileIds(const Aws::String& value) { m_allowedStorageProfileIdsHasBeenSet = true; m_allowedStorageProfileIds.push_back(value); return *this; } + inline CreateQueueRequest& AddAllowedStorageProfileIds(Aws::String&& value) { m_allowedStorageProfileIdsHasBeenSet = true; m_allowedStorageProfileIds.push_back(std::move(value)); return *this; } + inline CreateQueueRequest& AddAllowedStorageProfileIds(const char* value) { m_allowedStorageProfileIdsHasBeenSet = true; m_allowedStorageProfileIds.push_back(value); return *this; } ///@} ///@{ @@ -199,35 +203,35 @@ namespace Model ///@} 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_farmId; + bool m_farmIdHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; - Aws::String m_farmId; - bool m_farmIdHasBeenSet = false; + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + DefaultQueueBudgetAction m_defaultBudgetAction; + bool m_defaultBudgetActionHasBeenSet = false; JobAttachmentSettings m_jobAttachmentSettings; bool m_jobAttachmentSettingsHasBeenSet = false; + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = 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::Vector m_allowedStorageProfileIds; + bool m_allowedStorageProfileIdsHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; 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 index bbb7c60c7a9..dc0dc58269b 100644 --- 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 @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include #include #include @@ -55,7 +55,24 @@ namespace Model ///@{ /** - *

The display name of the storage profile.

+ *

The farm ID of the farm to connect to the storage profile.

+ */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + inline CreateStorageProfileRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + inline CreateStorageProfileRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + inline CreateStorageProfileRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + ///@} + + ///@{ + /** + *

The display name of the storage profile.

This field can + * store any content. Escape or encode this content before displaying it on a + * webpage or any other system that might interpret the content of this field.

+ * */ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } @@ -69,16 +86,14 @@ namespace Model ///@{ /** - *

The farm ID of the farm to connect to the storage profile.

+ *

The type of operating system (OS) for the storage profile.

*/ - inline const Aws::String& GetFarmId() const{ return m_farmId; } - inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } - inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } - inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } - inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } - inline CreateStorageProfileRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} - inline CreateStorageProfileRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} - inline CreateStorageProfileRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + inline const StorageProfileOperatingSystemFamily& GetOsFamily() const{ return m_osFamily; } + inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; } + inline void SetOsFamily(const StorageProfileOperatingSystemFamily& value) { m_osFamilyHasBeenSet = true; m_osFamily = value; } + inline void SetOsFamily(StorageProfileOperatingSystemFamily&& value) { m_osFamilyHasBeenSet = true; m_osFamily = std::move(value); } + inline CreateStorageProfileRequest& WithOsFamily(const StorageProfileOperatingSystemFamily& value) { SetOsFamily(value); return *this;} + inline CreateStorageProfileRequest& WithOsFamily(StorageProfileOperatingSystemFamily&& value) { SetOsFamily(std::move(value)); return *this;} ///@} ///@{ @@ -94,34 +109,22 @@ namespace Model inline CreateStorageProfileRequest& AddFileSystemLocations(const FileSystemLocation& value) { m_fileSystemLocationsHasBeenSet = true; m_fileSystemLocations.push_back(value); return *this; } 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; } - inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; } - inline void SetOsFamily(const StorageProfileOperatingSystemFamily& value) { m_osFamilyHasBeenSet = true; m_osFamily = value; } - inline void SetOsFamily(StorageProfileOperatingSystemFamily&& value) { m_osFamilyHasBeenSet = true; m_osFamily = std::move(value); } - inline CreateStorageProfileRequest& WithOsFamily(const StorageProfileOperatingSystemFamily& value) { SetOsFamily(value); return *this;} - 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; + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; StorageProfileOperatingSystemFamily m_osFamily; bool m_osFamilyHasBeenSet = false; + + Aws::Vector m_fileSystemLocations; + bool m_fileSystemLocationsHasBeenSet = false; }; } // namespace Model 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 index f90a6310e66..1e177bc798c 100644 --- 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 @@ -36,21 +36,6 @@ namespace Model 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; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } - inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } - inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } - inline CreateWorkerRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} - inline CreateWorkerRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} - inline CreateWorkerRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} - ///@} - ///@{ /** *

The farm ID of the farm to connect to the worker.

@@ -90,10 +75,22 @@ namespace Model inline CreateWorkerRequest& WithHostProperties(const HostPropertiesRequest& value) { SetHostProperties(value); return *this;} inline CreateWorkerRequest& WithHostProperties(HostPropertiesRequest&& value) { SetHostProperties(std::move(value)); return *this;} ///@} - private: - Aws::String m_clientToken; - bool m_clientTokenHasBeenSet = false; + ///@{ + /** + *

The unique token which the server uses to recognize retries of the same + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline CreateWorkerRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline CreateWorkerRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline CreateWorkerRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + ///@} + private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; @@ -103,6 +100,9 @@ namespace Model HostPropertiesRequest m_hostProperties; bool m_hostPropertiesHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; }; } // namespace Model 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 index 9e6e4d17268..23bb80601d3 100644 --- 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 @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -52,6 +52,18 @@ namespace Model inline CustomerManagedFleetConfiguration& WithMode(AutoScalingMode&& value) { SetMode(std::move(value)); return *this;} ///@} + ///@{ + /** + *

The worker capabilities for a customer managed fleet configuration.

+ */ + inline const CustomerManagedWorkerCapabilities& GetWorkerCapabilities() const{ return m_workerCapabilities; } + inline bool WorkerCapabilitiesHasBeenSet() const { return m_workerCapabilitiesHasBeenSet; } + inline void SetWorkerCapabilities(const CustomerManagedWorkerCapabilities& value) { m_workerCapabilitiesHasBeenSet = true; m_workerCapabilities = value; } + inline void SetWorkerCapabilities(CustomerManagedWorkerCapabilities&& value) { m_workerCapabilitiesHasBeenSet = true; m_workerCapabilities = std::move(value); } + inline CustomerManagedFleetConfiguration& WithWorkerCapabilities(const CustomerManagedWorkerCapabilities& value) { SetWorkerCapabilities(value); return *this;} + inline CustomerManagedFleetConfiguration& WithWorkerCapabilities(CustomerManagedWorkerCapabilities&& value) { SetWorkerCapabilities(std::move(value)); return *this;} + ///@} + ///@{ /** *

The storage profile ID.

@@ -65,28 +77,16 @@ namespace Model inline CustomerManagedFleetConfiguration& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} 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; } - inline bool WorkerCapabilitiesHasBeenSet() const { return m_workerCapabilitiesHasBeenSet; } - inline void SetWorkerCapabilities(const CustomerManagedWorkerCapabilities& value) { m_workerCapabilitiesHasBeenSet = true; m_workerCapabilities = value; } - inline void SetWorkerCapabilities(CustomerManagedWorkerCapabilities&& value) { m_workerCapabilitiesHasBeenSet = true; m_workerCapabilities = std::move(value); } - inline CustomerManagedFleetConfiguration& WithWorkerCapabilities(const CustomerManagedWorkerCapabilities& value) { SetWorkerCapabilities(value); return *this;} - 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; + + Aws::String m_storageProfileId; + bool m_storageProfileIdHasBeenSet = false; }; } // namespace Model 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 index 85e67d7dca9..b2289763278 100644 --- 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 @@ -5,13 +5,13 @@ #pragma once #include +#include +#include +#include #include #include -#include -#include -#include #include -#include +#include #include #include #include @@ -47,6 +47,44 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

The vCPU count for the customer manged worker capabilities.

+ */ + inline const VCpuCountRange& GetVCpuCount() const{ return m_vCpuCount; } + inline bool VCpuCountHasBeenSet() const { return m_vCpuCountHasBeenSet; } + inline void SetVCpuCount(const VCpuCountRange& value) { m_vCpuCountHasBeenSet = true; m_vCpuCount = value; } + inline void SetVCpuCount(VCpuCountRange&& value) { m_vCpuCountHasBeenSet = true; m_vCpuCount = std::move(value); } + inline CustomerManagedWorkerCapabilities& WithVCpuCount(const VCpuCountRange& value) { SetVCpuCount(value); return *this;} + inline CustomerManagedWorkerCapabilities& WithVCpuCount(VCpuCountRange&& value) { SetVCpuCount(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The memory (MiB).

+ */ + inline const MemoryMiBRange& GetMemoryMiB() const{ return m_memoryMiB; } + inline bool MemoryMiBHasBeenSet() const { return m_memoryMiBHasBeenSet; } + inline void SetMemoryMiB(const MemoryMiBRange& value) { m_memoryMiBHasBeenSet = true; m_memoryMiB = value; } + inline void SetMemoryMiB(MemoryMiBRange&& value) { m_memoryMiBHasBeenSet = true; m_memoryMiB = std::move(value); } + inline CustomerManagedWorkerCapabilities& WithMemoryMiB(const MemoryMiBRange& value) { SetMemoryMiB(value); return *this;} + inline CustomerManagedWorkerCapabilities& WithMemoryMiB(MemoryMiBRange&& value) { SetMemoryMiB(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The accelerator types for the customer managed worker capabilities.

+ */ + inline const Aws::Vector& GetAcceleratorTypes() const{ return m_acceleratorTypes; } + inline bool AcceleratorTypesHasBeenSet() const { return m_acceleratorTypesHasBeenSet; } + inline void SetAcceleratorTypes(const Aws::Vector& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes = value; } + inline void SetAcceleratorTypes(Aws::Vector&& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes = std::move(value); } + inline CustomerManagedWorkerCapabilities& WithAcceleratorTypes(const Aws::Vector& value) { SetAcceleratorTypes(value); return *this;} + inline CustomerManagedWorkerCapabilities& WithAcceleratorTypes(Aws::Vector&& value) { SetAcceleratorTypes(std::move(value)); return *this;} + inline CustomerManagedWorkerCapabilities& AddAcceleratorTypes(const AcceleratorType& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(value); return *this; } + inline CustomerManagedWorkerCapabilities& AddAcceleratorTypes(AcceleratorType&& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

The range of the accelerator.

@@ -73,16 +111,14 @@ namespace Model ///@{ /** - *

The accelerator types for the customer managed worker capabilities.

+ *

The operating system (OS) family.

*/ - inline const Aws::Vector& GetAcceleratorTypes() const{ return m_acceleratorTypes; } - inline bool AcceleratorTypesHasBeenSet() const { return m_acceleratorTypesHasBeenSet; } - inline void SetAcceleratorTypes(const Aws::Vector& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes = value; } - inline void SetAcceleratorTypes(Aws::Vector&& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes = std::move(value); } - inline CustomerManagedWorkerCapabilities& WithAcceleratorTypes(const Aws::Vector& value) { SetAcceleratorTypes(value); return *this;} - inline CustomerManagedWorkerCapabilities& WithAcceleratorTypes(Aws::Vector&& value) { SetAcceleratorTypes(std::move(value)); return *this;} - inline CustomerManagedWorkerCapabilities& AddAcceleratorTypes(const AcceleratorType& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(value); return *this; } - inline CustomerManagedWorkerCapabilities& AddAcceleratorTypes(AcceleratorType&& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(std::move(value)); return *this; } + inline const CustomerManagedFleetOperatingSystemFamily& GetOsFamily() const{ return m_osFamily; } + inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; } + inline void SetOsFamily(const CustomerManagedFleetOperatingSystemFamily& value) { m_osFamilyHasBeenSet = true; m_osFamily = value; } + inline void SetOsFamily(CustomerManagedFleetOperatingSystemFamily&& value) { m_osFamilyHasBeenSet = true; m_osFamily = std::move(value); } + inline CustomerManagedWorkerCapabilities& WithOsFamily(const CustomerManagedFleetOperatingSystemFamily& value) { SetOsFamily(value); return *this;} + inline CustomerManagedWorkerCapabilities& WithOsFamily(CustomerManagedFleetOperatingSystemFamily&& value) { SetOsFamily(std::move(value)); return *this;} ///@} ///@{ @@ -124,43 +160,16 @@ namespace Model inline CustomerManagedWorkerCapabilities& AddCustomAttributes(const FleetAttributeCapability& value) { m_customAttributesHasBeenSet = true; m_customAttributes.push_back(value); return *this; } inline CustomerManagedWorkerCapabilities& AddCustomAttributes(FleetAttributeCapability&& value) { m_customAttributesHasBeenSet = true; m_customAttributes.push_back(std::move(value)); return *this; } ///@} + private: - ///@{ - /** - *

The memory (MiB).

- */ - inline const MemoryMiBRange& GetMemoryMiB() const{ return m_memoryMiB; } - inline bool MemoryMiBHasBeenSet() const { return m_memoryMiBHasBeenSet; } - inline void SetMemoryMiB(const MemoryMiBRange& value) { m_memoryMiBHasBeenSet = true; m_memoryMiB = value; } - inline void SetMemoryMiB(MemoryMiBRange&& value) { m_memoryMiBHasBeenSet = true; m_memoryMiB = std::move(value); } - inline CustomerManagedWorkerCapabilities& WithMemoryMiB(const MemoryMiBRange& value) { SetMemoryMiB(value); return *this;} - inline CustomerManagedWorkerCapabilities& WithMemoryMiB(MemoryMiBRange&& value) { SetMemoryMiB(std::move(value)); return *this;} - ///@} + VCpuCountRange m_vCpuCount; + bool m_vCpuCountHasBeenSet = false; - ///@{ - /** - *

The operating system (OS) family.

- */ - inline const CustomerManagedFleetOperatingSystemFamily& GetOsFamily() const{ return m_osFamily; } - inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; } - inline void SetOsFamily(const CustomerManagedFleetOperatingSystemFamily& value) { m_osFamilyHasBeenSet = true; m_osFamily = value; } - inline void SetOsFamily(CustomerManagedFleetOperatingSystemFamily&& value) { m_osFamilyHasBeenSet = true; m_osFamily = std::move(value); } - inline CustomerManagedWorkerCapabilities& WithOsFamily(const CustomerManagedFleetOperatingSystemFamily& value) { SetOsFamily(value); return *this;} - inline CustomerManagedWorkerCapabilities& WithOsFamily(CustomerManagedFleetOperatingSystemFamily&& value) { SetOsFamily(std::move(value)); return *this;} - ///@} + MemoryMiBRange m_memoryMiB; + bool m_memoryMiBHasBeenSet = false; - ///@{ - /** - *

The vCPU count for the customer manged worker capabilities.

- */ - inline const VCpuCountRange& GetVCpuCount() const{ return m_vCpuCount; } - inline bool VCpuCountHasBeenSet() const { return m_vCpuCountHasBeenSet; } - inline void SetVCpuCount(const VCpuCountRange& value) { m_vCpuCountHasBeenSet = true; m_vCpuCount = value; } - inline void SetVCpuCount(VCpuCountRange&& value) { m_vCpuCountHasBeenSet = true; m_vCpuCount = std::move(value); } - inline CustomerManagedWorkerCapabilities& WithVCpuCount(const VCpuCountRange& value) { SetVCpuCount(value); return *this;} - inline CustomerManagedWorkerCapabilities& WithVCpuCount(VCpuCountRange&& value) { SetVCpuCount(std::move(value)); return *this;} - ///@} - private: + Aws::Vector m_acceleratorTypes; + bool m_acceleratorTypesHasBeenSet = false; AcceleratorCountRange m_acceleratorCount; bool m_acceleratorCountHasBeenSet = false; @@ -168,8 +177,8 @@ namespace Model AcceleratorTotalMemoryMiBRange m_acceleratorTotalMemoryMiB; bool m_acceleratorTotalMemoryMiBHasBeenSet = false; - Aws::Vector m_acceleratorTypes; - bool m_acceleratorTypesHasBeenSet = false; + CustomerManagedFleetOperatingSystemFamily m_osFamily; + bool m_osFamilyHasBeenSet = false; CpuArchitectureType m_cpuArchitectureType; bool m_cpuArchitectureTypeHasBeenSet = false; @@ -179,15 +188,6 @@ namespace Model 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 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 index b0cd0d41a36..a54da943d1e 100644 --- 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 @@ -5,9 +5,9 @@ #pragma once #include -#include #include #include +#include #include namespace Aws @@ -39,18 +39,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

The date and time.

- */ - inline const Aws::Utils::DateTime& GetDateTime() const{ return m_dateTime; } - inline bool DateTimeHasBeenSet() const { return m_dateTimeHasBeenSet; } - inline void SetDateTime(const Aws::Utils::DateTime& value) { m_dateTimeHasBeenSet = true; m_dateTime = value; } - inline void SetDateTime(Aws::Utils::DateTime&& value) { m_dateTimeHasBeenSet = true; m_dateTime = std::move(value); } - inline DateTimeFilterExpression& WithDateTime(const Aws::Utils::DateTime& value) { SetDateTime(value); return *this;} - inline DateTimeFilterExpression& WithDateTime(Aws::Utils::DateTime&& value) { SetDateTime(std::move(value)); return *this;} - ///@} - ///@{ /** *

The name of the date-time field to filter on.

@@ -76,16 +64,28 @@ namespace Model inline DateTimeFilterExpression& WithOperator(const ComparisonOperator& value) { SetOperator(value); return *this;} inline DateTimeFilterExpression& WithOperator(ComparisonOperator&& value) { SetOperator(std::move(value)); return *this;} ///@} - private: - Aws::Utils::DateTime m_dateTime; - bool m_dateTimeHasBeenSet = false; + ///@{ + /** + *

The date and time.

+ */ + inline const Aws::Utils::DateTime& GetDateTime() const{ return m_dateTime; } + inline bool DateTimeHasBeenSet() const { return m_dateTimeHasBeenSet; } + inline void SetDateTime(const Aws::Utils::DateTime& value) { m_dateTimeHasBeenSet = true; m_dateTime = value; } + inline void SetDateTime(Aws::Utils::DateTime&& value) { m_dateTimeHasBeenSet = true; m_dateTime = std::move(value); } + inline DateTimeFilterExpression& WithDateTime(const Aws::Utils::DateTime& value) { SetDateTime(value); return *this;} + inline DateTimeFilterExpression& WithDateTime(Aws::Utils::DateTime&& value) { SetDateTime(std::move(value)); return *this;} + ///@} + private: Aws::String m_name; bool m_nameHasBeenSet = false; ComparisonOperator m_operator; bool m_operatorHasBeenSet = false; + + Aws::Utils::DateTime m_dateTime; + bool m_dateTimeHasBeenSet = false; }; } // namespace Model 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 index c8a9fb32c16..b8575d656c0 100644 --- 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 @@ -32,20 +32,6 @@ namespace Model 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; } - inline bool BudgetIdHasBeenSet() const { return m_budgetIdHasBeenSet; } - inline void SetBudgetId(const Aws::String& value) { m_budgetIdHasBeenSet = true; m_budgetId = value; } - inline void SetBudgetId(Aws::String&& value) { m_budgetIdHasBeenSet = true; m_budgetId = std::move(value); } - inline void SetBudgetId(const char* value) { m_budgetIdHasBeenSet = true; m_budgetId.assign(value); } - inline DeleteBudgetRequest& WithBudgetId(const Aws::String& value) { SetBudgetId(value); return *this;} - inline DeleteBudgetRequest& WithBudgetId(Aws::String&& value) { SetBudgetId(std::move(value)); return *this;} - inline DeleteBudgetRequest& WithBudgetId(const char* value) { SetBudgetId(value); return *this;} - ///@} - ///@{ /** *

The farm ID of the farm to remove from the budget.

@@ -59,13 +45,27 @@ namespace Model inline DeleteBudgetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} inline DeleteBudgetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} - private: - Aws::String m_budgetId; - bool m_budgetIdHasBeenSet = false; + ///@{ + /** + *

The budget ID of the budget to delete.

+ */ + inline const Aws::String& GetBudgetId() const{ return m_budgetId; } + inline bool BudgetIdHasBeenSet() const { return m_budgetIdHasBeenSet; } + inline void SetBudgetId(const Aws::String& value) { m_budgetIdHasBeenSet = true; m_budgetId = value; } + inline void SetBudgetId(Aws::String&& value) { m_budgetIdHasBeenSet = true; m_budgetId = std::move(value); } + inline void SetBudgetId(const char* value) { m_budgetIdHasBeenSet = true; m_budgetId.assign(value); } + inline DeleteBudgetRequest& WithBudgetId(const Aws::String& value) { SetBudgetId(value); return *this;} + inline DeleteBudgetRequest& WithBudgetId(Aws::String&& value) { SetBudgetId(std::move(value)); return *this;} + inline DeleteBudgetRequest& WithBudgetId(const char* value) { SetBudgetId(value); return *this;} + ///@} + private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; + + Aws::String m_budgetId; + bool m_budgetIdHasBeenSet = false; }; } // namespace Model 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 index 9784201fcd8..18bea0a366e 100644 --- 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 @@ -46,20 +46,6 @@ namespace Model 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; } - inline bool QueueEnvironmentIdHasBeenSet() const { return m_queueEnvironmentIdHasBeenSet; } - inline void SetQueueEnvironmentId(const Aws::String& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = value; } - inline void SetQueueEnvironmentId(Aws::String&& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = std::move(value); } - inline void SetQueueEnvironmentId(const char* value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId.assign(value); } - inline DeleteQueueEnvironmentRequest& WithQueueEnvironmentId(const Aws::String& value) { SetQueueEnvironmentId(value); return *this;} - inline DeleteQueueEnvironmentRequest& WithQueueEnvironmentId(Aws::String&& value) { SetQueueEnvironmentId(std::move(value)); return *this;} - inline DeleteQueueEnvironmentRequest& WithQueueEnvironmentId(const char* value) { SetQueueEnvironmentId(value); return *this;} - ///@} - ///@{ /** *

The queue ID of the queue environment to delete.

@@ -73,16 +59,30 @@ namespace Model inline DeleteQueueEnvironmentRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} inline DeleteQueueEnvironmentRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} + + ///@{ + /** + *

The queue environment ID of the queue environment to delete.

+ */ + inline const Aws::String& GetQueueEnvironmentId() const{ return m_queueEnvironmentId; } + inline bool QueueEnvironmentIdHasBeenSet() const { return m_queueEnvironmentIdHasBeenSet; } + inline void SetQueueEnvironmentId(const Aws::String& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = value; } + inline void SetQueueEnvironmentId(Aws::String&& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = std::move(value); } + inline void SetQueueEnvironmentId(const char* value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId.assign(value); } + inline DeleteQueueEnvironmentRequest& WithQueueEnvironmentId(const Aws::String& value) { SetQueueEnvironmentId(value); return *this;} + inline DeleteQueueEnvironmentRequest& WithQueueEnvironmentId(Aws::String&& value) { SetQueueEnvironmentId(std::move(value)); return *this;} + inline DeleteQueueEnvironmentRequest& WithQueueEnvironmentId(const char* value) { SetQueueEnvironmentId(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; + + Aws::String m_queueEnvironmentId; + bool m_queueEnvironmentIdHasBeenSet = false; }; } // namespace Model 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 index 5f8afd7e371..09e70f27527 100644 --- 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 @@ -46,20 +46,6 @@ namespace Model 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; } - inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } - inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } - inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } - inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } - inline DeleteQueueFleetAssociationRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} - inline DeleteQueueFleetAssociationRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} - inline DeleteQueueFleetAssociationRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} - ///@} - ///@{ /** *

The queue ID of the queue-fleet association.

@@ -73,16 +59,30 @@ namespace Model inline DeleteQueueFleetAssociationRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} inline DeleteQueueFleetAssociationRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} + + ///@{ + /** + *

The fleet ID of the queue-fleet association.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + inline DeleteQueueFleetAssociationRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + inline DeleteQueueFleetAssociationRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + inline DeleteQueueFleetAssociationRequest& 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; - Aws::String m_queueId; bool m_queueIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; }; } // namespace Model 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 index e975aeed0e9..4a53094390d 100644 --- 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 @@ -35,26 +35,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

The number of consumers resolved.

- */ - inline int GetConsumersResolved() const{ return m_consumersResolved; } - inline bool ConsumersResolvedHasBeenSet() const { return m_consumersResolvedHasBeenSet; } - inline void SetConsumersResolved(int value) { m_consumersResolvedHasBeenSet = true; m_consumersResolved = value; } - inline DependencyCounts& WithConsumersResolved(int value) { SetConsumersResolved(value); return *this;} - ///@} - - ///@{ - /** - *

The number of unresolved consumers.

- */ - inline int GetConsumersUnresolved() const{ return m_consumersUnresolved; } - inline bool ConsumersUnresolvedHasBeenSet() const { return m_consumersUnresolvedHasBeenSet; } - inline void SetConsumersUnresolved(int value) { m_consumersUnresolvedHasBeenSet = true; m_consumersUnresolved = value; } - inline DependencyCounts& WithConsumersUnresolved(int value) { SetConsumersUnresolved(value); return *this;} - ///@} - ///@{ /** *

The number of resolved dependencies.

@@ -74,19 +54,39 @@ namespace Model inline void SetDependenciesUnresolved(int value) { m_dependenciesUnresolvedHasBeenSet = true; m_dependenciesUnresolved = value; } inline DependencyCounts& WithDependenciesUnresolved(int value) { SetDependenciesUnresolved(value); return *this;} ///@} - private: - int m_consumersResolved; - bool m_consumersResolvedHasBeenSet = false; + ///@{ + /** + *

The number of consumers resolved.

+ */ + inline int GetConsumersResolved() const{ return m_consumersResolved; } + inline bool ConsumersResolvedHasBeenSet() const { return m_consumersResolvedHasBeenSet; } + inline void SetConsumersResolved(int value) { m_consumersResolvedHasBeenSet = true; m_consumersResolved = value; } + inline DependencyCounts& WithConsumersResolved(int value) { SetConsumersResolved(value); return *this;} + ///@} - int m_consumersUnresolved; - bool m_consumersUnresolvedHasBeenSet = false; + ///@{ + /** + *

The number of unresolved consumers.

+ */ + inline int GetConsumersUnresolved() const{ return m_consumersUnresolved; } + inline bool ConsumersUnresolvedHasBeenSet() const { return m_consumersUnresolvedHasBeenSet; } + inline void SetConsumersUnresolved(int value) { m_consumersUnresolvedHasBeenSet = true; m_consumersUnresolved = value; } + inline DependencyCounts& WithConsumersUnresolved(int value) { SetConsumersUnresolved(value); return *this;} + ///@} + private: int m_dependenciesResolved; bool m_dependenciesResolvedHasBeenSet = false; int m_dependenciesUnresolved; bool m_dependenciesUnresolvedHasBeenSet = false; + + int m_consumersResolved; + bool m_consumersResolvedHasBeenSet = false; + + int m_consumersUnresolved; + bool m_consumersUnresolvedHasBeenSet = false; }; } // namespace Model 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 index b7cf347f88d..d11d614e38f 100644 --- 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 @@ -46,6 +46,20 @@ namespace Model inline DisassociateMemberFromJobRequest& WithFarmId(const char* value) { SetFarmId(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; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline DisassociateMemberFromJobRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline DisassociateMemberFromJobRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline DisassociateMemberFromJobRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + ///@} + ///@{ /** *

The job ID to disassociate from a member in a job.

@@ -73,33 +87,19 @@ namespace Model inline DisassociateMemberFromJobRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} 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; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline DisassociateMemberFromJobRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline DisassociateMemberFromJobRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline DisassociateMemberFromJobRequest& 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; + 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 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 index 95bf9446e58..7bc5379c589 100644 --- 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 @@ -46,20 +46,6 @@ namespace Model 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; } - inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } - inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } - inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } - inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } - inline DisassociateMemberFromQueueRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} - inline DisassociateMemberFromQueueRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} - inline DisassociateMemberFromQueueRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} - ///@} - ///@{ /** *

The queue ID of the queue in which you're disassociating from a member.

@@ -73,16 +59,30 @@ namespace Model inline DisassociateMemberFromQueueRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} inline DisassociateMemberFromQueueRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} + + ///@{ + /** + *

A member's principal ID to disassociate from a queue.

+ */ + inline const Aws::String& GetPrincipalId() const{ return m_principalId; } + inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } + inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } + inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } + inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } + inline DisassociateMemberFromQueueRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} + inline DisassociateMemberFromQueueRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} + inline DisassociateMemberFromQueueRequest& 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; - Aws::String m_queueId; bool m_queueIdHasBeenSet = false; + + Aws::String m_principalId; + bool m_principalIdHasBeenSet = false; }; } // namespace Model 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 index 62c1ebcad76..48de26e7f43 100644 --- 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 @@ -35,16 +35,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

The IOPS per volume.

- */ - inline int GetIops() const{ return m_iops; } - inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; } - inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; } - inline Ec2EbsVolume& WithIops(int value) { SetIops(value); return *this;} - ///@} - ///@{ /** *

The EBS volume size in GiB.

@@ -55,6 +45,16 @@ namespace Model inline Ec2EbsVolume& WithSizeGiB(int value) { SetSizeGiB(value); return *this;} ///@} + ///@{ + /** + *

The IOPS per volume.

+ */ + inline int GetIops() const{ return m_iops; } + inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; } + inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; } + inline Ec2EbsVolume& WithIops(int value) { SetIops(value); return *this;} + ///@} + ///@{ /** *

The throughput per volume in MiB.

@@ -66,12 +66,12 @@ namespace Model ///@} private: - int m_iops; - bool m_iopsHasBeenSet = false; - int m_sizeGiB; bool m_sizeGiBHasBeenSet = false; + int m_iops; + bool m_iopsHasBeenSet = false; + int m_throughputMiB; bool m_throughputMiBHasBeenSet = false; }; 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 index efd673a5541..f44c44c14b6 100644 --- 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 @@ -38,20 +38,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

The environment ID.

- */ - inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } - inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } - inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } - inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } - inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } - inline EnvironmentDetailsEntity& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} - inline EnvironmentDetailsEntity& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} - inline EnvironmentDetailsEntity& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} - ///@} - ///@{ /** *

The job ID.

@@ -66,6 +52,20 @@ namespace Model inline EnvironmentDetailsEntity& WithJobId(const char* value) { SetJobId(value); return *this;} ///@} + ///@{ + /** + *

The environment ID.

+ */ + inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } + inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } + inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } + inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } + inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } + inline EnvironmentDetailsEntity& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} + inline EnvironmentDetailsEntity& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} + inline EnvironmentDetailsEntity& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} + ///@} + ///@{ /** *

The schema version in the environment.

@@ -93,12 +93,12 @@ namespace Model ///@} private: - Aws::String m_environmentId; - bool m_environmentIdHasBeenSet = false; - Aws::String m_jobId; bool m_jobIdHasBeenSet = false; + Aws::String m_environmentId; + bool m_environmentIdHasBeenSet = false; + Aws::String m_schemaVersion; bool m_schemaVersionHasBeenSet = false; 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 index bebe0fd8e4a..adf3f3c2727 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -40,14 +40,16 @@ namespace Model ///@{ /** - *

The error code.

+ *

The job ID.

*/ - inline const JobEntityErrorCode& GetCode() const{ return m_code; } - inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } - inline void SetCode(const JobEntityErrorCode& value) { m_codeHasBeenSet = true; m_code = value; } - inline void SetCode(JobEntityErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } - inline EnvironmentDetailsError& WithCode(const JobEntityErrorCode& value) { SetCode(value); return *this;} - inline EnvironmentDetailsError& WithCode(JobEntityErrorCode&& value) { SetCode(std::move(value)); return *this;} + inline const Aws::String& GetJobId() const{ return m_jobId; } + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + inline EnvironmentDetailsError& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + inline EnvironmentDetailsError& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + inline EnvironmentDetailsError& WithJobId(const char* value) { SetJobId(value); return *this;} ///@} ///@{ @@ -66,16 +68,14 @@ namespace Model ///@{ /** - *

The job ID.

+ *

The error code.

*/ - inline const Aws::String& GetJobId() const{ return m_jobId; } - inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } - inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } - inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } - inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } - inline EnvironmentDetailsError& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} - inline EnvironmentDetailsError& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} - inline EnvironmentDetailsError& WithJobId(const char* value) { SetJobId(value); return *this;} + inline const JobEntityErrorCode& GetCode() const{ return m_code; } + inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } + inline void SetCode(const JobEntityErrorCode& value) { m_codeHasBeenSet = true; m_code = value; } + inline void SetCode(JobEntityErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } + inline EnvironmentDetailsError& WithCode(const JobEntityErrorCode& value) { SetCode(value); return *this;} + inline EnvironmentDetailsError& WithCode(JobEntityErrorCode&& value) { SetCode(std::move(value)); return *this;} ///@} ///@{ @@ -93,14 +93,14 @@ namespace Model ///@} private: - JobEntityErrorCode m_code; - bool m_codeHasBeenSet = false; + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; - Aws::String m_jobId; - bool m_jobIdHasBeenSet = false; + JobEntityErrorCode m_code; + bool m_codeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; 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 index 1a2a5e7695d..3c3b9a6b15d 100644 --- 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 @@ -37,20 +37,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

The environment ID.

- */ - inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } - inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } - inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } - inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } - inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } - inline EnvironmentDetailsIdentifiers& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} - inline EnvironmentDetailsIdentifiers& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} - inline EnvironmentDetailsIdentifiers& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} - ///@} - ///@{ /** *

The job ID.

@@ -64,13 +50,27 @@ namespace Model inline EnvironmentDetailsIdentifiers& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} inline EnvironmentDetailsIdentifiers& WithJobId(const char* value) { SetJobId(value); return *this;} ///@} - private: - Aws::String m_environmentId; - bool m_environmentIdHasBeenSet = false; + ///@{ + /** + *

The environment ID.

+ */ + inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } + inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } + inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } + inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } + inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } + inline EnvironmentDetailsIdentifiers& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} + inline EnvironmentDetailsIdentifiers& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} + inline EnvironmentDetailsIdentifiers& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} + ///@} + private: Aws::String m_jobId; bool m_jobIdHasBeenSet = false; + + Aws::String m_environmentId; + bool m_environmentIdHasBeenSet = false; }; } // namespace Model 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 index 95efda07794..626abf90355 100644 --- 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 @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -53,32 +53,6 @@ namespace Model 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; } - inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } - inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } - inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } - inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } - inline FarmMember& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} - inline FarmMember& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} - inline FarmMember& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} - ///@} - - ///@{ - /** - *

The farm member's membership level.

- */ - inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } - inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } - inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } - inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } - inline FarmMember& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} - inline FarmMember& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} - ///@} - ///@{ /** *

The principal ID of the farm member.

@@ -104,22 +78,48 @@ namespace Model inline FarmMember& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;} inline FarmMember& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

The identity store ID of the farm member.

+ */ + inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } + inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } + inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } + inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } + inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } + inline FarmMember& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} + inline FarmMember& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} + inline FarmMember& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} + ///@} + + ///@{ + /** + *

The farm member's membership level.

+ */ + inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } + inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } + inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } + inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } + inline FarmMember& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} + inline FarmMember& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(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; + + Aws::String m_identityStoreId; + bool m_identityStoreIdHasBeenSet = false; + + MembershipLevel m_membershipLevel; + bool m_membershipLevelHasBeenSet = false; }; } // namespace Model 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 index 4f57643785e..5ed6590a58b 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -40,33 +40,23 @@ namespace Model ///@{ /** - *

The date and time the resource was created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } - inline FarmSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline FarmSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

The user or system that created this resource.

+ *

The farm ID.

*/ - inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } - inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } - inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } - inline FarmSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline FarmSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline FarmSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + inline const Aws::String& GetFarmId() const{ return m_farmId; } + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + inline FarmSummary& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + inline FarmSummary& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + inline FarmSummary& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} ///@{ /** - *

The display name of the farm.

+ *

The display name of the farm.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } @@ -78,20 +68,6 @@ namespace Model inline FarmSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} ///@} - ///@{ - /** - *

The farm ID.

- */ - inline const Aws::String& GetFarmId() const{ return m_farmId; } - inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } - inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } - inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } - inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } - inline FarmSummary& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} - inline FarmSummary& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} - inline FarmSummary& WithFarmId(const char* value) { SetFarmId(value); return *this;} - ///@} - ///@{ /** *

The ARN for the KMS key.

@@ -106,6 +82,32 @@ namespace Model inline FarmSummary& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} ///@} + ///@{ + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline FarmSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + 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; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline FarmSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline FarmSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline FarmSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + ///@{ /** *

The date and time the resource was updated.

@@ -133,21 +135,21 @@ namespace Model ///@} 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_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_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; 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 index bc2c8c43a1b..ec397e65496 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -38,6 +38,18 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

The sort order for the field.

+ */ + inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } + inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } + inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } + inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } + inline FieldSortExpression& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} + inline FieldSortExpression& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} + ///@} + ///@{ /** *

The name of the field.

@@ -51,25 +63,13 @@ namespace Model inline FieldSortExpression& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} inline FieldSortExpression& WithName(const char* value) { SetName(value); return *this;} ///@} - - ///@{ - /** - *

The sort order for the field.

- */ - inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } - inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } - inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } - inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } - inline FieldSortExpression& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} - 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; + + Aws::String m_name; + bool m_nameHasBeenSet = false; }; } // namespace Model 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 index 751a7b7adbf..14c8797528b 100644 --- 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 @@ -37,18 +37,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

When the budget ends.

- */ - inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } - inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } - inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } - inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } - inline FixedBudgetSchedule& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} - inline FixedBudgetSchedule& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} - ///@} - ///@{ /** *

When the budget starts.

@@ -60,13 +48,25 @@ namespace Model inline FixedBudgetSchedule& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} inline FixedBudgetSchedule& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} ///@} - private: - Aws::Utils::DateTime m_endTime; - bool m_endTimeHasBeenSet = false; + ///@{ + /** + *

When the budget ends.

+ */ + inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } + inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } + inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } + inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } + inline FixedBudgetSchedule& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} + inline FixedBudgetSchedule& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} + ///@} + private: Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; + + Aws::Utils::DateTime m_endTime; + bool m_endTimeHasBeenSet = false; }; } // namespace Model 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 index 97f943f844d..54a104085da 100644 --- 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 @@ -39,12 +39,16 @@ namespace Model ///@{ /** - *

The maximum amount of the fleet worker capability.

+ *

The name of the fleet capability.

*/ - inline double GetMax() const{ return m_max; } - inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } - inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; } - inline FleetAmountCapability& WithMax(double value) { SetMax(value); return *this;} + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline FleetAmountCapability& WithName(const Aws::String& value) { SetName(value); return *this;} + inline FleetAmountCapability& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline FleetAmountCapability& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ @@ -59,27 +63,23 @@ namespace Model ///@{ /** - *

The name of the fleet capability.

+ *

The maximum amount of the fleet worker capability.

*/ - inline const Aws::String& GetName() const{ return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } - inline FleetAmountCapability& WithName(const Aws::String& value) { SetName(value); return *this;} - inline FleetAmountCapability& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline FleetAmountCapability& WithName(const char* value) { SetName(value); return *this;} + inline double GetMax() const{ return m_max; } + inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } + inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; } + inline FleetAmountCapability& WithMax(double value) { SetMax(value); return *this;} ///@} private: - double m_max; - bool m_maxHasBeenSet = false; + Aws::String m_name; + bool m_nameHasBeenSet = false; double m_min; bool m_minHasBeenSet = false; - Aws::String m_name; - bool m_nameHasBeenSet = false; + double m_max; + bool m_maxHasBeenSet = false; }; } // namespace Model 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 index 211f024cf61..fe41b9c71e3 100644 --- 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 @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -67,32 +67,6 @@ namespace Model inline FleetMember& WithFleetId(const char* value) { SetFleetId(value); return *this;} ///@} - ///@{ - /** - *

The identity store ID.

- */ - inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } - inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } - inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } - inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } - inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } - inline FleetMember& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} - inline FleetMember& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} - inline FleetMember& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} - ///@} - - ///@{ - /** - *

The fleet member's membership level.

- */ - inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } - inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } - inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } - inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } - inline FleetMember& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} - inline FleetMember& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} - ///@} - ///@{ /** *

The principal ID of the fleet member.

@@ -118,6 +92,32 @@ namespace Model inline FleetMember& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;} inline FleetMember& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

The identity store ID.

+ */ + inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } + inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } + inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } + inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } + inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } + inline FleetMember& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} + inline FleetMember& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} + inline FleetMember& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} + ///@} + + ///@{ + /** + *

The fleet member's membership level.

+ */ + inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } + inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } + inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } + inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } + inline FleetMember& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} + inline FleetMember& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} + ///@} private: Aws::String m_farmId; @@ -126,17 +126,17 @@ namespace Model 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; + + Aws::String m_identityStoreId; + bool m_identityStoreIdHasBeenSet = false; + + MembershipLevel m_membershipLevel; + bool m_membershipLevelHasBeenSet = false; }; } // namespace Model 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 index 659caaa3a99..368dac3fd8c 100644 --- 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 @@ -5,11 +5,11 @@ #pragma once #include +#include +#include #include #include #include -#include -#include #include namespace Aws @@ -43,94 +43,101 @@ namespace Model ///@{ /** - *

The Auto Scaling status of a fleet.

+ *

The fleet ID.

*/ - inline const AutoScalingStatus& GetAutoScalingStatus() const{ return m_autoScalingStatus; } - inline bool AutoScalingStatusHasBeenSet() const { return m_autoScalingStatusHasBeenSet; } - inline void SetAutoScalingStatus(const AutoScalingStatus& value) { m_autoScalingStatusHasBeenSet = true; m_autoScalingStatus = value; } - inline void SetAutoScalingStatus(AutoScalingStatus&& value) { m_autoScalingStatusHasBeenSet = true; m_autoScalingStatus = std::move(value); } - inline FleetSummary& WithAutoScalingStatus(const AutoScalingStatus& value) { SetAutoScalingStatus(value); return *this;} - inline FleetSummary& WithAutoScalingStatus(AutoScalingStatus&& value) { SetAutoScalingStatus(std::move(value)); return *this;} + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + inline FleetSummary& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + inline FleetSummary& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + inline FleetSummary& WithFleetId(const char* value) { SetFleetId(value); return *this;} ///@} ///@{ /** - *

The configuration details for the fleet.

+ *

The farm ID.

*/ - inline const FleetConfiguration& GetConfiguration() const{ return m_configuration; } - inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } - inline void SetConfiguration(const FleetConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } - inline void SetConfiguration(FleetConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } - inline FleetSummary& WithConfiguration(const FleetConfiguration& value) { SetConfiguration(value); return *this;} - inline FleetSummary& WithConfiguration(FleetConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} + inline const Aws::String& GetFarmId() const{ return m_farmId; } + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + inline FleetSummary& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + inline FleetSummary& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + inline FleetSummary& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} ///@{ /** - *

The date and time the resource was created.

+ *

The display name of the fleet summary to update.

This + * field can store any content. Escape or encode this content before displaying it + * on a webpage or any other system that might interpret the content of this + * field.

*/ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } - inline FleetSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline FleetSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + inline FleetSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + inline FleetSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + inline FleetSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} ///@} ///@{ /** - *

The user or system that created this resource.

+ *

The status of the fleet.

*/ - inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } - inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } - inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } - inline FleetSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline FleetSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline FleetSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + inline const FleetStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const FleetStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(FleetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline FleetSummary& WithStatus(const FleetStatus& value) { SetStatus(value); return *this;} + inline FleetSummary& WithStatus(FleetStatus&& value) { SetStatus(std::move(value)); return *this;} ///@} ///@{ /** - *

The display name of the fleet summary to update.

+ *

The Auto Scaling status of a fleet.

*/ - inline const Aws::String& GetDisplayName() const{ return m_displayName; } - inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } - inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } - inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } - inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } - inline FleetSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} - inline FleetSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} - inline FleetSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + inline const AutoScalingStatus& GetAutoScalingStatus() const{ return m_autoScalingStatus; } + inline bool AutoScalingStatusHasBeenSet() const { return m_autoScalingStatusHasBeenSet; } + inline void SetAutoScalingStatus(const AutoScalingStatus& value) { m_autoScalingStatusHasBeenSet = true; m_autoScalingStatus = value; } + inline void SetAutoScalingStatus(AutoScalingStatus&& value) { m_autoScalingStatusHasBeenSet = true; m_autoScalingStatus = std::move(value); } + inline FleetSummary& WithAutoScalingStatus(const AutoScalingStatus& value) { SetAutoScalingStatus(value); return *this;} + inline FleetSummary& WithAutoScalingStatus(AutoScalingStatus&& value) { SetAutoScalingStatus(std::move(value)); return *this;} ///@} ///@{ /** - *

The farm ID.

+ *

The target number of workers in a fleet.

*/ - inline const Aws::String& GetFarmId() const{ return m_farmId; } - inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } - inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } - inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } - inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } - inline FleetSummary& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} - inline FleetSummary& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} - inline FleetSummary& WithFarmId(const char* value) { SetFarmId(value); return *this;} + inline int GetTargetWorkerCount() const{ return m_targetWorkerCount; } + inline bool TargetWorkerCountHasBeenSet() const { return m_targetWorkerCountHasBeenSet; } + inline void SetTargetWorkerCount(int value) { m_targetWorkerCountHasBeenSet = true; m_targetWorkerCount = value; } + inline FleetSummary& WithTargetWorkerCount(int value) { SetTargetWorkerCount(value); return *this;} ///@} ///@{ /** - *

The fleet ID.

+ *

The number of workers in the fleet summary.

*/ - inline const Aws::String& GetFleetId() const{ return m_fleetId; } - inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } - inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } - inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } - inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } - inline FleetSummary& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} - inline FleetSummary& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} - inline FleetSummary& WithFleetId(const char* value) { SetFleetId(value); return *this;} + inline int GetWorkerCount() const{ return m_workerCount; } + inline bool WorkerCountHasBeenSet() const { return m_workerCountHasBeenSet; } + inline void SetWorkerCount(int value) { m_workerCountHasBeenSet = true; m_workerCount = value; } + inline FleetSummary& WithWorkerCount(int value) { SetWorkerCount(value); return *this;} + ///@} + + ///@{ + /** + *

The minimum number of workers in the fleet.

+ */ + inline int GetMinWorkerCount() const{ return m_minWorkerCount; } + inline bool MinWorkerCountHasBeenSet() const { return m_minWorkerCountHasBeenSet; } + inline void SetMinWorkerCount(int value) { m_minWorkerCountHasBeenSet = true; m_minWorkerCount = value; } + inline FleetSummary& WithMinWorkerCount(int value) { SetMinWorkerCount(value); return *this;} ///@} ///@{ @@ -145,34 +152,40 @@ namespace Model ///@{ /** - *

The minimum number of workers in the fleet.

+ *

The configuration details for the fleet.

*/ - inline int GetMinWorkerCount() const{ return m_minWorkerCount; } - inline bool MinWorkerCountHasBeenSet() const { return m_minWorkerCountHasBeenSet; } - inline void SetMinWorkerCount(int value) { m_minWorkerCountHasBeenSet = true; m_minWorkerCount = value; } - inline FleetSummary& WithMinWorkerCount(int value) { SetMinWorkerCount(value); return *this;} + inline const FleetConfiguration& GetConfiguration() const{ return m_configuration; } + inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } + inline void SetConfiguration(const FleetConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } + inline void SetConfiguration(FleetConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } + inline FleetSummary& WithConfiguration(const FleetConfiguration& value) { SetConfiguration(value); return *this;} + inline FleetSummary& WithConfiguration(FleetConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} ///@} ///@{ /** - *

The status of the fleet.

+ *

The date and time the resource was created.

*/ - inline const FleetStatus& GetStatus() const{ return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(const FleetStatus& value) { m_statusHasBeenSet = true; m_status = value; } - inline void SetStatus(FleetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } - inline FleetSummary& WithStatus(const FleetStatus& value) { SetStatus(value); return *this;} - inline FleetSummary& WithStatus(FleetStatus&& value) { SetStatus(std::move(value)); return *this;} + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline FleetSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline FleetSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} ///@} ///@{ /** - *

The target number of workers in a fleet.

+ *

The user or system that created this resource.

*/ - inline int GetTargetWorkerCount() const{ return m_targetWorkerCount; } - inline bool TargetWorkerCountHasBeenSet() const { return m_targetWorkerCountHasBeenSet; } - inline void SetTargetWorkerCount(int value) { m_targetWorkerCountHasBeenSet = true; m_targetWorkerCount = value; } - inline FleetSummary& WithTargetWorkerCount(int value) { SetTargetWorkerCount(value); return *this;} + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline FleetSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline FleetSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline FleetSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} ///@} ///@{ @@ -200,59 +213,49 @@ namespace Model inline FleetSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} 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; } - inline bool WorkerCountHasBeenSet() const { return m_workerCountHasBeenSet; } - inline void SetWorkerCount(int value) { m_workerCountHasBeenSet = true; m_workerCount = value; } - 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_fleetId; + bool m_fleetIdHasBeenSet = false; - Aws::String m_createdBy; - bool m_createdByHasBeenSet = false; + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; - Aws::String m_farmId; - bool m_farmIdHasBeenSet = false; + FleetStatus m_status; + bool m_statusHasBeenSet = false; - Aws::String m_fleetId; - bool m_fleetIdHasBeenSet = false; + AutoScalingStatus m_autoScalingStatus; + bool m_autoScalingStatusHasBeenSet = false; - int m_maxWorkerCount; - bool m_maxWorkerCountHasBeenSet = false; + int m_targetWorkerCount; + bool m_targetWorkerCountHasBeenSet = false; + + int m_workerCount; + bool m_workerCountHasBeenSet = false; int m_minWorkerCount; bool m_minWorkerCountHasBeenSet = false; - FleetStatus m_status; - bool m_statusHasBeenSet = false; + int m_maxWorkerCount; + bool m_maxWorkerCountHasBeenSet = false; - int m_targetWorkerCount; - bool m_targetWorkerCountHasBeenSet = 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::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 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 index f2c48456255..c59e11def86 100644 --- 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 @@ -32,20 +32,6 @@ namespace Model AWS_DEADLINE_API Aws::String SerializePayload() const override; - ///@{ - /** - *

The budget ID.

- */ - inline const Aws::String& GetBudgetId() const{ return m_budgetId; } - inline bool BudgetIdHasBeenSet() const { return m_budgetIdHasBeenSet; } - inline void SetBudgetId(const Aws::String& value) { m_budgetIdHasBeenSet = true; m_budgetId = value; } - inline void SetBudgetId(Aws::String&& value) { m_budgetIdHasBeenSet = true; m_budgetId = std::move(value); } - inline void SetBudgetId(const char* value) { m_budgetIdHasBeenSet = true; m_budgetId.assign(value); } - inline GetBudgetRequest& WithBudgetId(const Aws::String& value) { SetBudgetId(value); return *this;} - inline GetBudgetRequest& WithBudgetId(Aws::String&& value) { SetBudgetId(std::move(value)); return *this;} - inline GetBudgetRequest& WithBudgetId(const char* value) { SetBudgetId(value); return *this;} - ///@} - ///@{ /** *

The farm ID of the farm connected to the budget.

@@ -59,13 +45,27 @@ namespace Model inline GetBudgetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} inline GetBudgetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} - private: - Aws::String m_budgetId; - bool m_budgetIdHasBeenSet = false; + ///@{ + /** + *

The budget ID.

+ */ + inline const Aws::String& GetBudgetId() const{ return m_budgetId; } + inline bool BudgetIdHasBeenSet() const { return m_budgetIdHasBeenSet; } + inline void SetBudgetId(const Aws::String& value) { m_budgetIdHasBeenSet = true; m_budgetId = value; } + inline void SetBudgetId(Aws::String&& value) { m_budgetIdHasBeenSet = true; m_budgetId = std::move(value); } + inline void SetBudgetId(const char* value) { m_budgetIdHasBeenSet = true; m_budgetId.assign(value); } + inline GetBudgetRequest& WithBudgetId(const Aws::String& value) { SetBudgetId(value); return *this;} + inline GetBudgetRequest& WithBudgetId(Aws::String&& value) { SetBudgetId(std::move(value)); return *this;} + inline GetBudgetRequest& WithBudgetId(const char* value) { SetBudgetId(value); return *this;} + ///@} + private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; + + Aws::String m_budgetId; + bool m_budgetIdHasBeenSet = false; }; } // namespace Model 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 index d2852aa788a..45ee71b54cd 100644 --- 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 @@ -5,13 +5,13 @@ #pragma once #include -#include #include -#include -#include -#include #include +#include #include +#include +#include +#include #include #include @@ -39,28 +39,6 @@ namespace Model AWS_DEADLINE_API GetBudgetResult& operator=(const Aws::AmazonWebServiceResult& result); - ///@{ - /** - *

The budget actions for the budget.

- */ - inline const Aws::Vector& GetActions() const{ return m_actions; } - inline void SetActions(const Aws::Vector& value) { m_actions = value; } - inline void SetActions(Aws::Vector&& value) { m_actions = std::move(value); } - inline GetBudgetResult& WithActions(const Aws::Vector& value) { SetActions(value); return *this;} - inline GetBudgetResult& WithActions(Aws::Vector&& value) { SetActions(std::move(value)); return *this;} - inline GetBudgetResult& AddActions(const ResponseBudgetAction& value) { m_actions.push_back(value); return *this; } - 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; } - inline void SetApproximateDollarLimit(double value) { m_approximateDollarLimit = value; } - inline GetBudgetResult& WithApproximateDollarLimit(double value) { SetApproximateDollarLimit(value); return *this;} - ///@} - ///@{ /** *

The budget ID.

@@ -76,31 +54,48 @@ namespace Model ///@{ /** - *

The date and time the resource was created.

+ *

The resource that the budget is tracking usage for.

*/ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } - inline GetBudgetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline GetBudgetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + inline const UsageTrackingResource& GetUsageTrackingResource() const{ return m_usageTrackingResource; } + inline void SetUsageTrackingResource(const UsageTrackingResource& value) { m_usageTrackingResource = value; } + inline void SetUsageTrackingResource(UsageTrackingResource&& value) { m_usageTrackingResource = std::move(value); } + inline GetBudgetResult& WithUsageTrackingResource(const UsageTrackingResource& value) { SetUsageTrackingResource(value); return *this;} + inline GetBudgetResult& WithUsageTrackingResource(UsageTrackingResource&& value) { SetUsageTrackingResource(std::move(value)); return *this;} ///@} ///@{ /** - *

The user or system that created this resource.

+ *

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 Aws::String& GetCreatedBy() const{ return m_createdBy; } - inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } - inline GetBudgetResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline GetBudgetResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline GetBudgetResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + inline const BudgetStatus& GetStatus() const{ return m_status; } + inline void SetStatus(const BudgetStatus& value) { m_status = value; } + inline void SetStatus(BudgetStatus&& value) { m_status = std::move(value); } + inline GetBudgetResult& WithStatus(const BudgetStatus& value) { SetStatus(value); return *this;} + inline GetBudgetResult& WithStatus(BudgetStatus&& value) { SetStatus(std::move(value)); return *this;} ///@} ///@{ /** - *

The description of the budget.

+ *

The display name of the budget.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

+ */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } + inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } + inline void SetDisplayName(const char* value) { m_displayName.assign(value); } + inline GetBudgetResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + inline GetBudgetResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + inline GetBudgetResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + ///@} + + ///@{ + /** + *

The description of the budget.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

*/ inline const Aws::String& GetDescription() const{ return m_description; } inline void SetDescription(const Aws::String& value) { m_description = value; } @@ -113,26 +108,35 @@ namespace Model ///@{ /** - *

The display name of the budget.

+ *

The consumed usage limit for the budget.

*/ - inline const Aws::String& GetDisplayName() const{ return m_displayName; } - inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } - inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } - inline void SetDisplayName(const char* value) { m_displayName.assign(value); } - inline GetBudgetResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} - inline GetBudgetResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} - inline GetBudgetResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + inline double GetApproximateDollarLimit() const{ return m_approximateDollarLimit; } + inline void SetApproximateDollarLimit(double value) { m_approximateDollarLimit = value; } + inline GetBudgetResult& WithApproximateDollarLimit(double value) { SetApproximateDollarLimit(value); return *this;} ///@} ///@{ /** - *

The date and time the queue stopped.

+ *

The usages of the budget.

*/ - inline const Aws::Utils::DateTime& GetQueueStoppedAt() const{ return m_queueStoppedAt; } - inline void SetQueueStoppedAt(const Aws::Utils::DateTime& value) { m_queueStoppedAt = value; } - inline void SetQueueStoppedAt(Aws::Utils::DateTime&& value) { m_queueStoppedAt = std::move(value); } - inline GetBudgetResult& WithQueueStoppedAt(const Aws::Utils::DateTime& value) { SetQueueStoppedAt(value); return *this;} - inline GetBudgetResult& WithQueueStoppedAt(Aws::Utils::DateTime&& value) { SetQueueStoppedAt(std::move(value)); return *this;} + inline const ConsumedUsages& GetUsages() const{ return m_usages; } + inline void SetUsages(const ConsumedUsages& value) { m_usages = value; } + inline void SetUsages(ConsumedUsages&& value) { m_usages = std::move(value); } + inline GetBudgetResult& WithUsages(const ConsumedUsages& value) { SetUsages(value); return *this;} + inline GetBudgetResult& WithUsages(ConsumedUsages&& value) { SetUsages(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The budget actions for the budget.

+ */ + inline const Aws::Vector& GetActions() const{ return m_actions; } + inline void SetActions(const Aws::Vector& value) { m_actions = value; } + inline void SetActions(Aws::Vector&& value) { m_actions = std::move(value); } + inline GetBudgetResult& WithActions(const Aws::Vector& value) { SetActions(value); return *this;} + inline GetBudgetResult& WithActions(Aws::Vector&& value) { SetActions(std::move(value)); return *this;} + inline GetBudgetResult& AddActions(const ResponseBudgetAction& value) { m_actions.push_back(value); return *this; } + inline GetBudgetResult& AddActions(ResponseBudgetAction&& value) { m_actions.push_back(std::move(value)); return *this; } ///@} ///@{ @@ -148,26 +152,26 @@ namespace Model ///@{ /** - *

The status of the budget.

  • ACTIVE–Get a budget - * being evaluated.

  • INACTIVE–Get an inactive - * budget. This can include expired, canceled, or deleted statuses.

+ *

The user or system that created this resource.

*/ - inline const BudgetStatus& GetStatus() const{ return m_status; } - inline void SetStatus(const BudgetStatus& value) { m_status = value; } - inline void SetStatus(BudgetStatus&& value) { m_status = std::move(value); } - inline GetBudgetResult& WithStatus(const BudgetStatus& value) { SetStatus(value); return *this;} - inline GetBudgetResult& WithStatus(BudgetStatus&& value) { SetStatus(std::move(value)); return *this;} + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetBudgetResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetBudgetResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetBudgetResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} ///@} ///@{ /** - *

The date and time the resource was updated.

+ *

The date and time the resource was created.

*/ - inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } - inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } - inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } - inline GetBudgetResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} - inline GetBudgetResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetBudgetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline GetBudgetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} ///@} ///@{ @@ -185,24 +189,24 @@ namespace Model ///@{ /** - *

The resource that the budget is tracking usage for.

+ *

The date and time the resource was updated.

*/ - inline const UsageTrackingResource& GetUsageTrackingResource() const{ return m_usageTrackingResource; } - inline void SetUsageTrackingResource(const UsageTrackingResource& value) { m_usageTrackingResource = value; } - inline void SetUsageTrackingResource(UsageTrackingResource&& value) { m_usageTrackingResource = std::move(value); } - inline GetBudgetResult& WithUsageTrackingResource(const UsageTrackingResource& value) { SetUsageTrackingResource(value); return *this;} - inline GetBudgetResult& WithUsageTrackingResource(UsageTrackingResource&& value) { SetUsageTrackingResource(std::move(value)); return *this;} + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } + inline GetBudgetResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + inline GetBudgetResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} ///@} ///@{ /** - *

The usages of the budget.

+ *

The date and time the queue stopped.

*/ - inline const ConsumedUsages& GetUsages() const{ return m_usages; } - inline void SetUsages(const ConsumedUsages& value) { m_usages = value; } - inline void SetUsages(ConsumedUsages&& value) { m_usages = std::move(value); } - inline GetBudgetResult& WithUsages(const ConsumedUsages& value) { SetUsages(value); return *this;} - inline GetBudgetResult& WithUsages(ConsumedUsages&& value) { SetUsages(std::move(value)); return *this;} + inline const Aws::Utils::DateTime& GetQueueStoppedAt() const{ return m_queueStoppedAt; } + inline void SetQueueStoppedAt(const Aws::Utils::DateTime& value) { m_queueStoppedAt = value; } + inline void SetQueueStoppedAt(Aws::Utils::DateTime&& value) { m_queueStoppedAt = std::move(value); } + inline GetBudgetResult& WithQueueStoppedAt(const Aws::Utils::DateTime& value) { SetQueueStoppedAt(value); return *this;} + inline GetBudgetResult& WithQueueStoppedAt(Aws::Utils::DateTime&& value) { SetQueueStoppedAt(std::move(value)); return *this;} ///@} ///@{ @@ -217,33 +221,33 @@ namespace Model ///@} private: - Aws::Vector m_actions; - - double m_approximateDollarLimit; - Aws::String m_budgetId; - Aws::Utils::DateTime m_createdAt; + UsageTrackingResource m_usageTrackingResource; - Aws::String m_createdBy; + BudgetStatus m_status; + + Aws::String m_displayName; Aws::String m_description; - Aws::String m_displayName; + double m_approximateDollarLimit; - Aws::Utils::DateTime m_queueStoppedAt; + ConsumedUsages m_usages; + + Aws::Vector m_actions; BudgetSchedule m_schedule; - BudgetStatus m_status; + Aws::String m_createdBy; - Aws::Utils::DateTime m_updatedAt; + Aws::Utils::DateTime m_createdAt; Aws::String m_updatedBy; - UsageTrackingResource m_usageTrackingResource; + Aws::Utils::DateTime m_updatedAt; - ConsumedUsages m_usages; + Aws::Utils::DateTime m_queueStoppedAt; Aws::String m_requestId; }; 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 index d07732abe47..24cfe8c68e9 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -35,31 +35,37 @@ namespace Model ///@{ /** - *

The date and time the resource was created.

+ *

The farm ID of the farm to get.

*/ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } - inline GetFarmResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline GetFarmResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + inline const Aws::String& GetFarmId() const{ return m_farmId; } + inline void SetFarmId(const Aws::String& value) { m_farmId = value; } + inline void SetFarmId(Aws::String&& value) { m_farmId = std::move(value); } + inline void SetFarmId(const char* value) { m_farmId.assign(value); } + inline GetFarmResult& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + inline GetFarmResult& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + inline GetFarmResult& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} ///@{ /** - *

The user or system that created this resource.

+ *

The display name of the farm.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

*/ - inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } - inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } - inline GetFarmResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline GetFarmResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline GetFarmResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } + inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } + inline void SetDisplayName(const char* value) { m_displayName.assign(value); } + inline GetFarmResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + inline GetFarmResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + inline GetFarmResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} ///@} ///@{ /** - *

The description of the farm.

+ *

The description of the farm.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

*/ inline const Aws::String& GetDescription() const{ return m_description; } inline void SetDescription(const Aws::String& value) { m_description = value; } @@ -72,41 +78,39 @@ namespace Model ///@{ /** - *

The display name of the farm.

+ *

The ARN of the KMS key used on the farm.

*/ - inline const Aws::String& GetDisplayName() const{ return m_displayName; } - inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } - inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } - inline void SetDisplayName(const char* value) { m_displayName.assign(value); } - inline GetFarmResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} - inline GetFarmResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} - inline GetFarmResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } + inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArn = value; } + inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArn = std::move(value); } + inline void SetKmsKeyArn(const char* value) { m_kmsKeyArn.assign(value); } + inline GetFarmResult& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} + inline GetFarmResult& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} + inline GetFarmResult& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} ///@} ///@{ /** - *

The farm ID of the farm to get.

+ *

The date and time the resource was created.

*/ - inline const Aws::String& GetFarmId() const{ return m_farmId; } - inline void SetFarmId(const Aws::String& value) { m_farmId = value; } - inline void SetFarmId(Aws::String&& value) { m_farmId = std::move(value); } - inline void SetFarmId(const char* value) { m_farmId.assign(value); } - inline GetFarmResult& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} - inline GetFarmResult& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} - inline GetFarmResult& WithFarmId(const char* value) { SetFarmId(value); return *this;} + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetFarmResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline GetFarmResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} ///@} ///@{ /** - *

The ARN of the KMS key used on the farm.

+ *

The user or system that created this resource.

*/ - inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } - inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArn = value; } - inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArn = std::move(value); } - inline void SetKmsKeyArn(const char* value) { m_kmsKeyArn.assign(value); } - inline GetFarmResult& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} - inline GetFarmResult& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} - inline GetFarmResult& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetFarmResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetFarmResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetFarmResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} ///@} ///@{ @@ -145,17 +149,17 @@ namespace Model ///@} private: - Aws::Utils::DateTime m_createdAt; + Aws::String m_farmId; - Aws::String m_createdBy; + Aws::String m_displayName; Aws::String m_description; - Aws::String m_displayName; + Aws::String m_kmsKeyArn; - Aws::String m_farmId; + Aws::Utils::DateTime m_createdAt; - Aws::String m_kmsKeyArn; + Aws::String m_createdBy; Aws::Utils::DateTime m_updatedAt; 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 index ee98948f233..63641c6ba6a 100644 --- 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 @@ -5,12 +5,12 @@ #pragma once #include +#include +#include #include -#include #include +#include #include -#include -#include #include namespace Aws @@ -39,113 +39,108 @@ namespace Model ///@{ /** - *

The Auto Scaling status of the fleet. Either GROWING, - * STEADY, or SHRINKING.

+ *

The fleet ID.

*/ - inline const AutoScalingStatus& GetAutoScalingStatus() const{ return m_autoScalingStatus; } - inline void SetAutoScalingStatus(const AutoScalingStatus& value) { m_autoScalingStatus = value; } - inline void SetAutoScalingStatus(AutoScalingStatus&& value) { m_autoScalingStatus = std::move(value); } - inline GetFleetResult& WithAutoScalingStatus(const AutoScalingStatus& value) { SetAutoScalingStatus(value); return *this;} - inline GetFleetResult& WithAutoScalingStatus(AutoScalingStatus&& value) { SetAutoScalingStatus(std::move(value)); return *this;} + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + inline void SetFleetId(const Aws::String& value) { m_fleetId = value; } + inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); } + inline void SetFleetId(const char* value) { m_fleetId.assign(value); } + inline GetFleetResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + inline GetFleetResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + inline GetFleetResult& WithFleetId(const char* value) { SetFleetId(value); return *this;} ///@} ///@{ /** - *

Outlines what the fleet is capable of for minimums, maximums, and naming, in - * addition to attribute names and values.

+ *

The farm ID of the farm in the fleet.

*/ - inline const FleetCapabilities& GetCapabilities() const{ return m_capabilities; } - inline void SetCapabilities(const FleetCapabilities& value) { m_capabilities = value; } - inline void SetCapabilities(FleetCapabilities&& value) { m_capabilities = std::move(value); } - inline GetFleetResult& WithCapabilities(const FleetCapabilities& value) { SetCapabilities(value); return *this;} - inline GetFleetResult& WithCapabilities(FleetCapabilities&& value) { SetCapabilities(std::move(value)); return *this;} + inline const Aws::String& GetFarmId() const{ return m_farmId; } + inline void SetFarmId(const Aws::String& value) { m_farmId = value; } + inline void SetFarmId(Aws::String&& value) { m_farmId = std::move(value); } + inline void SetFarmId(const char* value) { m_farmId.assign(value); } + inline GetFleetResult& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + inline GetFleetResult& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + inline GetFleetResult& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} ///@{ /** - *

The configuration setting for the fleet.

+ *

The display name of the fleet.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

*/ - inline const FleetConfiguration& GetConfiguration() const{ return m_configuration; } - inline void SetConfiguration(const FleetConfiguration& value) { m_configuration = value; } - inline void SetConfiguration(FleetConfiguration&& value) { m_configuration = std::move(value); } - inline GetFleetResult& WithConfiguration(const FleetConfiguration& value) { SetConfiguration(value); return *this;} - inline GetFleetResult& WithConfiguration(FleetConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } + inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } + inline void SetDisplayName(const char* value) { m_displayName.assign(value); } + inline GetFleetResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + inline GetFleetResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + inline GetFleetResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} ///@} ///@{ /** - *

The date and time the resource was created.

+ *

The description of the fleet.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

*/ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } - inline GetFleetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline GetFleetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline GetFleetResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline GetFleetResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline GetFleetResult& WithDescription(const char* value) { SetDescription(value); return *this;} ///@} ///@{ /** - *

The user or system that created this resource.

+ *

The Auto Scaling status of the fleet.

*/ - inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } - inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } - inline GetFleetResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline GetFleetResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline GetFleetResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + inline const FleetStatus& GetStatus() const{ return m_status; } + inline void SetStatus(const FleetStatus& value) { m_status = value; } + inline void SetStatus(FleetStatus&& value) { m_status = std::move(value); } + inline GetFleetResult& WithStatus(const FleetStatus& value) { SetStatus(value); return *this;} + inline GetFleetResult& WithStatus(FleetStatus&& value) { SetStatus(std::move(value)); return *this;} ///@} ///@{ /** - *

The description of the fleet.

+ *

The Auto Scaling status of the fleet. Either GROWING, + * STEADY, or SHRINKING.

*/ - inline const Aws::String& GetDescription() const{ return m_description; } - inline void SetDescription(const Aws::String& value) { m_description = value; } - inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } - inline void SetDescription(const char* value) { m_description.assign(value); } - inline GetFleetResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - inline GetFleetResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - inline GetFleetResult& WithDescription(const char* value) { SetDescription(value); return *this;} + inline const AutoScalingStatus& GetAutoScalingStatus() const{ return m_autoScalingStatus; } + inline void SetAutoScalingStatus(const AutoScalingStatus& value) { m_autoScalingStatus = value; } + inline void SetAutoScalingStatus(AutoScalingStatus&& value) { m_autoScalingStatus = std::move(value); } + inline GetFleetResult& WithAutoScalingStatus(const AutoScalingStatus& value) { SetAutoScalingStatus(value); return *this;} + inline GetFleetResult& WithAutoScalingStatus(AutoScalingStatus&& value) { SetAutoScalingStatus(std::move(value)); return *this;} ///@} ///@{ /** - *

The display name of the fleet.

+ *

The number of target workers in the fleet.

*/ - inline const Aws::String& GetDisplayName() const{ return m_displayName; } - inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } - inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } - inline void SetDisplayName(const char* value) { m_displayName.assign(value); } - inline GetFleetResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} - inline GetFleetResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} - inline GetFleetResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + inline int GetTargetWorkerCount() const{ return m_targetWorkerCount; } + inline void SetTargetWorkerCount(int value) { m_targetWorkerCount = value; } + inline GetFleetResult& WithTargetWorkerCount(int value) { SetTargetWorkerCount(value); return *this;} ///@} ///@{ /** - *

The farm ID of the farm in the fleet.

+ *

The number of workers in the fleet.

*/ - inline const Aws::String& GetFarmId() const{ return m_farmId; } - inline void SetFarmId(const Aws::String& value) { m_farmId = value; } - inline void SetFarmId(Aws::String&& value) { m_farmId = std::move(value); } - inline void SetFarmId(const char* value) { m_farmId.assign(value); } - inline GetFleetResult& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} - inline GetFleetResult& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} - inline GetFleetResult& WithFarmId(const char* value) { SetFarmId(value); return *this;} + inline int GetWorkerCount() const{ return m_workerCount; } + inline void SetWorkerCount(int value) { m_workerCount = value; } + inline GetFleetResult& WithWorkerCount(int value) { SetWorkerCount(value); return *this;} ///@} ///@{ /** - *

The fleet ID.

+ *

The minimum number of workers specified in the fleet.

*/ - inline const Aws::String& GetFleetId() const{ return m_fleetId; } - inline void SetFleetId(const Aws::String& value) { m_fleetId = value; } - inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); } - inline void SetFleetId(const char* value) { m_fleetId.assign(value); } - inline GetFleetResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} - inline GetFleetResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} - inline GetFleetResult& WithFleetId(const char* value) { SetFleetId(value); return *this;} + inline int GetMinWorkerCount() const{ return m_minWorkerCount; } + inline void SetMinWorkerCount(int value) { m_minWorkerCount = value; } + inline GetFleetResult& WithMinWorkerCount(int value) { SetMinWorkerCount(value); return *this;} ///@} ///@{ @@ -159,11 +154,25 @@ namespace Model ///@{ /** - *

The minimum number of workers specified in the fleet.

+ *

The configuration setting for the fleet.

*/ - inline int GetMinWorkerCount() const{ return m_minWorkerCount; } - inline void SetMinWorkerCount(int value) { m_minWorkerCount = value; } - inline GetFleetResult& WithMinWorkerCount(int value) { SetMinWorkerCount(value); return *this;} + inline const FleetConfiguration& GetConfiguration() const{ return m_configuration; } + inline void SetConfiguration(const FleetConfiguration& value) { m_configuration = value; } + inline void SetConfiguration(FleetConfiguration&& value) { m_configuration = std::move(value); } + inline GetFleetResult& WithConfiguration(const FleetConfiguration& value) { SetConfiguration(value); return *this;} + inline GetFleetResult& WithConfiguration(FleetConfiguration&& value) { SetConfiguration(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; } + inline void SetCapabilities(const FleetCapabilities& value) { m_capabilities = value; } + inline void SetCapabilities(FleetCapabilities&& value) { m_capabilities = std::move(value); } + inline GetFleetResult& WithCapabilities(const FleetCapabilities& value) { SetCapabilities(value); return *this;} + inline GetFleetResult& WithCapabilities(FleetCapabilities&& value) { SetCapabilities(std::move(value)); return *this;} ///@} ///@{ @@ -181,22 +190,26 @@ namespace Model ///@{ /** - *

The Auto Scaling status of the fleet.

+ *

The date and time the resource was created.

*/ - inline const FleetStatus& GetStatus() const{ return m_status; } - inline void SetStatus(const FleetStatus& value) { m_status = value; } - inline void SetStatus(FleetStatus&& value) { m_status = std::move(value); } - inline GetFleetResult& WithStatus(const FleetStatus& value) { SetStatus(value); return *this;} - inline GetFleetResult& WithStatus(FleetStatus&& value) { SetStatus(std::move(value)); return *this;} + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetFleetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline GetFleetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} ///@} ///@{ /** - *

The number of target workers in the fleet.

+ *

The user or system that created this resource.

*/ - inline int GetTargetWorkerCount() const{ return m_targetWorkerCount; } - inline void SetTargetWorkerCount(int value) { m_targetWorkerCount = value; } - inline GetFleetResult& WithTargetWorkerCount(int value) { SetTargetWorkerCount(value); return *this;} + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetFleetResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetFleetResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetFleetResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} ///@} ///@{ @@ -223,15 +236,6 @@ namespace Model inline GetFleetResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} ///@} - ///@{ - /** - *

The number of workers in the fleet.

- */ - inline int GetWorkerCount() const{ return m_workerCount; } - inline void SetWorkerCount(int value) { m_workerCount = value; } - inline GetFleetResult& WithWorkerCount(int value) { SetWorkerCount(value); return *this;} - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -244,40 +248,40 @@ namespace Model ///@} private: - AutoScalingStatus m_autoScalingStatus; + Aws::String m_fleetId; - FleetCapabilities m_capabilities; + Aws::String m_farmId; - FleetConfiguration m_configuration; + Aws::String m_displayName; - Aws::Utils::DateTime m_createdAt; + Aws::String m_description; - Aws::String m_createdBy; + FleetStatus m_status; - Aws::String m_description; + AutoScalingStatus m_autoScalingStatus; - Aws::String m_displayName; + int m_targetWorkerCount; - Aws::String m_farmId; + int m_workerCount; - Aws::String m_fleetId; + int m_minWorkerCount; int m_maxWorkerCount; - int m_minWorkerCount; + FleetConfiguration m_configuration; + + FleetCapabilities m_capabilities; Aws::String m_roleArn; - FleetStatus m_status; + Aws::Utils::DateTime m_createdAt; - int m_targetWorkerCount; + Aws::String m_createdBy; Aws::Utils::DateTime m_updatedAt; Aws::String m_updatedBy; - int m_workerCount; - Aws::String m_requestId; }; 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 index b13bcea2f4d..2d7f67acec3 100644 --- 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 @@ -5,10 +5,10 @@ #pragma once #include -#include -#include #include +#include #include +#include #include namespace Aws @@ -42,14 +42,14 @@ namespace Model ///@{ /** - *

The environment details for the failed job entity.

+ *

The job details for the failed job entity.

*/ - inline const EnvironmentDetailsError& GetEnvironmentDetails() const{ return m_environmentDetails; } - inline bool EnvironmentDetailsHasBeenSet() const { return m_environmentDetailsHasBeenSet; } - inline void SetEnvironmentDetails(const EnvironmentDetailsError& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = value; } - inline void SetEnvironmentDetails(EnvironmentDetailsError&& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = std::move(value); } - inline GetJobEntityError& WithEnvironmentDetails(const EnvironmentDetailsError& value) { SetEnvironmentDetails(value); return *this;} - inline GetJobEntityError& WithEnvironmentDetails(EnvironmentDetailsError&& value) { SetEnvironmentDetails(std::move(value)); return *this;} + inline const JobDetailsError& GetJobDetails() const{ return m_jobDetails; } + inline bool JobDetailsHasBeenSet() const { return m_jobDetailsHasBeenSet; } + inline void SetJobDetails(const JobDetailsError& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = value; } + inline void SetJobDetails(JobDetailsError&& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = std::move(value); } + inline GetJobEntityError& WithJobDetails(const JobDetailsError& value) { SetJobDetails(value); return *this;} + inline GetJobEntityError& WithJobDetails(JobDetailsError&& value) { SetJobDetails(std::move(value)); return *this;} ///@} ///@{ @@ -64,18 +64,6 @@ namespace Model 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; } - inline bool JobDetailsHasBeenSet() const { return m_jobDetailsHasBeenSet; } - inline void SetJobDetails(const JobDetailsError& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = value; } - inline void SetJobDetails(JobDetailsError&& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = std::move(value); } - inline GetJobEntityError& WithJobDetails(const JobDetailsError& value) { SetJobDetails(value); return *this;} - inline GetJobEntityError& WithJobDetails(JobDetailsError&& value) { SetJobDetails(std::move(value)); return *this;} - ///@} - ///@{ /** *

The step details for the failed job entity.

@@ -87,19 +75,31 @@ namespace Model inline GetJobEntityError& WithStepDetails(const StepDetailsError& value) { SetStepDetails(value); return *this;} inline GetJobEntityError& WithStepDetails(StepDetailsError&& value) { SetStepDetails(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

The environment details for the failed job entity.

+ */ + inline const EnvironmentDetailsError& GetEnvironmentDetails() const{ return m_environmentDetails; } + inline bool EnvironmentDetailsHasBeenSet() const { return m_environmentDetailsHasBeenSet; } + inline void SetEnvironmentDetails(const EnvironmentDetailsError& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = value; } + inline void SetEnvironmentDetails(EnvironmentDetailsError&& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = std::move(value); } + inline GetJobEntityError& WithEnvironmentDetails(const EnvironmentDetailsError& value) { SetEnvironmentDetails(value); return *this;} + inline GetJobEntityError& WithEnvironmentDetails(EnvironmentDetailsError&& value) { SetEnvironmentDetails(std::move(value)); return *this;} + ///@} private: - EnvironmentDetailsError m_environmentDetails; - bool m_environmentDetailsHasBeenSet = false; + JobDetailsError m_jobDetails; + bool m_jobDetailsHasBeenSet = false; JobAttachmentDetailsError m_jobAttachmentDetails; bool m_jobAttachmentDetailsHasBeenSet = false; - JobDetailsError m_jobDetails; - bool m_jobDetailsHasBeenSet = false; - StepDetailsError m_stepDetails; bool m_stepDetailsHasBeenSet = false; + + EnvironmentDetailsError m_environmentDetails; + bool m_environmentDetailsHasBeenSet = false; }; } // namespace Model 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 index 3aa9e1a907a..79d4579558a 100644 --- 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 @@ -5,13 +5,13 @@ #pragma once #include -#include -#include #include #include -#include -#include +#include #include +#include +#include +#include #include #include @@ -39,65 +39,6 @@ namespace Model AWS_DEADLINE_API GetJobResult& operator=(const Aws::AmazonWebServiceResult& result); - ///@{ - /** - *

The attachments for the job.

- */ - inline const Attachments& GetAttachments() const{ return m_attachments; } - inline void SetAttachments(const Attachments& value) { m_attachments = value; } - inline void SetAttachments(Attachments&& value) { m_attachments = std::move(value); } - inline GetJobResult& WithAttachments(const Attachments& value) { SetAttachments(value); return *this;} - 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; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } - inline GetJobResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - 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; } - inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } - inline GetJobResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline GetJobResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline GetJobResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} - ///@} - - ///@{ - /** - *

The description of the job.

- */ - inline const Aws::String& GetDescription() const{ return m_description; } - inline void SetDescription(const Aws::String& value) { m_description = value; } - inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } - inline void SetDescription(const char* value) { m_description.assign(value); } - inline GetJobResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - inline GetJobResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - 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; } - inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; } - inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); } - inline GetJobResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} - inline GetJobResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} - ///@} - ///@{ /** *

The job ID.

@@ -113,7 +54,20 @@ namespace Model ///@{ /** - *

The life cycle status for the job.

+ *

The name of the job.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + inline void SetName(const Aws::String& value) { m_name = value; } + inline void SetName(Aws::String&& value) { m_name = std::move(value); } + inline void SetName(const char* value) { m_name.assign(value); } + inline GetJobResult& WithName(const Aws::String& value) { SetName(value); return *this;} + inline GetJobResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline GetJobResult& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *

The life cycle status for the job.

*/ inline const JobLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } inline void SetLifecycleStatus(const JobLifecycleStatus& value) { m_lifecycleStatus = value; } @@ -137,60 +91,59 @@ namespace Model ///@{ /** - *

The number of task failures before the job stops running and is marked as - * FAILED.

+ *

The job priority.

*/ - inline int GetMaxFailedTasksCount() const{ return m_maxFailedTasksCount; } - inline void SetMaxFailedTasksCount(int value) { m_maxFailedTasksCount = value; } - inline GetJobResult& WithMaxFailedTasksCount(int value) { SetMaxFailedTasksCount(value); return *this;} + inline int GetPriority() const{ return m_priority; } + inline void SetPriority(int value) { m_priority = value; } + inline GetJobResult& WithPriority(int value) { SetPriority(value); return *this;} ///@} ///@{ /** - *

The maximum number of retries per failed tasks.

+ *

The date and time the resource was created.

*/ - inline int GetMaxRetriesPerTask() const{ return m_maxRetriesPerTask; } - inline void SetMaxRetriesPerTask(int value) { m_maxRetriesPerTask = value; } - inline GetJobResult& WithMaxRetriesPerTask(int value) { SetMaxRetriesPerTask(value); return *this;} + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetJobResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline GetJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} ///@} ///@{ /** - *

The name of the job.

+ *

The user or system that created this resource.

*/ - inline const Aws::String& GetName() const{ return m_name; } - inline void SetName(const Aws::String& value) { m_name = value; } - inline void SetName(Aws::String&& value) { m_name = std::move(value); } - inline void SetName(const char* value) { m_name.assign(value); } - inline GetJobResult& WithName(const Aws::String& value) { SetName(value); return *this;} - inline GetJobResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline GetJobResult& WithName(const char* value) { SetName(value); return *this;} + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetJobResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetJobResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetJobResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} ///@} ///@{ /** - *

The parameters for the job.

+ *

The date and time the resource was updated.

*/ - inline const Aws::Map& GetParameters() const{ return m_parameters; } - inline void SetParameters(const Aws::Map& value) { m_parameters = value; } - inline void SetParameters(Aws::Map&& value) { m_parameters = std::move(value); } - inline GetJobResult& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} - inline GetJobResult& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} - inline GetJobResult& AddParameters(const Aws::String& key, const JobParameter& value) { m_parameters.emplace(key, value); return *this; } - inline GetJobResult& AddParameters(Aws::String&& key, const JobParameter& value) { m_parameters.emplace(std::move(key), value); return *this; } - inline GetJobResult& AddParameters(const Aws::String& key, JobParameter&& value) { m_parameters.emplace(key, std::move(value)); return *this; } - inline GetJobResult& AddParameters(Aws::String&& key, JobParameter&& value) { m_parameters.emplace(std::move(key), std::move(value)); return *this; } - inline GetJobResult& AddParameters(const char* key, JobParameter&& value) { m_parameters.emplace(key, std::move(value)); return *this; } - inline GetJobResult& AddParameters(const char* key, const JobParameter& value) { m_parameters.emplace(key, value); return *this; } + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } + inline GetJobResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + inline GetJobResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} ///@} ///@{ /** - *

The job priority.

+ *

The user or system that updated this resource.

*/ - inline int GetPriority() const{ return m_priority; } - inline void SetPriority(int value) { m_priority = value; } - inline GetJobResult& WithPriority(int value) { SetPriority(value); return *this;} + inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } + inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; } + inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); } + inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); } + inline GetJobResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + inline GetJobResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + inline GetJobResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} ///@} ///@{ @@ -206,26 +159,13 @@ namespace Model ///@{ /** - *

The storage profile ID associated with the job.

- */ - inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } - inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileId = value; } - inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileId = std::move(value); } - inline void SetStorageProfileId(const char* value) { m_storageProfileId.assign(value); } - inline GetJobResult& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} - inline GetJobResult& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} - inline GetJobResult& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} - ///@} - - ///@{ - /** - *

The task status with which the job started.

+ *

The date and time the resource ended running.

*/ - inline const JobTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } - inline void SetTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { m_targetTaskRunStatus = value; } - inline void SetTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { m_targetTaskRunStatus = std::move(value); } - inline GetJobResult& WithTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} - inline GetJobResult& WithTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; } + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); } + inline GetJobResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + inline GetJobResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} ///@} ///@{ @@ -239,6 +179,17 @@ namespace Model inline GetJobResult& WithTaskRunStatus(TaskRunStatus&& value) { SetTaskRunStatus(std::move(value)); return *this;} ///@} + ///@{ + /** + *

The task status with which the job started.

+ */ + inline const JobTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } + inline void SetTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { m_targetTaskRunStatus = value; } + inline void SetTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { m_targetTaskRunStatus = std::move(value); } + inline GetJobResult& WithTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} + inline GetJobResult& WithTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + ///@} + ///@{ /** *

The number of tasks running on the job.

@@ -254,26 +205,77 @@ namespace Model ///@{ /** - *

The date and time the resource was updated.

+ *

The storage profile ID associated with the job.

*/ - inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } - inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; } - inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); } - inline GetJobResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} - inline GetJobResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } + inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileId = value; } + inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileId = std::move(value); } + inline void SetStorageProfileId(const char* value) { m_storageProfileId.assign(value); } + inline GetJobResult& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} + inline GetJobResult& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} + inline GetJobResult& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} ///@} ///@{ /** - *

The user or system that updated this resource.

+ *

The number of task failures before the job stops running and is marked as + * FAILED.

*/ - inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } - inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; } - inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); } - inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); } - inline GetJobResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} - inline GetJobResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} - inline GetJobResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + inline int GetMaxFailedTasksCount() const{ return m_maxFailedTasksCount; } + inline void SetMaxFailedTasksCount(int value) { m_maxFailedTasksCount = value; } + inline GetJobResult& WithMaxFailedTasksCount(int value) { SetMaxFailedTasksCount(value); return *this;} + ///@} + + ///@{ + /** + *

The maximum number of retries per failed tasks.

+ */ + inline int GetMaxRetriesPerTask() const{ return m_maxRetriesPerTask; } + inline void SetMaxRetriesPerTask(int value) { m_maxRetriesPerTask = value; } + inline GetJobResult& WithMaxRetriesPerTask(int value) { SetMaxRetriesPerTask(value); return *this;} + ///@} + + ///@{ + /** + *

The parameters for the job.

+ */ + inline const Aws::Map& GetParameters() const{ return m_parameters; } + inline void SetParameters(const Aws::Map& value) { m_parameters = value; } + inline void SetParameters(Aws::Map&& value) { m_parameters = std::move(value); } + inline GetJobResult& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} + inline GetJobResult& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} + inline GetJobResult& AddParameters(const Aws::String& key, const JobParameter& value) { m_parameters.emplace(key, value); return *this; } + inline GetJobResult& AddParameters(Aws::String&& key, const JobParameter& value) { m_parameters.emplace(std::move(key), value); return *this; } + inline GetJobResult& AddParameters(const Aws::String& key, JobParameter&& value) { m_parameters.emplace(key, std::move(value)); return *this; } + inline GetJobResult& AddParameters(Aws::String&& key, JobParameter&& value) { m_parameters.emplace(std::move(key), std::move(value)); return *this; } + inline GetJobResult& AddParameters(const char* key, JobParameter&& value) { m_parameters.emplace(key, std::move(value)); return *this; } + inline GetJobResult& AddParameters(const char* key, const JobParameter& value) { m_parameters.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

The attachments for the job.

+ */ + inline const Attachments& GetAttachments() const{ return m_attachments; } + inline void SetAttachments(const Attachments& value) { m_attachments = value; } + inline void SetAttachments(Attachments&& value) { m_attachments = std::move(value); } + inline GetJobResult& WithAttachments(const Attachments& value) { SetAttachments(value); return *this;} + inline GetJobResult& WithAttachments(Attachments&& value) { SetAttachments(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The description of the job.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline GetJobResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline GetJobResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline GetJobResult& WithDescription(const char* value) { SetDescription(value); return *this;} ///@} ///@{ @@ -288,45 +290,45 @@ namespace Model ///@} private: - Attachments m_attachments; + Aws::String m_jobId; - Aws::Utils::DateTime m_createdAt; + Aws::String m_name; - Aws::String m_createdBy; + JobLifecycleStatus m_lifecycleStatus; - Aws::String m_description; + Aws::String m_lifecycleStatusMessage; - Aws::Utils::DateTime m_endedAt; + int m_priority; - Aws::String m_jobId; + Aws::Utils::DateTime m_createdAt; - JobLifecycleStatus m_lifecycleStatus; + Aws::String m_createdBy; - Aws::String m_lifecycleStatusMessage; + Aws::Utils::DateTime m_updatedAt; - int m_maxFailedTasksCount; + Aws::String m_updatedBy; - int m_maxRetriesPerTask; + Aws::Utils::DateTime m_startedAt; - Aws::String m_name; + Aws::Utils::DateTime m_endedAt; - Aws::Map m_parameters; + TaskRunStatus m_taskRunStatus; - int m_priority; + JobTargetTaskRunStatus m_targetTaskRunStatus; - Aws::Utils::DateTime m_startedAt; + Aws::Map m_taskRunStatusCounts; Aws::String m_storageProfileId; - JobTargetTaskRunStatus m_targetTaskRunStatus; + int m_maxFailedTasksCount; - TaskRunStatus m_taskRunStatus; + int m_maxRetriesPerTask; - Aws::Map m_taskRunStatusCounts; + Aws::Map m_parameters; - Aws::Utils::DateTime m_updatedAt; + Attachments m_attachments; - Aws::String m_updatedBy; + Aws::String m_description; Aws::String m_requestId; }; 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 index 0f739650317..fd4b8d9feda 100644 --- 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 @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -34,19 +34,6 @@ namespace Model AWS_DEADLINE_API GetLicenseEndpointResult& operator=(const Aws::AmazonWebServiceResult& result); - ///@{ - /** - *

The DNS name.

- */ - inline const Aws::String& GetDnsName() const{ return m_dnsName; } - inline void SetDnsName(const Aws::String& value) { m_dnsName = value; } - inline void SetDnsName(Aws::String&& value) { m_dnsName = std::move(value); } - inline void SetDnsName(const char* value) { m_dnsName.assign(value); } - inline GetLicenseEndpointResult& WithDnsName(const Aws::String& value) { SetDnsName(value); return *this;} - inline GetLicenseEndpointResult& WithDnsName(Aws::String&& value) { SetDnsName(std::move(value)); return *this;} - inline GetLicenseEndpointResult& WithDnsName(const char* value) { SetDnsName(value); return *this;} - ///@} - ///@{ /** *

The license endpoint ID.

@@ -60,20 +47,6 @@ namespace Model 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; } - inline void SetSecurityGroupIds(const Aws::Vector& value) { m_securityGroupIds = value; } - inline void SetSecurityGroupIds(Aws::Vector&& value) { m_securityGroupIds = std::move(value); } - inline GetLicenseEndpointResult& WithSecurityGroupIds(const Aws::Vector& value) { SetSecurityGroupIds(value); return *this;} - inline GetLicenseEndpointResult& WithSecurityGroupIds(Aws::Vector&& value) { SetSecurityGroupIds(std::move(value)); return *this;} - inline GetLicenseEndpointResult& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIds.push_back(value); return *this; } - inline GetLicenseEndpointResult& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIds.push_back(std::move(value)); return *this; } - inline GetLicenseEndpointResult& AddSecurityGroupIds(const char* value) { m_securityGroupIds.push_back(value); return *this; } - ///@} - ///@{ /** *

The status of the license endpoint.

@@ -98,6 +71,32 @@ namespace Model inline GetLicenseEndpointResult& 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; } + inline void SetVpcId(const Aws::String& value) { m_vpcId = value; } + inline void SetVpcId(Aws::String&& value) { m_vpcId = std::move(value); } + inline void SetVpcId(const char* value) { m_vpcId.assign(value); } + inline GetLicenseEndpointResult& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} + inline GetLicenseEndpointResult& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} + inline GetLicenseEndpointResult& WithVpcId(const char* value) { SetVpcId(value); return *this;} + ///@} + + ///@{ + /** + *

The DNS name.

+ */ + inline const Aws::String& GetDnsName() const{ return m_dnsName; } + inline void SetDnsName(const Aws::String& value) { m_dnsName = value; } + inline void SetDnsName(Aws::String&& value) { m_dnsName = std::move(value); } + inline void SetDnsName(const char* value) { m_dnsName.assign(value); } + inline GetLicenseEndpointResult& WithDnsName(const Aws::String& value) { SetDnsName(value); return *this;} + inline GetLicenseEndpointResult& WithDnsName(Aws::String&& value) { SetDnsName(std::move(value)); return *this;} + inline GetLicenseEndpointResult& WithDnsName(const char* value) { SetDnsName(value); return *this;} + ///@} + ///@{ /** *

The subnet IDs.

@@ -114,15 +113,16 @@ namespace Model ///@{ /** - *

The VCP(virtual private cloud) ID associated with the license endpoint.

+ *

The security group IDs for the license endpoint.

*/ - inline const Aws::String& GetVpcId() const{ return m_vpcId; } - inline void SetVpcId(const Aws::String& value) { m_vpcId = value; } - inline void SetVpcId(Aws::String&& value) { m_vpcId = std::move(value); } - inline void SetVpcId(const char* value) { m_vpcId.assign(value); } - inline GetLicenseEndpointResult& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} - inline GetLicenseEndpointResult& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} - inline GetLicenseEndpointResult& WithVpcId(const char* value) { SetVpcId(value); return *this;} + inline const Aws::Vector& GetSecurityGroupIds() const{ return m_securityGroupIds; } + inline void SetSecurityGroupIds(const Aws::Vector& value) { m_securityGroupIds = value; } + inline void SetSecurityGroupIds(Aws::Vector&& value) { m_securityGroupIds = std::move(value); } + inline GetLicenseEndpointResult& WithSecurityGroupIds(const Aws::Vector& value) { SetSecurityGroupIds(value); return *this;} + inline GetLicenseEndpointResult& WithSecurityGroupIds(Aws::Vector&& value) { SetSecurityGroupIds(std::move(value)); return *this;} + inline GetLicenseEndpointResult& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIds.push_back(value); return *this; } + inline GetLicenseEndpointResult& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIds.push_back(std::move(value)); return *this; } + inline GetLicenseEndpointResult& AddSecurityGroupIds(const char* value) { m_securityGroupIds.push_back(value); return *this; } ///@} ///@{ @@ -137,19 +137,19 @@ namespace Model ///@} private: - Aws::String m_dnsName; - Aws::String m_licenseEndpointId; - Aws::Vector m_securityGroupIds; - LicenseEndpointStatus m_status; Aws::String m_statusMessage; + Aws::String m_vpcId; + + Aws::String m_dnsName; + Aws::Vector m_subnetIds; - Aws::String m_vpcId; + Aws::Vector m_securityGroupIds; Aws::String m_requestId; }; 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 index c212e3fb7ad..e7f94971047 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -35,31 +35,23 @@ namespace Model ///@{ /** - *

The UNIX timestamp of the date and time that the monitor was created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } - inline GetMonitorResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline GetMonitorResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

The user name of the person that created the monitor.

+ *

The unique identifier for the monitor.

*/ - inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } - inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } - inline GetMonitorResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline GetMonitorResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline GetMonitorResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + inline const Aws::String& GetMonitorId() const{ return m_monitorId; } + inline void SetMonitorId(const Aws::String& value) { m_monitorId = value; } + inline void SetMonitorId(Aws::String&& value) { m_monitorId = std::move(value); } + inline void SetMonitorId(const char* value) { m_monitorId.assign(value); } + inline GetMonitorResult& WithMonitorId(const Aws::String& value) { SetMonitorId(value); return *this;} + inline GetMonitorResult& WithMonitorId(Aws::String&& value) { SetMonitorId(std::move(value)); return *this;} + inline GetMonitorResult& WithMonitorId(const char* value) { SetMonitorId(value); return *this;} ///@} ///@{ /** *

The name used to identify the monitor on the Deadline Cloud console.

+ *

This field can store any content. Escape or encode this content + * before displaying it on a webpage or any other system that might interpret the + * content of this field.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } @@ -72,16 +64,44 @@ namespace Model ///@{ /** - *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the - * monitor when it was created.

+ *

The subdomain used for the monitor URL. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

*/ - inline const Aws::String& GetIdentityCenterApplicationArn() const{ return m_identityCenterApplicationArn; } - inline void SetIdentityCenterApplicationArn(const Aws::String& value) { m_identityCenterApplicationArn = value; } - inline void SetIdentityCenterApplicationArn(Aws::String&& value) { m_identityCenterApplicationArn = std::move(value); } - inline void SetIdentityCenterApplicationArn(const char* value) { m_identityCenterApplicationArn.assign(value); } - inline GetMonitorResult& WithIdentityCenterApplicationArn(const Aws::String& value) { SetIdentityCenterApplicationArn(value); return *this;} - inline GetMonitorResult& WithIdentityCenterApplicationArn(Aws::String&& value) { SetIdentityCenterApplicationArn(std::move(value)); return *this;} - inline GetMonitorResult& WithIdentityCenterApplicationArn(const char* value) { SetIdentityCenterApplicationArn(value); return *this;} + inline const Aws::String& GetSubdomain() const{ return m_subdomain; } + inline void SetSubdomain(const Aws::String& value) { m_subdomain = value; } + inline void SetSubdomain(Aws::String&& value) { m_subdomain = std::move(value); } + inline void SetSubdomain(const char* value) { m_subdomain.assign(value); } + inline GetMonitorResult& WithSubdomain(const Aws::String& value) { SetSubdomain(value); return *this;} + inline GetMonitorResult& WithSubdomain(Aws::String&& value) { SetSubdomain(std::move(value)); return *this;} + inline GetMonitorResult& WithSubdomain(const char* value) { SetSubdomain(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; } + inline void SetUrl(const Aws::String& value) { m_url = value; } + inline void SetUrl(Aws::String&& value) { m_url = std::move(value); } + inline void SetUrl(const char* value) { m_url.assign(value); } + inline GetMonitorResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} + inline GetMonitorResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} + inline GetMonitorResult& WithUrl(const char* value) { SetUrl(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; } + inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; } + inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); } + inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } + inline GetMonitorResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + inline GetMonitorResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + inline GetMonitorResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} ///@} ///@{ @@ -100,43 +120,40 @@ namespace Model ///@{ /** - *

The unique identifier for the monitor.

+ *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the + * monitor when it was created.

*/ - inline const Aws::String& GetMonitorId() const{ return m_monitorId; } - inline void SetMonitorId(const Aws::String& value) { m_monitorId = value; } - inline void SetMonitorId(Aws::String&& value) { m_monitorId = std::move(value); } - inline void SetMonitorId(const char* value) { m_monitorId.assign(value); } - inline GetMonitorResult& WithMonitorId(const Aws::String& value) { SetMonitorId(value); return *this;} - inline GetMonitorResult& WithMonitorId(Aws::String&& value) { SetMonitorId(std::move(value)); return *this;} - inline GetMonitorResult& WithMonitorId(const char* value) { SetMonitorId(value); return *this;} + inline const Aws::String& GetIdentityCenterApplicationArn() const{ return m_identityCenterApplicationArn; } + inline void SetIdentityCenterApplicationArn(const Aws::String& value) { m_identityCenterApplicationArn = value; } + inline void SetIdentityCenterApplicationArn(Aws::String&& value) { m_identityCenterApplicationArn = std::move(value); } + inline void SetIdentityCenterApplicationArn(const char* value) { m_identityCenterApplicationArn.assign(value); } + inline GetMonitorResult& WithIdentityCenterApplicationArn(const Aws::String& value) { SetIdentityCenterApplicationArn(value); return *this;} + inline GetMonitorResult& WithIdentityCenterApplicationArn(Aws::String&& value) { SetIdentityCenterApplicationArn(std::move(value)); return *this;} + inline GetMonitorResult& WithIdentityCenterApplicationArn(const char* value) { SetIdentityCenterApplicationArn(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.

+ *

The UNIX timestamp of the date and time that the monitor was created.

*/ - inline const Aws::String& GetRoleArn() const{ return m_roleArn; } - inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; } - inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); } - inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } - inline GetMonitorResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} - inline GetMonitorResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} - inline GetMonitorResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetMonitorResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline GetMonitorResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} ///@} ///@{ /** - *

The subdomain used for the monitor URL. The full URL of the monitor is - * subdomain.Region.deadlinecloud.amazonaws.com.

+ *

The user name of the person that created the monitor.

*/ - inline const Aws::String& GetSubdomain() const{ return m_subdomain; } - inline void SetSubdomain(const Aws::String& value) { m_subdomain = value; } - inline void SetSubdomain(Aws::String&& value) { m_subdomain = std::move(value); } - inline void SetSubdomain(const char* value) { m_subdomain.assign(value); } - inline GetMonitorResult& WithSubdomain(const Aws::String& value) { SetSubdomain(value); return *this;} - inline GetMonitorResult& WithSubdomain(Aws::String&& value) { SetSubdomain(std::move(value)); return *this;} - inline GetMonitorResult& WithSubdomain(const char* value) { SetSubdomain(value); return *this;} + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetMonitorResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetMonitorResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetMonitorResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} ///@} ///@{ @@ -164,20 +181,6 @@ namespace Model 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; } - inline void SetUrl(const Aws::String& value) { m_url = value; } - inline void SetUrl(Aws::String&& value) { m_url = std::move(value); } - inline void SetUrl(const char* value) { m_url.assign(value); } - inline GetMonitorResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} - inline GetMonitorResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} - inline GetMonitorResult& WithUrl(const char* value) { SetUrl(value); return *this;} - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -190,28 +193,28 @@ namespace Model ///@} private: - Aws::Utils::DateTime m_createdAt; - - Aws::String m_createdBy; + Aws::String m_monitorId; Aws::String m_displayName; - Aws::String m_identityCenterApplicationArn; + Aws::String m_subdomain; + + Aws::String m_url; + + Aws::String m_roleArn; Aws::String m_identityCenterInstanceArn; - Aws::String m_monitorId; + Aws::String m_identityCenterApplicationArn; - Aws::String m_roleArn; + Aws::Utils::DateTime m_createdAt; - Aws::String m_subdomain; + Aws::String m_createdBy; Aws::Utils::DateTime m_updatedAt; Aws::String m_updatedBy; - Aws::String m_url; - Aws::String m_requestId; }; 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 index 79ce50c16a0..3f7ce997ebc 100644 --- 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 @@ -46,20 +46,6 @@ namespace Model inline GetQueueEnvironmentRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} - ///@{ - /** - *

The queue environment ID.

- */ - inline const Aws::String& GetQueueEnvironmentId() const{ return m_queueEnvironmentId; } - inline bool QueueEnvironmentIdHasBeenSet() const { return m_queueEnvironmentIdHasBeenSet; } - inline void SetQueueEnvironmentId(const Aws::String& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = value; } - inline void SetQueueEnvironmentId(Aws::String&& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = std::move(value); } - inline void SetQueueEnvironmentId(const char* value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId.assign(value); } - inline GetQueueEnvironmentRequest& WithQueueEnvironmentId(const Aws::String& value) { SetQueueEnvironmentId(value); return *this;} - inline GetQueueEnvironmentRequest& WithQueueEnvironmentId(Aws::String&& value) { SetQueueEnvironmentId(std::move(value)); return *this;} - inline GetQueueEnvironmentRequest& WithQueueEnvironmentId(const char* value) { SetQueueEnvironmentId(value); return *this;} - ///@} - ///@{ /** *

The queue ID for the queue environment.

@@ -73,16 +59,30 @@ namespace Model inline GetQueueEnvironmentRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} inline GetQueueEnvironmentRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} + + ///@{ + /** + *

The queue environment ID.

+ */ + inline const Aws::String& GetQueueEnvironmentId() const{ return m_queueEnvironmentId; } + inline bool QueueEnvironmentIdHasBeenSet() const { return m_queueEnvironmentIdHasBeenSet; } + inline void SetQueueEnvironmentId(const Aws::String& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = value; } + inline void SetQueueEnvironmentId(Aws::String&& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = std::move(value); } + inline void SetQueueEnvironmentId(const char* value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId.assign(value); } + inline GetQueueEnvironmentRequest& WithQueueEnvironmentId(const Aws::String& value) { SetQueueEnvironmentId(value); return *this;} + inline GetQueueEnvironmentRequest& WithQueueEnvironmentId(Aws::String&& value) { SetQueueEnvironmentId(std::move(value)); return *this;} + inline GetQueueEnvironmentRequest& WithQueueEnvironmentId(const char* value) { SetQueueEnvironmentId(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; + + Aws::String m_queueEnvironmentId; + bool m_queueEnvironmentIdHasBeenSet = false; }; } // namespace Model 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 index ba26ebbca74..8bcbbc0c007 100644 --- 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 @@ -5,9 +5,9 @@ #pragma once #include -#include #include #include +#include #include namespace Aws @@ -36,26 +36,15 @@ namespace Model ///@{ /** - *

The date and time the resource was created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } - inline GetQueueEnvironmentResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline GetQueueEnvironmentResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

The user or system that created this resource.>

+ *

The queue environment ID.

*/ - inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } - inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } - inline GetQueueEnvironmentResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline GetQueueEnvironmentResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline GetQueueEnvironmentResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + inline const Aws::String& GetQueueEnvironmentId() const{ return m_queueEnvironmentId; } + inline void SetQueueEnvironmentId(const Aws::String& value) { m_queueEnvironmentId = value; } + inline void SetQueueEnvironmentId(Aws::String&& value) { m_queueEnvironmentId = std::move(value); } + inline void SetQueueEnvironmentId(const char* value) { m_queueEnvironmentId.assign(value); } + inline GetQueueEnvironmentResult& WithQueueEnvironmentId(const Aws::String& value) { SetQueueEnvironmentId(value); return *this;} + inline GetQueueEnvironmentResult& WithQueueEnvironmentId(Aws::String&& value) { SetQueueEnvironmentId(std::move(value)); return *this;} + inline GetQueueEnvironmentResult& WithQueueEnvironmentId(const char* value) { SetQueueEnvironmentId(value); return *this;} ///@} ///@{ @@ -82,15 +71,13 @@ namespace Model ///@{ /** - *

The queue environment ID.

+ *

The type of template for the queue environment.

*/ - inline const Aws::String& GetQueueEnvironmentId() const{ return m_queueEnvironmentId; } - inline void SetQueueEnvironmentId(const Aws::String& value) { m_queueEnvironmentId = value; } - inline void SetQueueEnvironmentId(Aws::String&& value) { m_queueEnvironmentId = std::move(value); } - inline void SetQueueEnvironmentId(const char* value) { m_queueEnvironmentId.assign(value); } - inline GetQueueEnvironmentResult& WithQueueEnvironmentId(const Aws::String& value) { SetQueueEnvironmentId(value); return *this;} - inline GetQueueEnvironmentResult& WithQueueEnvironmentId(Aws::String&& value) { SetQueueEnvironmentId(std::move(value)); return *this;} - inline GetQueueEnvironmentResult& WithQueueEnvironmentId(const char* value) { SetQueueEnvironmentId(value); return *this;} + inline const EnvironmentTemplateType& GetTemplateType() const{ return m_templateType; } + inline void SetTemplateType(const EnvironmentTemplateType& value) { m_templateType = value; } + inline void SetTemplateType(EnvironmentTemplateType&& value) { m_templateType = std::move(value); } + inline GetQueueEnvironmentResult& WithTemplateType(const EnvironmentTemplateType& value) { SetTemplateType(value); return *this;} + inline GetQueueEnvironmentResult& WithTemplateType(EnvironmentTemplateType&& value) { SetTemplateType(std::move(value)); return *this;} ///@} ///@{ @@ -108,13 +95,26 @@ namespace Model ///@{ /** - *

The type of template for the queue environment.

+ *

The date and time the resource was created.

*/ - inline const EnvironmentTemplateType& GetTemplateType() const{ return m_templateType; } - inline void SetTemplateType(const EnvironmentTemplateType& value) { m_templateType = value; } - inline void SetTemplateType(EnvironmentTemplateType&& value) { m_templateType = std::move(value); } - inline GetQueueEnvironmentResult& WithTemplateType(const EnvironmentTemplateType& value) { SetTemplateType(value); return *this;} - inline GetQueueEnvironmentResult& WithTemplateType(EnvironmentTemplateType&& value) { SetTemplateType(std::move(value)); return *this;} + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetQueueEnvironmentResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + 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; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetQueueEnvironmentResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetQueueEnvironmentResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetQueueEnvironmentResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} ///@} ///@{ @@ -153,19 +153,19 @@ namespace Model ///@} private: - Aws::Utils::DateTime m_createdAt; - - Aws::String m_createdBy; + Aws::String m_queueEnvironmentId; Aws::String m_name; int m_priority; - Aws::String m_queueEnvironmentId; + EnvironmentTemplateType m_templateType; Aws::String m_template; - EnvironmentTemplateType m_templateType; + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; Aws::Utils::DateTime m_updatedAt; 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 index ebd959dbd84..688e1826b64 100644 --- 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 @@ -46,20 +46,6 @@ namespace Model 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; } - inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } - inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } - inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } - inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } - inline GetQueueFleetAssociationRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} - inline GetQueueFleetAssociationRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} - inline GetQueueFleetAssociationRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} - ///@} - ///@{ /** *

The queue ID for the queue-fleet association.

@@ -73,16 +59,30 @@ namespace Model inline GetQueueFleetAssociationRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} inline GetQueueFleetAssociationRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} + + ///@{ + /** + *

The fleet ID for the queue-fleet association.

+ */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + inline GetQueueFleetAssociationRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + inline GetQueueFleetAssociationRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + inline GetQueueFleetAssociationRequest& 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; - Aws::String m_queueId; bool m_queueIdHasBeenSet = false; + + Aws::String m_fleetId; + bool m_fleetIdHasBeenSet = false; }; } // namespace Model 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 index 9a6510adec9..c898f3903f5 100644 --- 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 @@ -5,9 +5,9 @@ #pragma once #include -#include #include #include +#include #include namespace Aws @@ -36,26 +36,15 @@ namespace Model ///@{ /** - *

The date and time the resource was created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } - inline GetQueueFleetAssociationResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline GetQueueFleetAssociationResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

The user or system that created this resource.

+ *

The queue ID for the queue-fleet association.

*/ - inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } - inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } - inline GetQueueFleetAssociationResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline GetQueueFleetAssociationResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline GetQueueFleetAssociationResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline void SetQueueId(const Aws::String& value) { m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueId.assign(value); } + inline GetQueueFleetAssociationResult& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline GetQueueFleetAssociationResult& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline GetQueueFleetAssociationResult& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} ///@{ @@ -71,19 +60,6 @@ namespace Model 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; } - inline void SetQueueId(const Aws::String& value) { m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueId.assign(value); } - inline GetQueueFleetAssociationResult& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline GetQueueFleetAssociationResult& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline GetQueueFleetAssociationResult& WithQueueId(const char* value) { SetQueueId(value); return *this;} - ///@} - ///@{ /** *

The status of the queue-fleet association.

@@ -95,6 +71,30 @@ namespace Model inline GetQueueFleetAssociationResult& WithStatus(QueueFleetAssociationStatus&& value) { SetStatus(std::move(value)); return *this;} ///@} + ///@{ + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetQueueFleetAssociationResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + 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; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetQueueFleetAssociationResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetQueueFleetAssociationResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetQueueFleetAssociationResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + ///@{ /** *

The date and time the resource was updated.

@@ -131,16 +131,16 @@ namespace Model ///@} private: - Aws::Utils::DateTime m_createdAt; - - Aws::String m_createdBy; + Aws::String m_queueId; Aws::String m_fleetId; - Aws::String m_queueId; - QueueFleetAssociationStatus m_status; + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; + Aws::Utils::DateTime m_updatedAt; Aws::String m_updatedBy; 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 index 945b63fb863..5d2d118e9e5 100644 --- 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 @@ -5,14 +5,14 @@ #pragma once #include -#include -#include -#include #include +#include #include +#include #include +#include #include -#include +#include #include namespace Aws @@ -41,51 +41,72 @@ namespace Model ///@{ /** - *

The storage profile IDs for the queue.

+ *

The queue ID.

*/ - inline const Aws::Vector& GetAllowedStorageProfileIds() const{ return m_allowedStorageProfileIds; } - inline void SetAllowedStorageProfileIds(const Aws::Vector& value) { m_allowedStorageProfileIds = value; } - inline void SetAllowedStorageProfileIds(Aws::Vector&& value) { m_allowedStorageProfileIds = std::move(value); } - inline GetQueueResult& WithAllowedStorageProfileIds(const Aws::Vector& value) { SetAllowedStorageProfileIds(value); return *this;} - inline GetQueueResult& WithAllowedStorageProfileIds(Aws::Vector&& value) { SetAllowedStorageProfileIds(std::move(value)); return *this;} - inline GetQueueResult& AddAllowedStorageProfileIds(const Aws::String& value) { m_allowedStorageProfileIds.push_back(value); return *this; } - inline GetQueueResult& AddAllowedStorageProfileIds(Aws::String&& value) { m_allowedStorageProfileIds.push_back(std::move(value)); return *this; } - inline GetQueueResult& AddAllowedStorageProfileIds(const char* value) { m_allowedStorageProfileIds.push_back(value); return *this; } + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline void SetQueueId(const Aws::String& value) { m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueId.assign(value); } + inline GetQueueResult& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline GetQueueResult& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline GetQueueResult& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} ///@{ /** - *

The reason the queue was blocked.

+ *

The display name of the queue.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

*/ - inline const QueueBlockedReason& GetBlockedReason() const{ return m_blockedReason; } - inline void SetBlockedReason(const QueueBlockedReason& value) { m_blockedReason = value; } - inline void SetBlockedReason(QueueBlockedReason&& value) { m_blockedReason = std::move(value); } - inline GetQueueResult& WithBlockedReason(const QueueBlockedReason& value) { SetBlockedReason(value); return *this;} - inline GetQueueResult& WithBlockedReason(QueueBlockedReason&& value) { SetBlockedReason(std::move(value)); return *this;} + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } + inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } + inline void SetDisplayName(const char* value) { m_displayName.assign(value); } + inline GetQueueResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + inline GetQueueResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + inline GetQueueResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} ///@} ///@{ /** - *

The date and time the resource was created.

+ *

The description of the queue.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

*/ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } - inline GetQueueResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline GetQueueResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline GetQueueResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline GetQueueResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline GetQueueResult& WithDescription(const char* value) { SetDescription(value); return *this;} ///@} ///@{ /** - *

The user or system that created this resource.

+ *

The farm ID for the queue.

*/ - inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } - inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } - inline GetQueueResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline GetQueueResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline GetQueueResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + inline const Aws::String& GetFarmId() const{ return m_farmId; } + inline void SetFarmId(const Aws::String& value) { m_farmId = value; } + inline void SetFarmId(Aws::String&& value) { m_farmId = std::move(value); } + inline void SetFarmId(const char* value) { m_farmId.assign(value); } + inline GetQueueResult& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + inline GetQueueResult& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + inline GetQueueResult& WithFarmId(const char* value) { SetFarmId(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; } + inline void SetStatus(const QueueStatus& value) { m_status = value; } + inline void SetStatus(QueueStatus&& value) { m_status = std::move(value); } + inline GetQueueResult& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;} + inline GetQueueResult& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;} ///@} ///@{ @@ -101,41 +122,13 @@ namespace Model ///@{ /** - *

The description of the queue.

- */ - inline const Aws::String& GetDescription() const{ return m_description; } - inline void SetDescription(const Aws::String& value) { m_description = value; } - inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } - inline void SetDescription(const char* value) { m_description.assign(value); } - inline GetQueueResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - inline GetQueueResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - 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; } - inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } - inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); } - inline void SetDisplayName(const char* value) { m_displayName.assign(value); } - inline GetQueueResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} - inline GetQueueResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} - inline GetQueueResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} - ///@} - - ///@{ - /** - *

The farm ID for the queue.

+ *

The reason the queue was blocked.

*/ - inline const Aws::String& GetFarmId() const{ return m_farmId; } - inline void SetFarmId(const Aws::String& value) { m_farmId = value; } - inline void SetFarmId(Aws::String&& value) { m_farmId = std::move(value); } - inline void SetFarmId(const char* value) { m_farmId.assign(value); } - inline GetQueueResult& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} - inline GetQueueResult& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} - inline GetQueueResult& WithFarmId(const char* value) { SetFarmId(value); return *this;} + inline const QueueBlockedReason& GetBlockedReason() const{ return m_blockedReason; } + inline void SetBlockedReason(const QueueBlockedReason& value) { m_blockedReason = value; } + inline void SetBlockedReason(QueueBlockedReason&& value) { m_blockedReason = std::move(value); } + inline GetQueueResult& WithBlockedReason(const QueueBlockedReason& value) { SetBlockedReason(value); return *this;} + inline GetQueueResult& WithBlockedReason(QueueBlockedReason&& value) { SetBlockedReason(std::move(value)); return *this;} ///@} ///@{ @@ -151,26 +144,15 @@ namespace Model ///@{ /** - *

The jobs in the queue ran as this specified POSIX user.

- */ - inline const JobRunAsUser& GetJobRunAsUser() const{ return m_jobRunAsUser; } - inline void SetJobRunAsUser(const JobRunAsUser& value) { m_jobRunAsUser = value; } - inline void SetJobRunAsUser(JobRunAsUser&& value) { m_jobRunAsUser = std::move(value); } - inline GetQueueResult& WithJobRunAsUser(const JobRunAsUser& value) { SetJobRunAsUser(value); return *this;} - inline GetQueueResult& WithJobRunAsUser(JobRunAsUser&& value) { SetJobRunAsUser(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

The queue ID.

+ *

The IAM role ARN.

*/ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline void SetQueueId(const Aws::String& value) { m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueId.assign(value); } - inline GetQueueResult& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline GetQueueResult& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline GetQueueResult& WithQueueId(const char* value) { SetQueueId(value); return *this;} + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; } + inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); } + inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } + inline GetQueueResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + inline GetQueueResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + inline GetQueueResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} ///@} ///@{ @@ -189,29 +171,51 @@ namespace Model ///@{ /** - *

The IAM role ARN.

+ *

The storage profile IDs for the queue.

*/ - inline const Aws::String& GetRoleArn() const{ return m_roleArn; } - inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; } - inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); } - inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } - inline GetQueueResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} - inline GetQueueResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} - inline GetQueueResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + inline const Aws::Vector& GetAllowedStorageProfileIds() const{ return m_allowedStorageProfileIds; } + inline void SetAllowedStorageProfileIds(const Aws::Vector& value) { m_allowedStorageProfileIds = value; } + inline void SetAllowedStorageProfileIds(Aws::Vector&& value) { m_allowedStorageProfileIds = std::move(value); } + inline GetQueueResult& WithAllowedStorageProfileIds(const Aws::Vector& value) { SetAllowedStorageProfileIds(value); return *this;} + inline GetQueueResult& WithAllowedStorageProfileIds(Aws::Vector&& value) { SetAllowedStorageProfileIds(std::move(value)); return *this;} + inline GetQueueResult& AddAllowedStorageProfileIds(const Aws::String& value) { m_allowedStorageProfileIds.push_back(value); return *this; } + inline GetQueueResult& AddAllowedStorageProfileIds(Aws::String&& value) { m_allowedStorageProfileIds.push_back(std::move(value)); return *this; } + inline GetQueueResult& AddAllowedStorageProfileIds(const char* value) { m_allowedStorageProfileIds.push_back(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.

+ *

The jobs in the queue ran as this specified POSIX user.

*/ - inline const QueueStatus& GetStatus() const{ return m_status; } - inline void SetStatus(const QueueStatus& value) { m_status = value; } - inline void SetStatus(QueueStatus&& value) { m_status = std::move(value); } - inline GetQueueResult& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;} - inline GetQueueResult& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;} + inline const JobRunAsUser& GetJobRunAsUser() const{ return m_jobRunAsUser; } + inline void SetJobRunAsUser(const JobRunAsUser& value) { m_jobRunAsUser = value; } + inline void SetJobRunAsUser(JobRunAsUser&& value) { m_jobRunAsUser = std::move(value); } + inline GetQueueResult& WithJobRunAsUser(const JobRunAsUser& value) { SetJobRunAsUser(value); return *this;} + inline GetQueueResult& WithJobRunAsUser(JobRunAsUser&& value) { SetJobRunAsUser(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The date and time the resource was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetQueueResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + 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; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetQueueResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetQueueResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetQueueResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} ///@} ///@{ @@ -250,33 +254,33 @@ namespace Model ///@} private: - Aws::Vector m_allowedStorageProfileIds; - - QueueBlockedReason m_blockedReason; + Aws::String m_queueId; - Aws::Utils::DateTime m_createdAt; + Aws::String m_displayName; - Aws::String m_createdBy; + Aws::String m_description; - DefaultQueueBudgetAction m_defaultBudgetAction; + Aws::String m_farmId; - Aws::String m_description; + QueueStatus m_status; - Aws::String m_displayName; + DefaultQueueBudgetAction m_defaultBudgetAction; - Aws::String m_farmId; + QueueBlockedReason m_blockedReason; JobAttachmentSettings m_jobAttachmentSettings; - JobRunAsUser m_jobRunAsUser; - - Aws::String m_queueId; + Aws::String m_roleArn; Aws::Vector m_requiredFileSystemLocationNames; - Aws::String m_roleArn; + Aws::Vector m_allowedStorageProfileIds; - QueueStatus m_status; + JobRunAsUser m_jobRunAsUser; + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; Aws::Utils::DateTime m_updatedAt; 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 index a9ca08b34e8..ea6c33700a8 100644 --- 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 @@ -46,20 +46,6 @@ namespace Model 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; } - inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } - inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } - inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } - inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } - inline GetSessionActionRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} - inline GetSessionActionRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} - inline GetSessionActionRequest& WithJobId(const char* value) { SetJobId(value); return *this;} - ///@} - ///@{ /** *

The queue ID for the session action.

@@ -74,6 +60,20 @@ namespace Model inline GetSessionActionRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} + ///@{ + /** + *

The job ID for the session.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + inline GetSessionActionRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + inline GetSessionActionRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + inline GetSessionActionRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + ///@} + ///@{ /** *

The session action ID for the session.

@@ -92,12 +92,12 @@ namespace Model 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_jobId; + bool m_jobIdHasBeenSet = false; + Aws::String m_sessionActionId; bool m_sessionActionIdHasBeenSet = false; }; 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 index c7207c214fe..0ea13083dde 100644 --- 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 @@ -5,10 +5,10 @@ #pragma once #include -#include -#include #include #include +#include +#include #include namespace Aws @@ -37,68 +37,69 @@ namespace Model ///@{ /** - *

The session action definition.

+ *

The session action ID.

*/ - inline const SessionActionDefinition& GetDefinition() const{ return m_definition; } - inline void SetDefinition(const SessionActionDefinition& value) { m_definition = value; } - inline void SetDefinition(SessionActionDefinition&& value) { m_definition = std::move(value); } - inline GetSessionActionResult& WithDefinition(const SessionActionDefinition& value) { SetDefinition(value); return *this;} - inline GetSessionActionResult& WithDefinition(SessionActionDefinition&& value) { SetDefinition(std::move(value)); return *this;} + inline const Aws::String& GetSessionActionId() const{ return m_sessionActionId; } + inline void SetSessionActionId(const Aws::String& value) { m_sessionActionId = value; } + inline void SetSessionActionId(Aws::String&& value) { m_sessionActionId = std::move(value); } + inline void SetSessionActionId(const char* value) { m_sessionActionId.assign(value); } + inline GetSessionActionResult& WithSessionActionId(const Aws::String& value) { SetSessionActionId(value); return *this;} + inline GetSessionActionResult& WithSessionActionId(Aws::String&& value) { SetSessionActionId(std::move(value)); return *this;} + inline GetSessionActionResult& WithSessionActionId(const char* value) { SetSessionActionId(value); return *this;} ///@} ///@{ /** - *

The date and time the resource ended running.

+ *

The status of the session action.

*/ - inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } - inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; } - inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); } - inline GetSessionActionResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} - inline GetSessionActionResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + inline const SessionActionStatus& GetStatus() const{ return m_status; } + inline void SetStatus(const SessionActionStatus& value) { m_status = value; } + inline void SetStatus(SessionActionStatus&& value) { m_status = std::move(value); } + inline GetSessionActionResult& WithStatus(const SessionActionStatus& value) { SetStatus(value); return *this;} + inline GetSessionActionResult& WithStatus(SessionActionStatus&& value) { SetStatus(std::move(value)); return *this;} ///@} ///@{ /** - *

The exit code to exit the session.

+ *

The date and time the resource started running.

*/ - inline int GetProcessExitCode() const{ return m_processExitCode; } - inline void SetProcessExitCode(int value) { m_processExitCode = value; } - inline GetSessionActionResult& WithProcessExitCode(int value) { SetProcessExitCode(value); return *this;} + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; } + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); } + inline GetSessionActionResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + inline GetSessionActionResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} ///@} ///@{ /** - *

The message that communicates the progress of the session action.

+ *

The date and time the resource ended running.

*/ - inline const Aws::String& GetProgressMessage() const{ return m_progressMessage; } - inline void SetProgressMessage(const Aws::String& value) { m_progressMessage = value; } - inline void SetProgressMessage(Aws::String&& value) { m_progressMessage = std::move(value); } - inline void SetProgressMessage(const char* value) { m_progressMessage.assign(value); } - inline GetSessionActionResult& WithProgressMessage(const Aws::String& value) { SetProgressMessage(value); return *this;} - inline GetSessionActionResult& WithProgressMessage(Aws::String&& value) { SetProgressMessage(std::move(value)); return *this;} - inline GetSessionActionResult& WithProgressMessage(const char* value) { SetProgressMessage(value); return *this;} + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; } + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); } + inline GetSessionActionResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + inline GetSessionActionResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} ///@} ///@{ /** - *

The percentage completed for a session action.

+ *

The Linux timestamp of the date and time the session action was last + * updated.

*/ - inline double GetProgressPercent() const{ return m_progressPercent; } - inline void SetProgressPercent(double value) { m_progressPercent = value; } - inline GetSessionActionResult& WithProgressPercent(double value) { SetProgressPercent(value); return *this;} + inline const Aws::Utils::DateTime& GetWorkerUpdatedAt() const{ return m_workerUpdatedAt; } + inline void SetWorkerUpdatedAt(const Aws::Utils::DateTime& value) { m_workerUpdatedAt = value; } + inline void SetWorkerUpdatedAt(Aws::Utils::DateTime&& value) { m_workerUpdatedAt = std::move(value); } + inline GetSessionActionResult& WithWorkerUpdatedAt(const Aws::Utils::DateTime& value) { SetWorkerUpdatedAt(value); return *this;} + inline GetSessionActionResult& WithWorkerUpdatedAt(Aws::Utils::DateTime&& value) { SetWorkerUpdatedAt(std::move(value)); return *this;} ///@} ///@{ /** - *

The session action ID.

+ *

The percentage completed for a session action.

*/ - inline const Aws::String& GetSessionActionId() const{ return m_sessionActionId; } - inline void SetSessionActionId(const Aws::String& value) { m_sessionActionId = value; } - inline void SetSessionActionId(Aws::String&& value) { m_sessionActionId = std::move(value); } - inline void SetSessionActionId(const char* value) { m_sessionActionId.assign(value); } - inline GetSessionActionResult& WithSessionActionId(const Aws::String& value) { SetSessionActionId(value); return *this;} - inline GetSessionActionResult& WithSessionActionId(Aws::String&& value) { SetSessionActionId(std::move(value)); return *this;} - inline GetSessionActionResult& WithSessionActionId(const char* value) { SetSessionActionId(value); return *this;} + inline double GetProgressPercent() const{ return m_progressPercent; } + inline void SetProgressPercent(double value) { m_progressPercent = value; } + inline GetSessionActionResult& WithProgressPercent(double value) { SetProgressPercent(value); return *this;} ///@} ///@{ @@ -116,36 +117,35 @@ namespace Model ///@{ /** - *

The date and time the resource started running.

+ *

The exit code to exit the session.

*/ - inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } - inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; } - inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); } - inline GetSessionActionResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} - inline GetSessionActionResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + inline int GetProcessExitCode() const{ return m_processExitCode; } + inline void SetProcessExitCode(int value) { m_processExitCode = value; } + inline GetSessionActionResult& WithProcessExitCode(int value) { SetProcessExitCode(value); return *this;} ///@} ///@{ /** - *

The status of the session action.

+ *

The message that communicates the progress of the session action.

*/ - inline const SessionActionStatus& GetStatus() const{ return m_status; } - inline void SetStatus(const SessionActionStatus& value) { m_status = value; } - inline void SetStatus(SessionActionStatus&& value) { m_status = std::move(value); } - inline GetSessionActionResult& WithStatus(const SessionActionStatus& value) { SetStatus(value); return *this;} - inline GetSessionActionResult& WithStatus(SessionActionStatus&& value) { SetStatus(std::move(value)); return *this;} + inline const Aws::String& GetProgressMessage() const{ return m_progressMessage; } + inline void SetProgressMessage(const Aws::String& value) { m_progressMessage = value; } + inline void SetProgressMessage(Aws::String&& value) { m_progressMessage = std::move(value); } + inline void SetProgressMessage(const char* value) { m_progressMessage.assign(value); } + inline GetSessionActionResult& WithProgressMessage(const Aws::String& value) { SetProgressMessage(value); return *this;} + inline GetSessionActionResult& WithProgressMessage(Aws::String&& value) { SetProgressMessage(std::move(value)); return *this;} + inline GetSessionActionResult& WithProgressMessage(const char* value) { SetProgressMessage(value); return *this;} ///@} ///@{ /** - *

The Linux timestamp of the date and time the session action was last - * updated.

+ *

The session action definition.

*/ - inline const Aws::Utils::DateTime& GetWorkerUpdatedAt() const{ return m_workerUpdatedAt; } - inline void SetWorkerUpdatedAt(const Aws::Utils::DateTime& value) { m_workerUpdatedAt = value; } - inline void SetWorkerUpdatedAt(Aws::Utils::DateTime&& value) { m_workerUpdatedAt = std::move(value); } - inline GetSessionActionResult& WithWorkerUpdatedAt(const Aws::Utils::DateTime& value) { SetWorkerUpdatedAt(value); return *this;} - inline GetSessionActionResult& WithWorkerUpdatedAt(Aws::Utils::DateTime&& value) { SetWorkerUpdatedAt(std::move(value)); return *this;} + inline const SessionActionDefinition& GetDefinition() const{ return m_definition; } + inline void SetDefinition(const SessionActionDefinition& value) { m_definition = value; } + inline void SetDefinition(SessionActionDefinition&& value) { m_definition = std::move(value); } + inline GetSessionActionResult& WithDefinition(const SessionActionDefinition& value) { SetDefinition(value); return *this;} + inline GetSessionActionResult& WithDefinition(SessionActionDefinition&& value) { SetDefinition(std::move(value)); return *this;} ///@} ///@{ @@ -160,25 +160,25 @@ namespace Model ///@} private: - SessionActionDefinition m_definition; + Aws::String m_sessionActionId; - Aws::Utils::DateTime m_endedAt; + SessionActionStatus m_status; - int m_processExitCode; + Aws::Utils::DateTime m_startedAt; - Aws::String m_progressMessage; + Aws::Utils::DateTime m_endedAt; - double m_progressPercent; + Aws::Utils::DateTime m_workerUpdatedAt; - Aws::String m_sessionActionId; + double m_progressPercent; Aws::String m_sessionId; - Aws::Utils::DateTime m_startedAt; + int m_processExitCode; - SessionActionStatus m_status; + Aws::String m_progressMessage; - Aws::Utils::DateTime m_workerUpdatedAt; + SessionActionDefinition m_definition; Aws::String m_requestId; }; 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 index 42b95fee05b..ecc05a1ff4b 100644 --- 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 @@ -46,20 +46,6 @@ namespace Model 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; } - inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } - inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } - inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } - inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } - inline GetSessionRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} - inline GetSessionRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} - inline GetSessionRequest& WithJobId(const char* value) { SetJobId(value); return *this;} - ///@} - ///@{ /** *

The queue ID for the session.

@@ -74,6 +60,20 @@ namespace Model inline GetSessionRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} + ///@{ + /** + *

The job ID for the session.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + inline GetSessionRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + inline GetSessionRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + inline GetSessionRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + ///@} + ///@{ /** *

The session ID.

@@ -92,12 +92,12 @@ namespace Model 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_jobId; + bool m_jobIdHasBeenSet = false; + Aws::String m_sessionId; bool m_sessionIdHasBeenSet = false; }; 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 index 97ee1eed450..fc2320e0be4 100644 --- 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 @@ -5,12 +5,12 @@ #pragma once #include -#include #include -#include -#include +#include #include +#include #include +#include #include namespace Aws @@ -39,13 +39,15 @@ namespace Model ///@{ /** - *

The date and time the resource ended running.

+ *

The session ID.

*/ - inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } - inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; } - inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); } - inline GetSessionResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} - inline GetSessionResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + inline void SetSessionId(const Aws::String& value) { m_sessionId = value; } + inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); } + inline void SetSessionId(const char* value) { m_sessionId.assign(value); } + inline GetSessionResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + inline GetSessionResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + inline GetSessionResult& WithSessionId(const char* value) { SetSessionId(value); return *this;} ///@} ///@{ @@ -63,24 +65,26 @@ namespace Model ///@{ /** - *

Provides the Amazon EC2 properties of the host.

+ *

The worker ID for the session.

*/ - inline const HostPropertiesResponse& GetHostProperties() const{ return m_hostProperties; } - inline void SetHostProperties(const HostPropertiesResponse& value) { m_hostProperties = value; } - inline void SetHostProperties(HostPropertiesResponse&& value) { m_hostProperties = std::move(value); } - inline GetSessionResult& WithHostProperties(const HostPropertiesResponse& value) { SetHostProperties(value); return *this;} - inline GetSessionResult& WithHostProperties(HostPropertiesResponse&& value) { SetHostProperties(std::move(value)); return *this;} + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + inline void SetWorkerId(const Aws::String& value) { m_workerId = value; } + inline void SetWorkerId(Aws::String&& value) { m_workerId = std::move(value); } + inline void SetWorkerId(const char* value) { m_workerId.assign(value); } + inline GetSessionResult& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + inline GetSessionResult& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + inline GetSessionResult& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} ///@} ///@{ /** - *

The life cycle status of the session.

+ *

The date and time the resource started running.

*/ - inline const SessionLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } - inline void SetLifecycleStatus(const SessionLifecycleStatus& value) { m_lifecycleStatus = value; } - inline void SetLifecycleStatus(SessionLifecycleStatus&& value) { m_lifecycleStatus = std::move(value); } - inline GetSessionResult& WithLifecycleStatus(const SessionLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} - inline GetSessionResult& WithLifecycleStatus(SessionLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; } + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); } + inline GetSessionResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + inline GetSessionResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} ///@} ///@{ @@ -96,37 +100,24 @@ namespace Model ///@{ /** - *

The session ID.

- */ - inline const Aws::String& GetSessionId() const{ return m_sessionId; } - inline void SetSessionId(const Aws::String& value) { m_sessionId = value; } - inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); } - inline void SetSessionId(const char* value) { m_sessionId.assign(value); } - inline GetSessionResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} - inline GetSessionResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} - inline GetSessionResult& WithSessionId(const char* value) { SetSessionId(value); return *this;} - ///@} - - ///@{ - /** - *

The date and time the resource started running.

+ *

The life cycle status of the session.

*/ - inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } - inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; } - inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); } - inline GetSessionResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} - inline GetSessionResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + inline const SessionLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } + inline void SetLifecycleStatus(const SessionLifecycleStatus& value) { m_lifecycleStatus = value; } + inline void SetLifecycleStatus(SessionLifecycleStatus&& value) { m_lifecycleStatus = std::move(value); } + inline GetSessionResult& WithLifecycleStatus(const SessionLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} + inline GetSessionResult& WithLifecycleStatus(SessionLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} ///@} ///@{ /** - *

The life cycle status with which the session started.

+ *

The date and time the resource ended running.

*/ - inline const SessionLifecycleTargetStatus& GetTargetLifecycleStatus() const{ return m_targetLifecycleStatus; } - inline void SetTargetLifecycleStatus(const SessionLifecycleTargetStatus& value) { m_targetLifecycleStatus = value; } - inline void SetTargetLifecycleStatus(SessionLifecycleTargetStatus&& value) { m_targetLifecycleStatus = std::move(value); } - inline GetSessionResult& WithTargetLifecycleStatus(const SessionLifecycleTargetStatus& value) { SetTargetLifecycleStatus(value); return *this;} - inline GetSessionResult& WithTargetLifecycleStatus(SessionLifecycleTargetStatus&& value) { SetTargetLifecycleStatus(std::move(value)); return *this;} + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; } + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); } + inline GetSessionResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + inline GetSessionResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} ///@} ///@{ @@ -155,15 +146,24 @@ namespace Model ///@{ /** - *

The worker ID for the session.

+ *

The life cycle status with which the session started.

*/ - inline const Aws::String& GetWorkerId() const{ return m_workerId; } - inline void SetWorkerId(const Aws::String& value) { m_workerId = value; } - inline void SetWorkerId(Aws::String&& value) { m_workerId = std::move(value); } - inline void SetWorkerId(const char* value) { m_workerId.assign(value); } - inline GetSessionResult& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} - inline GetSessionResult& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} - inline GetSessionResult& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + inline const SessionLifecycleTargetStatus& GetTargetLifecycleStatus() const{ return m_targetLifecycleStatus; } + inline void SetTargetLifecycleStatus(const SessionLifecycleTargetStatus& value) { m_targetLifecycleStatus = value; } + inline void SetTargetLifecycleStatus(SessionLifecycleTargetStatus&& value) { m_targetLifecycleStatus = std::move(value); } + inline GetSessionResult& WithTargetLifecycleStatus(const SessionLifecycleTargetStatus& value) { SetTargetLifecycleStatus(value); return *this;} + inline GetSessionResult& WithTargetLifecycleStatus(SessionLifecycleTargetStatus&& value) { SetTargetLifecycleStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Provides the Amazon EC2 properties of the host.

+ */ + inline const HostPropertiesResponse& GetHostProperties() const{ return m_hostProperties; } + inline void SetHostProperties(const HostPropertiesResponse& value) { m_hostProperties = value; } + inline void SetHostProperties(HostPropertiesResponse&& value) { m_hostProperties = std::move(value); } + inline GetSessionResult& WithHostProperties(const HostPropertiesResponse& value) { SetHostProperties(value); return *this;} + inline GetSessionResult& WithHostProperties(HostPropertiesResponse&& value) { SetHostProperties(std::move(value)); return *this;} ///@} ///@{ @@ -189,27 +189,27 @@ namespace Model ///@} private: - Aws::Utils::DateTime m_endedAt; + Aws::String m_sessionId; Aws::String m_fleetId; - HostPropertiesResponse m_hostProperties; + Aws::String m_workerId; - SessionLifecycleStatus m_lifecycleStatus; + Aws::Utils::DateTime m_startedAt; LogConfiguration m_log; - Aws::String m_sessionId; - - Aws::Utils::DateTime m_startedAt; + SessionLifecycleStatus m_lifecycleStatus; - SessionLifecycleTargetStatus m_targetLifecycleStatus; + Aws::Utils::DateTime m_endedAt; Aws::Utils::DateTime m_updatedAt; Aws::String m_updatedBy; - Aws::String m_workerId; + SessionLifecycleTargetStatus m_targetLifecycleStatus; + + HostPropertiesResponse m_hostProperties; LogConfiguration m_workerLog; 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 index 265cf531532..07b11d0c486 100644 --- 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 @@ -38,22 +38,6 @@ namespace Model 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; } - inline bool AggregationIdHasBeenSet() const { return m_aggregationIdHasBeenSet; } - inline void SetAggregationId(const Aws::String& value) { m_aggregationIdHasBeenSet = true; m_aggregationId = value; } - inline void SetAggregationId(Aws::String&& value) { m_aggregationIdHasBeenSet = true; m_aggregationId = std::move(value); } - inline void SetAggregationId(const char* value) { m_aggregationIdHasBeenSet = true; m_aggregationId.assign(value); } - inline GetSessionsStatisticsAggregationRequest& WithAggregationId(const Aws::String& value) { SetAggregationId(value); return *this;} - inline GetSessionsStatisticsAggregationRequest& WithAggregationId(Aws::String&& value) { SetAggregationId(std::move(value)); return *this;} - inline GetSessionsStatisticsAggregationRequest& WithAggregationId(const char* value) { SetAggregationId(value); return *this;} - ///@} - ///@{ /** *

The identifier of the farm to include in the statistics. This should be the @@ -70,6 +54,22 @@ namespace Model inline GetSessionsStatisticsAggregationRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} + ///@{ + /** + *

The identifier returned by the + * StartSessionsStatisticsAggregation operation that identifies the + * aggregated statistics.

+ */ + inline const Aws::String& GetAggregationId() const{ return m_aggregationId; } + inline bool AggregationIdHasBeenSet() const { return m_aggregationIdHasBeenSet; } + inline void SetAggregationId(const Aws::String& value) { m_aggregationIdHasBeenSet = true; m_aggregationId = value; } + inline void SetAggregationId(Aws::String&& value) { m_aggregationIdHasBeenSet = true; m_aggregationId = std::move(value); } + inline void SetAggregationId(const char* value) { m_aggregationIdHasBeenSet = true; m_aggregationId.assign(value); } + inline GetSessionsStatisticsAggregationRequest& WithAggregationId(const Aws::String& value) { SetAggregationId(value); return *this;} + inline GetSessionsStatisticsAggregationRequest& WithAggregationId(Aws::String&& value) { SetAggregationId(std::move(value)); return *this;} + inline GetSessionsStatisticsAggregationRequest& WithAggregationId(const char* value) { SetAggregationId(value); return *this;} + ///@} + ///@{ /** *

The maximum number of results to return. Use this parameter with @@ -97,12 +97,12 @@ namespace Model ///@} private: - Aws::String m_aggregationId; - bool m_aggregationIdHasBeenSet = false; - Aws::String m_farmId; bool m_farmIdHasBeenSet = false; + Aws::String m_aggregationId; + bool m_aggregationIdHasBeenSet = false; + int m_maxResults; bool m_maxResultsHasBeenSet = false; 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 index f6ac9a630ee..8be6b130db2 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include #include @@ -35,6 +35,19 @@ namespace Model AWS_DEADLINE_API GetSessionsStatisticsAggregationResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

The statistics for the specified fleets or queues.

+ */ + inline const Aws::Vector& GetStatistics() const{ return m_statistics; } + inline void SetStatistics(const Aws::Vector& value) { m_statistics = value; } + inline void SetStatistics(Aws::Vector&& value) { m_statistics = std::move(value); } + inline GetSessionsStatisticsAggregationResult& WithStatistics(const Aws::Vector& value) { SetStatistics(value); return *this;} + inline GetSessionsStatisticsAggregationResult& WithStatistics(Aws::Vector&& value) { SetStatistics(std::move(value)); return *this;} + inline GetSessionsStatisticsAggregationResult& AddStatistics(const Statistics& value) { m_statistics.push_back(value); return *this; } + inline GetSessionsStatisticsAggregationResult& AddStatistics(Statistics&& value) { m_statistics.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

If Deadline Cloud returns nextToken, then there are more results @@ -56,20 +69,14 @@ namespace Model ///@{ /** - *

The statistics for the specified fleets or queues.

- */ - inline const Aws::Vector& GetStatistics() const{ return m_statistics; } - inline void SetStatistics(const Aws::Vector& value) { m_statistics = value; } - inline void SetStatistics(Aws::Vector&& value) { m_statistics = std::move(value); } - inline GetSessionsStatisticsAggregationResult& WithStatistics(const Aws::Vector& value) { SetStatistics(value); return *this;} - inline GetSessionsStatisticsAggregationResult& WithStatistics(Aws::Vector&& value) { SetStatistics(std::move(value)); return *this;} - inline GetSessionsStatisticsAggregationResult& AddStatistics(const Statistics& value) { m_statistics.push_back(value); return *this; } - inline GetSessionsStatisticsAggregationResult& AddStatistics(Statistics&& value) { m_statistics.push_back(std::move(value)); return *this; } - ///@} - - ///@{ - /** - *

The status of the aggregated results.

+ *

The status of the aggregated results. An aggregation may fail or time out if + * the results are too large. If this happens, you can call the + * StartSessionsStatisticsAggregation operation after you reduce the + * aggregation time frame, reduce the number of queues or fleets in the + * aggregation, or increase the period length.

If you call the + * StartSessionsStatisticsAggregation operation when the status is + * IN_PROGRESS, you will receive a + * ThrottlingException.

*/ inline const SessionsStatisticsAggregationStatus& GetStatus() const{ return m_status; } inline void SetStatus(const SessionsStatisticsAggregationStatus& value) { m_status = value; } @@ -103,10 +110,10 @@ namespace Model ///@} private: - Aws::String m_nextToken; - Aws::Vector m_statistics; + Aws::String m_nextToken; + SessionsStatisticsAggregationStatus m_status; Aws::String m_statusMessage; 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 index 51bed29068f..41f3d4012ef 100644 --- 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 @@ -46,20 +46,6 @@ namespace Model 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; } - inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } - inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } - inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } - inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } - inline GetStepRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} - inline GetStepRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} - inline GetStepRequest& WithJobId(const char* value) { SetJobId(value); return *this;} - ///@} - ///@{ /** *

The queue ID for the step.

@@ -74,6 +60,20 @@ namespace Model inline GetStepRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} + ///@{ + /** + *

The job ID for the step.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + inline GetStepRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + inline GetStepRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + inline GetStepRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + ///@} + ///@{ /** *

The step ID.

@@ -92,12 +92,12 @@ namespace Model 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_jobId; + bool m_jobIdHasBeenSet = false; + Aws::String m_stepId; bool m_stepIdHasBeenSet = false; }; 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 index 3d8db55c8b6..f6edb61bf07 100644 --- 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 @@ -5,15 +5,15 @@ #pragma once #include -#include #include -#include #include -#include -#include -#include #include #include +#include +#include +#include +#include +#include #include namespace Aws @@ -42,61 +42,28 @@ namespace Model ///@{ /** - *

The date and time the resource was created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } - inline GetStepResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - 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; } - inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } - inline GetStepResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline GetStepResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - 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; } - inline void SetDependencyCounts(const DependencyCounts& value) { m_dependencyCounts = value; } - inline void SetDependencyCounts(DependencyCounts&& value) { m_dependencyCounts = std::move(value); } - inline GetStepResult& WithDependencyCounts(const DependencyCounts& value) { SetDependencyCounts(value); return *this;} - inline GetStepResult& WithDependencyCounts(DependencyCounts&& value) { SetDependencyCounts(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

The description of the step.

+ *

The step ID.

*/ - inline const Aws::String& GetDescription() const{ return m_description; } - inline void SetDescription(const Aws::String& value) { m_description = value; } - inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } - inline void SetDescription(const char* value) { m_description.assign(value); } - inline GetStepResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - inline GetStepResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - inline GetStepResult& WithDescription(const char* value) { SetDescription(value); return *this;} + inline const Aws::String& GetStepId() const{ return m_stepId; } + inline void SetStepId(const Aws::String& value) { m_stepId = value; } + inline void SetStepId(Aws::String&& value) { m_stepId = std::move(value); } + inline void SetStepId(const char* value) { m_stepId.assign(value); } + inline GetStepResult& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + inline GetStepResult& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + inline GetStepResult& WithStepId(const char* value) { SetStepId(value); return *this;} ///@} ///@{ /** - *

The date and time the resource ended running.

+ *

The name of the step.

*/ - inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } - inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; } - inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); } - inline GetStepResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} - inline GetStepResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + inline const Aws::String& GetName() const{ return m_name; } + inline void SetName(const Aws::String& value) { m_name = value; } + inline void SetName(Aws::String&& value) { m_name = std::move(value); } + inline void SetName(const char* value) { m_name.assign(value); } + inline GetStepResult& WithName(const Aws::String& value) { SetName(value); return *this;} + inline GetStepResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline GetStepResult& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ @@ -125,61 +92,26 @@ namespace Model ///@{ /** - *

The name of the step.

- */ - inline const Aws::String& GetName() const{ return m_name; } - inline void SetName(const Aws::String& value) { m_name = value; } - inline void SetName(Aws::String&& value) { m_name = std::move(value); } - inline void SetName(const char* value) { m_name.assign(value); } - inline GetStepResult& WithName(const Aws::String& value) { SetName(value); return *this;} - inline GetStepResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - 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; } - inline void SetParameterSpace(const ParameterSpace& value) { m_parameterSpace = value; } - inline void SetParameterSpace(ParameterSpace&& value) { m_parameterSpace = std::move(value); } - inline GetStepResult& WithParameterSpace(const ParameterSpace& value) { SetParameterSpace(value); return *this;} - 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; } - inline void SetRequiredCapabilities(const StepRequiredCapabilities& value) { m_requiredCapabilities = value; } - inline void SetRequiredCapabilities(StepRequiredCapabilities&& value) { m_requiredCapabilities = std::move(value); } - inline GetStepResult& WithRequiredCapabilities(const StepRequiredCapabilities& value) { SetRequiredCapabilities(value); return *this;} - inline GetStepResult& WithRequiredCapabilities(StepRequiredCapabilities&& value) { SetRequiredCapabilities(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

The date and time the resource started running.

+ *

The task run status for the job.

*/ - inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } - inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; } - inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); } - inline GetStepResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} - inline GetStepResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + inline const TaskRunStatus& GetTaskRunStatus() const{ return m_taskRunStatus; } + inline void SetTaskRunStatus(const TaskRunStatus& value) { m_taskRunStatus = value; } + inline void SetTaskRunStatus(TaskRunStatus&& value) { m_taskRunStatus = std::move(value); } + inline GetStepResult& WithTaskRunStatus(const TaskRunStatus& value) { SetTaskRunStatus(value); return *this;} + inline GetStepResult& WithTaskRunStatus(TaskRunStatus&& value) { SetTaskRunStatus(std::move(value)); return *this;} ///@} ///@{ /** - *

The step ID.

+ *

The number of tasks running on the job.

*/ - inline const Aws::String& GetStepId() const{ return m_stepId; } - inline void SetStepId(const Aws::String& value) { m_stepId = value; } - inline void SetStepId(Aws::String&& value) { m_stepId = std::move(value); } - inline void SetStepId(const char* value) { m_stepId.assign(value); } - inline GetStepResult& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} - inline GetStepResult& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} - inline GetStepResult& WithStepId(const char* value) { SetStepId(value); return *this;} + inline const Aws::Map& GetTaskRunStatusCounts() const{ return m_taskRunStatusCounts; } + inline void SetTaskRunStatusCounts(const Aws::Map& value) { m_taskRunStatusCounts = value; } + inline void SetTaskRunStatusCounts(Aws::Map&& value) { m_taskRunStatusCounts = std::move(value); } + inline GetStepResult& WithTaskRunStatusCounts(const Aws::Map& value) { SetTaskRunStatusCounts(value); return *this;} + inline GetStepResult& WithTaskRunStatusCounts(Aws::Map&& value) { SetTaskRunStatusCounts(std::move(value)); return *this;} + inline GetStepResult& AddTaskRunStatusCounts(const TaskRunStatus& key, int value) { m_taskRunStatusCounts.emplace(key, value); return *this; } + inline GetStepResult& AddTaskRunStatusCounts(TaskRunStatus&& key, int value) { m_taskRunStatusCounts.emplace(std::move(key), value); return *this; } ///@} ///@{ @@ -195,26 +127,26 @@ namespace Model ///@{ /** - *

The task run status for the job.

+ *

The date and time the resource was created.

*/ - inline const TaskRunStatus& GetTaskRunStatus() const{ return m_taskRunStatus; } - inline void SetTaskRunStatus(const TaskRunStatus& value) { m_taskRunStatus = value; } - inline void SetTaskRunStatus(TaskRunStatus&& value) { m_taskRunStatus = std::move(value); } - inline GetStepResult& WithTaskRunStatus(const TaskRunStatus& value) { SetTaskRunStatus(value); return *this;} - inline GetStepResult& WithTaskRunStatus(TaskRunStatus&& value) { SetTaskRunStatus(std::move(value)); return *this;} + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetStepResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline GetStepResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} ///@} ///@{ /** - *

The number of tasks running on the job.

+ *

The user or system that created this resource.

*/ - inline const Aws::Map& GetTaskRunStatusCounts() const{ return m_taskRunStatusCounts; } - inline void SetTaskRunStatusCounts(const Aws::Map& value) { m_taskRunStatusCounts = value; } - inline void SetTaskRunStatusCounts(Aws::Map&& value) { m_taskRunStatusCounts = std::move(value); } - inline GetStepResult& WithTaskRunStatusCounts(const Aws::Map& value) { SetTaskRunStatusCounts(value); return *this;} - inline GetStepResult& WithTaskRunStatusCounts(Aws::Map&& value) { SetTaskRunStatusCounts(std::move(value)); return *this;} - inline GetStepResult& AddTaskRunStatusCounts(const TaskRunStatus& key, int value) { m_taskRunStatusCounts.emplace(key, value); return *this; } - inline GetStepResult& AddTaskRunStatusCounts(TaskRunStatus&& key, int value) { m_taskRunStatusCounts.emplace(std::move(key), value); return *this; } + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetStepResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetStepResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetStepResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} ///@} ///@{ @@ -241,6 +173,76 @@ namespace Model inline GetStepResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} ///@} + ///@{ + /** + *

The date and time the resource started running.

+ */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; } + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); } + inline GetStepResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + inline GetStepResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The date and time the resource ended running.

+ */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; } + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); } + inline GetStepResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + inline GetStepResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The number of dependencies in the step.

+ */ + inline const DependencyCounts& GetDependencyCounts() const{ return m_dependencyCounts; } + inline void SetDependencyCounts(const DependencyCounts& value) { m_dependencyCounts = value; } + inline void SetDependencyCounts(DependencyCounts&& value) { m_dependencyCounts = std::move(value); } + inline GetStepResult& WithDependencyCounts(const DependencyCounts& value) { SetDependencyCounts(value); return *this;} + inline GetStepResult& WithDependencyCounts(DependencyCounts&& value) { SetDependencyCounts(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The required capabilities of the step.

+ */ + inline const StepRequiredCapabilities& GetRequiredCapabilities() const{ return m_requiredCapabilities; } + inline void SetRequiredCapabilities(const StepRequiredCapabilities& value) { m_requiredCapabilities = value; } + inline void SetRequiredCapabilities(StepRequiredCapabilities&& value) { m_requiredCapabilities = std::move(value); } + inline GetStepResult& WithRequiredCapabilities(const StepRequiredCapabilities& value) { SetRequiredCapabilities(value); return *this;} + inline GetStepResult& WithRequiredCapabilities(StepRequiredCapabilities&& value) { SetRequiredCapabilities(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

A list of step parameters and the combination expression for the step.

+ */ + inline const ParameterSpace& GetParameterSpace() const{ return m_parameterSpace; } + inline void SetParameterSpace(const ParameterSpace& value) { m_parameterSpace = value; } + inline void SetParameterSpace(ParameterSpace&& value) { m_parameterSpace = std::move(value); } + inline GetStepResult& WithParameterSpace(const ParameterSpace& value) { SetParameterSpace(value); return *this;} + inline GetStepResult& WithParameterSpace(ParameterSpace&& value) { SetParameterSpace(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The description of the step.

This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline GetStepResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline GetStepResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline GetStepResult& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -253,39 +255,39 @@ namespace Model ///@} private: - Aws::Utils::DateTime m_createdAt; + Aws::String m_stepId; - Aws::String m_createdBy; + Aws::String m_name; - DependencyCounts m_dependencyCounts; + StepLifecycleStatus m_lifecycleStatus; - Aws::String m_description; + Aws::String m_lifecycleStatusMessage; - Aws::Utils::DateTime m_endedAt; + TaskRunStatus m_taskRunStatus; - StepLifecycleStatus m_lifecycleStatus; + Aws::Map m_taskRunStatusCounts; - Aws::String m_lifecycleStatusMessage; + StepTargetTaskRunStatus m_targetTaskRunStatus; - Aws::String m_name; + Aws::Utils::DateTime m_createdAt; - ParameterSpace m_parameterSpace; + Aws::String m_createdBy; - StepRequiredCapabilities m_requiredCapabilities; + Aws::Utils::DateTime m_updatedAt; - Aws::Utils::DateTime m_startedAt; + Aws::String m_updatedBy; - Aws::String m_stepId; + Aws::Utils::DateTime m_startedAt; - StepTargetTaskRunStatus m_targetTaskRunStatus; + Aws::Utils::DateTime m_endedAt; - TaskRunStatus m_taskRunStatus; + DependencyCounts m_dependencyCounts; - Aws::Map m_taskRunStatusCounts; + StepRequiredCapabilities m_requiredCapabilities; - Aws::Utils::DateTime m_updatedAt; + ParameterSpace m_parameterSpace; - Aws::String m_updatedBy; + Aws::String m_description; Aws::String m_requestId; }; 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 index 3520277195b..efdc90652c7 100644 --- 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 @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include #include @@ -37,7 +37,23 @@ namespace Model ///@{ /** - *

The display name of the storage profile connected to a queue.

+ *

The storage profile ID.

+ */ + inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } + inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileId = value; } + inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileId = std::move(value); } + inline void SetStorageProfileId(const char* value) { m_storageProfileId.assign(value); } + inline GetStorageProfileForQueueResult& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} + inline GetStorageProfileForQueueResult& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} + inline GetStorageProfileForQueueResult& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} + ///@} + + ///@{ + /** + *

The display name of the storage profile connected to a queue.

+ *

This field can store any content. Escape or encode this content before + * displaying it on a webpage or any other system that might interpret the content + * of this field.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } @@ -48,19 +64,6 @@ namespace Model 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; } - inline void SetFileSystemLocations(const Aws::Vector& value) { m_fileSystemLocations = value; } - inline void SetFileSystemLocations(Aws::Vector&& value) { m_fileSystemLocations = std::move(value); } - inline GetStorageProfileForQueueResult& WithFileSystemLocations(const Aws::Vector& value) { SetFileSystemLocations(value); return *this;} - inline GetStorageProfileForQueueResult& WithFileSystemLocations(Aws::Vector&& value) { SetFileSystemLocations(std::move(value)); return *this;} - inline GetStorageProfileForQueueResult& AddFileSystemLocations(const FileSystemLocation& value) { m_fileSystemLocations.push_back(value); return *this; } - inline GetStorageProfileForQueueResult& AddFileSystemLocations(FileSystemLocation&& value) { m_fileSystemLocations.push_back(std::move(value)); return *this; } - ///@} - ///@{ /** *

The operating system of the storage profile in the queue.

@@ -74,15 +77,15 @@ namespace Model ///@{ /** - *

The storage profile ID.

+ *

The location of the files for the storage profile within the queue.

*/ - inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } - inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileId = value; } - inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileId = std::move(value); } - inline void SetStorageProfileId(const char* value) { m_storageProfileId.assign(value); } - inline GetStorageProfileForQueueResult& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} - inline GetStorageProfileForQueueResult& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} - inline GetStorageProfileForQueueResult& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} + inline const Aws::Vector& GetFileSystemLocations() const{ return m_fileSystemLocations; } + inline void SetFileSystemLocations(const Aws::Vector& value) { m_fileSystemLocations = value; } + inline void SetFileSystemLocations(Aws::Vector&& value) { m_fileSystemLocations = std::move(value); } + inline GetStorageProfileForQueueResult& WithFileSystemLocations(const Aws::Vector& value) { SetFileSystemLocations(value); return *this;} + inline GetStorageProfileForQueueResult& WithFileSystemLocations(Aws::Vector&& value) { SetFileSystemLocations(std::move(value)); return *this;} + inline GetStorageProfileForQueueResult& AddFileSystemLocations(const FileSystemLocation& value) { m_fileSystemLocations.push_back(value); return *this; } + inline GetStorageProfileForQueueResult& AddFileSystemLocations(FileSystemLocation&& value) { m_fileSystemLocations.push_back(std::move(value)); return *this; } ///@} ///@{ @@ -97,13 +100,13 @@ namespace Model ///@} private: - Aws::String m_displayName; + Aws::String m_storageProfileId; - Aws::Vector m_fileSystemLocations; + Aws::String m_displayName; StorageProfileOperatingSystemFamily m_osFamily; - Aws::String m_storageProfileId; + Aws::Vector m_fileSystemLocations; Aws::String m_requestId; }; 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 index 23239132c3d..266a9b6d413 100644 --- 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 @@ -5,10 +5,10 @@ #pragma once #include -#include #include -#include #include +#include +#include #include #include @@ -38,31 +38,23 @@ namespace Model ///@{ /** - *

The date and time the resource was created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } - inline GetStorageProfileResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline GetStorageProfileResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

The user or system that created this resource.

+ *

The storage profile ID.

*/ - inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } - inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } - inline GetStorageProfileResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline GetStorageProfileResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline GetStorageProfileResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } + inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileId = value; } + inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileId = std::move(value); } + inline void SetStorageProfileId(const char* value) { m_storageProfileId.assign(value); } + inline GetStorageProfileResult& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} + inline GetStorageProfileResult& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} + inline GetStorageProfileResult& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} ///@} ///@{ /** - *

The display name of the storage profile.

+ *

The display name of the storage profile.

This field can + * store any content. Escape or encode this content before displaying it on a + * webpage or any other system that might interpret the content of this field.

+ * */ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline void SetDisplayName(const Aws::String& value) { m_displayName = value; } @@ -73,19 +65,6 @@ namespace Model 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; } - inline void SetFileSystemLocations(const Aws::Vector& value) { m_fileSystemLocations = value; } - inline void SetFileSystemLocations(Aws::Vector&& value) { m_fileSystemLocations = std::move(value); } - inline GetStorageProfileResult& WithFileSystemLocations(const Aws::Vector& value) { SetFileSystemLocations(value); return *this;} - inline GetStorageProfileResult& WithFileSystemLocations(Aws::Vector&& value) { SetFileSystemLocations(std::move(value)); return *this;} - inline GetStorageProfileResult& AddFileSystemLocations(const FileSystemLocation& value) { m_fileSystemLocations.push_back(value); return *this; } - inline GetStorageProfileResult& AddFileSystemLocations(FileSystemLocation&& value) { m_fileSystemLocations.push_back(std::move(value)); return *this; } - ///@} - ///@{ /** *

The operating system (OS) for the storage profile.

@@ -99,15 +78,26 @@ namespace Model ///@{ /** - *

The storage profile ID.

+ *

The date and time the resource was created.

*/ - inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } - inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileId = value; } - inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileId = std::move(value); } - inline void SetStorageProfileId(const char* value) { m_storageProfileId.assign(value); } - inline GetStorageProfileResult& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} - inline GetStorageProfileResult& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} - inline GetStorageProfileResult& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetStorageProfileResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + 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; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetStorageProfileResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetStorageProfileResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetStorageProfileResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} ///@} ///@{ @@ -134,6 +124,19 @@ namespace Model inline GetStorageProfileResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} ///@} + ///@{ + /** + *

The location of the files for the storage profile.

+ */ + inline const Aws::Vector& GetFileSystemLocations() const{ return m_fileSystemLocations; } + inline void SetFileSystemLocations(const Aws::Vector& value) { m_fileSystemLocations = value; } + inline void SetFileSystemLocations(Aws::Vector&& value) { m_fileSystemLocations = std::move(value); } + inline GetStorageProfileResult& WithFileSystemLocations(const Aws::Vector& value) { SetFileSystemLocations(value); return *this;} + inline GetStorageProfileResult& WithFileSystemLocations(Aws::Vector&& value) { SetFileSystemLocations(std::move(value)); return *this;} + inline GetStorageProfileResult& AddFileSystemLocations(const FileSystemLocation& value) { m_fileSystemLocations.push_back(value); return *this; } + inline GetStorageProfileResult& AddFileSystemLocations(FileSystemLocation&& value) { m_fileSystemLocations.push_back(std::move(value)); return *this; } + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -146,22 +149,22 @@ namespace Model ///@} private: - Aws::Utils::DateTime m_createdAt; - - Aws::String m_createdBy; + Aws::String m_storageProfileId; Aws::String m_displayName; - Aws::Vector m_fileSystemLocations; - StorageProfileOperatingSystemFamily m_osFamily; - Aws::String m_storageProfileId; + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; Aws::Utils::DateTime m_updatedAt; Aws::String m_updatedBy; + Aws::Vector m_fileSystemLocations; + Aws::String m_requestId; }; 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 index 91b44b82455..ce4ae31a05e 100644 --- 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 @@ -46,20 +46,6 @@ namespace Model 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; } - inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } - inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } - inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } - inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } - inline GetTaskRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} - inline GetTaskRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} - inline GetTaskRequest& WithJobId(const char* value) { SetJobId(value); return *this;} - ///@} - ///@{ /** *

The queue ID for the queue connected to the task.

@@ -74,6 +60,20 @@ namespace Model inline GetTaskRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} + ///@{ + /** + *

The job ID of the job connected to the task.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + inline GetTaskRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + inline GetTaskRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + inline GetTaskRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + ///@} + ///@{ /** *

The step ID for the step connected to the task.

@@ -106,12 +106,12 @@ namespace Model 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_jobId; + bool m_jobIdHasBeenSet = false; + Aws::String m_stepId; bool m_stepIdHasBeenSet = false; 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 index 707efa46b29..8b1f7dd2512 100644 --- 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 @@ -5,11 +5,11 @@ #pragma once #include -#include #include -#include +#include #include #include +#include #include #include @@ -37,6 +37,19 @@ namespace Model AWS_DEADLINE_API GetTaskResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

The task ID.

+ */ + inline const Aws::String& GetTaskId() const{ return m_taskId; } + inline void SetTaskId(const Aws::String& value) { m_taskId = value; } + inline void SetTaskId(Aws::String&& value) { m_taskId = std::move(value); } + inline void SetTaskId(const char* value) { m_taskId.assign(value); } + inline GetTaskResult& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} + inline GetTaskResult& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} + inline GetTaskResult& WithTaskId(const char* value) { SetTaskId(value); return *this;} + ///@} + ///@{ /** *

The date and time the resource was created.

@@ -63,35 +76,33 @@ namespace Model ///@{ /** - *

The date and time the resource ended running.

+ *

The run status for the task.

*/ - inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } - inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; } - inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); } - inline GetTaskResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} - inline GetTaskResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + inline const TaskRunStatus& GetRunStatus() const{ return m_runStatus; } + inline void SetRunStatus(const TaskRunStatus& value) { m_runStatus = value; } + inline void SetRunStatus(TaskRunStatus&& value) { m_runStatus = std::move(value); } + inline GetTaskResult& WithRunStatus(const TaskRunStatus& value) { SetRunStatus(value); return *this;} + inline GetTaskResult& WithRunStatus(TaskRunStatus&& value) { SetRunStatus(std::move(value)); return *this;} ///@} ///@{ /** - *

The number of times that the task failed and was retried.

+ *

The run status with which to start the task.

*/ - inline int GetFailureRetryCount() const{ return m_failureRetryCount; } - inline void SetFailureRetryCount(int value) { m_failureRetryCount = value; } - inline GetTaskResult& WithFailureRetryCount(int value) { SetFailureRetryCount(value); return *this;} + inline const TaskTargetRunStatus& GetTargetRunStatus() const{ return m_targetRunStatus; } + inline void SetTargetRunStatus(const TaskTargetRunStatus& value) { m_targetRunStatus = value; } + inline void SetTargetRunStatus(TaskTargetRunStatus&& value) { m_targetRunStatus = std::move(value); } + inline GetTaskResult& WithTargetRunStatus(const TaskTargetRunStatus& value) { SetTargetRunStatus(value); return *this;} + inline GetTaskResult& WithTargetRunStatus(TaskTargetRunStatus&& value) { SetTargetRunStatus(std::move(value)); return *this;} ///@} ///@{ /** - *

The latest session ID for the task.

+ *

The number of times that the task failed and was retried.

*/ - inline const Aws::String& GetLatestSessionActionId() const{ return m_latestSessionActionId; } - inline void SetLatestSessionActionId(const Aws::String& value) { m_latestSessionActionId = value; } - inline void SetLatestSessionActionId(Aws::String&& value) { m_latestSessionActionId = std::move(value); } - inline void SetLatestSessionActionId(const char* value) { m_latestSessionActionId.assign(value); } - inline GetTaskResult& WithLatestSessionActionId(const Aws::String& value) { SetLatestSessionActionId(value); return *this;} - inline GetTaskResult& WithLatestSessionActionId(Aws::String&& value) { SetLatestSessionActionId(std::move(value)); return *this;} - inline GetTaskResult& WithLatestSessionActionId(const char* value) { SetLatestSessionActionId(value); return *this;} + inline int GetFailureRetryCount() const{ return m_failureRetryCount; } + inline void SetFailureRetryCount(int value) { m_failureRetryCount = value; } + inline GetTaskResult& WithFailureRetryCount(int value) { SetFailureRetryCount(value); return *this;} ///@} ///@{ @@ -111,17 +122,6 @@ namespace Model 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; } - inline void SetRunStatus(const TaskRunStatus& value) { m_runStatus = value; } - inline void SetRunStatus(TaskRunStatus&& value) { m_runStatus = std::move(value); } - inline GetTaskResult& WithRunStatus(const TaskRunStatus& value) { SetRunStatus(value); return *this;} - inline GetTaskResult& WithRunStatus(TaskRunStatus&& value) { SetRunStatus(std::move(value)); return *this;} - ///@} - ///@{ /** *

The date and time the resource started running.

@@ -135,26 +135,13 @@ namespace Model ///@{ /** - *

The run status with which to start the task.

- */ - inline const TaskTargetRunStatus& GetTargetRunStatus() const{ return m_targetRunStatus; } - inline void SetTargetRunStatus(const TaskTargetRunStatus& value) { m_targetRunStatus = value; } - inline void SetTargetRunStatus(TaskTargetRunStatus&& value) { m_targetRunStatus = std::move(value); } - inline GetTaskResult& WithTargetRunStatus(const TaskTargetRunStatus& value) { SetTargetRunStatus(value); return *this;} - inline GetTaskResult& WithTargetRunStatus(TaskTargetRunStatus&& value) { SetTargetRunStatus(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

The task ID.

+ *

The date and time the resource ended running.

*/ - inline const Aws::String& GetTaskId() const{ return m_taskId; } - inline void SetTaskId(const Aws::String& value) { m_taskId = value; } - inline void SetTaskId(Aws::String&& value) { m_taskId = std::move(value); } - inline void SetTaskId(const char* value) { m_taskId.assign(value); } - inline GetTaskResult& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} - inline GetTaskResult& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} - inline GetTaskResult& WithTaskId(const char* value) { SetTaskId(value); return *this;} + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; } + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); } + inline GetTaskResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + inline GetTaskResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} ///@} ///@{ @@ -181,6 +168,19 @@ namespace Model inline GetTaskResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} ///@} + ///@{ + /** + *

The latest session ID for the task.

+ */ + inline const Aws::String& GetLatestSessionActionId() const{ return m_latestSessionActionId; } + inline void SetLatestSessionActionId(const Aws::String& value) { m_latestSessionActionId = value; } + inline void SetLatestSessionActionId(Aws::String&& value) { m_latestSessionActionId = std::move(value); } + inline void SetLatestSessionActionId(const char* value) { m_latestSessionActionId.assign(value); } + inline GetTaskResult& WithLatestSessionActionId(const Aws::String& value) { SetLatestSessionActionId(value); return *this;} + inline GetTaskResult& WithLatestSessionActionId(Aws::String&& value) { SetLatestSessionActionId(std::move(value)); return *this;} + inline GetTaskResult& WithLatestSessionActionId(const char* value) { SetLatestSessionActionId(value); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -193,30 +193,30 @@ namespace Model ///@} private: + Aws::String m_taskId; + Aws::Utils::DateTime m_createdAt; Aws::String m_createdBy; - Aws::Utils::DateTime m_endedAt; + TaskRunStatus m_runStatus; - int m_failureRetryCount; + TaskTargetRunStatus m_targetRunStatus; - Aws::String m_latestSessionActionId; + int m_failureRetryCount; Aws::Map m_parameters; - TaskRunStatus m_runStatus; - Aws::Utils::DateTime m_startedAt; - TaskTargetRunStatus m_targetRunStatus; - - Aws::String m_taskId; + Aws::Utils::DateTime m_endedAt; Aws::Utils::DateTime m_updatedAt; Aws::String m_updatedBy; + Aws::String m_latestSessionActionId; + Aws::String m_requestId; }; 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 index 060e88bd17e..e7abe97521a 100644 --- 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 @@ -5,11 +5,11 @@ #pragma once #include -#include #include #include -#include #include +#include +#include #include namespace Aws @@ -38,26 +38,15 @@ namespace Model ///@{ /** - *

The date and time the resource was created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } - inline GetWorkerResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline GetWorkerResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

The user or system that created this resource.

+ *

The worker ID.

*/ - inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } - inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } - inline GetWorkerResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline GetWorkerResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline GetWorkerResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + inline void SetWorkerId(const Aws::String& value) { m_workerId = value; } + inline void SetWorkerId(Aws::String&& value) { m_workerId = std::move(value); } + inline void SetWorkerId(const char* value) { m_workerId.assign(value); } + inline GetWorkerResult& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + inline GetWorkerResult& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + inline GetWorkerResult& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} ///@} ///@{ @@ -97,6 +86,17 @@ namespace Model inline GetWorkerResult& WithHostProperties(HostPropertiesResponse&& value) { SetHostProperties(std::move(value)); return *this;} ///@} + ///@{ + /** + *

The status of the worker.

+ */ + inline const WorkerStatus& GetStatus() const{ return m_status; } + inline void SetStatus(const WorkerStatus& value) { m_status = value; } + inline void SetStatus(WorkerStatus&& value) { m_status = std::move(value); } + inline GetWorkerResult& WithStatus(const WorkerStatus& value) { SetStatus(value); return *this;} + inline GetWorkerResult& WithStatus(WorkerStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + ///@{ /** *

The logs for the associated worker.

@@ -110,13 +110,26 @@ namespace Model ///@{ /** - *

The status of the worker.

+ *

The date and time the resource was created.

*/ - inline const WorkerStatus& GetStatus() const{ return m_status; } - inline void SetStatus(const WorkerStatus& value) { m_status = value; } - inline void SetStatus(WorkerStatus&& value) { m_status = std::move(value); } - inline GetWorkerResult& WithStatus(const WorkerStatus& value) { SetStatus(value); return *this;} - inline GetWorkerResult& WithStatus(WorkerStatus&& value) { SetStatus(std::move(value)); return *this;} + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetWorkerResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + 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; } + inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } + inline GetWorkerResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline GetWorkerResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline GetWorkerResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} ///@} ///@{ @@ -143,19 +156,6 @@ namespace Model inline GetWorkerResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} ///@} - ///@{ - /** - *

The worker ID.

- */ - inline const Aws::String& GetWorkerId() const{ return m_workerId; } - inline void SetWorkerId(const Aws::String& value) { m_workerId = value; } - inline void SetWorkerId(Aws::String&& value) { m_workerId = std::move(value); } - inline void SetWorkerId(const char* value) { m_workerId.assign(value); } - inline GetWorkerResult& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} - inline GetWorkerResult& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} - inline GetWorkerResult& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -168,9 +168,7 @@ namespace Model ///@} private: - Aws::Utils::DateTime m_createdAt; - - Aws::String m_createdBy; + Aws::String m_workerId; Aws::String m_farmId; @@ -178,16 +176,18 @@ namespace Model HostPropertiesResponse m_hostProperties; + WorkerStatus m_status; + LogConfiguration m_log; - WorkerStatus m_status; + Aws::Utils::DateTime m_createdAt; + + Aws::String m_createdBy; Aws::Utils::DateTime m_updatedAt; Aws::String m_updatedBy; - Aws::String m_workerId; - Aws::String m_requestId; }; 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 index 0877afa0fc8..303cea14c99 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -38,6 +38,18 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

The IP address of the host.

+ */ + inline const IpAddresses& GetIpAddresses() const{ return m_ipAddresses; } + inline bool IpAddressesHasBeenSet() const { return m_ipAddressesHasBeenSet; } + inline void SetIpAddresses(const IpAddresses& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = value; } + inline void SetIpAddresses(IpAddresses&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = std::move(value); } + inline HostPropertiesRequest& WithIpAddresses(const IpAddresses& value) { SetIpAddresses(value); return *this;} + inline HostPropertiesRequest& WithIpAddresses(IpAddresses&& value) { SetIpAddresses(std::move(value)); return *this;} + ///@} + ///@{ /** *

The host name.

@@ -51,25 +63,13 @@ namespace Model inline HostPropertiesRequest& WithHostName(Aws::String&& value) { SetHostName(std::move(value)); return *this;} inline HostPropertiesRequest& WithHostName(const char* value) { SetHostName(value); return *this;} ///@} - - ///@{ - /** - *

The IP address of the host.

- */ - inline const IpAddresses& GetIpAddresses() const{ return m_ipAddresses; } - inline bool IpAddressesHasBeenSet() const { return m_ipAddressesHasBeenSet; } - inline void SetIpAddresses(const IpAddresses& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = value; } - inline void SetIpAddresses(IpAddresses&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = std::move(value); } - inline HostPropertiesRequest& WithIpAddresses(const IpAddresses& value) { SetIpAddresses(value); return *this;} - 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; + + Aws::String m_hostName; + bool m_hostNameHasBeenSet = false; }; } // namespace Model 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 index 4a7a00681c1..9895a5091ff 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -38,6 +38,32 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

The IP address of the host.

+ */ + inline const IpAddresses& GetIpAddresses() const{ return m_ipAddresses; } + inline bool IpAddressesHasBeenSet() const { return m_ipAddressesHasBeenSet; } + inline void SetIpAddresses(const IpAddresses& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = value; } + inline void SetIpAddresses(IpAddresses&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = std::move(value); } + inline HostPropertiesResponse& WithIpAddresses(const IpAddresses& value) { SetIpAddresses(value); return *this;} + inline HostPropertiesResponse& WithIpAddresses(IpAddresses&& value) { SetIpAddresses(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The host name.

+ */ + inline const Aws::String& GetHostName() const{ return m_hostName; } + inline bool HostNameHasBeenSet() const { return m_hostNameHasBeenSet; } + inline void SetHostName(const Aws::String& value) { m_hostNameHasBeenSet = true; m_hostName = value; } + inline void SetHostName(Aws::String&& value) { m_hostNameHasBeenSet = true; m_hostName = std::move(value); } + inline void SetHostName(const char* value) { m_hostNameHasBeenSet = true; m_hostName.assign(value); } + inline HostPropertiesResponse& WithHostName(const Aws::String& value) { SetHostName(value); return *this;} + inline HostPropertiesResponse& WithHostName(Aws::String&& value) { SetHostName(std::move(value)); return *this;} + inline HostPropertiesResponse& WithHostName(const char* value) { SetHostName(value); return *this;} + ///@} + ///@{ /** *

The ARN of the host EC2 instance.

@@ -65,45 +91,19 @@ namespace Model inline HostPropertiesResponse& WithEc2InstanceType(Aws::String&& value) { SetEc2InstanceType(std::move(value)); return *this;} inline HostPropertiesResponse& WithEc2InstanceType(const char* value) { SetEc2InstanceType(value); return *this;} ///@} + private: - ///@{ - /** - *

The host name.

- */ - inline const Aws::String& GetHostName() const{ return m_hostName; } - inline bool HostNameHasBeenSet() const { return m_hostNameHasBeenSet; } - inline void SetHostName(const Aws::String& value) { m_hostNameHasBeenSet = true; m_hostName = value; } - inline void SetHostName(Aws::String&& value) { m_hostNameHasBeenSet = true; m_hostName = std::move(value); } - inline void SetHostName(const char* value) { m_hostNameHasBeenSet = true; m_hostName.assign(value); } - inline HostPropertiesResponse& WithHostName(const Aws::String& value) { SetHostName(value); return *this;} - inline HostPropertiesResponse& WithHostName(Aws::String&& value) { SetHostName(std::move(value)); return *this;} - inline HostPropertiesResponse& WithHostName(const char* value) { SetHostName(value); return *this;} - ///@} + IpAddresses m_ipAddresses; + bool m_ipAddressesHasBeenSet = false; - ///@{ - /** - *

The IP address of the host.

- */ - inline const IpAddresses& GetIpAddresses() const{ return m_ipAddresses; } - inline bool IpAddressesHasBeenSet() const { return m_ipAddressesHasBeenSet; } - inline void SetIpAddresses(const IpAddresses& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = value; } - inline void SetIpAddresses(IpAddresses&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = std::move(value); } - inline HostPropertiesResponse& WithIpAddresses(const IpAddresses& value) { SetIpAddresses(value); return *this;} - inline HostPropertiesResponse& WithIpAddresses(IpAddresses&& value) { SetIpAddresses(std::move(value)); return *this;} - ///@} - private: + Aws::String m_hostName; + bool m_hostNameHasBeenSet = false; 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 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 index 0d5d34c36d9..c63c8507463 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -38,18 +38,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

The job attachments.

- */ - inline const Attachments& GetAttachments() const{ return m_attachments; } - inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; } - inline void SetAttachments(const Attachments& value) { m_attachmentsHasBeenSet = true; m_attachments = value; } - inline void SetAttachments(Attachments&& value) { m_attachmentsHasBeenSet = true; m_attachments = std::move(value); } - inline JobAttachmentDetailsEntity& WithAttachments(const Attachments& value) { SetAttachments(value); return *this;} - inline JobAttachmentDetailsEntity& WithAttachments(Attachments&& value) { SetAttachments(std::move(value)); return *this;} - ///@} - ///@{ /** *

The job ID.

@@ -63,13 +51,25 @@ namespace Model inline JobAttachmentDetailsEntity& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} inline JobAttachmentDetailsEntity& WithJobId(const char* value) { SetJobId(value); return *this;} ///@} - private: - Attachments m_attachments; - bool m_attachmentsHasBeenSet = false; + ///@{ + /** + *

The job attachments.

+ */ + inline const Attachments& GetAttachments() const{ return m_attachments; } + inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; } + inline void SetAttachments(const Attachments& value) { m_attachmentsHasBeenSet = true; m_attachments = value; } + inline void SetAttachments(Attachments&& value) { m_attachmentsHasBeenSet = true; m_attachments = std::move(value); } + inline JobAttachmentDetailsEntity& WithAttachments(const Attachments& value) { SetAttachments(value); return *this;} + inline JobAttachmentDetailsEntity& WithAttachments(Attachments&& value) { SetAttachments(std::move(value)); return *this;} + ///@} + private: Aws::String m_jobId; bool m_jobIdHasBeenSet = false; + + Attachments m_attachments; + bool m_attachmentsHasBeenSet = false; }; } // namespace Model 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 index 70be541a6dd..8d686bc6c4c 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -38,18 +38,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

The error code.

- */ - inline const JobEntityErrorCode& GetCode() const{ return m_code; } - inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } - inline void SetCode(const JobEntityErrorCode& value) { m_codeHasBeenSet = true; m_code = value; } - inline void SetCode(JobEntityErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } - inline JobAttachmentDetailsError& WithCode(const JobEntityErrorCode& value) { SetCode(value); return *this;} - inline JobAttachmentDetailsError& WithCode(JobEntityErrorCode&& value) { SetCode(std::move(value)); return *this;} - ///@} - ///@{ /** *

The job ID.

@@ -64,6 +52,18 @@ namespace Model inline JobAttachmentDetailsError& WithJobId(const char* value) { SetJobId(value); return *this;} ///@} + ///@{ + /** + *

The error code.

+ */ + inline const JobEntityErrorCode& GetCode() const{ return m_code; } + inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } + inline void SetCode(const JobEntityErrorCode& value) { m_codeHasBeenSet = true; m_code = value; } + inline void SetCode(JobEntityErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } + inline JobAttachmentDetailsError& WithCode(const JobEntityErrorCode& value) { SetCode(value); return *this;} + inline JobAttachmentDetailsError& WithCode(JobEntityErrorCode&& value) { SetCode(std::move(value)); return *this;} + ///@} + ///@{ /** *

The error message detailing the error's cause.

@@ -79,12 +79,12 @@ namespace Model ///@} private: - JobEntityErrorCode m_code; - bool m_codeHasBeenSet = false; - Aws::String m_jobId; bool m_jobIdHasBeenSet = false; + JobEntityErrorCode m_code; + bool m_codeHasBeenSet = false; + Aws::String m_message; bool m_messageHasBeenSet = false; }; 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 index c3b68f0412e..a7952022c3d 100644 --- 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 @@ -38,20 +38,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

The root prefix.

- */ - inline const Aws::String& GetRootPrefix() const{ return m_rootPrefix; } - inline bool RootPrefixHasBeenSet() const { return m_rootPrefixHasBeenSet; } - inline void SetRootPrefix(const Aws::String& value) { m_rootPrefixHasBeenSet = true; m_rootPrefix = value; } - inline void SetRootPrefix(Aws::String&& value) { m_rootPrefixHasBeenSet = true; m_rootPrefix = std::move(value); } - inline void SetRootPrefix(const char* value) { m_rootPrefixHasBeenSet = true; m_rootPrefix.assign(value); } - inline JobAttachmentSettings& WithRootPrefix(const Aws::String& value) { SetRootPrefix(value); return *this;} - inline JobAttachmentSettings& WithRootPrefix(Aws::String&& value) { SetRootPrefix(std::move(value)); return *this;} - inline JobAttachmentSettings& WithRootPrefix(const char* value) { SetRootPrefix(value); return *this;} - ///@} - ///@{ /** *

The Amazon S3 bucket name.

@@ -65,13 +51,27 @@ namespace Model inline JobAttachmentSettings& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;} inline JobAttachmentSettings& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;} ///@} - private: - Aws::String m_rootPrefix; - bool m_rootPrefixHasBeenSet = false; + ///@{ + /** + *

The root prefix.

+ */ + inline const Aws::String& GetRootPrefix() const{ return m_rootPrefix; } + inline bool RootPrefixHasBeenSet() const { return m_rootPrefixHasBeenSet; } + inline void SetRootPrefix(const Aws::String& value) { m_rootPrefixHasBeenSet = true; m_rootPrefix = value; } + inline void SetRootPrefix(Aws::String&& value) { m_rootPrefixHasBeenSet = true; m_rootPrefix = std::move(value); } + inline void SetRootPrefix(const char* value) { m_rootPrefixHasBeenSet = true; m_rootPrefix.assign(value); } + inline JobAttachmentSettings& WithRootPrefix(const Aws::String& value) { SetRootPrefix(value); return *this;} + inline JobAttachmentSettings& WithRootPrefix(Aws::String&& value) { SetRootPrefix(std::move(value)); return *this;} + inline JobAttachmentSettings& WithRootPrefix(const char* value) { SetRootPrefix(value); return *this;} + ///@} + private: Aws::String m_s3BucketName; bool m_s3BucketNameHasBeenSet = false; + + Aws::String m_rootPrefix; + bool m_rootPrefixHasBeenSet = false; }; } // namespace Model 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 index 1907ea5c422..521f9823576 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include #include @@ -43,18 +43,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

The job attachment settings.

- */ - inline const JobAttachmentSettings& GetJobAttachmentSettings() const{ return m_jobAttachmentSettings; } - inline bool JobAttachmentSettingsHasBeenSet() const { return m_jobAttachmentSettingsHasBeenSet; } - inline void SetJobAttachmentSettings(const JobAttachmentSettings& value) { m_jobAttachmentSettingsHasBeenSet = true; m_jobAttachmentSettings = value; } - inline void SetJobAttachmentSettings(JobAttachmentSettings&& value) { m_jobAttachmentSettingsHasBeenSet = true; m_jobAttachmentSettings = std::move(value); } - inline JobDetailsEntity& WithJobAttachmentSettings(const JobAttachmentSettings& value) { SetJobAttachmentSettings(value); return *this;} - inline JobDetailsEntity& WithJobAttachmentSettings(JobAttachmentSettings&& value) { SetJobAttachmentSettings(std::move(value)); return *this;} - ///@} - ///@{ /** *

The job ID.

@@ -69,6 +57,18 @@ namespace Model inline JobDetailsEntity& WithJobId(const char* value) { SetJobId(value); return *this;} ///@} + ///@{ + /** + *

The job attachment settings.

+ */ + inline const JobAttachmentSettings& GetJobAttachmentSettings() const{ return m_jobAttachmentSettings; } + inline bool JobAttachmentSettingsHasBeenSet() const { return m_jobAttachmentSettingsHasBeenSet; } + inline void SetJobAttachmentSettings(const JobAttachmentSettings& value) { m_jobAttachmentSettingsHasBeenSet = true; m_jobAttachmentSettings = value; } + inline void SetJobAttachmentSettings(JobAttachmentSettings&& value) { m_jobAttachmentSettingsHasBeenSet = true; m_jobAttachmentSettings = std::move(value); } + inline JobDetailsEntity& WithJobAttachmentSettings(const JobAttachmentSettings& value) { SetJobAttachmentSettings(value); return *this;} + inline JobDetailsEntity& WithJobAttachmentSettings(JobAttachmentSettings&& value) { SetJobAttachmentSettings(std::move(value)); return *this;} + ///@} + ///@{ /** *

The user name and group that the job uses when run.

@@ -95,6 +95,20 @@ namespace Model inline JobDetailsEntity& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;} ///@} + ///@{ + /** + *

The queue role ARN.

+ */ + inline const Aws::String& GetQueueRoleArn() const{ return m_queueRoleArn; } + inline bool QueueRoleArnHasBeenSet() const { return m_queueRoleArnHasBeenSet; } + inline void SetQueueRoleArn(const Aws::String& value) { m_queueRoleArnHasBeenSet = true; m_queueRoleArn = value; } + inline void SetQueueRoleArn(Aws::String&& value) { m_queueRoleArnHasBeenSet = true; m_queueRoleArn = std::move(value); } + inline void SetQueueRoleArn(const char* value) { m_queueRoleArnHasBeenSet = true; m_queueRoleArn.assign(value); } + inline JobDetailsEntity& WithQueueRoleArn(const Aws::String& value) { SetQueueRoleArn(value); return *this;} + inline JobDetailsEntity& WithQueueRoleArn(Aws::String&& value) { SetQueueRoleArn(std::move(value)); return *this;} + inline JobDetailsEntity& WithQueueRoleArn(const char* value) { SetQueueRoleArn(value); return *this;} + ///@} + ///@{ /** *

The parameters.

@@ -113,34 +127,6 @@ namespace Model 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; } - inline bool PathMappingRulesHasBeenSet() const { return m_pathMappingRulesHasBeenSet; } - inline void SetPathMappingRules(const Aws::Vector& value) { m_pathMappingRulesHasBeenSet = true; m_pathMappingRules = value; } - inline void SetPathMappingRules(Aws::Vector&& value) { m_pathMappingRulesHasBeenSet = true; m_pathMappingRules = std::move(value); } - inline JobDetailsEntity& WithPathMappingRules(const Aws::Vector& value) { SetPathMappingRules(value); return *this;} - inline JobDetailsEntity& WithPathMappingRules(Aws::Vector&& value) { SetPathMappingRules(std::move(value)); return *this;} - inline JobDetailsEntity& AddPathMappingRules(const PathMappingRule& value) { m_pathMappingRulesHasBeenSet = true; m_pathMappingRules.push_back(value); return *this; } - 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; } - inline bool QueueRoleArnHasBeenSet() const { return m_queueRoleArnHasBeenSet; } - inline void SetQueueRoleArn(const Aws::String& value) { m_queueRoleArnHasBeenSet = true; m_queueRoleArn = value; } - inline void SetQueueRoleArn(Aws::String&& value) { m_queueRoleArnHasBeenSet = true; m_queueRoleArn = std::move(value); } - inline void SetQueueRoleArn(const char* value) { m_queueRoleArnHasBeenSet = true; m_queueRoleArn.assign(value); } - inline JobDetailsEntity& WithQueueRoleArn(const Aws::String& value) { SetQueueRoleArn(value); return *this;} - inline JobDetailsEntity& WithQueueRoleArn(Aws::String&& value) { SetQueueRoleArn(std::move(value)); return *this;} - inline JobDetailsEntity& WithQueueRoleArn(const char* value) { SetQueueRoleArn(value); return *this;} - ///@} - ///@{ /** *

The schema version.

@@ -154,31 +140,45 @@ namespace Model inline JobDetailsEntity& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;} inline JobDetailsEntity& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;} ///@} - private: - JobAttachmentSettings m_jobAttachmentSettings; - bool m_jobAttachmentSettingsHasBeenSet = false; + ///@{ + /** + *

The path mapping rules.

+ */ + inline const Aws::Vector& GetPathMappingRules() const{ return m_pathMappingRules; } + inline bool PathMappingRulesHasBeenSet() const { return m_pathMappingRulesHasBeenSet; } + inline void SetPathMappingRules(const Aws::Vector& value) { m_pathMappingRulesHasBeenSet = true; m_pathMappingRules = value; } + inline void SetPathMappingRules(Aws::Vector&& value) { m_pathMappingRulesHasBeenSet = true; m_pathMappingRules = std::move(value); } + inline JobDetailsEntity& WithPathMappingRules(const Aws::Vector& value) { SetPathMappingRules(value); return *this;} + inline JobDetailsEntity& WithPathMappingRules(Aws::Vector&& value) { SetPathMappingRules(std::move(value)); return *this;} + inline JobDetailsEntity& AddPathMappingRules(const PathMappingRule& value) { m_pathMappingRulesHasBeenSet = true; m_pathMappingRules.push_back(value); return *this; } + inline JobDetailsEntity& AddPathMappingRules(PathMappingRule&& value) { m_pathMappingRulesHasBeenSet = true; m_pathMappingRules.push_back(std::move(value)); return *this; } + ///@} + private: Aws::String m_jobId; bool m_jobIdHasBeenSet = false; + JobAttachmentSettings m_jobAttachmentSettings; + bool m_jobAttachmentSettingsHasBeenSet = 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::Map m_parameters; + bool m_parametersHasBeenSet = false; + Aws::String m_schemaVersion; bool m_schemaVersionHasBeenSet = false; + + Aws::Vector m_pathMappingRules; + bool m_pathMappingRulesHasBeenSet = false; }; } // namespace Model 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 index 8ce0cbbe0aa..9aea84c1da6 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -38,18 +38,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

The error code.

- */ - inline const JobEntityErrorCode& GetCode() const{ return m_code; } - inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } - inline void SetCode(const JobEntityErrorCode& value) { m_codeHasBeenSet = true; m_code = value; } - inline void SetCode(JobEntityErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } - inline JobDetailsError& WithCode(const JobEntityErrorCode& value) { SetCode(value); return *this;} - inline JobDetailsError& WithCode(JobEntityErrorCode&& value) { SetCode(std::move(value)); return *this;} - ///@} - ///@{ /** *

The job ID.

@@ -64,6 +52,18 @@ namespace Model inline JobDetailsError& WithJobId(const char* value) { SetJobId(value); return *this;} ///@} + ///@{ + /** + *

The error code.

+ */ + inline const JobEntityErrorCode& GetCode() const{ return m_code; } + inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } + inline void SetCode(const JobEntityErrorCode& value) { m_codeHasBeenSet = true; m_code = value; } + inline void SetCode(JobEntityErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } + inline JobDetailsError& WithCode(const JobEntityErrorCode& value) { SetCode(value); return *this;} + inline JobDetailsError& WithCode(JobEntityErrorCode&& value) { SetCode(std::move(value)); return *this;} + ///@} + ///@{ /** *

The error message detailing the error's cause.

@@ -79,12 +79,12 @@ namespace Model ///@} private: - JobEntityErrorCode m_code; - bool m_codeHasBeenSet = false; - Aws::String m_jobId; bool m_jobIdHasBeenSet = false; + JobEntityErrorCode m_code; + bool m_codeHasBeenSet = false; + Aws::String m_message; bool m_messageHasBeenSet = false; }; 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 index 7fa19b312c8..dff2baf4ed1 100644 --- 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 @@ -5,10 +5,10 @@ #pragma once #include -#include -#include #include +#include #include +#include #include namespace Aws @@ -42,14 +42,14 @@ namespace Model ///@{ /** - *

The environment details for the job entity.

+ *

The job details.

*/ - inline const EnvironmentDetailsEntity& GetEnvironmentDetails() const{ return m_environmentDetails; } - inline bool EnvironmentDetailsHasBeenSet() const { return m_environmentDetailsHasBeenSet; } - inline void SetEnvironmentDetails(const EnvironmentDetailsEntity& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = value; } - inline void SetEnvironmentDetails(EnvironmentDetailsEntity&& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = std::move(value); } - inline JobEntity& WithEnvironmentDetails(const EnvironmentDetailsEntity& value) { SetEnvironmentDetails(value); return *this;} - inline JobEntity& WithEnvironmentDetails(EnvironmentDetailsEntity&& value) { SetEnvironmentDetails(std::move(value)); return *this;} + inline const JobDetailsEntity& GetJobDetails() const{ return m_jobDetails; } + inline bool JobDetailsHasBeenSet() const { return m_jobDetailsHasBeenSet; } + inline void SetJobDetails(const JobDetailsEntity& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = value; } + inline void SetJobDetails(JobDetailsEntity&& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = std::move(value); } + inline JobEntity& WithJobDetails(const JobDetailsEntity& value) { SetJobDetails(value); return *this;} + inline JobEntity& WithJobDetails(JobDetailsEntity&& value) { SetJobDetails(std::move(value)); return *this;} ///@} ///@{ @@ -64,18 +64,6 @@ namespace Model inline JobEntity& WithJobAttachmentDetails(JobAttachmentDetailsEntity&& value) { SetJobAttachmentDetails(std::move(value)); return *this;} ///@} - ///@{ - /** - *

The job details.

- */ - inline const JobDetailsEntity& GetJobDetails() const{ return m_jobDetails; } - inline bool JobDetailsHasBeenSet() const { return m_jobDetailsHasBeenSet; } - inline void SetJobDetails(const JobDetailsEntity& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = value; } - inline void SetJobDetails(JobDetailsEntity&& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = std::move(value); } - inline JobEntity& WithJobDetails(const JobDetailsEntity& value) { SetJobDetails(value); return *this;} - inline JobEntity& WithJobDetails(JobDetailsEntity&& value) { SetJobDetails(std::move(value)); return *this;} - ///@} - ///@{ /** *

The step details.

@@ -87,19 +75,31 @@ namespace Model inline JobEntity& WithStepDetails(const StepDetailsEntity& value) { SetStepDetails(value); return *this;} inline JobEntity& WithStepDetails(StepDetailsEntity&& value) { SetStepDetails(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

The environment details for the job entity.

+ */ + inline const EnvironmentDetailsEntity& GetEnvironmentDetails() const{ return m_environmentDetails; } + inline bool EnvironmentDetailsHasBeenSet() const { return m_environmentDetailsHasBeenSet; } + inline void SetEnvironmentDetails(const EnvironmentDetailsEntity& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = value; } + inline void SetEnvironmentDetails(EnvironmentDetailsEntity&& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = std::move(value); } + inline JobEntity& WithEnvironmentDetails(const EnvironmentDetailsEntity& value) { SetEnvironmentDetails(value); return *this;} + inline JobEntity& WithEnvironmentDetails(EnvironmentDetailsEntity&& value) { SetEnvironmentDetails(std::move(value)); return *this;} + ///@} private: - EnvironmentDetailsEntity m_environmentDetails; - bool m_environmentDetailsHasBeenSet = false; + JobDetailsEntity m_jobDetails; + bool m_jobDetailsHasBeenSet = false; JobAttachmentDetailsEntity m_jobAttachmentDetails; bool m_jobAttachmentDetailsHasBeenSet = false; - JobDetailsEntity m_jobDetails; - bool m_jobDetailsHasBeenSet = false; - StepDetailsEntity m_stepDetails; bool m_stepDetailsHasBeenSet = false; + + EnvironmentDetailsEntity m_environmentDetails; + bool m_environmentDetailsHasBeenSet = false; }; } // namespace Model 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 index 6c1e43b9e9f..ec1cc51e44e 100644 --- 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 @@ -5,10 +5,10 @@ #pragma once #include -#include -#include #include +#include #include +#include #include namespace Aws @@ -42,14 +42,14 @@ namespace Model ///@{ /** - *

The environment details.

+ *

The job details.

*/ - inline const EnvironmentDetailsIdentifiers& GetEnvironmentDetails() const{ return m_environmentDetails; } - inline bool EnvironmentDetailsHasBeenSet() const { return m_environmentDetailsHasBeenSet; } - inline void SetEnvironmentDetails(const EnvironmentDetailsIdentifiers& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = value; } - inline void SetEnvironmentDetails(EnvironmentDetailsIdentifiers&& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = std::move(value); } - inline JobEntityIdentifiersUnion& WithEnvironmentDetails(const EnvironmentDetailsIdentifiers& value) { SetEnvironmentDetails(value); return *this;} - inline JobEntityIdentifiersUnion& WithEnvironmentDetails(EnvironmentDetailsIdentifiers&& value) { SetEnvironmentDetails(std::move(value)); return *this;} + inline const JobDetailsIdentifiers& GetJobDetails() const{ return m_jobDetails; } + inline bool JobDetailsHasBeenSet() const { return m_jobDetailsHasBeenSet; } + inline void SetJobDetails(const JobDetailsIdentifiers& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = value; } + inline void SetJobDetails(JobDetailsIdentifiers&& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = std::move(value); } + inline JobEntityIdentifiersUnion& WithJobDetails(const JobDetailsIdentifiers& value) { SetJobDetails(value); return *this;} + inline JobEntityIdentifiersUnion& WithJobDetails(JobDetailsIdentifiers&& value) { SetJobDetails(std::move(value)); return *this;} ///@} ///@{ @@ -64,18 +64,6 @@ namespace Model inline JobEntityIdentifiersUnion& WithJobAttachmentDetails(JobAttachmentDetailsIdentifiers&& value) { SetJobAttachmentDetails(std::move(value)); return *this;} ///@} - ///@{ - /** - *

The job details.

- */ - inline const JobDetailsIdentifiers& GetJobDetails() const{ return m_jobDetails; } - inline bool JobDetailsHasBeenSet() const { return m_jobDetailsHasBeenSet; } - inline void SetJobDetails(const JobDetailsIdentifiers& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = value; } - inline void SetJobDetails(JobDetailsIdentifiers&& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = std::move(value); } - inline JobEntityIdentifiersUnion& WithJobDetails(const JobDetailsIdentifiers& value) { SetJobDetails(value); return *this;} - inline JobEntityIdentifiersUnion& WithJobDetails(JobDetailsIdentifiers&& value) { SetJobDetails(std::move(value)); return *this;} - ///@} - ///@{ /** *

The step details.

@@ -87,19 +75,31 @@ namespace Model inline JobEntityIdentifiersUnion& WithStepDetails(const StepDetailsIdentifiers& value) { SetStepDetails(value); return *this;} inline JobEntityIdentifiersUnion& WithStepDetails(StepDetailsIdentifiers&& value) { SetStepDetails(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

The environment details.

+ */ + inline const EnvironmentDetailsIdentifiers& GetEnvironmentDetails() const{ return m_environmentDetails; } + inline bool EnvironmentDetailsHasBeenSet() const { return m_environmentDetailsHasBeenSet; } + inline void SetEnvironmentDetails(const EnvironmentDetailsIdentifiers& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = value; } + inline void SetEnvironmentDetails(EnvironmentDetailsIdentifiers&& value) { m_environmentDetailsHasBeenSet = true; m_environmentDetails = std::move(value); } + inline JobEntityIdentifiersUnion& WithEnvironmentDetails(const EnvironmentDetailsIdentifiers& value) { SetEnvironmentDetails(value); return *this;} + inline JobEntityIdentifiersUnion& WithEnvironmentDetails(EnvironmentDetailsIdentifiers&& value) { SetEnvironmentDetails(std::move(value)); return *this;} + ///@} private: - EnvironmentDetailsIdentifiers m_environmentDetails; - bool m_environmentDetailsHasBeenSet = false; + JobDetailsIdentifiers m_jobDetails; + bool m_jobDetailsHasBeenSet = false; JobAttachmentDetailsIdentifiers m_jobAttachmentDetails; bool m_jobAttachmentDetailsHasBeenSet = false; - JobDetailsIdentifiers m_jobDetails; - bool m_jobDetailsHasBeenSet = false; - StepDetailsIdentifiers m_stepDetails; bool m_stepDetailsHasBeenSet = false; + + EnvironmentDetailsIdentifiers m_environmentDetails; + bool m_environmentDetailsHasBeenSet = false; }; } // namespace Model 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 index c1e30bfd42a..caa9ad0158f 100644 --- 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 @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -55,16 +55,16 @@ namespace Model ///@{ /** - *

The identity store ID.

+ *

The queue ID.

*/ - inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } - inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } - inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } - inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } - inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } - inline JobMember& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} - inline JobMember& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} - inline JobMember& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline JobMember& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline JobMember& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline JobMember& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} ///@{ @@ -81,18 +81,6 @@ namespace Model inline JobMember& WithJobId(const char* value) { SetJobId(value); return *this;} ///@} - ///@{ - /** - *

The job member's membership level.

- */ - inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } - inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } - inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } - inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } - inline JobMember& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} - inline JobMember& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} - ///@} - ///@{ /** *

The principal ID of the job member.

@@ -121,39 +109,51 @@ namespace Model ///@{ /** - *

The queue ID.

+ *

The identity store ID.

*/ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline JobMember& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline JobMember& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline JobMember& WithQueueId(const char* value) { SetQueueId(value); return *this;} + inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } + inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } + inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } + inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } + inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } + inline JobMember& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} + inline JobMember& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} + inline JobMember& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} + ///@} + + ///@{ + /** + *

The job member's membership level.

+ */ + inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } + inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } + inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } + inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } + inline JobMember& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} + inline JobMember& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} ///@} private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; - Aws::String m_identityStoreId; - bool m_identityStoreIdHasBeenSet = false; + Aws::String m_queueId; + bool m_queueIdHasBeenSet = 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; + Aws::String m_identityStoreId; + bool m_identityStoreIdHasBeenSet = false; + + MembershipLevel m_membershipLevel; + bool m_membershipLevelHasBeenSet = false; }; } // namespace Model 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 index 8a7ceadaa67..62b848006b8 100644 --- 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 @@ -37,6 +37,20 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

A signed integer represented as a string.

+ */ + inline const Aws::String& GetInt() const{ return m_int; } + inline bool IntHasBeenSet() const { return m_intHasBeenSet; } + inline void SetInt(const Aws::String& value) { m_intHasBeenSet = true; m_int = value; } + inline void SetInt(Aws::String&& value) { m_intHasBeenSet = true; m_int = std::move(value); } + inline void SetInt(const char* value) { m_intHasBeenSet = true; m_int.assign(value); } + inline JobParameter& WithInt(const Aws::String& value) { SetInt(value); return *this;} + inline JobParameter& WithInt(Aws::String&& value) { SetInt(std::move(value)); return *this;} + inline JobParameter& WithInt(const char* value) { SetInt(value); return *this;} + ///@} + ///@{ /** *

A double precision IEEE-754 floating point number represented as a @@ -54,16 +68,16 @@ namespace Model ///@{ /** - *

A signed integer represented as a string.

+ *

A UTF-8 string.

*/ - inline const Aws::String& GetInt() const{ return m_int; } - inline bool IntHasBeenSet() const { return m_intHasBeenSet; } - inline void SetInt(const Aws::String& value) { m_intHasBeenSet = true; m_int = value; } - inline void SetInt(Aws::String&& value) { m_intHasBeenSet = true; m_int = std::move(value); } - inline void SetInt(const char* value) { m_intHasBeenSet = true; m_int.assign(value); } - inline JobParameter& WithInt(const Aws::String& value) { SetInt(value); return *this;} - inline JobParameter& WithInt(Aws::String&& value) { SetInt(std::move(value)); return *this;} - inline JobParameter& WithInt(const char* value) { SetInt(value); return *this;} + inline const Aws::String& GetString() const{ return m_string; } + inline bool StringHasBeenSet() const { return m_stringHasBeenSet; } + inline void SetString(const Aws::String& value) { m_stringHasBeenSet = true; m_string = value; } + inline void SetString(Aws::String&& value) { m_stringHasBeenSet = true; m_string = std::move(value); } + inline void SetString(const char* value) { m_stringHasBeenSet = true; m_string.assign(value); } + inline JobParameter& WithString(const Aws::String& value) { SetString(value); return *this;} + inline JobParameter& WithString(Aws::String&& value) { SetString(std::move(value)); return *this;} + inline JobParameter& WithString(const char* value) { SetString(value); return *this;} ///@} ///@{ @@ -79,33 +93,19 @@ namespace Model inline JobParameter& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} inline JobParameter& WithPath(const char* value) { SetPath(value); return *this;} ///@} - - ///@{ - /** - *

A UTF-8 string.

- */ - inline const Aws::String& GetString() const{ return m_string; } - inline bool StringHasBeenSet() const { return m_stringHasBeenSet; } - inline void SetString(const Aws::String& value) { m_stringHasBeenSet = true; m_string = value; } - inline void SetString(Aws::String&& value) { m_stringHasBeenSet = true; m_string = std::move(value); } - inline void SetString(const char* value) { m_stringHasBeenSet = true; m_string.assign(value); } - inline JobParameter& WithString(const Aws::String& value) { SetString(value); return *this;} - inline JobParameter& WithString(Aws::String&& value) { SetString(std::move(value)); return *this;} - 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_float; + bool m_floatHasBeenSet = false; Aws::String m_string; bool m_stringHasBeenSet = false; + + Aws::String m_path; + bool m_pathHasBeenSet = false; }; } // namespace Model 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 index c2155385fed..79d871efd89 100644 --- 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 @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -51,6 +51,18 @@ namespace Model inline JobRunAsUser& WithPosix(PosixUser&& value) { SetPosix(std::move(value)); return *this;} ///@} + ///@{ + /** + *

Identifies a Microsoft Windows user.

+ */ + inline const WindowsUser& GetWindows() const{ return m_windows; } + inline bool WindowsHasBeenSet() const { return m_windowsHasBeenSet; } + inline void SetWindows(const WindowsUser& value) { m_windowsHasBeenSet = true; m_windows = value; } + inline void SetWindows(WindowsUser&& value) { m_windowsHasBeenSet = true; m_windows = std::move(value); } + inline JobRunAsUser& WithWindows(const WindowsUser& value) { SetWindows(value); return *this;} + inline JobRunAsUser& WithWindows(WindowsUser&& value) { SetWindows(std::move(value)); return *this;} + ///@} + ///@{ /** *

Specifies whether the job should run using the queue's system user or if the @@ -63,28 +75,16 @@ namespace Model inline JobRunAsUser& WithRunAs(const RunAs& value) { SetRunAs(value); return *this;} inline JobRunAsUser& WithRunAs(RunAs&& value) { SetRunAs(std::move(value)); return *this;} ///@} - - ///@{ - /** - *

Identifies a Microsoft Windows user.

- */ - inline const WindowsUser& GetWindows() const{ return m_windows; } - inline bool WindowsHasBeenSet() const { return m_windowsHasBeenSet; } - inline void SetWindows(const WindowsUser& value) { m_windowsHasBeenSet = true; m_windows = value; } - inline void SetWindows(WindowsUser&& value) { m_windowsHasBeenSet = true; m_windows = std::move(value); } - inline JobRunAsUser& WithWindows(const WindowsUser& value) { SetWindows(value); return *this;} - 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; + + RunAs m_runAs; + bool m_runAsHasBeenSet = false; }; } // namespace Model 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 index ba65bb216ee..94b7ad97046 100644 --- 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 @@ -5,12 +5,12 @@ #pragma once #include -#include #include -#include #include -#include #include +#include +#include +#include #include #include @@ -43,44 +43,6 @@ namespace Model 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; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } - inline JobSearchSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - 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; } - inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } - inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } - inline JobSearchSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline JobSearchSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - 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; } - inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } - inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } - inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } - inline JobSearchSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} - inline JobSearchSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} - ///@} - ///@{ /** *

The job ID.

@@ -97,20 +59,30 @@ namespace Model ///@{ /** - *

The job parameters.

+ *

The queue ID.

*/ - inline const Aws::Map& GetJobParameters() const{ return m_jobParameters; } - inline bool JobParametersHasBeenSet() const { return m_jobParametersHasBeenSet; } - inline void SetJobParameters(const Aws::Map& value) { m_jobParametersHasBeenSet = true; m_jobParameters = value; } - inline void SetJobParameters(Aws::Map&& value) { m_jobParametersHasBeenSet = true; m_jobParameters = std::move(value); } - inline JobSearchSummary& WithJobParameters(const Aws::Map& value) { SetJobParameters(value); return *this;} - inline JobSearchSummary& WithJobParameters(Aws::Map&& value) { SetJobParameters(std::move(value)); return *this;} - inline JobSearchSummary& AddJobParameters(const Aws::String& key, const JobParameter& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(key, value); return *this; } - inline JobSearchSummary& AddJobParameters(Aws::String&& key, const JobParameter& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(std::move(key), value); return *this; } - inline JobSearchSummary& AddJobParameters(const Aws::String& key, JobParameter&& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(key, std::move(value)); return *this; } - inline JobSearchSummary& AddJobParameters(Aws::String&& key, JobParameter&& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(std::move(key), std::move(value)); return *this; } - inline JobSearchSummary& AddJobParameters(const char* key, JobParameter&& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(key, std::move(value)); return *this; } - inline JobSearchSummary& AddJobParameters(const char* key, const JobParameter& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(key, value); return *this; } + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline JobSearchSummary& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline JobSearchSummary& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline JobSearchSummary& WithQueueId(const char* value) { SetQueueId(value); return *this;} + ///@} + + ///@{ + /** + *

The job name.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline JobSearchSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + inline JobSearchSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline JobSearchSummary& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ @@ -139,6 +111,64 @@ namespace Model inline JobSearchSummary& WithLifecycleStatusMessage(const char* value) { SetLifecycleStatusMessage(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; } + inline bool TaskRunStatusHasBeenSet() const { return m_taskRunStatusHasBeenSet; } + inline void SetTaskRunStatus(const TaskRunStatus& value) { m_taskRunStatusHasBeenSet = true; m_taskRunStatus = value; } + inline void SetTaskRunStatus(TaskRunStatus&& value) { m_taskRunStatusHasBeenSet = true; m_taskRunStatus = std::move(value); } + inline JobSearchSummary& WithTaskRunStatus(const TaskRunStatus& value) { SetTaskRunStatus(value); return *this;} + inline JobSearchSummary& WithTaskRunStatus(TaskRunStatus&& value) { SetTaskRunStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The task status to start with on the job.

+ */ + inline const JobTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } + inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } + inline void SetTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; } + inline void SetTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); } + inline JobSearchSummary& WithTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} + inline JobSearchSummary& WithTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The number of tasks running on the job.

+ */ + inline const Aws::Map& GetTaskRunStatusCounts() const{ return m_taskRunStatusCounts; } + inline bool TaskRunStatusCountsHasBeenSet() const { return m_taskRunStatusCountsHasBeenSet; } + inline void SetTaskRunStatusCounts(const Aws::Map& value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts = value; } + inline void SetTaskRunStatusCounts(Aws::Map&& value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts = std::move(value); } + inline JobSearchSummary& WithTaskRunStatusCounts(const Aws::Map& value) { SetTaskRunStatusCounts(value); return *this;} + inline JobSearchSummary& WithTaskRunStatusCounts(Aws::Map&& value) { SetTaskRunStatusCounts(std::move(value)); return *this;} + inline JobSearchSummary& AddTaskRunStatusCounts(const TaskRunStatus& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(key, value); return *this; } + inline JobSearchSummary& AddTaskRunStatusCounts(TaskRunStatus&& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(std::move(key), value); return *this; } + ///@} + + ///@{ + /** + *

The job priority.

+ */ + inline int GetPriority() const{ return m_priority; } + inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } + inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } + inline JobSearchSummary& WithPriority(int value) { SetPriority(value); return *this;} + ///@} + ///@{ /** *

The number of task failures before the job stops running and is marked as @@ -162,40 +192,40 @@ namespace Model ///@{ /** - *

The job name.

+ *

The user or system that created this resource.

*/ - inline const Aws::String& GetName() const{ return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } - inline JobSearchSummary& WithName(const Aws::String& value) { SetName(value); return *this;} - inline JobSearchSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline JobSearchSummary& WithName(const char* value) { SetName(value); return *this;} + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline JobSearchSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline JobSearchSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline JobSearchSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} ///@} ///@{ /** - *

The job priority.

+ *

The date and time the resource was created.

*/ - inline int GetPriority() const{ return m_priority; } - inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } - inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } - inline JobSearchSummary& WithPriority(int value) { SetPriority(value); return *this;} + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline JobSearchSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline JobSearchSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} ///@} ///@{ /** - *

The queue ID.

+ *

The date and time the resource ended running.

*/ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline JobSearchSummary& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline JobSearchSummary& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline JobSearchSummary& WithQueueId(const char* value) { SetQueueId(value); return *this;} + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + inline JobSearchSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + inline JobSearchSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} ///@} ///@{ @@ -212,66 +242,31 @@ namespace Model ///@{ /** - *

The task status to start with on the job.

- */ - inline const JobTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } - inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } - inline void SetTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; } - inline void SetTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); } - inline JobSearchSummary& WithTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} - 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; } - inline bool TaskRunStatusHasBeenSet() const { return m_taskRunStatusHasBeenSet; } - inline void SetTaskRunStatus(const TaskRunStatus& value) { m_taskRunStatusHasBeenSet = true; m_taskRunStatus = value; } - inline void SetTaskRunStatus(TaskRunStatus&& value) { m_taskRunStatusHasBeenSet = true; m_taskRunStatus = std::move(value); } - inline JobSearchSummary& WithTaskRunStatus(const TaskRunStatus& value) { SetTaskRunStatus(value); return *this;} - inline JobSearchSummary& WithTaskRunStatus(TaskRunStatus&& value) { SetTaskRunStatus(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

The number of tasks running on the job.

+ *

The job parameters.

*/ - inline const Aws::Map& GetTaskRunStatusCounts() const{ return m_taskRunStatusCounts; } - inline bool TaskRunStatusCountsHasBeenSet() const { return m_taskRunStatusCountsHasBeenSet; } - inline void SetTaskRunStatusCounts(const Aws::Map& value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts = value; } - inline void SetTaskRunStatusCounts(Aws::Map&& value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts = std::move(value); } - inline JobSearchSummary& WithTaskRunStatusCounts(const Aws::Map& value) { SetTaskRunStatusCounts(value); return *this;} - inline JobSearchSummary& WithTaskRunStatusCounts(Aws::Map&& value) { SetTaskRunStatusCounts(std::move(value)); return *this;} - inline JobSearchSummary& AddTaskRunStatusCounts(const TaskRunStatus& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(key, value); return *this; } - inline JobSearchSummary& AddTaskRunStatusCounts(TaskRunStatus&& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(std::move(key), value); return *this; } + inline const Aws::Map& GetJobParameters() const{ return m_jobParameters; } + inline bool JobParametersHasBeenSet() const { return m_jobParametersHasBeenSet; } + inline void SetJobParameters(const Aws::Map& value) { m_jobParametersHasBeenSet = true; m_jobParameters = value; } + inline void SetJobParameters(Aws::Map&& value) { m_jobParametersHasBeenSet = true; m_jobParameters = std::move(value); } + inline JobSearchSummary& WithJobParameters(const Aws::Map& value) { SetJobParameters(value); return *this;} + inline JobSearchSummary& WithJobParameters(Aws::Map&& value) { SetJobParameters(std::move(value)); return *this;} + inline JobSearchSummary& AddJobParameters(const Aws::String& key, const JobParameter& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(key, value); return *this; } + inline JobSearchSummary& AddJobParameters(Aws::String&& key, const JobParameter& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(std::move(key), value); return *this; } + inline JobSearchSummary& AddJobParameters(const Aws::String& key, JobParameter&& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(key, std::move(value)); return *this; } + inline JobSearchSummary& AddJobParameters(Aws::String&& key, JobParameter&& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(std::move(key), std::move(value)); return *this; } + inline JobSearchSummary& AddJobParameters(const char* key, JobParameter&& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(key, std::move(value)); return *this; } + inline JobSearchSummary& AddJobParameters(const char* key, const JobParameter& value) { m_jobParametersHasBeenSet = true; m_jobParameters.emplace(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; + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; JobLifecycleStatus m_lifecycleStatus; bool m_lifecycleStatusHasBeenSet = false; @@ -279,32 +274,38 @@ namespace Model Aws::String m_lifecycleStatusMessage; bool m_lifecycleStatusMessageHasBeenSet = false; + TaskRunStatus m_taskRunStatus; + bool m_taskRunStatusHasBeenSet = false; + + JobTargetTaskRunStatus m_targetTaskRunStatus; + bool m_targetTaskRunStatusHasBeenSet = false; + + Aws::Map m_taskRunStatusCounts; + bool m_taskRunStatusCountsHasBeenSet = false; + + int m_priority; + bool m_priorityHasBeenSet = false; + int m_maxFailedTasksCount; bool m_maxFailedTasksCountHasBeenSet = false; int m_maxRetriesPerTask; bool m_maxRetriesPerTaskHasBeenSet = false; - Aws::String m_name; - bool m_nameHasBeenSet = false; + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; - int m_priority; - bool m_priorityHasBeenSet = false; + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; - Aws::String m_queueId; - bool m_queueIdHasBeenSet = false; + Aws::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = 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::Map m_jobParameters; + bool m_jobParametersHasBeenSet = false; }; } // namespace Model 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 index a5dc96640f5..29741e9e1d9 100644 --- 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 @@ -5,11 +5,11 @@ #pragma once #include -#include #include #include -#include +#include #include +#include #include #include @@ -42,44 +42,6 @@ namespace Model 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; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } - inline JobSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - 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; } - inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } - inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } - inline JobSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline JobSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - 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; } - inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } - inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } - inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } - inline JobSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} - inline JobSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} - ///@} - ///@{ /** *

The job ID.

@@ -94,6 +56,20 @@ namespace Model inline JobSummary& WithJobId(const char* value) { SetJobId(value); return *this;} ///@} + ///@{ + /** + *

The job name.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline JobSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + inline JobSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline JobSummary& WithName(const char* value) { SetName(value); return *this;} + ///@} + ///@{ /** *

The life cycle status.

@@ -122,47 +98,64 @@ namespace Model ///@{ /** - *

The number of task failures before the job stops running and is marked as - * FAILED.

+ *

The job priority.

*/ - inline int GetMaxFailedTasksCount() const{ return m_maxFailedTasksCount; } - inline bool MaxFailedTasksCountHasBeenSet() const { return m_maxFailedTasksCountHasBeenSet; } - inline void SetMaxFailedTasksCount(int value) { m_maxFailedTasksCountHasBeenSet = true; m_maxFailedTasksCount = value; } - inline JobSummary& WithMaxFailedTasksCount(int value) { SetMaxFailedTasksCount(value); return *this;} + inline int GetPriority() const{ return m_priority; } + inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } + inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } + inline JobSummary& WithPriority(int value) { SetPriority(value); return *this;} ///@} ///@{ /** - *

The maximum number of retries for a job.

+ *

The date and time the resource was created.

*/ - inline int GetMaxRetriesPerTask() const{ return m_maxRetriesPerTask; } - inline bool MaxRetriesPerTaskHasBeenSet() const { return m_maxRetriesPerTaskHasBeenSet; } - inline void SetMaxRetriesPerTask(int value) { m_maxRetriesPerTaskHasBeenSet = true; m_maxRetriesPerTask = value; } - inline JobSummary& WithMaxRetriesPerTask(int value) { SetMaxRetriesPerTask(value); return *this;} + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline JobSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline JobSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} ///@} ///@{ /** - *

The job name.

+ *

The user or system that created this resource.

*/ - inline const Aws::String& GetName() const{ return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } - inline JobSummary& WithName(const Aws::String& value) { SetName(value); return *this;} - inline JobSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline JobSummary& WithName(const char* value) { SetName(value); return *this;} + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline JobSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline JobSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline JobSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} ///@} ///@{ /** - *

The job priority.

+ *

The date and time the resource was updated.

*/ - inline int GetPriority() const{ return m_priority; } - inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } - inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } - inline JobSummary& WithPriority(int value) { SetPriority(value); return *this;} + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } + inline JobSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + 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; } + inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; } + inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; } + inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); } + inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); } + inline JobSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} + inline JobSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} + inline JobSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} ///@} ///@{ @@ -179,14 +172,14 @@ namespace Model ///@{ /** - *

The task status to start with on the job.

+ *

The date and time the resource ended running.

*/ - inline const JobTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } - inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } - inline void SetTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; } - inline void SetTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); } - inline JobSummary& WithTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} - inline JobSummary& WithTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + inline JobSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + inline JobSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} ///@} ///@{ @@ -211,6 +204,18 @@ namespace Model inline JobSummary& WithTaskRunStatus(TaskRunStatus&& value) { SetTaskRunStatus(std::move(value)); return *this;} ///@} + ///@{ + /** + *

The task status to start with on the job.

+ */ + inline const JobTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } + inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } + inline void SetTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; } + inline void SetTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); } + inline JobSummary& WithTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} + inline JobSummary& WithTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + ///@} + ///@{ /** *

The number of tasks running on the job.

@@ -227,78 +232,73 @@ namespace Model ///@{ /** - *

The date and time the resource was updated.

+ *

The number of task failures before the job stops running and is marked as + * FAILED.

*/ - inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } - inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } - inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } - inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } - inline JobSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} - inline JobSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + inline int GetMaxFailedTasksCount() const{ return m_maxFailedTasksCount; } + inline bool MaxFailedTasksCountHasBeenSet() const { return m_maxFailedTasksCountHasBeenSet; } + inline void SetMaxFailedTasksCount(int value) { m_maxFailedTasksCountHasBeenSet = true; m_maxFailedTasksCount = value; } + inline JobSummary& WithMaxFailedTasksCount(int value) { SetMaxFailedTasksCount(value); return *this;} ///@} ///@{ /** - *

The user or system that updated this resource.

+ *

The maximum number of retries for a job.

*/ - inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; } - inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; } - inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; } - inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); } - inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); } - inline JobSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;} - inline JobSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} - inline JobSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} + inline int GetMaxRetriesPerTask() const{ return m_maxRetriesPerTask; } + inline bool MaxRetriesPerTaskHasBeenSet() const { return m_maxRetriesPerTaskHasBeenSet; } + inline void SetMaxRetriesPerTask(int value) { m_maxRetriesPerTaskHasBeenSet = true; m_maxRetriesPerTask = value; } + inline JobSummary& WithMaxRetriesPerTask(int value) { SetMaxRetriesPerTask(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::String m_name; + bool m_nameHasBeenSet = 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_priority; + bool m_priorityHasBeenSet = false; - int m_maxRetriesPerTask; - bool m_maxRetriesPerTaskHasBeenSet = false; + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; - Aws::String m_name; - bool m_nameHasBeenSet = false; + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; - int m_priority; - bool m_priorityHasBeenSet = false; + Aws::Utils::DateTime m_updatedAt; + bool m_updatedAtHasBeenSet = false; + + Aws::String m_updatedBy; + bool m_updatedByHasBeenSet = false; Aws::Utils::DateTime m_startedAt; bool m_startedAtHasBeenSet = false; - JobTargetTaskRunStatus m_targetTaskRunStatus; - bool m_targetTaskRunStatusHasBeenSet = false; + Aws::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = false; TaskRunStatus m_taskRunStatus; bool m_taskRunStatusHasBeenSet = false; + JobTargetTaskRunStatus m_targetTaskRunStatus; + bool m_targetTaskRunStatusHasBeenSet = false; + Aws::Map m_taskRunStatusCounts; bool m_taskRunStatusCountsHasBeenSet = false; - Aws::Utils::DateTime m_updatedAt; - bool m_updatedAtHasBeenSet = false; + int m_maxFailedTasksCount; + bool m_maxFailedTasksCountHasBeenSet = false; - Aws::String m_updatedBy; - bool m_updatedByHasBeenSet = false; + int m_maxRetriesPerTask; + bool m_maxRetriesPerTaskHasBeenSet = false; }; } // namespace Model 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 index 6029db7c6b1..a155d696ffe 100644 --- 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 @@ -38,17 +38,6 @@ namespace Model 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; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListAvailableMeteredProductsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The token for the next set of results, or null to start from the @@ -63,13 +52,24 @@ namespace Model inline ListAvailableMeteredProductsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListAvailableMeteredProductsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - private: - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + ///@{ + /** + *

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; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListAvailableMeteredProductsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index 8326a8e870b..602c7c7117a 100644 --- 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 @@ -39,6 +39,21 @@ namespace Model AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + ///@{ + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListBudgetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListBudgetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListBudgetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + ///@{ /** *

The farm ID associated with the budgets.

@@ -64,21 +79,6 @@ namespace Model 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; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } - inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } - inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } - inline ListBudgetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} - inline ListBudgetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} - inline ListBudgetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} - ///@} - ///@{ /** *

The status to list for the budgets.

@@ -92,15 +92,15 @@ namespace Model ///@} private: + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + 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; }; 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 index 502110a52f5..979cc801bb2 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,19 +34,6 @@ namespace Model 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; } - inline void SetBudgets(const Aws::Vector& value) { m_budgets = value; } - inline void SetBudgets(Aws::Vector&& value) { m_budgets = std::move(value); } - inline ListBudgetsResult& WithBudgets(const Aws::Vector& value) { SetBudgets(value); return *this;} - inline ListBudgetsResult& WithBudgets(Aws::Vector&& value) { SetBudgets(std::move(value)); return *this;} - inline ListBudgetsResult& AddBudgets(const BudgetSummary& value) { m_budgets.push_back(value); return *this; } - inline ListBudgetsResult& AddBudgets(BudgetSummary&& value) { m_budgets.push_back(std::move(value)); return *this; } - ///@} - ///@{ /** *

If Deadline Cloud returns nextToken, then there are more results @@ -66,6 +53,19 @@ namespace Model inline ListBudgetsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} + ///@{ + /** + *

The budgets to include on the list.

+ */ + inline const Aws::Vector& GetBudgets() const{ return m_budgets; } + inline void SetBudgets(const Aws::Vector& value) { m_budgets = value; } + inline void SetBudgets(Aws::Vector&& value) { m_budgets = std::move(value); } + inline ListBudgetsResult& WithBudgets(const Aws::Vector& value) { SetBudgets(value); return *this;} + inline ListBudgetsResult& WithBudgets(Aws::Vector&& value) { SetBudgets(std::move(value)); return *this;} + inline ListBudgetsResult& AddBudgets(const BudgetSummary& value) { m_budgets.push_back(value); return *this; } + inline ListBudgetsResult& AddBudgets(BudgetSummary&& value) { m_budgets.push_back(std::move(value)); return *this; } + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -78,10 +78,10 @@ namespace Model ///@} private: - Aws::Vector m_budgets; - Aws::String m_nextToken; + Aws::Vector m_budgets; + Aws::String m_requestId; }; 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 index 36ef413aa96..3d44c1e2373 100644 --- 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 @@ -52,17 +52,6 @@ namespace Model 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; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListFarmMembersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The token for the next set of results, or null to start from the @@ -77,16 +66,27 @@ namespace Model inline ListFarmMembersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListFarmMembersRequest& WithNextToken(const char* value) { SetNextToken(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; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListFarmMembersRequest& WithMaxResults(int value) { SetMaxResults(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; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index 74760bbab43..92cd053c0e6 100644 --- 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 @@ -38,17 +38,6 @@ namespace Model 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; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListFarmsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The token for the next set of results, or null to start from the @@ -77,16 +66,27 @@ namespace Model inline ListFarmsRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} inline ListFarmsRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} ///@} - private: - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + ///@{ + /** + *

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; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListFarmsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_principalId; bool m_principalIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index 76bd240ed37..1604b0a85cb 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,19 +34,6 @@ namespace Model AWS_DEADLINE_API ListFarmsResult& operator=(const Aws::AmazonWebServiceResult& result); - ///@{ - /** - *

Farms on the list.

- */ - inline const Aws::Vector& GetFarms() const{ return m_farms; } - inline void SetFarms(const Aws::Vector& value) { m_farms = value; } - inline void SetFarms(Aws::Vector&& value) { m_farms = std::move(value); } - inline ListFarmsResult& WithFarms(const Aws::Vector& value) { SetFarms(value); return *this;} - inline ListFarmsResult& WithFarms(Aws::Vector&& value) { SetFarms(std::move(value)); return *this;} - inline ListFarmsResult& AddFarms(const FarmSummary& value) { m_farms.push_back(value); return *this; } - inline ListFarmsResult& AddFarms(FarmSummary&& value) { m_farms.push_back(std::move(value)); return *this; } - ///@} - ///@{ /** *

If Deadline Cloud returns nextToken, then there are more results @@ -66,6 +53,19 @@ namespace Model inline ListFarmsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} + ///@{ + /** + *

Farms on the list.

+ */ + inline const Aws::Vector& GetFarms() const{ return m_farms; } + inline void SetFarms(const Aws::Vector& value) { m_farms = value; } + inline void SetFarms(Aws::Vector&& value) { m_farms = std::move(value); } + inline ListFarmsResult& WithFarms(const Aws::Vector& value) { SetFarms(value); return *this;} + inline ListFarmsResult& WithFarms(Aws::Vector&& value) { SetFarms(std::move(value)); return *this;} + inline ListFarmsResult& AddFarms(const FarmSummary& value) { m_farms.push_back(value); return *this; } + inline ListFarmsResult& AddFarms(FarmSummary&& value) { m_farms.push_back(std::move(value)); return *this; } + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -78,10 +78,10 @@ namespace Model ///@} private: - Aws::Vector m_farms; - Aws::String m_nextToken; + Aws::Vector m_farms; + Aws::String m_requestId; }; 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 index 224937e0057..15b6a0b0853 100644 --- 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 @@ -66,17 +66,6 @@ namespace Model 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; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListFleetMembersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The token for the next set of results, or null to start from the @@ -91,6 +80,17 @@ namespace Model inline ListFleetMembersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListFleetMembersRequest& WithNextToken(const char* value) { SetNextToken(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; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListFleetMembersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} private: Aws::String m_farmId; @@ -99,11 +99,11 @@ namespace Model Aws::String m_fleetId; bool m_fleetIdHasBeenSet = false; - int m_maxResults; - bool m_maxResultsHasBeenSet = false; - Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index ff6caa1c9ba..8e2a6ac8e92 100644 --- 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 @@ -39,20 +39,6 @@ namespace Model 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; } - inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } - inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } - inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } - inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } - inline ListFleetsRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} - inline ListFleetsRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} - inline ListFleetsRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} - ///@} - ///@{ /** *

The farm ID of the fleets.

@@ -67,32 +53,6 @@ namespace Model 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; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - 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; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } - inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } - inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } - inline ListFleetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} - inline ListFleetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} - inline ListFleetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} - ///@} - ///@{ /** *

The principal ID of the members to include in the fleet.

@@ -107,6 +67,23 @@ namespace Model inline ListFleetsRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} ///@} + ///@{ + /** + *

The display names of a list of fleets.

This field can + * store any content. Escape or encode this content before displaying it on a + * webpage or any other system that might interpret the content of this field.

+ * + */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + inline ListFleetsRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + inline ListFleetsRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + inline ListFleetsRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + ///@} + ///@{ /** *

The status of the fleet.

@@ -118,25 +95,51 @@ namespace Model inline ListFleetsRequest& WithStatus(const FleetStatus& value) { SetStatus(value); return *this;} inline ListFleetsRequest& WithStatus(FleetStatus&& value) { SetStatus(std::move(value)); return *this;} ///@} - private: - Aws::String m_displayName; - bool m_displayNameHasBeenSet = false; + ///@{ + /** + *

The token for the next set of results, or null to start from the + * beginning.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListFleetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListFleetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListFleetsRequest& WithNextToken(const char* value) { SetNextToken(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; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListFleetsRequest& WithMaxResults(int value) { SetMaxResults(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_displayName; + bool m_displayNameHasBeenSet = false; + FleetStatus m_status; bool m_statusHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index a1745b32be2..a9b07f1013f 100644 --- 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 @@ -52,6 +52,20 @@ namespace Model inline ListJobMembersRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} + ///@{ + /** + *

The queue ID to include on the list.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline ListJobMembersRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline ListJobMembersRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline ListJobMembersRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + ///@} + ///@{ /** *

The job ID to include on the list.

@@ -66,17 +80,6 @@ namespace Model 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; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListJobMembersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The token for the next set of results, or null to start from the @@ -94,33 +97,30 @@ namespace Model ///@{ /** - *

The queue ID to include on the list.

+ *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

*/ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline ListJobMembersRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline ListJobMembersRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline ListJobMembersRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListJobMembersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} ///@} private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; + Aws::String m_queueId; + bool m_queueIdHasBeenSet = 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; + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index 443aaf8ec44..5ed07a4b7c0 100644 --- 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 @@ -52,32 +52,6 @@ namespace Model 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; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - 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; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } - inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } - inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } - inline ListJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} - inline ListJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} - inline ListJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} - ///@} - ///@{ /** *

The principal ID of the members on the jobs.

@@ -105,22 +79,48 @@ namespace Model inline ListJobsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} inline ListJobsRequest& WithQueueId(const char* value) { SetQueueId(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; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListJobsRequest& WithNextToken(const char* value) { SetNextToken(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; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListJobsRequest& WithMaxResults(int value) { SetMaxResults(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; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index 5fb51492553..63e0cfe3bc3 100644 --- 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 @@ -38,17 +38,6 @@ namespace Model 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; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListLicenseEndpointsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The token for the next set of results, or null to start from the @@ -63,13 +52,24 @@ namespace Model inline ListLicenseEndpointsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListLicenseEndpointsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - private: - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + ///@{ + /** + *

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; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListLicenseEndpointsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index 22e0cfbea5e..59840fda49f 100644 --- 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 @@ -52,17 +52,6 @@ namespace Model 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; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListMeteredProductsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The token for the next set of results, or null to start from the @@ -77,16 +66,27 @@ namespace Model inline ListMeteredProductsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListMeteredProductsRequest& WithNextToken(const char* value) { SetNextToken(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; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListMeteredProductsRequest& WithMaxResults(int value) { SetMaxResults(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; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index 6cd0058762f..8271bb5f883 100644 --- 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 @@ -38,17 +38,6 @@ namespace Model 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; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListMonitorsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The token for the next set of results, or null to start from the @@ -63,13 +52,24 @@ namespace Model inline ListMonitorsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListMonitorsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - private: - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + ///@{ + /** + *

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; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListMonitorsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index 80fc952de32..600185c7d57 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,20 +34,6 @@ namespace Model 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; } - inline void SetMonitors(const Aws::Vector& value) { m_monitors = value; } - inline void SetMonitors(Aws::Vector&& value) { m_monitors = std::move(value); } - inline ListMonitorsResult& WithMonitors(const Aws::Vector& value) { SetMonitors(value); return *this;} - inline ListMonitorsResult& WithMonitors(Aws::Vector&& value) { SetMonitors(std::move(value)); return *this;} - inline ListMonitorsResult& AddMonitors(const MonitorSummary& value) { m_monitors.push_back(value); return *this; } - inline ListMonitorsResult& AddMonitors(MonitorSummary&& value) { m_monitors.push_back(std::move(value)); return *this; } - ///@} - ///@{ /** *

If Deadline Cloud returns nextToken, then there are more results @@ -67,6 +53,20 @@ namespace Model inline ListMonitorsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} + ///@{ + /** + *

A list of MonitorSummary objects that describe your monitors in + * the Deadline Cloud.

+ */ + inline const Aws::Vector& GetMonitors() const{ return m_monitors; } + inline void SetMonitors(const Aws::Vector& value) { m_monitors = value; } + inline void SetMonitors(Aws::Vector&& value) { m_monitors = std::move(value); } + inline ListMonitorsResult& WithMonitors(const Aws::Vector& value) { SetMonitors(value); return *this;} + inline ListMonitorsResult& WithMonitors(Aws::Vector&& value) { SetMonitors(std::move(value)); return *this;} + inline ListMonitorsResult& AddMonitors(const MonitorSummary& value) { m_monitors.push_back(value); return *this; } + inline ListMonitorsResult& AddMonitors(MonitorSummary&& value) { m_monitors.push_back(std::move(value)); return *this; } + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -79,10 +79,10 @@ namespace Model ///@} private: - Aws::Vector m_monitors; - Aws::String m_nextToken; + Aws::Vector m_monitors; + Aws::String m_requestId; }; 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 index 34db54ff8d8..2524e57bff5 100644 --- 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 @@ -54,13 +54,16 @@ namespace Model ///@{ /** - *

The maximum number of results to return. Use this parameter with - * NextToken to get results as a set of sequential pages.

+ *

The queue ID for the queue environment list.

*/ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListQueueEnvironmentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline ListQueueEnvironmentsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline ListQueueEnvironmentsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline ListQueueEnvironmentsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} ///@{ @@ -80,30 +83,27 @@ namespace Model ///@{ /** - *

The queue ID for the queue environment list.

+ *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

*/ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline ListQueueEnvironmentsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline ListQueueEnvironmentsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline ListQueueEnvironmentsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListQueueEnvironmentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} ///@} private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; - Aws::String m_queueId; - bool m_queueIdHasBeenSet = false; + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index a030f9f769b..c4130c054fa 100644 --- 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 @@ -52,6 +52,20 @@ namespace Model inline ListQueueFleetAssociationsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} + ///@{ + /** + *

The queue ID for the queue-fleet association list.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline ListQueueFleetAssociationsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline ListQueueFleetAssociationsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline ListQueueFleetAssociationsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + ///@} + ///@{ /** *

The fleet ID for the queue-fleet association list.

@@ -66,17 +80,6 @@ namespace Model 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; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListQueueFleetAssociationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The token for the next set of results, or null to start from the @@ -94,33 +97,30 @@ namespace Model ///@{ /** - *

The queue ID for the queue-fleet association list.

+ *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

*/ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline ListQueueFleetAssociationsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline ListQueueFleetAssociationsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline ListQueueFleetAssociationsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListQueueFleetAssociationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} ///@} private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; + Aws::String m_queueId; + bool m_queueIdHasBeenSet = 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; + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index 76b0ede7f6e..e1b1a39e1e7 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,6 +34,19 @@ namespace Model AWS_DEADLINE_API ListQueueFleetAssociationsResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

The queue-fleet associations on the list.

+ */ + inline const Aws::Vector& GetQueueFleetAssociations() const{ return m_queueFleetAssociations; } + inline void SetQueueFleetAssociations(const Aws::Vector& value) { m_queueFleetAssociations = value; } + inline void SetQueueFleetAssociations(Aws::Vector&& value) { m_queueFleetAssociations = std::move(value); } + inline ListQueueFleetAssociationsResult& WithQueueFleetAssociations(const Aws::Vector& value) { SetQueueFleetAssociations(value); return *this;} + inline ListQueueFleetAssociationsResult& WithQueueFleetAssociations(Aws::Vector&& value) { SetQueueFleetAssociations(std::move(value)); return *this;} + inline ListQueueFleetAssociationsResult& AddQueueFleetAssociations(const QueueFleetAssociationSummary& value) { m_queueFleetAssociations.push_back(value); return *this; } + inline ListQueueFleetAssociationsResult& AddQueueFleetAssociations(QueueFleetAssociationSummary&& value) { m_queueFleetAssociations.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

If Deadline Cloud returns nextToken, then there are more results @@ -53,19 +66,6 @@ namespace Model 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; } - inline void SetQueueFleetAssociations(const Aws::Vector& value) { m_queueFleetAssociations = value; } - inline void SetQueueFleetAssociations(Aws::Vector&& value) { m_queueFleetAssociations = std::move(value); } - inline ListQueueFleetAssociationsResult& WithQueueFleetAssociations(const Aws::Vector& value) { SetQueueFleetAssociations(value); return *this;} - inline ListQueueFleetAssociationsResult& WithQueueFleetAssociations(Aws::Vector&& value) { SetQueueFleetAssociations(std::move(value)); return *this;} - inline ListQueueFleetAssociationsResult& AddQueueFleetAssociations(const QueueFleetAssociationSummary& value) { m_queueFleetAssociations.push_back(value); return *this; } - inline ListQueueFleetAssociationsResult& AddQueueFleetAssociations(QueueFleetAssociationSummary&& value) { m_queueFleetAssociations.push_back(std::move(value)); return *this; } - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -78,10 +78,10 @@ namespace Model ///@} private: - Aws::String m_nextToken; - Aws::Vector m_queueFleetAssociations; + Aws::String m_nextToken; + Aws::String m_requestId; }; 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 index b8ed6a269dc..1a258f0aefc 100644 --- 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 @@ -54,13 +54,16 @@ namespace Model ///@{ /** - *

The maximum number of results to return. Use this parameter with - * NextToken to get results as a set of sequential pages.

+ *

The queue ID to include on the list.

*/ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListQueueMembersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline ListQueueMembersRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline ListQueueMembersRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline ListQueueMembersRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} ///@{ @@ -80,30 +83,27 @@ namespace Model ///@{ /** - *

The queue ID to include on the list.

+ *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

*/ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline ListQueueMembersRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline ListQueueMembersRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline ListQueueMembersRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListQueueMembersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} ///@} private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; - Aws::String m_queueId; - bool m_queueIdHasBeenSet = false; + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index fb2d51ab8f2..49140d4f4e4 100644 --- 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 @@ -55,34 +55,7 @@ namespace Model ///@{ /** - *

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; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - 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; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } - inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } - inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } - inline ListQueuesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} - inline ListQueuesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} - 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.

+ *

The principal IDs to include in the list of queues.

*/ inline const Aws::String& GetPrincipalId() const{ return m_principalId; } inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } @@ -108,22 +81,48 @@ namespace Model inline ListQueuesRequest& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;} inline ListQueuesRequest& WithStatus(QueueStatus&& value) { SetStatus(std::move(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; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListQueuesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListQueuesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListQueuesRequest& WithNextToken(const char* value) { SetNextToken(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; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListQueuesRequest& WithMaxResults(int value) { SetMaxResults(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; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index e19b62ac1c7..a1ab12a1213 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,6 +34,19 @@ namespace Model AWS_DEADLINE_API ListQueuesResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

The queues on the list.

+ */ + inline const Aws::Vector& GetQueues() const{ return m_queues; } + inline void SetQueues(const Aws::Vector& value) { m_queues = value; } + inline void SetQueues(Aws::Vector&& value) { m_queues = std::move(value); } + inline ListQueuesResult& WithQueues(const Aws::Vector& value) { SetQueues(value); return *this;} + inline ListQueuesResult& WithQueues(Aws::Vector&& value) { SetQueues(std::move(value)); return *this;} + inline ListQueuesResult& AddQueues(const QueueSummary& value) { m_queues.push_back(value); return *this; } + inline ListQueuesResult& AddQueues(QueueSummary&& value) { m_queues.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

If Deadline Cloud returns nextToken, then there are more results @@ -53,19 +66,6 @@ namespace Model inline ListQueuesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - ///@{ - /** - *

The queues on the list.

- */ - inline const Aws::Vector& GetQueues() const{ return m_queues; } - inline void SetQueues(const Aws::Vector& value) { m_queues = value; } - inline void SetQueues(Aws::Vector&& value) { m_queues = std::move(value); } - inline ListQueuesResult& WithQueues(const Aws::Vector& value) { SetQueues(value); return *this;} - inline ListQueuesResult& WithQueues(Aws::Vector&& value) { SetQueues(std::move(value)); return *this;} - inline ListQueuesResult& AddQueues(const QueueSummary& value) { m_queues.push_back(value); return *this; } - inline ListQueuesResult& AddQueues(QueueSummary&& value) { m_queues.push_back(std::move(value)); return *this; } - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -78,10 +78,10 @@ namespace Model ///@} private: - Aws::String m_nextToken; - Aws::Vector m_queues; + Aws::String m_nextToken; + Aws::String m_requestId; }; 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 index 501a5dd6525..bb82105294f 100644 --- 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 @@ -52,46 +52,6 @@ namespace Model 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; } - inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } - inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } - inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } - inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } - inline ListSessionActionsRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} - inline ListSessionActionsRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} - 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; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - 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; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } - inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } - inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } - inline ListSessionActionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} - inline ListSessionActionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} - inline ListSessionActionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} - ///@} - ///@{ /** *

The queue ID for the session actions list.

@@ -106,6 +66,20 @@ namespace Model inline ListSessionActionsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} + ///@{ + /** + *

The job ID for the session actions list.

+ */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + inline ListSessionActionsRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + inline ListSessionActionsRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + inline ListSessionActionsRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + ///@} + ///@{ /** *

The session ID to include on the sessions action list.

@@ -133,28 +107,54 @@ namespace Model inline ListSessionActionsRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} inline ListSessionActionsRequest& WithTaskId(const char* value) { SetTaskId(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; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListSessionActionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListSessionActionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListSessionActionsRequest& WithNextToken(const char* value) { SetNextToken(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; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListSessionActionsRequest& WithMaxResults(int value) { SetMaxResults(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_jobId; + bool m_jobIdHasBeenSet = false; + Aws::String m_sessionId; bool m_sessionIdHasBeenSet = false; Aws::String m_taskId; bool m_taskIdHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index c131aaf5e6f..753f5802a50 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,6 +34,19 @@ namespace Model AWS_DEADLINE_API ListSessionActionsResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

The session actions.

+ */ + inline const Aws::Vector& GetSessionActions() const{ return m_sessionActions; } + inline void SetSessionActions(const Aws::Vector& value) { m_sessionActions = value; } + inline void SetSessionActions(Aws::Vector&& value) { m_sessionActions = std::move(value); } + inline ListSessionActionsResult& WithSessionActions(const Aws::Vector& value) { SetSessionActions(value); return *this;} + inline ListSessionActionsResult& WithSessionActions(Aws::Vector&& value) { SetSessionActions(std::move(value)); return *this;} + inline ListSessionActionsResult& AddSessionActions(const SessionActionSummary& value) { m_sessionActions.push_back(value); return *this; } + inline ListSessionActionsResult& AddSessionActions(SessionActionSummary&& value) { m_sessionActions.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

If Deadline Cloud returns nextToken, then there are more results @@ -53,19 +66,6 @@ namespace Model inline ListSessionActionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - ///@{ - /** - *

The session actions.

- */ - inline const Aws::Vector& GetSessionActions() const{ return m_sessionActions; } - inline void SetSessionActions(const Aws::Vector& value) { m_sessionActions = value; } - inline void SetSessionActions(Aws::Vector&& value) { m_sessionActions = std::move(value); } - inline ListSessionActionsResult& WithSessionActions(const Aws::Vector& value) { SetSessionActions(value); return *this;} - inline ListSessionActionsResult& WithSessionActions(Aws::Vector&& value) { SetSessionActions(std::move(value)); return *this;} - inline ListSessionActionsResult& AddSessionActions(const SessionActionSummary& value) { m_sessionActions.push_back(value); return *this; } - inline ListSessionActionsResult& AddSessionActions(SessionActionSummary&& value) { m_sessionActions.push_back(std::move(value)); return *this; } - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -78,10 +78,10 @@ namespace Model ///@} private: - Aws::String m_nextToken; - Aws::Vector m_sessionActions; + Aws::String m_nextToken; + Aws::String m_requestId; }; 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 index 8879a8ff3f4..2e782beb69e 100644 --- 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 @@ -68,13 +68,16 @@ namespace Model ///@{ /** - *

The maximum number of results to return. Use this parameter with - * NextToken to get results as a set of sequential pages.

+ *

The worker ID for the session.

*/ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListSessionsForWorkerRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } + inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } + inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } + inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } + inline ListSessionsForWorkerRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + inline ListSessionsForWorkerRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + inline ListSessionsForWorkerRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} ///@} ///@{ @@ -94,16 +97,13 @@ namespace Model ///@{ /** - *

The worker ID for the session.

+ *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

*/ - inline const Aws::String& GetWorkerId() const{ return m_workerId; } - inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } - inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } - inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } - inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } - inline ListSessionsForWorkerRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} - inline ListSessionsForWorkerRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} - inline ListSessionsForWorkerRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListSessionsForWorkerRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} ///@} private: @@ -113,14 +113,14 @@ namespace Model Aws::String m_fleetId; bool m_fleetIdHasBeenSet = false; - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + Aws::String m_workerId; + bool m_workerIdHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; - Aws::String m_workerId; - bool m_workerIdHasBeenSet = false; + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index 16308611a4e..7725deb7b11 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,6 +34,19 @@ namespace Model AWS_DEADLINE_API ListSessionsForWorkerResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

The sessions in the response.

+ */ + inline const Aws::Vector& GetSessions() const{ return m_sessions; } + inline void SetSessions(const Aws::Vector& value) { m_sessions = value; } + inline void SetSessions(Aws::Vector&& value) { m_sessions = std::move(value); } + inline ListSessionsForWorkerResult& WithSessions(const Aws::Vector& value) { SetSessions(value); return *this;} + inline ListSessionsForWorkerResult& WithSessions(Aws::Vector&& value) { SetSessions(std::move(value)); return *this;} + inline ListSessionsForWorkerResult& AddSessions(const WorkerSessionSummary& value) { m_sessions.push_back(value); return *this; } + inline ListSessionsForWorkerResult& AddSessions(WorkerSessionSummary&& value) { m_sessions.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

The token for the next set of results, or null to start from the @@ -48,19 +61,6 @@ namespace Model inline ListSessionsForWorkerResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - ///@{ - /** - *

The sessions in the response.

- */ - inline const Aws::Vector& GetSessions() const{ return m_sessions; } - inline void SetSessions(const Aws::Vector& value) { m_sessions = value; } - inline void SetSessions(Aws::Vector&& value) { m_sessions = std::move(value); } - inline ListSessionsForWorkerResult& WithSessions(const Aws::Vector& value) { SetSessions(value); return *this;} - inline ListSessionsForWorkerResult& WithSessions(Aws::Vector&& value) { SetSessions(std::move(value)); return *this;} - inline ListSessionsForWorkerResult& AddSessions(const WorkerSessionSummary& value) { m_sessions.push_back(value); return *this; } - inline ListSessionsForWorkerResult& AddSessions(WorkerSessionSummary&& value) { m_sessions.push_back(std::move(value)); return *this; } - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -73,10 +73,10 @@ namespace Model ///@} private: - Aws::String m_nextToken; - Aws::Vector m_sessions; + Aws::String m_nextToken; + Aws::String m_requestId; }; 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 index 0574760e216..db445d2233d 100644 --- 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 @@ -52,6 +52,20 @@ namespace Model inline ListSessionsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} + ///@{ + /** + *

The queue ID for the list of sessions

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline ListSessionsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline ListSessionsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline ListSessionsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + ///@} + ///@{ /** *

The job ID for the list of sessions.

@@ -66,17 +80,6 @@ namespace Model 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; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListSessionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The token for the next set of results, or null to start from the @@ -94,33 +97,30 @@ namespace Model ///@{ /** - *

The queue ID for the list of sessions

+ *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

*/ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline ListSessionsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline ListSessionsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline ListSessionsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListSessionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} ///@} private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; + Aws::String m_queueId; + bool m_queueIdHasBeenSet = 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; + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index a2162b58321..602c90d484f 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,6 +34,19 @@ namespace Model AWS_DEADLINE_API ListSessionsResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

The sessions on the list.

+ */ + inline const Aws::Vector& GetSessions() const{ return m_sessions; } + inline void SetSessions(const Aws::Vector& value) { m_sessions = value; } + inline void SetSessions(Aws::Vector&& value) { m_sessions = std::move(value); } + inline ListSessionsResult& WithSessions(const Aws::Vector& value) { SetSessions(value); return *this;} + inline ListSessionsResult& WithSessions(Aws::Vector&& value) { SetSessions(std::move(value)); return *this;} + inline ListSessionsResult& AddSessions(const SessionSummary& value) { m_sessions.push_back(value); return *this; } + inline ListSessionsResult& AddSessions(SessionSummary&& value) { m_sessions.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

If Deadline Cloud returns nextToken, then there are more results @@ -53,19 +66,6 @@ namespace Model inline ListSessionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - ///@{ - /** - *

The sessions on the list.

- */ - inline const Aws::Vector& GetSessions() const{ return m_sessions; } - inline void SetSessions(const Aws::Vector& value) { m_sessions = value; } - inline void SetSessions(Aws::Vector&& value) { m_sessions = std::move(value); } - inline ListSessionsResult& WithSessions(const Aws::Vector& value) { SetSessions(value); return *this;} - inline ListSessionsResult& WithSessions(Aws::Vector&& value) { SetSessions(std::move(value)); return *this;} - inline ListSessionsResult& AddSessions(const SessionSummary& value) { m_sessions.push_back(value); return *this; } - inline ListSessionsResult& AddSessions(SessionSummary&& value) { m_sessions.push_back(std::move(value)); return *this; } - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -78,10 +78,10 @@ namespace Model ///@} private: - Aws::String m_nextToken; - Aws::Vector m_sessions; + Aws::String m_nextToken; + Aws::String m_requestId; }; 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 index e5ca6d8d39d..c0e7b635515 100644 --- 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 @@ -52,6 +52,20 @@ namespace Model inline ListStepConsumersRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} + ///@{ + /** + *

The queue ID for the step consumer.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline ListStepConsumersRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline ListStepConsumersRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline ListStepConsumersRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + ///@} + ///@{ /** *

The job ID for the step consumer.

@@ -68,13 +82,16 @@ namespace Model ///@{ /** - *

The maximum number of results to return. Use this parameter with - * NextToken to get results as a set of sequential pages.

+ *

The step ID to include on the list.

*/ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListStepConsumersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + inline const Aws::String& GetStepId() const{ return m_stepId; } + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + inline ListStepConsumersRequest& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + inline ListStepConsumersRequest& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + inline ListStepConsumersRequest& WithStepId(const char* value) { SetStepId(value); return *this;} ///@} ///@{ @@ -94,50 +111,33 @@ namespace Model ///@{ /** - *

The queue ID for the step consumer.

- */ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline ListStepConsumersRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline ListStepConsumersRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline ListStepConsumersRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} - ///@} - - ///@{ - /** - *

The step ID to include on the list.

+ *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

*/ - inline const Aws::String& GetStepId() const{ return m_stepId; } - inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } - inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } - inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } - inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } - inline ListStepConsumersRequest& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} - inline ListStepConsumersRequest& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} - inline ListStepConsumersRequest& WithStepId(const char* value) { SetStepId(value); return *this;} + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListStepConsumersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} ///@} private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + Aws::String m_jobId; bool m_jobIdHasBeenSet = false; - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + Aws::String m_stepId; + bool m_stepIdHasBeenSet = 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; + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index ba9081d686a..0d24949e5d0 100644 --- 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 @@ -52,6 +52,20 @@ namespace Model inline ListStepDependenciesRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} + ///@{ + /** + *

The queue ID for the step dependencies list.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline ListStepDependenciesRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline ListStepDependenciesRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline ListStepDependenciesRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + ///@} + ///@{ /** *

The job ID for the step dependencies list.

@@ -68,13 +82,16 @@ namespace Model ///@{ /** - *

The maximum number of results to return. Use this parameter with - * NextToken to get results as a set of sequential pages.

+ *

The step ID to include on the list.

*/ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListStepDependenciesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + inline const Aws::String& GetStepId() const{ return m_stepId; } + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + inline ListStepDependenciesRequest& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + inline ListStepDependenciesRequest& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + inline ListStepDependenciesRequest& WithStepId(const char* value) { SetStepId(value); return *this;} ///@} ///@{ @@ -94,50 +111,33 @@ namespace Model ///@{ /** - *

The queue ID for the step dependencies list.

- */ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline ListStepDependenciesRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline ListStepDependenciesRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline ListStepDependenciesRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} - ///@} - - ///@{ - /** - *

The step ID to include on the list.

+ *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

*/ - inline const Aws::String& GetStepId() const{ return m_stepId; } - inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } - inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } - inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } - inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } - inline ListStepDependenciesRequest& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} - inline ListStepDependenciesRequest& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} - inline ListStepDependenciesRequest& WithStepId(const char* value) { SetStepId(value); return *this;} + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListStepDependenciesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} ///@} private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + Aws::String m_jobId; bool m_jobIdHasBeenSet = false; - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + Aws::String m_stepId; + bool m_stepIdHasBeenSet = 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; + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index da6d5b4faaa..e1e063129bd 100644 --- 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 @@ -52,6 +52,20 @@ namespace Model inline ListStepsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} + ///@{ + /** + *

The queue ID to include on the list of steps.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline ListStepsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline ListStepsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline ListStepsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + ///@} + ///@{ /** *

The job ID to include on the list of steps.

@@ -66,17 +80,6 @@ namespace Model 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; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListStepsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The token for the next set of results, or null to start from the @@ -94,33 +97,30 @@ namespace Model ///@{ /** - *

The queue ID to include on the list of steps.

+ *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

*/ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline ListStepsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline ListStepsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline ListStepsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListStepsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} ///@} private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; + Aws::String m_queueId; + bool m_queueIdHasBeenSet = 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; + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index 9a3f78147ad..6343b3bb7c1 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,6 +34,19 @@ namespace Model AWS_DEADLINE_API ListStepsResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

The steps on the list.

+ */ + inline const Aws::Vector& GetSteps() const{ return m_steps; } + inline void SetSteps(const Aws::Vector& value) { m_steps = value; } + inline void SetSteps(Aws::Vector&& value) { m_steps = std::move(value); } + inline ListStepsResult& WithSteps(const Aws::Vector& value) { SetSteps(value); return *this;} + inline ListStepsResult& WithSteps(Aws::Vector&& value) { SetSteps(std::move(value)); return *this;} + inline ListStepsResult& AddSteps(const StepSummary& value) { m_steps.push_back(value); return *this; } + inline ListStepsResult& AddSteps(StepSummary&& value) { m_steps.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

If Deadline Cloud returns nextToken, then there are more results @@ -53,19 +66,6 @@ namespace Model inline ListStepsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - ///@{ - /** - *

The steps on the list.

- */ - inline const Aws::Vector& GetSteps() const{ return m_steps; } - inline void SetSteps(const Aws::Vector& value) { m_steps = value; } - inline void SetSteps(Aws::Vector&& value) { m_steps = std::move(value); } - inline ListStepsResult& WithSteps(const Aws::Vector& value) { SetSteps(value); return *this;} - inline ListStepsResult& WithSteps(Aws::Vector&& value) { SetSteps(std::move(value)); return *this;} - inline ListStepsResult& AddSteps(const StepSummary& value) { m_steps.push_back(value); return *this; } - inline ListStepsResult& AddSteps(StepSummary&& value) { m_steps.push_back(std::move(value)); return *this; } - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -78,10 +78,10 @@ namespace Model ///@} private: - Aws::String m_nextToken; - Aws::Vector m_steps; + Aws::String m_nextToken; + Aws::String m_requestId; }; 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 index c27f962fcd5..43f37c0e93a 100644 --- 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 @@ -54,13 +54,16 @@ namespace Model ///@{ /** - *

The maximum number of results to return. Use this parameter with - * NextToken to get results as a set of sequential pages.

+ *

The queue ID for the storage profile.

*/ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListStorageProfilesForQueueRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline ListStorageProfilesForQueueRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline ListStorageProfilesForQueueRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline ListStorageProfilesForQueueRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} ///@{ @@ -80,30 +83,27 @@ namespace Model ///@{ /** - *

The queue ID for the storage profile.

+ *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

*/ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline ListStorageProfilesForQueueRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline ListStorageProfilesForQueueRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline ListStorageProfilesForQueueRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListStorageProfilesForQueueRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} ///@} private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; - Aws::String m_queueId; - bool m_queueIdHasBeenSet = false; + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index 827d2d68af0..b236b27e54e 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,6 +34,19 @@ namespace Model AWS_DEADLINE_API ListStorageProfilesForQueueResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

The storage profiles in the queue.

+ */ + inline const Aws::Vector& GetStorageProfiles() const{ return m_storageProfiles; } + inline void SetStorageProfiles(const Aws::Vector& value) { m_storageProfiles = value; } + inline void SetStorageProfiles(Aws::Vector&& value) { m_storageProfiles = std::move(value); } + inline ListStorageProfilesForQueueResult& WithStorageProfiles(const Aws::Vector& value) { SetStorageProfiles(value); return *this;} + inline ListStorageProfilesForQueueResult& WithStorageProfiles(Aws::Vector&& value) { SetStorageProfiles(std::move(value)); return *this;} + inline ListStorageProfilesForQueueResult& AddStorageProfiles(const StorageProfileSummary& value) { m_storageProfiles.push_back(value); return *this; } + inline ListStorageProfilesForQueueResult& AddStorageProfiles(StorageProfileSummary&& value) { m_storageProfiles.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

If Deadline Cloud returns nextToken, then there are more results @@ -53,19 +66,6 @@ namespace Model 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; } - inline void SetStorageProfiles(const Aws::Vector& value) { m_storageProfiles = value; } - inline void SetStorageProfiles(Aws::Vector&& value) { m_storageProfiles = std::move(value); } - inline ListStorageProfilesForQueueResult& WithStorageProfiles(const Aws::Vector& value) { SetStorageProfiles(value); return *this;} - inline ListStorageProfilesForQueueResult& WithStorageProfiles(Aws::Vector&& value) { SetStorageProfiles(std::move(value)); return *this;} - inline ListStorageProfilesForQueueResult& AddStorageProfiles(const StorageProfileSummary& value) { m_storageProfiles.push_back(value); return *this; } - inline ListStorageProfilesForQueueResult& AddStorageProfiles(StorageProfileSummary&& value) { m_storageProfiles.push_back(std::move(value)); return *this; } - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -78,10 +78,10 @@ namespace Model ///@} private: - Aws::String m_nextToken; - Aws::Vector m_storageProfiles; + Aws::String m_nextToken; + Aws::String m_requestId; }; 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 index cf63a990f15..b12854f84a3 100644 --- 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 @@ -52,17 +52,6 @@ namespace Model 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; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListStorageProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The token for the next set of results, or null to start from the @@ -77,16 +66,27 @@ namespace Model inline ListStorageProfilesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListStorageProfilesRequest& WithNextToken(const char* value) { SetNextToken(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; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListStorageProfilesRequest& WithMaxResults(int value) { SetMaxResults(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; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index f028547ce09..21d8ab6c32b 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,6 +34,19 @@ namespace Model AWS_DEADLINE_API ListStorageProfilesResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

The storage profiles.

+ */ + inline const Aws::Vector& GetStorageProfiles() const{ return m_storageProfiles; } + inline void SetStorageProfiles(const Aws::Vector& value) { m_storageProfiles = value; } + inline void SetStorageProfiles(Aws::Vector&& value) { m_storageProfiles = std::move(value); } + inline ListStorageProfilesResult& WithStorageProfiles(const Aws::Vector& value) { SetStorageProfiles(value); return *this;} + inline ListStorageProfilesResult& WithStorageProfiles(Aws::Vector&& value) { SetStorageProfiles(std::move(value)); return *this;} + inline ListStorageProfilesResult& AddStorageProfiles(const StorageProfileSummary& value) { m_storageProfiles.push_back(value); return *this; } + inline ListStorageProfilesResult& AddStorageProfiles(StorageProfileSummary&& value) { m_storageProfiles.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

If Deadline Cloud returns nextToken, then there are more results @@ -53,19 +66,6 @@ namespace Model inline ListStorageProfilesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - ///@{ - /** - *

The storage profiles.

- */ - inline const Aws::Vector& GetStorageProfiles() const{ return m_storageProfiles; } - inline void SetStorageProfiles(const Aws::Vector& value) { m_storageProfiles = value; } - inline void SetStorageProfiles(Aws::Vector&& value) { m_storageProfiles = std::move(value); } - inline ListStorageProfilesResult& WithStorageProfiles(const Aws::Vector& value) { SetStorageProfiles(value); return *this;} - inline ListStorageProfilesResult& WithStorageProfiles(Aws::Vector&& value) { SetStorageProfiles(std::move(value)); return *this;} - inline ListStorageProfilesResult& AddStorageProfiles(const StorageProfileSummary& value) { m_storageProfiles.push_back(value); return *this; } - inline ListStorageProfilesResult& AddStorageProfiles(StorageProfileSummary&& value) { m_storageProfiles.push_back(std::move(value)); return *this; } - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -78,10 +78,10 @@ namespace Model ///@} private: - Aws::String m_nextToken; - Aws::Vector m_storageProfiles; + Aws::String m_nextToken; + Aws::String m_requestId; }; 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 index f477e6f9485..708e6815aff 100644 --- 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 @@ -52,6 +52,20 @@ namespace Model inline ListTasksRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} + ///@{ + /** + *

The queue ID connected to the tasks.

+ */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline ListTasksRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline ListTasksRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline ListTasksRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + ///@} + ///@{ /** *

The job ID for the tasks.

@@ -68,13 +82,16 @@ namespace Model ///@{ /** - *

The maximum number of results to return. Use this parameter with - * NextToken to get results as a set of sequential pages.

+ *

The step ID for the tasks.

*/ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListTasksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + inline const Aws::String& GetStepId() const{ return m_stepId; } + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + inline ListTasksRequest& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + inline ListTasksRequest& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + inline ListTasksRequest& WithStepId(const char* value) { SetStepId(value); return *this;} ///@} ///@{ @@ -94,50 +111,33 @@ namespace Model ///@{ /** - *

The queue ID connected to the tasks.

- */ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline ListTasksRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline ListTasksRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline ListTasksRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} - ///@} - - ///@{ - /** - *

The step ID for the tasks.

+ *

The maximum number of results to return. Use this parameter with + * NextToken to get results as a set of sequential pages.

*/ - inline const Aws::String& GetStepId() const{ return m_stepId; } - inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } - inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } - inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } - inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } - inline ListTasksRequest& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} - inline ListTasksRequest& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} - inline ListTasksRequest& WithStepId(const char* value) { SetStepId(value); return *this;} + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListTasksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} ///@} private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + Aws::String m_jobId; bool m_jobIdHasBeenSet = false; - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + Aws::String m_stepId; + bool m_stepIdHasBeenSet = 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; + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index 135eba867e3..0418390a918 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,6 +34,19 @@ namespace Model AWS_DEADLINE_API ListTasksResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

Tasks for the job.

+ */ + inline const Aws::Vector& GetTasks() const{ return m_tasks; } + inline void SetTasks(const Aws::Vector& value) { m_tasks = value; } + inline void SetTasks(Aws::Vector&& value) { m_tasks = std::move(value); } + inline ListTasksResult& WithTasks(const Aws::Vector& value) { SetTasks(value); return *this;} + inline ListTasksResult& WithTasks(Aws::Vector&& value) { SetTasks(std::move(value)); return *this;} + inline ListTasksResult& AddTasks(const TaskSummary& value) { m_tasks.push_back(value); return *this; } + inline ListTasksResult& AddTasks(TaskSummary&& value) { m_tasks.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

If Deadline Cloud returns nextToken, then there are more results @@ -53,19 +66,6 @@ namespace Model inline ListTasksResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - ///@{ - /** - *

Tasks for the job.

- */ - inline const Aws::Vector& GetTasks() const{ return m_tasks; } - inline void SetTasks(const Aws::Vector& value) { m_tasks = value; } - inline void SetTasks(Aws::Vector&& value) { m_tasks = std::move(value); } - inline ListTasksResult& WithTasks(const Aws::Vector& value) { SetTasks(value); return *this;} - inline ListTasksResult& WithTasks(Aws::Vector&& value) { SetTasks(std::move(value)); return *this;} - inline ListTasksResult& AddTasks(const TaskSummary& value) { m_tasks.push_back(value); return *this; } - inline ListTasksResult& AddTasks(TaskSummary&& value) { m_tasks.push_back(std::move(value)); return *this; } - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -78,10 +78,10 @@ namespace Model ///@} private: - Aws::String m_nextToken; - Aws::Vector m_tasks; + Aws::String m_nextToken; + Aws::String m_requestId; }; 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 index 027e29a1241..fc9e929e80f 100644 --- 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 @@ -66,17 +66,6 @@ namespace Model 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; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListWorkersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The token for the next set of results, or null to start from the @@ -91,6 +80,17 @@ namespace Model inline ListWorkersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListWorkersRequest& WithNextToken(const char* value) { SetNextToken(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; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListWorkersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} private: Aws::String m_farmId; @@ -99,11 +99,11 @@ namespace Model Aws::String m_fleetId; bool m_fleetIdHasBeenSet = false; - int m_maxResults; - bool m_maxResultsHasBeenSet = false; - Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model 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 index dad7785de20..a4da5604717 100644 --- 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 @@ -38,20 +38,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

The log configuration error details.

- */ - inline const Aws::String& GetError() const{ return m_error; } - inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } - inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; } - inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } - inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); } - inline LogConfiguration& WithError(const Aws::String& value) { SetError(value); return *this;} - inline LogConfiguration& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;} - inline LogConfiguration& WithError(const char* value) { SetError(value); return *this;} - ///@} - ///@{ /** *

The log drivers for worker related logs.

@@ -103,10 +89,21 @@ namespace Model inline LogConfiguration& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } 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; + ///@{ + /** + *

The log configuration error details.

+ */ + inline const Aws::String& GetError() const{ return m_error; } + inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } + inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; } + inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } + inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); } + inline LogConfiguration& WithError(const Aws::String& value) { SetError(value); return *this;} + inline LogConfiguration& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;} + inline LogConfiguration& WithError(const char* value) { SetError(value); return *this;} + ///@} + private: Aws::String m_logDriver; bool m_logDriverHasBeenSet = false; @@ -116,6 +113,9 @@ namespace Model Aws::Map m_parameters; bool m_parametersHasBeenSet = false; + + Aws::String m_error; + bool m_errorHasBeenSet = false; }; } // namespace Model 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 index 7e5c4427f46..d4b3ba2dadf 100644 --- 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 @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -56,30 +56,28 @@ namespace Model ///@{ /** - *

The has value of the file.

+ *

The file's root path.

*/ - inline const Aws::String& GetInputManifestHash() const{ return m_inputManifestHash; } - inline bool InputManifestHashHasBeenSet() const { return m_inputManifestHashHasBeenSet; } - inline void SetInputManifestHash(const Aws::String& value) { m_inputManifestHashHasBeenSet = true; m_inputManifestHash = value; } - inline void SetInputManifestHash(Aws::String&& value) { m_inputManifestHashHasBeenSet = true; m_inputManifestHash = std::move(value); } - inline void SetInputManifestHash(const char* value) { m_inputManifestHashHasBeenSet = true; m_inputManifestHash.assign(value); } - inline ManifestProperties& WithInputManifestHash(const Aws::String& value) { SetInputManifestHash(value); return *this;} - inline ManifestProperties& WithInputManifestHash(Aws::String&& value) { SetInputManifestHash(std::move(value)); return *this;} - inline ManifestProperties& WithInputManifestHash(const char* value) { SetInputManifestHash(value); return *this;} + inline const Aws::String& GetRootPath() const{ return m_rootPath; } + inline bool RootPathHasBeenSet() const { return m_rootPathHasBeenSet; } + inline void SetRootPath(const Aws::String& value) { m_rootPathHasBeenSet = true; m_rootPath = value; } + inline void SetRootPath(Aws::String&& value) { m_rootPathHasBeenSet = true; m_rootPath = std::move(value); } + inline void SetRootPath(const char* value) { m_rootPathHasBeenSet = true; m_rootPath.assign(value); } + inline ManifestProperties& WithRootPath(const Aws::String& value) { SetRootPath(value); return *this;} + inline ManifestProperties& WithRootPath(Aws::String&& value) { SetRootPath(std::move(value)); return *this;} + inline ManifestProperties& WithRootPath(const char* value) { SetRootPath(value); return *this;} ///@} ///@{ /** - *

The file path.

+ *

The format of the root path.

*/ - inline const Aws::String& GetInputManifestPath() const{ return m_inputManifestPath; } - inline bool InputManifestPathHasBeenSet() const { return m_inputManifestPathHasBeenSet; } - inline void SetInputManifestPath(const Aws::String& value) { m_inputManifestPathHasBeenSet = true; m_inputManifestPath = value; } - inline void SetInputManifestPath(Aws::String&& value) { m_inputManifestPathHasBeenSet = true; m_inputManifestPath = std::move(value); } - inline void SetInputManifestPath(const char* value) { m_inputManifestPathHasBeenSet = true; m_inputManifestPath.assign(value); } - inline ManifestProperties& WithInputManifestPath(const Aws::String& value) { SetInputManifestPath(value); return *this;} - inline ManifestProperties& WithInputManifestPath(Aws::String&& value) { SetInputManifestPath(std::move(value)); return *this;} - inline ManifestProperties& WithInputManifestPath(const char* value) { SetInputManifestPath(value); return *this;} + inline const PathFormat& GetRootPathFormat() const{ return m_rootPathFormat; } + inline bool RootPathFormatHasBeenSet() const { return m_rootPathFormatHasBeenSet; } + inline void SetRootPathFormat(const PathFormat& value) { m_rootPathFormatHasBeenSet = true; m_rootPathFormat = value; } + inline void SetRootPathFormat(PathFormat&& value) { m_rootPathFormatHasBeenSet = true; m_rootPathFormat = std::move(value); } + inline ManifestProperties& WithRootPathFormat(const PathFormat& value) { SetRootPathFormat(value); return *this;} + inline ManifestProperties& WithRootPathFormat(PathFormat&& value) { SetRootPathFormat(std::move(value)); return *this;} ///@} ///@{ @@ -99,48 +97,50 @@ namespace Model ///@{ /** - *

The file's root path.

+ *

The file path.

*/ - inline const Aws::String& GetRootPath() const{ return m_rootPath; } - inline bool RootPathHasBeenSet() const { return m_rootPathHasBeenSet; } - inline void SetRootPath(const Aws::String& value) { m_rootPathHasBeenSet = true; m_rootPath = value; } - inline void SetRootPath(Aws::String&& value) { m_rootPathHasBeenSet = true; m_rootPath = std::move(value); } - inline void SetRootPath(const char* value) { m_rootPathHasBeenSet = true; m_rootPath.assign(value); } - inline ManifestProperties& WithRootPath(const Aws::String& value) { SetRootPath(value); return *this;} - inline ManifestProperties& WithRootPath(Aws::String&& value) { SetRootPath(std::move(value)); return *this;} - inline ManifestProperties& WithRootPath(const char* value) { SetRootPath(value); return *this;} + inline const Aws::String& GetInputManifestPath() const{ return m_inputManifestPath; } + inline bool InputManifestPathHasBeenSet() const { return m_inputManifestPathHasBeenSet; } + inline void SetInputManifestPath(const Aws::String& value) { m_inputManifestPathHasBeenSet = true; m_inputManifestPath = value; } + inline void SetInputManifestPath(Aws::String&& value) { m_inputManifestPathHasBeenSet = true; m_inputManifestPath = std::move(value); } + inline void SetInputManifestPath(const char* value) { m_inputManifestPathHasBeenSet = true; m_inputManifestPath.assign(value); } + inline ManifestProperties& WithInputManifestPath(const Aws::String& value) { SetInputManifestPath(value); return *this;} + inline ManifestProperties& WithInputManifestPath(Aws::String&& value) { SetInputManifestPath(std::move(value)); return *this;} + inline ManifestProperties& WithInputManifestPath(const char* value) { SetInputManifestPath(value); return *this;} ///@} ///@{ /** - *

The format of the root path.

+ *

The has value of the file.

*/ - inline const PathFormat& GetRootPathFormat() const{ return m_rootPathFormat; } - inline bool RootPathFormatHasBeenSet() const { return m_rootPathFormatHasBeenSet; } - inline void SetRootPathFormat(const PathFormat& value) { m_rootPathFormatHasBeenSet = true; m_rootPathFormat = value; } - inline void SetRootPathFormat(PathFormat&& value) { m_rootPathFormatHasBeenSet = true; m_rootPathFormat = std::move(value); } - inline ManifestProperties& WithRootPathFormat(const PathFormat& value) { SetRootPathFormat(value); return *this;} - inline ManifestProperties& WithRootPathFormat(PathFormat&& value) { SetRootPathFormat(std::move(value)); return *this;} + inline const Aws::String& GetInputManifestHash() const{ return m_inputManifestHash; } + inline bool InputManifestHashHasBeenSet() const { return m_inputManifestHashHasBeenSet; } + inline void SetInputManifestHash(const Aws::String& value) { m_inputManifestHashHasBeenSet = true; m_inputManifestHash = value; } + inline void SetInputManifestHash(Aws::String&& value) { m_inputManifestHashHasBeenSet = true; m_inputManifestHash = std::move(value); } + inline void SetInputManifestHash(const char* value) { m_inputManifestHashHasBeenSet = true; m_inputManifestHash.assign(value); } + inline ManifestProperties& WithInputManifestHash(const Aws::String& value) { SetInputManifestHash(value); return *this;} + inline ManifestProperties& WithInputManifestHash(Aws::String&& value) { SetInputManifestHash(std::move(value)); return *this;} + inline ManifestProperties& WithInputManifestHash(const char* value) { SetInputManifestHash(value); return *this;} ///@} private: Aws::String m_fileSystemLocationName; bool m_fileSystemLocationNameHasBeenSet = false; - Aws::String m_inputManifestHash; - bool m_inputManifestHashHasBeenSet = false; + Aws::String m_rootPath; + bool m_rootPathHasBeenSet = false; - Aws::String m_inputManifestPath; - bool m_inputManifestPathHasBeenSet = false; + PathFormat m_rootPathFormat; + bool m_rootPathFormatHasBeenSet = false; Aws::Vector m_outputRelativeDirectories; bool m_outputRelativeDirectoriesHasBeenSet = false; - Aws::String m_rootPath; - bool m_rootPathHasBeenSet = false; + Aws::String m_inputManifestPath; + bool m_inputManifestPathHasBeenSet = false; - PathFormat m_rootPathFormat; - bool m_rootPathFormatHasBeenSet = false; + Aws::String m_inputManifestHash; + bool m_inputManifestHashHasBeenSet = false; }; } // namespace Model 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 index 27dbb2b7355..997a8031feb 100644 --- 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 @@ -35,16 +35,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

The maximum amount of memory (in MiB).

- */ - inline int GetMax() const{ return m_max; } - inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } - inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; } - inline MemoryMiBRange& WithMax(int value) { SetMax(value); return *this;} - ///@} - ///@{ /** *

The minimum amount of memory (in MiB).

@@ -54,13 +44,23 @@ namespace Model inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; } inline MemoryMiBRange& WithMin(int value) { SetMin(value); return *this;} ///@} - private: - int m_max; - bool m_maxHasBeenSet = false; + ///@{ + /** + *

The maximum amount of memory (in MiB).

+ */ + inline int GetMax() const{ return m_max; } + inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } + inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; } + inline MemoryMiBRange& WithMax(int value) { SetMax(value); return *this;} + ///@} + private: int m_min; bool m_minHasBeenSet = false; + + int m_max; + bool m_maxHasBeenSet = false; }; } // namespace Model 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 index a85c2d90772..08d99a26474 100644 --- 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 @@ -37,30 +37,6 @@ namespace Model 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; } - inline bool FamilyHasBeenSet() const { return m_familyHasBeenSet; } - inline void SetFamily(const Aws::String& value) { m_familyHasBeenSet = true; m_family = value; } - inline void SetFamily(Aws::String&& value) { m_familyHasBeenSet = true; m_family = std::move(value); } - inline void SetFamily(const char* value) { m_familyHasBeenSet = true; m_family.assign(value); } - inline MeteredProductSummary& WithFamily(const Aws::String& value) { SetFamily(value); return *this;} - inline MeteredProductSummary& WithFamily(Aws::String&& value) { SetFamily(std::move(value)); return *this;} - 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; } - inline bool PortHasBeenSet() const { return m_portHasBeenSet; } - inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } - inline MeteredProductSummary& WithPort(int value) { SetPort(value); return *this;} - ///@} - ///@{ /** *

The product ID.

@@ -75,6 +51,20 @@ namespace Model inline MeteredProductSummary& WithProductId(const char* value) { SetProductId(value); return *this;} ///@} + ///@{ + /** + *

The family to which the metered product belongs.

+ */ + inline const Aws::String& GetFamily() const{ return m_family; } + inline bool FamilyHasBeenSet() const { return m_familyHasBeenSet; } + inline void SetFamily(const Aws::String& value) { m_familyHasBeenSet = true; m_family = value; } + inline void SetFamily(Aws::String&& value) { m_familyHasBeenSet = true; m_family = std::move(value); } + inline void SetFamily(const char* value) { m_familyHasBeenSet = true; m_family.assign(value); } + inline MeteredProductSummary& WithFamily(const Aws::String& value) { SetFamily(value); return *this;} + inline MeteredProductSummary& WithFamily(Aws::String&& value) { SetFamily(std::move(value)); return *this;} + inline MeteredProductSummary& WithFamily(const char* value) { SetFamily(value); return *this;} + ///@} + ///@{ /** *

The vendor.

@@ -88,19 +78,29 @@ namespace Model inline MeteredProductSummary& WithVendor(Aws::String&& value) { SetVendor(std::move(value)); return *this;} 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; + ///@{ + /** + *

The port on which the metered product should run.

+ */ + inline int GetPort() const{ return m_port; } + inline bool PortHasBeenSet() const { return m_portHasBeenSet; } + inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } + inline MeteredProductSummary& WithPort(int value) { SetPort(value); return *this;} + ///@} + private: Aws::String m_productId; bool m_productIdHasBeenSet = false; + Aws::String m_family; + bool m_familyHasBeenSet = false; + Aws::String m_vendor; bool m_vendorHasBeenSet = false; + + int m_port; + bool m_portHasBeenSet = false; }; } // namespace Model 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 index b442bd50746..4a8b43e0206 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -41,33 +41,24 @@ namespace Model ///@{ /** - *

The UNIX timestamp of the date and time that the monitor was created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } - inline MonitorSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline MonitorSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

The user name of the person that created the monitor.

+ *

The unique identifier for the monitor.

*/ - inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } - inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } - inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } - inline MonitorSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline MonitorSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline MonitorSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + inline const Aws::String& GetMonitorId() const{ return m_monitorId; } + inline bool MonitorIdHasBeenSet() const { return m_monitorIdHasBeenSet; } + inline void SetMonitorId(const Aws::String& value) { m_monitorIdHasBeenSet = true; m_monitorId = value; } + inline void SetMonitorId(Aws::String&& value) { m_monitorIdHasBeenSet = true; m_monitorId = std::move(value); } + inline void SetMonitorId(const char* value) { m_monitorIdHasBeenSet = true; m_monitorId.assign(value); } + inline MonitorSummary& WithMonitorId(const Aws::String& value) { SetMonitorId(value); return *this;} + inline MonitorSummary& WithMonitorId(Aws::String&& value) { SetMonitorId(std::move(value)); return *this;} + inline MonitorSummary& WithMonitorId(const char* value) { SetMonitorId(value); return *this;} ///@} ///@{ /** *

The name of the monitor that displays on the Deadline Cloud console.

+ *

This field can store any content. Escape or encode this content + * before displaying it on a webpage or any other system that might interpret the + * content of this field.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } @@ -81,17 +72,47 @@ namespace Model ///@{ /** - *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the - * monitor when it was created.

+ *

The subdomain used for the monitor URL. The full URL of the monitor is + * subdomain.Region.deadlinecloud.amazonaws.com.

*/ - inline const Aws::String& GetIdentityCenterApplicationArn() const{ return m_identityCenterApplicationArn; } - inline bool IdentityCenterApplicationArnHasBeenSet() const { return m_identityCenterApplicationArnHasBeenSet; } - inline void SetIdentityCenterApplicationArn(const Aws::String& value) { m_identityCenterApplicationArnHasBeenSet = true; m_identityCenterApplicationArn = value; } - inline void SetIdentityCenterApplicationArn(Aws::String&& value) { m_identityCenterApplicationArnHasBeenSet = true; m_identityCenterApplicationArn = std::move(value); } - inline void SetIdentityCenterApplicationArn(const char* value) { m_identityCenterApplicationArnHasBeenSet = true; m_identityCenterApplicationArn.assign(value); } - inline MonitorSummary& WithIdentityCenterApplicationArn(const Aws::String& value) { SetIdentityCenterApplicationArn(value); return *this;} - inline MonitorSummary& WithIdentityCenterApplicationArn(Aws::String&& value) { SetIdentityCenterApplicationArn(std::move(value)); return *this;} - inline MonitorSummary& WithIdentityCenterApplicationArn(const char* value) { SetIdentityCenterApplicationArn(value); return *this;} + inline const Aws::String& GetSubdomain() const{ return m_subdomain; } + inline bool SubdomainHasBeenSet() const { return m_subdomainHasBeenSet; } + inline void SetSubdomain(const Aws::String& value) { m_subdomainHasBeenSet = true; m_subdomain = value; } + inline void SetSubdomain(Aws::String&& value) { m_subdomainHasBeenSet = true; m_subdomain = std::move(value); } + inline void SetSubdomain(const char* value) { m_subdomainHasBeenSet = true; m_subdomain.assign(value); } + inline MonitorSummary& WithSubdomain(const Aws::String& value) { SetSubdomain(value); return *this;} + inline MonitorSummary& WithSubdomain(Aws::String&& value) { SetSubdomain(std::move(value)); return *this;} + inline MonitorSummary& WithSubdomain(const char* value) { SetSubdomain(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; } + inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } + inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } + inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } + inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } + inline MonitorSummary& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} + inline MonitorSummary& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} + inline MonitorSummary& WithUrl(const char* value) { SetUrl(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; } + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + inline MonitorSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + inline MonitorSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + inline MonitorSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} ///@} ///@{ @@ -111,46 +132,43 @@ namespace Model ///@{ /** - *

The unique identifier for the monitor.

+ *

The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the + * monitor when it was created.

*/ - inline const Aws::String& GetMonitorId() const{ return m_monitorId; } - inline bool MonitorIdHasBeenSet() const { return m_monitorIdHasBeenSet; } - inline void SetMonitorId(const Aws::String& value) { m_monitorIdHasBeenSet = true; m_monitorId = value; } - inline void SetMonitorId(Aws::String&& value) { m_monitorIdHasBeenSet = true; m_monitorId = std::move(value); } - inline void SetMonitorId(const char* value) { m_monitorIdHasBeenSet = true; m_monitorId.assign(value); } - inline MonitorSummary& WithMonitorId(const Aws::String& value) { SetMonitorId(value); return *this;} - inline MonitorSummary& WithMonitorId(Aws::String&& value) { SetMonitorId(std::move(value)); return *this;} - inline MonitorSummary& WithMonitorId(const char* value) { SetMonitorId(value); return *this;} + inline const Aws::String& GetIdentityCenterApplicationArn() const{ return m_identityCenterApplicationArn; } + inline bool IdentityCenterApplicationArnHasBeenSet() const { return m_identityCenterApplicationArnHasBeenSet; } + inline void SetIdentityCenterApplicationArn(const Aws::String& value) { m_identityCenterApplicationArnHasBeenSet = true; m_identityCenterApplicationArn = value; } + inline void SetIdentityCenterApplicationArn(Aws::String&& value) { m_identityCenterApplicationArnHasBeenSet = true; m_identityCenterApplicationArn = std::move(value); } + inline void SetIdentityCenterApplicationArn(const char* value) { m_identityCenterApplicationArnHasBeenSet = true; m_identityCenterApplicationArn.assign(value); } + inline MonitorSummary& WithIdentityCenterApplicationArn(const Aws::String& value) { SetIdentityCenterApplicationArn(value); return *this;} + inline MonitorSummary& WithIdentityCenterApplicationArn(Aws::String&& value) { SetIdentityCenterApplicationArn(std::move(value)); return *this;} + inline MonitorSummary& WithIdentityCenterApplicationArn(const char* value) { SetIdentityCenterApplicationArn(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.

+ *

The UNIX timestamp of the date and time that the monitor was created.

*/ - inline const Aws::String& GetRoleArn() const{ return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } - inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } - inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } - inline MonitorSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} - inline MonitorSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} - inline MonitorSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline MonitorSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline MonitorSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} ///@} ///@{ /** - *

The subdomain used for the monitor URL. The full URL of the monitor is - * subdomain.Region.deadlinecloud.amazonaws.com.

+ *

The user name of the person that created the monitor.

*/ - inline const Aws::String& GetSubdomain() const{ return m_subdomain; } - inline bool SubdomainHasBeenSet() const { return m_subdomainHasBeenSet; } - inline void SetSubdomain(const Aws::String& value) { m_subdomainHasBeenSet = true; m_subdomain = value; } - inline void SetSubdomain(Aws::String&& value) { m_subdomainHasBeenSet = true; m_subdomain = std::move(value); } - inline void SetSubdomain(const char* value) { m_subdomainHasBeenSet = true; m_subdomain.assign(value); } - inline MonitorSummary& WithSubdomain(const Aws::String& value) { SetSubdomain(value); return *this;} - inline MonitorSummary& WithSubdomain(Aws::String&& value) { SetSubdomain(std::move(value)); return *this;} - inline MonitorSummary& WithSubdomain(const char* value) { SetSubdomain(value); return *this;} + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline MonitorSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline MonitorSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline MonitorSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} ///@} ///@{ @@ -179,55 +197,40 @@ namespace Model inline MonitorSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} 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; } - inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } - inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } - inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } - inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } - inline MonitorSummary& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} - inline MonitorSummary& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} - 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_monitorId; + bool m_monitorIdHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; - Aws::String m_identityCenterApplicationArn; - bool m_identityCenterApplicationArnHasBeenSet = false; + Aws::String m_subdomain; + bool m_subdomainHasBeenSet = false; + + Aws::String m_url; + bool m_urlHasBeenSet = false; + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; Aws::String m_identityCenterInstanceArn; bool m_identityCenterInstanceArnHasBeenSet = false; - Aws::String m_monitorId; - bool m_monitorIdHasBeenSet = false; + Aws::String m_identityCenterApplicationArn; + bool m_identityCenterApplicationArnHasBeenSet = false; - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; - Aws::String m_subdomain; - bool m_subdomainHasBeenSet = false; + Aws::String m_createdBy; + bool m_createdByHasBeenSet = 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 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 index c56762eefe2..6bd6c093e33 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -39,6 +39,18 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

The sort order for the parameter.

+ */ + inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } + inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } + inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } + inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } + inline ParameterSortExpression& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} + inline ParameterSortExpression& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;} + ///@} + ///@{ /** *

The parameter name to sort by.

@@ -52,25 +64,13 @@ namespace Model inline ParameterSortExpression& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} inline ParameterSortExpression& WithName(const char* value) { SetName(value); return *this;} ///@} - - ///@{ - /** - *

The sort order for the parameter.

- */ - inline const SortOrder& GetSortOrder() const{ return m_sortOrder; } - inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; } - inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; } - inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); } - inline ParameterSortExpression& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;} - 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; + + Aws::String m_name; + bool m_nameHasBeenSet = false; }; } // namespace Model 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 index 1e448d1e50c..9afd7bc41e7 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -40,20 +40,6 @@ namespace Model 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; } - inline bool CombinationHasBeenSet() const { return m_combinationHasBeenSet; } - inline void SetCombination(const Aws::String& value) { m_combinationHasBeenSet = true; m_combination = value; } - inline void SetCombination(Aws::String&& value) { m_combinationHasBeenSet = true; m_combination = std::move(value); } - inline void SetCombination(const char* value) { m_combinationHasBeenSet = true; m_combination.assign(value); } - inline ParameterSpace& WithCombination(const Aws::String& value) { SetCombination(value); return *this;} - inline ParameterSpace& WithCombination(Aws::String&& value) { SetCombination(std::move(value)); return *this;} - inline ParameterSpace& WithCombination(const char* value) { SetCombination(value); return *this;} - ///@} - ///@{ /** *

The parameters to search for.

@@ -67,13 +53,27 @@ namespace Model inline ParameterSpace& AddParameters(const StepParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; } 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; + ///@{ + /** + *

The combination expression to use in the search.

+ */ + inline const Aws::String& GetCombination() const{ return m_combination; } + inline bool CombinationHasBeenSet() const { return m_combinationHasBeenSet; } + inline void SetCombination(const Aws::String& value) { m_combinationHasBeenSet = true; m_combination = value; } + inline void SetCombination(Aws::String&& value) { m_combinationHasBeenSet = true; m_combination = std::move(value); } + inline void SetCombination(const char* value) { m_combinationHasBeenSet = true; m_combination.assign(value); } + inline ParameterSpace& WithCombination(const Aws::String& value) { SetCombination(value); return *this;} + inline ParameterSpace& WithCombination(Aws::String&& value) { SetCombination(std::move(value)); return *this;} + inline ParameterSpace& WithCombination(const char* value) { SetCombination(value); return *this;} + ///@} + private: Aws::Vector m_parameters; bool m_parametersHasBeenSet = false; + + Aws::String m_combination; + bool m_combinationHasBeenSet = false; }; } // namespace Model 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 index 0c9cbfd9461..fd0da38ebf1 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -40,16 +40,14 @@ namespace Model ///@{ /** - *

The destination path.

+ *

The source path format.

*/ - inline const Aws::String& GetDestinationPath() const{ return m_destinationPath; } - inline bool DestinationPathHasBeenSet() const { return m_destinationPathHasBeenSet; } - inline void SetDestinationPath(const Aws::String& value) { m_destinationPathHasBeenSet = true; m_destinationPath = value; } - inline void SetDestinationPath(Aws::String&& value) { m_destinationPathHasBeenSet = true; m_destinationPath = std::move(value); } - inline void SetDestinationPath(const char* value) { m_destinationPathHasBeenSet = true; m_destinationPath.assign(value); } - inline PathMappingRule& WithDestinationPath(const Aws::String& value) { SetDestinationPath(value); return *this;} - inline PathMappingRule& WithDestinationPath(Aws::String&& value) { SetDestinationPath(std::move(value)); return *this;} - inline PathMappingRule& WithDestinationPath(const char* value) { SetDestinationPath(value); return *this;} + inline const PathFormat& GetSourcePathFormat() const{ return m_sourcePathFormat; } + inline bool SourcePathFormatHasBeenSet() const { return m_sourcePathFormatHasBeenSet; } + inline void SetSourcePathFormat(const PathFormat& value) { m_sourcePathFormatHasBeenSet = true; m_sourcePathFormat = value; } + inline void SetSourcePathFormat(PathFormat&& value) { m_sourcePathFormatHasBeenSet = true; m_sourcePathFormat = std::move(value); } + inline PathMappingRule& WithSourcePathFormat(const PathFormat& value) { SetSourcePathFormat(value); return *this;} + inline PathMappingRule& WithSourcePathFormat(PathFormat&& value) { SetSourcePathFormat(std::move(value)); return *this;} ///@} ///@{ @@ -68,25 +66,27 @@ namespace Model ///@{ /** - *

The source path format.

+ *

The destination path.

*/ - inline const PathFormat& GetSourcePathFormat() const{ return m_sourcePathFormat; } - inline bool SourcePathFormatHasBeenSet() const { return m_sourcePathFormatHasBeenSet; } - inline void SetSourcePathFormat(const PathFormat& value) { m_sourcePathFormatHasBeenSet = true; m_sourcePathFormat = value; } - inline void SetSourcePathFormat(PathFormat&& value) { m_sourcePathFormatHasBeenSet = true; m_sourcePathFormat = std::move(value); } - inline PathMappingRule& WithSourcePathFormat(const PathFormat& value) { SetSourcePathFormat(value); return *this;} - inline PathMappingRule& WithSourcePathFormat(PathFormat&& value) { SetSourcePathFormat(std::move(value)); return *this;} + inline const Aws::String& GetDestinationPath() const{ return m_destinationPath; } + inline bool DestinationPathHasBeenSet() const { return m_destinationPathHasBeenSet; } + inline void SetDestinationPath(const Aws::String& value) { m_destinationPathHasBeenSet = true; m_destinationPath = value; } + inline void SetDestinationPath(Aws::String&& value) { m_destinationPathHasBeenSet = true; m_destinationPath = std::move(value); } + inline void SetDestinationPath(const char* value) { m_destinationPathHasBeenSet = true; m_destinationPath.assign(value); } + inline PathMappingRule& WithDestinationPath(const Aws::String& value) { SetDestinationPath(value); return *this;} + inline PathMappingRule& WithDestinationPath(Aws::String&& value) { SetDestinationPath(std::move(value)); return *this;} + inline PathMappingRule& WithDestinationPath(const char* value) { SetDestinationPath(value); return *this;} ///@} private: - Aws::String m_destinationPath; - bool m_destinationPathHasBeenSet = false; + PathFormat m_sourcePathFormat; + bool m_sourcePathFormatHasBeenSet = false; Aws::String m_sourcePath; bool m_sourcePathHasBeenSet = false; - PathFormat m_sourcePathFormat; - bool m_sourcePathFormatHasBeenSet = false; + Aws::String m_destinationPath; + bool m_destinationPathHasBeenSet = false; }; } // namespace Model 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 index ee983ae46d9..70e1f141f33 100644 --- 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 @@ -37,20 +37,6 @@ namespace Model 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; } - inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; } - inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; } - inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); } - inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); } - inline PosixUser& WithGroup(const Aws::String& value) { SetGroup(value); return *this;} - inline PosixUser& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;} - inline PosixUser& WithGroup(const char* value) { SetGroup(value); return *this;} - ///@} - ///@{ /** *

The name of the POSIX user.

@@ -64,13 +50,27 @@ namespace Model inline PosixUser& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;} inline PosixUser& WithUser(const char* value) { SetUser(value); return *this;} ///@} - private: - Aws::String m_group; - bool m_groupHasBeenSet = false; + ///@{ + /** + *

The name of the POSIX user's group.

+ */ + inline const Aws::String& GetGroup() const{ return m_group; } + inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; } + inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; } + inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); } + inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); } + inline PosixUser& WithGroup(const Aws::String& value) { SetGroup(value); return *this;} + inline PosixUser& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;} + inline PosixUser& WithGroup(const char* value) { SetGroup(value); return *this;} + ///@} + private: Aws::String m_user; bool m_userHasBeenSet = false; + + Aws::String m_group; + bool m_groupHasBeenSet = false; }; } // namespace Model 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 index 8a25b7d3140..4f43616a9d5 100644 --- 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 @@ -37,6 +37,20 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

The queue environment ID.

+ */ + inline const Aws::String& GetQueueEnvironmentId() const{ return m_queueEnvironmentId; } + inline bool QueueEnvironmentIdHasBeenSet() const { return m_queueEnvironmentIdHasBeenSet; } + inline void SetQueueEnvironmentId(const Aws::String& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = value; } + inline void SetQueueEnvironmentId(Aws::String&& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = std::move(value); } + inline void SetQueueEnvironmentId(const char* value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId.assign(value); } + inline QueueEnvironmentSummary& WithQueueEnvironmentId(const Aws::String& value) { SetQueueEnvironmentId(value); return *this;} + inline QueueEnvironmentSummary& WithQueueEnvironmentId(Aws::String&& value) { SetQueueEnvironmentId(std::move(value)); return *this;} + inline QueueEnvironmentSummary& WithQueueEnvironmentId(const char* value) { SetQueueEnvironmentId(value); return *this;} + ///@} + ///@{ /** *

The name of the queue environment.

@@ -60,30 +74,16 @@ namespace Model inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } inline QueueEnvironmentSummary& WithPriority(int value) { SetPriority(value); return *this;} ///@} - - ///@{ - /** - *

The queue environment ID.

- */ - inline const Aws::String& GetQueueEnvironmentId() const{ return m_queueEnvironmentId; } - inline bool QueueEnvironmentIdHasBeenSet() const { return m_queueEnvironmentIdHasBeenSet; } - inline void SetQueueEnvironmentId(const Aws::String& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = value; } - inline void SetQueueEnvironmentId(Aws::String&& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = std::move(value); } - inline void SetQueueEnvironmentId(const char* value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId.assign(value); } - inline QueueEnvironmentSummary& WithQueueEnvironmentId(const Aws::String& value) { SetQueueEnvironmentId(value); return *this;} - inline QueueEnvironmentSummary& WithQueueEnvironmentId(Aws::String&& value) { SetQueueEnvironmentId(std::move(value)); return *this;} - inline QueueEnvironmentSummary& WithQueueEnvironmentId(const char* value) { SetQueueEnvironmentId(value); return *this;} - ///@} private: + Aws::String m_queueEnvironmentId; + bool m_queueEnvironmentIdHasBeenSet = false; + 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 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 index 647ec2926de..a8b7625eb85 100644 --- 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 @@ -5,9 +5,9 @@ #pragma once #include -#include #include #include +#include #include namespace Aws @@ -41,28 +41,16 @@ namespace Model ///@{ /** - *

The date and time the resource was created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } - inline QueueFleetAssociationSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline QueueFleetAssociationSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

The user or system that created this resource.

+ *

The queue ID.

*/ - inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } - inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } - inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } - inline QueueFleetAssociationSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline QueueFleetAssociationSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline QueueFleetAssociationSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline QueueFleetAssociationSummary& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline QueueFleetAssociationSummary& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline QueueFleetAssociationSummary& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} ///@{ @@ -79,20 +67,6 @@ namespace Model inline QueueFleetAssociationSummary& WithFleetId(const char* value) { SetFleetId(value); return *this;} ///@} - ///@{ - /** - *

The queue ID.

- */ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline QueueFleetAssociationSummary& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline QueueFleetAssociationSummary& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline QueueFleetAssociationSummary& WithQueueId(const char* value) { SetQueueId(value); return *this;} - ///@} - ///@{ /** *

The status of task scheduling in the queue-fleet association.

  • @@ -111,6 +85,32 @@ namespace Model inline QueueFleetAssociationSummary& WithStatus(QueueFleetAssociationStatus&& value) { SetStatus(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The date and time the resource was created.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline QueueFleetAssociationSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + 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; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline QueueFleetAssociationSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline QueueFleetAssociationSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline QueueFleetAssociationSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + ///@{ /** *

    The date and time the resource was updated.

    @@ -138,21 +138,21 @@ namespace Model ///@} private: - Aws::Utils::DateTime m_createdAt; - bool m_createdAtHasBeenSet = false; - - Aws::String m_createdBy; - bool m_createdByHasBeenSet = false; + Aws::String m_queueId; + bool m_queueIdHasBeenSet = 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_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; 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 index 47515868c3c..274dda545f3 100644 --- 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 @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -55,28 +55,16 @@ namespace Model ///@{ /** - *

    The identity store ID.

    - */ - inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } - inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } - inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } - inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } - inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } - inline QueueMember& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} - inline QueueMember& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} - inline QueueMember& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} - ///@} - - ///@{ - /** - *

    The queue member's membership level.

    + *

    The queue ID.

    */ - inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } - inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } - inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } - inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } - inline QueueMember& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} - inline QueueMember& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(std::move(value)); return *this;} + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline QueueMember& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline QueueMember& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline QueueMember& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} ///@{ @@ -107,27 +95,36 @@ namespace Model ///@{ /** - *

    The queue ID.

    + *

    The identity store ID.

    */ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline QueueMember& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline QueueMember& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline QueueMember& WithQueueId(const char* value) { SetQueueId(value); return *this;} + inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } + inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } + inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } + inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } + inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } + inline QueueMember& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} + inline QueueMember& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} + inline QueueMember& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} + ///@} + + ///@{ + /** + *

    The queue member's membership level.

    + */ + inline const MembershipLevel& GetMembershipLevel() const{ return m_membershipLevel; } + inline bool MembershipLevelHasBeenSet() const { return m_membershipLevelHasBeenSet; } + inline void SetMembershipLevel(const MembershipLevel& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = value; } + inline void SetMembershipLevel(MembershipLevel&& value) { m_membershipLevelHasBeenSet = true; m_membershipLevel = std::move(value); } + inline QueueMember& WithMembershipLevel(const MembershipLevel& value) { SetMembershipLevel(value); return *this;} + inline QueueMember& WithMembershipLevel(MembershipLevel&& value) { SetMembershipLevel(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_queueId; + bool m_queueIdHasBeenSet = false; Aws::String m_principalId; bool m_principalIdHasBeenSet = false; @@ -135,8 +132,11 @@ namespace Model PrincipalType m_principalType; bool m_principalTypeHasBeenSet = false; - Aws::String m_queueId; - bool m_queueIdHasBeenSet = false; + Aws::String m_identityStoreId; + bool m_identityStoreIdHasBeenSet = false; + + MembershipLevel m_membershipLevel; + bool m_membershipLevelHasBeenSet = false; }; } // namespace Model 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 index 4523aa52628..6793c7fc66c 100644 --- 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 @@ -5,11 +5,11 @@ #pragma once #include -#include -#include #include -#include #include +#include +#include +#include #include namespace Aws @@ -43,40 +43,59 @@ namespace Model ///@{ /** - *

    The reason the queue is blocked, if applicable.

    + *

    The farm ID.

    */ - inline const QueueBlockedReason& GetBlockedReason() const{ return m_blockedReason; } - inline bool BlockedReasonHasBeenSet() const { return m_blockedReasonHasBeenSet; } - inline void SetBlockedReason(const QueueBlockedReason& value) { m_blockedReasonHasBeenSet = true; m_blockedReason = value; } - inline void SetBlockedReason(QueueBlockedReason&& value) { m_blockedReasonHasBeenSet = true; m_blockedReason = std::move(value); } - inline QueueSummary& WithBlockedReason(const QueueBlockedReason& value) { SetBlockedReason(value); return *this;} - inline QueueSummary& WithBlockedReason(QueueBlockedReason&& value) { SetBlockedReason(std::move(value)); return *this;} + inline const Aws::String& GetFarmId() const{ return m_farmId; } + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + inline QueueSummary& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + inline QueueSummary& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + inline QueueSummary& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} ///@{ /** - *

    The date and time the resource was created.

    + *

    The queue ID.

    */ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } - inline QueueSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline QueueSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline QueueSummary& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline QueueSummary& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline QueueSummary& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} ///@{ /** - *

    The user or system that created this resource.

    + *

    The display name of the queue summary to update.

    This + * field can store any content. Escape or encode this content before displaying it + * on a webpage or any other system that might interpret the content of this + * field.

    */ - inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } - inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } - inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } - inline QueueSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline QueueSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline QueueSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + inline QueueSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + inline QueueSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + inline QueueSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + ///@} + + ///@{ + /** + *

    That status of the queue.

    + */ + inline const QueueStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const QueueStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(QueueStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline QueueSummary& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;} + inline QueueSummary& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;} ///@} ///@{ @@ -94,56 +113,40 @@ namespace Model ///@{ /** - *

    The display name of the queue summary to update.

    - */ - inline const Aws::String& GetDisplayName() const{ return m_displayName; } - inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } - inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } - inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } - inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } - inline QueueSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} - inline QueueSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} - inline QueueSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} - ///@} - - ///@{ - /** - *

    The farm ID.

    + *

    The reason the queue is blocked, if applicable.

    */ - inline const Aws::String& GetFarmId() const{ return m_farmId; } - inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } - inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } - inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } - inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } - inline QueueSummary& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} - inline QueueSummary& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} - inline QueueSummary& WithFarmId(const char* value) { SetFarmId(value); return *this;} + inline const QueueBlockedReason& GetBlockedReason() const{ return m_blockedReason; } + inline bool BlockedReasonHasBeenSet() const { return m_blockedReasonHasBeenSet; } + inline void SetBlockedReason(const QueueBlockedReason& value) { m_blockedReasonHasBeenSet = true; m_blockedReason = value; } + inline void SetBlockedReason(QueueBlockedReason&& value) { m_blockedReasonHasBeenSet = true; m_blockedReason = std::move(value); } + inline QueueSummary& WithBlockedReason(const QueueBlockedReason& value) { SetBlockedReason(value); return *this;} + inline QueueSummary& WithBlockedReason(QueueBlockedReason&& value) { SetBlockedReason(std::move(value)); return *this;} ///@} ///@{ /** - *

    The queue ID.

    + *

    The date and time the resource was created.

    */ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline QueueSummary& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline QueueSummary& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline QueueSummary& WithQueueId(const char* value) { SetQueueId(value); return *this;} + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline QueueSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline QueueSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} ///@} ///@{ /** - *

    That status of the queue.

    + *

    The user or system that created this resource.

    */ - inline const QueueStatus& GetStatus() const{ return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(const QueueStatus& value) { m_statusHasBeenSet = true; m_status = value; } - inline void SetStatus(QueueStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } - inline QueueSummary& WithStatus(const QueueStatus& value) { SetStatus(value); return *this;} - inline QueueSummary& WithStatus(QueueStatus&& value) { SetStatus(std::move(value)); return *this;} + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline QueueSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline QueueSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline QueueSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} ///@} ///@{ @@ -173,30 +176,30 @@ namespace Model ///@} 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; + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + QueueStatus m_status; bool m_statusHasBeenSet = false; + DefaultQueueBudgetAction m_defaultBudgetAction; + bool m_defaultBudgetActionHasBeenSet = false; + + QueueBlockedReason m_blockedReason; + bool m_blockedReasonHasBeenSet = false; + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; 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 index ac54978613e..0e82e1800d9 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -38,25 +38,6 @@ namespace Model 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; } - inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } - inline void SetContext(const Aws::Map& value) { m_contextHasBeenSet = true; m_context = value; } - inline void SetContext(Aws::Map&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } - inline ResourceNotFoundException& WithContext(const Aws::Map& value) { SetContext(value); return *this;} - inline ResourceNotFoundException& WithContext(Aws::Map&& value) { SetContext(std::move(value)); return *this;} - inline ResourceNotFoundException& AddContext(const Aws::String& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } - inline ResourceNotFoundException& AddContext(Aws::String&& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } - inline ResourceNotFoundException& AddContext(const Aws::String& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } - inline ResourceNotFoundException& AddContext(Aws::String&& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), std::move(value)); return *this; } - inline ResourceNotFoundException& AddContext(const char* key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } - inline ResourceNotFoundException& AddContext(Aws::String&& key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } - 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; } @@ -96,10 +77,26 @@ namespace Model inline ResourceNotFoundException& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} inline ResourceNotFoundException& WithResourceType(const char* value) { SetResourceType(value); return *this;} ///@} - private: - Aws::Map m_context; - bool m_contextHasBeenSet = false; + ///@{ + /** + *

    Information about the resources in use when the exception was thrown.

    + */ + inline const Aws::Map& GetContext() const{ return m_context; } + inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } + inline void SetContext(const Aws::Map& value) { m_contextHasBeenSet = true; m_context = value; } + inline void SetContext(Aws::Map&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } + inline ResourceNotFoundException& WithContext(const Aws::Map& value) { SetContext(value); return *this;} + inline ResourceNotFoundException& WithContext(Aws::Map&& value) { SetContext(std::move(value)); return *this;} + inline ResourceNotFoundException& AddContext(const Aws::String& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + inline ResourceNotFoundException& AddContext(Aws::String&& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + inline ResourceNotFoundException& AddContext(const Aws::String& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + inline ResourceNotFoundException& AddContext(Aws::String&& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), std::move(value)); return *this; } + inline ResourceNotFoundException& AddContext(const char* key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + inline ResourceNotFoundException& AddContext(Aws::String&& key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + inline ResourceNotFoundException& AddContext(const char* key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + ///@} + private: Aws::String m_message; bool m_messageHasBeenSet = false; @@ -109,6 +106,9 @@ namespace Model Aws::String m_resourceType; bool m_resourceTypeHasBeenSet = false; + + Aws::Map m_context; + bool m_contextHasBeenSet = false; }; } // namespace Model 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 index b8ddaef6dbc..819fe7a36b8 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -40,16 +40,14 @@ namespace Model ///@{ /** - *

    The budget action description.

    + *

    The action taken on the budget once scheduling stops.

    */ - inline const Aws::String& GetDescription() const{ return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } - inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } - inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } - inline ResponseBudgetAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - inline ResponseBudgetAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - inline ResponseBudgetAction& WithDescription(const char* value) { SetDescription(value); return *this;} + inline const BudgetActionType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const BudgetActionType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(BudgetActionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline ResponseBudgetAction& WithType(const BudgetActionType& value) { SetType(value); return *this;} + inline ResponseBudgetAction& WithType(BudgetActionType&& value) { SetType(std::move(value)); return *this;} ///@} ///@{ @@ -64,25 +62,29 @@ namespace Model ///@{ /** - *

    The action taken on the budget once scheduling stops.

    + *

    The budget action description.

    This field can store any + * content. Escape or encode this content before displaying it on a webpage or any + * other system that might interpret the content of this field.

    */ - inline const BudgetActionType& GetType() const{ return m_type; } - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - inline void SetType(const BudgetActionType& value) { m_typeHasBeenSet = true; m_type = value; } - inline void SetType(BudgetActionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } - inline ResponseBudgetAction& WithType(const BudgetActionType& value) { SetType(value); return *this;} - inline ResponseBudgetAction& WithType(BudgetActionType&& value) { SetType(std::move(value)); return *this;} + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline ResponseBudgetAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline ResponseBudgetAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline ResponseBudgetAction& WithDescription(const char* value) { SetDescription(value); return *this;} ///@} private: - Aws::String m_description; - bool m_descriptionHasBeenSet = false; + BudgetActionType m_type; + bool m_typeHasBeenSet = false; double m_thresholdPercentage; bool m_thresholdPercentageHasBeenSet = false; - BudgetActionType m_type; - bool m_typeHasBeenSet = false; + Aws::String m_description; + bool m_descriptionHasBeenSet = false; }; } // namespace Model 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 index c08f9f18b9e..65a16f677c0 100644 --- 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 @@ -54,18 +54,6 @@ namespace Model inline SearchFilterExpression& WithDateTimeFilter(DateTimeFilterExpression&& value) { SetDateTimeFilter(std::move(value)); return *this;} ///@} - ///@{ - /** - *

    Filters by group.

    - */ - AWS_DEADLINE_API const SearchGroupedFilterExpressions& GetGroupFilter() const; - AWS_DEADLINE_API bool GroupFilterHasBeenSet() const; - AWS_DEADLINE_API void SetGroupFilter(const SearchGroupedFilterExpressions& value); - AWS_DEADLINE_API void SetGroupFilter(SearchGroupedFilterExpressions&& value); - AWS_DEADLINE_API SearchFilterExpression& WithGroupFilter(const SearchGroupedFilterExpressions& value); - AWS_DEADLINE_API SearchFilterExpression& WithGroupFilter(SearchGroupedFilterExpressions&& value); - ///@} - ///@{ /** *

    Filters by parameter.

    @@ -101,14 +89,23 @@ namespace Model inline SearchFilterExpression& WithStringFilter(const StringFilterExpression& value) { SetStringFilter(value); return *this;} inline SearchFilterExpression& WithStringFilter(StringFilterExpression&& value) { SetStringFilter(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    Filters by group.

    + */ + AWS_DEADLINE_API const SearchGroupedFilterExpressions& GetGroupFilter() const; + AWS_DEADLINE_API bool GroupFilterHasBeenSet() const; + AWS_DEADLINE_API void SetGroupFilter(const SearchGroupedFilterExpressions& value); + AWS_DEADLINE_API void SetGroupFilter(SearchGroupedFilterExpressions&& value); + AWS_DEADLINE_API SearchFilterExpression& WithGroupFilter(const SearchGroupedFilterExpressions& value); + AWS_DEADLINE_API SearchFilterExpression& WithGroupFilter(SearchGroupedFilterExpressions&& value); + ///@} private: DateTimeFilterExpression m_dateTimeFilter; bool m_dateTimeFilterHasBeenSet = false; - std::shared_ptr m_groupFilter; - bool m_groupFilterHasBeenSet = false; - ParameterFilterExpression m_parameterFilter; bool m_parameterFilterHasBeenSet = false; @@ -117,6 +114,9 @@ namespace Model StringFilterExpression m_stringFilter; bool m_stringFilterHasBeenSet = false; + + std::shared_ptr m_groupFilter; + bool m_groupFilterHasBeenSet = false; }; } // namespace Model 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 index 79c9fd7382d..e244bd81482 100644 --- 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 @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include #include @@ -49,6 +49,21 @@ namespace Model inline SearchJobsRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} + ///@{ + /** + *

    The queue ID to use in the job search.

    + */ + inline const Aws::Vector& GetQueueIds() const{ return m_queueIds; } + inline bool QueueIdsHasBeenSet() const { return m_queueIdsHasBeenSet; } + inline void SetQueueIds(const Aws::Vector& value) { m_queueIdsHasBeenSet = true; m_queueIds = value; } + inline void SetQueueIds(Aws::Vector&& value) { m_queueIdsHasBeenSet = true; m_queueIds = std::move(value); } + inline SearchJobsRequest& WithQueueIds(const Aws::Vector& value) { SetQueueIds(value); return *this;} + inline SearchJobsRequest& WithQueueIds(Aws::Vector&& value) { SetQueueIds(std::move(value)); return *this;} + inline SearchJobsRequest& AddQueueIds(const Aws::String& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } + inline SearchJobsRequest& AddQueueIds(Aws::String&& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(std::move(value)); return *this; } + inline SearchJobsRequest& AddQueueIds(const char* value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } + ///@} + ///@{ /** *

    The filter expression, AND or OR, to use when @@ -63,6 +78,20 @@ namespace Model inline SearchJobsRequest& WithFilterExpressions(SearchGroupedFilterExpressions&& value) { SetFilterExpressions(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The search terms for a resource.

    + */ + inline const Aws::Vector& GetSortExpressions() const{ return m_sortExpressions; } + inline bool SortExpressionsHasBeenSet() const { return m_sortExpressionsHasBeenSet; } + inline void SetSortExpressions(const Aws::Vector& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = value; } + inline void SetSortExpressions(Aws::Vector&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = std::move(value); } + inline SearchJobsRequest& WithSortExpressions(const Aws::Vector& value) { SetSortExpressions(value); return *this;} + inline SearchJobsRequest& WithSortExpressions(Aws::Vector&& value) { SetSortExpressions(std::move(value)); return *this;} + inline SearchJobsRequest& AddSortExpressions(const SearchSortExpression& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(value); return *this; } + inline SearchJobsRequest& AddSortExpressions(SearchSortExpression&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

    Defines how far into the scrollable list to start the return of results.

    @@ -82,54 +111,25 @@ namespace Model inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; } 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; } - inline bool QueueIdsHasBeenSet() const { return m_queueIdsHasBeenSet; } - inline void SetQueueIds(const Aws::Vector& value) { m_queueIdsHasBeenSet = true; m_queueIds = value; } - inline void SetQueueIds(Aws::Vector&& value) { m_queueIdsHasBeenSet = true; m_queueIds = std::move(value); } - inline SearchJobsRequest& WithQueueIds(const Aws::Vector& value) { SetQueueIds(value); return *this;} - inline SearchJobsRequest& WithQueueIds(Aws::Vector&& value) { SetQueueIds(std::move(value)); return *this;} - inline SearchJobsRequest& AddQueueIds(const Aws::String& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } - inline SearchJobsRequest& AddQueueIds(Aws::String&& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(std::move(value)); return *this; } - 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; } - inline bool SortExpressionsHasBeenSet() const { return m_sortExpressionsHasBeenSet; } - inline void SetSortExpressions(const Aws::Vector& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = value; } - inline void SetSortExpressions(Aws::Vector&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = std::move(value); } - inline SearchJobsRequest& WithSortExpressions(const Aws::Vector& value) { SetSortExpressions(value); return *this;} - inline SearchJobsRequest& WithSortExpressions(Aws::Vector&& value) { SetSortExpressions(std::move(value)); return *this;} - inline SearchJobsRequest& AddSortExpressions(const SearchSortExpression& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(value); return *this; } - 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; + Aws::Vector m_queueIds; + bool m_queueIdsHasBeenSet = false; + SearchGroupedFilterExpressions m_filterExpressions; bool m_filterExpressionsHasBeenSet = false; + Aws::Vector m_sortExpressions; + bool m_sortExpressionsHasBeenSet = 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 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 index 1e6ddb8016c..d10cd813f8c 100644 --- 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 @@ -5,9 +5,9 @@ #pragma once #include +#include #include #include -#include #include namespace Aws @@ -39,6 +39,18 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

    Options for sorting a particular user's jobs first.

    + */ + inline const UserJobsFirst& GetUserJobsFirst() const{ return m_userJobsFirst; } + inline bool UserJobsFirstHasBeenSet() const { return m_userJobsFirstHasBeenSet; } + inline void SetUserJobsFirst(const UserJobsFirst& value) { m_userJobsFirstHasBeenSet = true; m_userJobsFirst = value; } + inline void SetUserJobsFirst(UserJobsFirst&& value) { m_userJobsFirstHasBeenSet = true; m_userJobsFirst = std::move(value); } + inline SearchSortExpression& WithUserJobsFirst(const UserJobsFirst& value) { SetUserJobsFirst(value); return *this;} + inline SearchSortExpression& WithUserJobsFirst(UserJobsFirst&& value) { SetUserJobsFirst(std::move(value)); return *this;} + ///@} + ///@{ /** *

    Options for sorting by a field.

    @@ -62,28 +74,16 @@ namespace Model inline SearchSortExpression& WithParameterSort(const ParameterSortExpression& value) { SetParameterSort(value); return *this;} 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; } - inline bool UserJobsFirstHasBeenSet() const { return m_userJobsFirstHasBeenSet; } - inline void SetUserJobsFirst(const UserJobsFirst& value) { m_userJobsFirstHasBeenSet = true; m_userJobsFirst = value; } - inline void SetUserJobsFirst(UserJobsFirst&& value) { m_userJobsFirstHasBeenSet = true; m_userJobsFirst = std::move(value); } - inline SearchSortExpression& WithUserJobsFirst(const UserJobsFirst& value) { SetUserJobsFirst(value); return *this;} - inline SearchSortExpression& WithUserJobsFirst(UserJobsFirst&& value) { SetUserJobsFirst(std::move(value)); return *this;} - ///@} private: + UserJobsFirst m_userJobsFirst; + bool m_userJobsFirstHasBeenSet = false; + FieldSortExpression m_fieldSort; bool m_fieldSortHasBeenSet = false; ParameterSortExpression m_parameterSort; bool m_parameterSortHasBeenSet = false; - - UserJobsFirst m_userJobsFirst; - bool m_userJobsFirstHasBeenSet = false; }; } // namespace Model 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 index 2c6075a9bf5..31794afa790 100644 --- 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 @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include #include @@ -51,26 +51,17 @@ namespace Model ///@{ /** - *

    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; } - inline bool FilterExpressionsHasBeenSet() const { return m_filterExpressionsHasBeenSet; } - inline void SetFilterExpressions(const SearchGroupedFilterExpressions& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = value; } - inline void SetFilterExpressions(SearchGroupedFilterExpressions&& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = std::move(value); } - inline SearchStepsRequest& WithFilterExpressions(const SearchGroupedFilterExpressions& value) { SetFilterExpressions(value); return *this;} - inline SearchStepsRequest& WithFilterExpressions(SearchGroupedFilterExpressions&& value) { SetFilterExpressions(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

    Defines how far into the scrollable list to start the return of results.

    + *

    The queue IDs in the step search.

    */ - inline int GetItemOffset() const{ return m_itemOffset; } - inline bool ItemOffsetHasBeenSet() const { return m_itemOffsetHasBeenSet; } - inline void SetItemOffset(int value) { m_itemOffsetHasBeenSet = true; m_itemOffset = value; } - inline SearchStepsRequest& WithItemOffset(int value) { SetItemOffset(value); return *this;} + inline const Aws::Vector& GetQueueIds() const{ return m_queueIds; } + inline bool QueueIdsHasBeenSet() const { return m_queueIdsHasBeenSet; } + inline void SetQueueIds(const Aws::Vector& value) { m_queueIdsHasBeenSet = true; m_queueIds = value; } + inline void SetQueueIds(Aws::Vector&& value) { m_queueIdsHasBeenSet = true; m_queueIds = std::move(value); } + inline SearchStepsRequest& WithQueueIds(const Aws::Vector& value) { SetQueueIds(value); return *this;} + inline SearchStepsRequest& WithQueueIds(Aws::Vector&& value) { SetQueueIds(std::move(value)); return *this;} + inline SearchStepsRequest& AddQueueIds(const Aws::String& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } + inline SearchStepsRequest& AddQueueIds(Aws::String&& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(std::move(value)); return *this; } + inline SearchStepsRequest& AddQueueIds(const char* value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } ///@} ///@{ @@ -89,27 +80,16 @@ namespace Model ///@{ /** - *

    Specifies the number of items per page for the resource.

    - */ - inline int GetPageSize() const{ return m_pageSize; } - inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; } - inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; } - inline SearchStepsRequest& WithPageSize(int value) { SetPageSize(value); return *this;} - ///@} - - ///@{ - /** - *

    The queue IDs in the step search.

    + *

    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 Aws::Vector& GetQueueIds() const{ return m_queueIds; } - inline bool QueueIdsHasBeenSet() const { return m_queueIdsHasBeenSet; } - inline void SetQueueIds(const Aws::Vector& value) { m_queueIdsHasBeenSet = true; m_queueIds = value; } - inline void SetQueueIds(Aws::Vector&& value) { m_queueIdsHasBeenSet = true; m_queueIds = std::move(value); } - inline SearchStepsRequest& WithQueueIds(const Aws::Vector& value) { SetQueueIds(value); return *this;} - inline SearchStepsRequest& WithQueueIds(Aws::Vector&& value) { SetQueueIds(std::move(value)); return *this;} - inline SearchStepsRequest& AddQueueIds(const Aws::String& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } - inline SearchStepsRequest& AddQueueIds(Aws::String&& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(std::move(value)); return *this; } - inline SearchStepsRequest& AddQueueIds(const char* value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } + inline const SearchGroupedFilterExpressions& GetFilterExpressions() const{ return m_filterExpressions; } + inline bool FilterExpressionsHasBeenSet() const { return m_filterExpressionsHasBeenSet; } + inline void SetFilterExpressions(const SearchGroupedFilterExpressions& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = value; } + inline void SetFilterExpressions(SearchGroupedFilterExpressions&& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = std::move(value); } + inline SearchStepsRequest& WithFilterExpressions(const SearchGroupedFilterExpressions& value) { SetFilterExpressions(value); return *this;} + inline SearchStepsRequest& WithFilterExpressions(SearchGroupedFilterExpressions&& value) { SetFilterExpressions(std::move(value)); return *this;} ///@} ///@{ @@ -125,28 +105,48 @@ namespace Model inline SearchStepsRequest& AddSortExpressions(const SearchSortExpression& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(value); return *this; } inline SearchStepsRequest& AddSortExpressions(SearchSortExpression&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(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; } + inline bool ItemOffsetHasBeenSet() const { return m_itemOffsetHasBeenSet; } + inline void SetItemOffset(int value) { m_itemOffsetHasBeenSet = true; m_itemOffset = value; } + inline SearchStepsRequest& WithItemOffset(int value) { SetItemOffset(value); return *this;} + ///@} + + ///@{ + /** + *

    Specifies the number of items per page for the resource.

    + */ + inline int GetPageSize() const{ return m_pageSize; } + inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; } + inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; } + inline SearchStepsRequest& WithPageSize(int value) { SetPageSize(value); return *this;} + ///@} private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; + Aws::Vector m_queueIds; + bool m_queueIdsHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + SearchGroupedFilterExpressions m_filterExpressions; bool m_filterExpressionsHasBeenSet = false; + Aws::Vector m_sortExpressions; + bool m_sortExpressionsHasBeenSet = 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 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 index fc83035f65f..6bc47c67e82 100644 --- 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 @@ -34,16 +34,6 @@ namespace Model 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; } - inline void SetNextItemOffset(int value) { m_nextItemOffset = value; } - inline SearchStepsResult& WithNextItemOffset(int value) { SetNextItemOffset(value); return *this;} - ///@} - ///@{ /** *

    The steps in the search.

    @@ -57,6 +47,16 @@ namespace Model inline SearchStepsResult& AddSteps(StepSearchSummary&& value) { m_steps.push_back(std::move(value)); return *this; } ///@} + ///@{ + /** + *

    The next incremental starting point after the defined + * itemOffset.

    + */ + inline int GetNextItemOffset() const{ return m_nextItemOffset; } + inline void SetNextItemOffset(int value) { m_nextItemOffset = value; } + inline SearchStepsResult& WithNextItemOffset(int value) { SetNextItemOffset(value); return *this;} + ///@} + ///@{ /** *

    The total number of results in the search.

    @@ -78,10 +78,10 @@ namespace Model ///@} private: - int m_nextItemOffset; - Aws::Vector m_steps; + int m_nextItemOffset; + int m_totalResults; Aws::String m_requestId; 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 index 26a25b53bc2..0f2a0112b89 100644 --- 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 @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include #include @@ -51,26 +51,17 @@ namespace Model ///@{ /** - *

    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; } - inline bool FilterExpressionsHasBeenSet() const { return m_filterExpressionsHasBeenSet; } - inline void SetFilterExpressions(const SearchGroupedFilterExpressions& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = value; } - inline void SetFilterExpressions(SearchGroupedFilterExpressions&& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = std::move(value); } - inline SearchTasksRequest& WithFilterExpressions(const SearchGroupedFilterExpressions& value) { SetFilterExpressions(value); return *this;} - inline SearchTasksRequest& WithFilterExpressions(SearchGroupedFilterExpressions&& value) { SetFilterExpressions(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

    Defines how far into the scrollable list to start the return of results.

    + *

    The queue IDs to include in the search.

    */ - inline int GetItemOffset() const{ return m_itemOffset; } - inline bool ItemOffsetHasBeenSet() const { return m_itemOffsetHasBeenSet; } - inline void SetItemOffset(int value) { m_itemOffsetHasBeenSet = true; m_itemOffset = value; } - inline SearchTasksRequest& WithItemOffset(int value) { SetItemOffset(value); return *this;} + inline const Aws::Vector& GetQueueIds() const{ return m_queueIds; } + inline bool QueueIdsHasBeenSet() const { return m_queueIdsHasBeenSet; } + inline void SetQueueIds(const Aws::Vector& value) { m_queueIdsHasBeenSet = true; m_queueIds = value; } + inline void SetQueueIds(Aws::Vector&& value) { m_queueIdsHasBeenSet = true; m_queueIds = std::move(value); } + inline SearchTasksRequest& WithQueueIds(const Aws::Vector& value) { SetQueueIds(value); return *this;} + inline SearchTasksRequest& WithQueueIds(Aws::Vector&& value) { SetQueueIds(std::move(value)); return *this;} + inline SearchTasksRequest& AddQueueIds(const Aws::String& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } + inline SearchTasksRequest& AddQueueIds(Aws::String&& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(std::move(value)); return *this; } + inline SearchTasksRequest& AddQueueIds(const char* value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } ///@} ///@{ @@ -89,27 +80,16 @@ namespace Model ///@{ /** - *

    Specifies the number of items per page for the resource.

    - */ - inline int GetPageSize() const{ return m_pageSize; } - inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; } - inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; } - inline SearchTasksRequest& WithPageSize(int value) { SetPageSize(value); return *this;} - ///@} - - ///@{ - /** - *

    The queue IDs to include in the search.

    + *

    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 Aws::Vector& GetQueueIds() const{ return m_queueIds; } - inline bool QueueIdsHasBeenSet() const { return m_queueIdsHasBeenSet; } - inline void SetQueueIds(const Aws::Vector& value) { m_queueIdsHasBeenSet = true; m_queueIds = value; } - inline void SetQueueIds(Aws::Vector&& value) { m_queueIdsHasBeenSet = true; m_queueIds = std::move(value); } - inline SearchTasksRequest& WithQueueIds(const Aws::Vector& value) { SetQueueIds(value); return *this;} - inline SearchTasksRequest& WithQueueIds(Aws::Vector&& value) { SetQueueIds(std::move(value)); return *this;} - inline SearchTasksRequest& AddQueueIds(const Aws::String& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } - inline SearchTasksRequest& AddQueueIds(Aws::String&& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(std::move(value)); return *this; } - inline SearchTasksRequest& AddQueueIds(const char* value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; } + inline const SearchGroupedFilterExpressions& GetFilterExpressions() const{ return m_filterExpressions; } + inline bool FilterExpressionsHasBeenSet() const { return m_filterExpressionsHasBeenSet; } + inline void SetFilterExpressions(const SearchGroupedFilterExpressions& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = value; } + inline void SetFilterExpressions(SearchGroupedFilterExpressions&& value) { m_filterExpressionsHasBeenSet = true; m_filterExpressions = std::move(value); } + inline SearchTasksRequest& WithFilterExpressions(const SearchGroupedFilterExpressions& value) { SetFilterExpressions(value); return *this;} + inline SearchTasksRequest& WithFilterExpressions(SearchGroupedFilterExpressions&& value) { SetFilterExpressions(std::move(value)); return *this;} ///@} ///@{ @@ -125,28 +105,48 @@ namespace Model inline SearchTasksRequest& AddSortExpressions(const SearchSortExpression& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(value); return *this; } inline SearchTasksRequest& AddSortExpressions(SearchSortExpression&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(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; } + inline bool ItemOffsetHasBeenSet() const { return m_itemOffsetHasBeenSet; } + inline void SetItemOffset(int value) { m_itemOffsetHasBeenSet = true; m_itemOffset = value; } + inline SearchTasksRequest& WithItemOffset(int value) { SetItemOffset(value); return *this;} + ///@} + + ///@{ + /** + *

    Specifies the number of items per page for the resource.

    + */ + inline int GetPageSize() const{ return m_pageSize; } + inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; } + inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; } + inline SearchTasksRequest& WithPageSize(int value) { SetPageSize(value); return *this;} + ///@} private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; + Aws::Vector m_queueIds; + bool m_queueIdsHasBeenSet = false; + + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; + SearchGroupedFilterExpressions m_filterExpressions; bool m_filterExpressionsHasBeenSet = false; + Aws::Vector m_sortExpressions; + bool m_sortExpressionsHasBeenSet = 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 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 index 738e541649f..aceaf6515ca 100644 --- 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 @@ -34,16 +34,6 @@ namespace Model 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; } - inline void SetNextItemOffset(int value) { m_nextItemOffset = value; } - inline SearchTasksResult& WithNextItemOffset(int value) { SetNextItemOffset(value); return *this;} - ///@} - ///@{ /** *

    Tasks in the search.

    @@ -57,6 +47,16 @@ namespace Model inline SearchTasksResult& AddTasks(TaskSearchSummary&& value) { m_tasks.push_back(std::move(value)); return *this; } ///@} + ///@{ + /** + *

    The next incremental starting point after the defined + * itemOffset.

    + */ + inline int GetNextItemOffset() const{ return m_nextItemOffset; } + inline void SetNextItemOffset(int value) { m_nextItemOffset = value; } + inline SearchTasksResult& WithNextItemOffset(int value) { SetNextItemOffset(value); return *this;} + ///@} + ///@{ /** *

    The total number of results in the search.

    @@ -78,10 +78,10 @@ namespace Model ///@} private: - int m_nextItemOffset; - Aws::Vector m_tasks; + int m_nextItemOffset; + int m_totalResults; Aws::String m_requestId; 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 index d7dc8ea65b0..297fbf86f6d 100644 --- 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 @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include #include @@ -49,6 +49,21 @@ namespace Model inline SearchWorkersRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} + ///@{ + /** + *

    The fleet ID of the workers to search for.

    + */ + inline const Aws::Vector& GetFleetIds() const{ return m_fleetIds; } + inline bool FleetIdsHasBeenSet() const { return m_fleetIdsHasBeenSet; } + inline void SetFleetIds(const Aws::Vector& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = value; } + inline void SetFleetIds(Aws::Vector&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = std::move(value); } + inline SearchWorkersRequest& WithFleetIds(const Aws::Vector& value) { SetFleetIds(value); return *this;} + inline SearchWorkersRequest& WithFleetIds(Aws::Vector&& value) { SetFleetIds(std::move(value)); return *this;} + inline SearchWorkersRequest& AddFleetIds(const Aws::String& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; } + inline SearchWorkersRequest& AddFleetIds(Aws::String&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(std::move(value)); return *this; } + inline SearchWorkersRequest& AddFleetIds(const char* value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; } + ///@} + ///@{ /** *

    The filter expression, AND or OR, to use when @@ -65,17 +80,16 @@ namespace Model ///@{ /** - *

    The fleet ID of the workers to search for.

    + *

    The search terms for a resource.

    */ - inline const Aws::Vector& GetFleetIds() const{ return m_fleetIds; } - inline bool FleetIdsHasBeenSet() const { return m_fleetIdsHasBeenSet; } - inline void SetFleetIds(const Aws::Vector& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = value; } - inline void SetFleetIds(Aws::Vector&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = std::move(value); } - inline SearchWorkersRequest& WithFleetIds(const Aws::Vector& value) { SetFleetIds(value); return *this;} - inline SearchWorkersRequest& WithFleetIds(Aws::Vector&& value) { SetFleetIds(std::move(value)); return *this;} - inline SearchWorkersRequest& AddFleetIds(const Aws::String& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; } - inline SearchWorkersRequest& AddFleetIds(Aws::String&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(std::move(value)); return *this; } - inline SearchWorkersRequest& AddFleetIds(const char* value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; } + inline const Aws::Vector& GetSortExpressions() const{ return m_sortExpressions; } + inline bool SortExpressionsHasBeenSet() const { return m_sortExpressionsHasBeenSet; } + inline void SetSortExpressions(const Aws::Vector& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = value; } + inline void SetSortExpressions(Aws::Vector&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = std::move(value); } + inline SearchWorkersRequest& WithSortExpressions(const Aws::Vector& value) { SetSortExpressions(value); return *this;} + inline SearchWorkersRequest& WithSortExpressions(Aws::Vector&& value) { SetSortExpressions(std::move(value)); return *this;} + inline SearchWorkersRequest& AddSortExpressions(const SearchSortExpression& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(value); return *this; } + inline SearchWorkersRequest& AddSortExpressions(SearchSortExpression&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(std::move(value)); return *this; } ///@} ///@{ @@ -97,39 +111,25 @@ namespace Model inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; } inline SearchWorkersRequest& WithPageSize(int value) { SetPageSize(value); return *this;} ///@} - - ///@{ - /** - *

    The search terms for a resource.

    - */ - inline const Aws::Vector& GetSortExpressions() const{ return m_sortExpressions; } - inline bool SortExpressionsHasBeenSet() const { return m_sortExpressionsHasBeenSet; } - inline void SetSortExpressions(const Aws::Vector& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = value; } - inline void SetSortExpressions(Aws::Vector&& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions = std::move(value); } - inline SearchWorkersRequest& WithSortExpressions(const Aws::Vector& value) { SetSortExpressions(value); return *this;} - inline SearchWorkersRequest& WithSortExpressions(Aws::Vector&& value) { SetSortExpressions(std::move(value)); return *this;} - inline SearchWorkersRequest& AddSortExpressions(const SearchSortExpression& value) { m_sortExpressionsHasBeenSet = true; m_sortExpressions.push_back(value); return *this; } - 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; + Aws::Vector m_fleetIds; + bool m_fleetIdsHasBeenSet = false; + SearchGroupedFilterExpressions m_filterExpressions; bool m_filterExpressionsHasBeenSet = false; - Aws::Vector m_fleetIds; - bool m_fleetIdsHasBeenSet = false; + Aws::Vector m_sortExpressions; + bool m_sortExpressionsHasBeenSet = 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 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 index 64b97d87106..6b541a90187 100644 --- 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 @@ -34,6 +34,19 @@ namespace Model AWS_DEADLINE_API SearchWorkersResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

    The workers for the search.

    + */ + inline const Aws::Vector& GetWorkers() const{ return m_workers; } + inline void SetWorkers(const Aws::Vector& value) { m_workers = value; } + inline void SetWorkers(Aws::Vector&& value) { m_workers = std::move(value); } + inline SearchWorkersResult& WithWorkers(const Aws::Vector& value) { SetWorkers(value); return *this;} + inline SearchWorkersResult& WithWorkers(Aws::Vector&& value) { SetWorkers(std::move(value)); return *this;} + inline SearchWorkersResult& AddWorkers(const WorkerSearchSummary& value) { m_workers.push_back(value); return *this; } + inline SearchWorkersResult& AddWorkers(WorkerSearchSummary&& value) { m_workers.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

    The next incremental starting point after the defined @@ -53,19 +66,6 @@ namespace Model inline SearchWorkersResult& WithTotalResults(int value) { SetTotalResults(value); return *this;} ///@} - ///@{ - /** - *

    The workers for the search.

    - */ - inline const Aws::Vector& GetWorkers() const{ return m_workers; } - inline void SetWorkers(const Aws::Vector& value) { m_workers = value; } - inline void SetWorkers(Aws::Vector&& value) { m_workers = std::move(value); } - inline SearchWorkersResult& WithWorkers(const Aws::Vector& value) { SetWorkers(value); return *this;} - inline SearchWorkersResult& WithWorkers(Aws::Vector&& value) { SetWorkers(std::move(value)); return *this;} - inline SearchWorkersResult& AddWorkers(const WorkerSearchSummary& value) { m_workers.push_back(value); return *this; } - inline SearchWorkersResult& AddWorkers(WorkerSearchSummary&& value) { m_workers.push_back(std::move(value)); return *this; } - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -78,12 +78,12 @@ namespace Model ///@} private: + Aws::Vector m_workers; + int m_nextItemOffset; int m_totalResults; - Aws::Vector m_workers; - Aws::String m_requestId; }; 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 index 9b66f92cb55..91a2090cf9f 100644 --- 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 @@ -5,12 +5,12 @@ #pragma once #include -#include -#include +#include #include #include +#include #include -#include +#include #include #include #include @@ -47,17 +47,38 @@ namespace Model ///@{ /** - *

    The allowable Amazon EC2 instance types.

    + *

    The amount of vCPU to require for instances in this fleet.

    */ - inline const Aws::Vector& GetAllowedInstanceTypes() const{ return m_allowedInstanceTypes; } - inline bool AllowedInstanceTypesHasBeenSet() const { return m_allowedInstanceTypesHasBeenSet; } - inline void SetAllowedInstanceTypes(const Aws::Vector& value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes = value; } - inline void SetAllowedInstanceTypes(Aws::Vector&& value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes = std::move(value); } - inline ServiceManagedEc2InstanceCapabilities& WithAllowedInstanceTypes(const Aws::Vector& value) { SetAllowedInstanceTypes(value); return *this;} - inline ServiceManagedEc2InstanceCapabilities& WithAllowedInstanceTypes(Aws::Vector&& value) { SetAllowedInstanceTypes(std::move(value)); return *this;} - inline ServiceManagedEc2InstanceCapabilities& AddAllowedInstanceTypes(const Aws::String& value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes.push_back(value); return *this; } - inline ServiceManagedEc2InstanceCapabilities& AddAllowedInstanceTypes(Aws::String&& value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes.push_back(std::move(value)); return *this; } - inline ServiceManagedEc2InstanceCapabilities& AddAllowedInstanceTypes(const char* value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes.push_back(value); return *this; } + inline const VCpuCountRange& GetVCpuCount() const{ return m_vCpuCount; } + inline bool VCpuCountHasBeenSet() const { return m_vCpuCountHasBeenSet; } + inline void SetVCpuCount(const VCpuCountRange& value) { m_vCpuCountHasBeenSet = true; m_vCpuCount = value; } + inline void SetVCpuCount(VCpuCountRange&& value) { m_vCpuCountHasBeenSet = true; m_vCpuCount = std::move(value); } + inline ServiceManagedEc2InstanceCapabilities& WithVCpuCount(const VCpuCountRange& value) { SetVCpuCount(value); return *this;} + inline ServiceManagedEc2InstanceCapabilities& WithVCpuCount(VCpuCountRange&& value) { SetVCpuCount(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The memory, as MiB, for the Amazon EC2 instance type.

    + */ + inline const MemoryMiBRange& GetMemoryMiB() const{ return m_memoryMiB; } + inline bool MemoryMiBHasBeenSet() const { return m_memoryMiBHasBeenSet; } + inline void SetMemoryMiB(const MemoryMiBRange& value) { m_memoryMiBHasBeenSet = true; m_memoryMiB = value; } + inline void SetMemoryMiB(MemoryMiBRange&& value) { m_memoryMiBHasBeenSet = true; m_memoryMiB = std::move(value); } + inline ServiceManagedEc2InstanceCapabilities& WithMemoryMiB(const MemoryMiBRange& value) { SetMemoryMiB(value); return *this;} + inline ServiceManagedEc2InstanceCapabilities& WithMemoryMiB(MemoryMiBRange&& value) { SetMemoryMiB(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The operating system (OS) family.

    + */ + inline const ServiceManagedFleetOperatingSystemFamily& GetOsFamily() const{ return m_osFamily; } + inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; } + inline void SetOsFamily(const ServiceManagedFleetOperatingSystemFamily& value) { m_osFamilyHasBeenSet = true; m_osFamily = value; } + inline void SetOsFamily(ServiceManagedFleetOperatingSystemFamily&& value) { m_osFamilyHasBeenSet = true; m_osFamily = std::move(value); } + inline ServiceManagedEc2InstanceCapabilities& WithOsFamily(const ServiceManagedFleetOperatingSystemFamily& value) { SetOsFamily(value); return *this;} + inline ServiceManagedEc2InstanceCapabilities& WithOsFamily(ServiceManagedFleetOperatingSystemFamily&& value) { SetOsFamily(std::move(value)); return *this;} ///@} ///@{ @@ -74,30 +95,29 @@ namespace Model ///@{ /** - *

    The custom capability amounts to require for instances in this fleet.

    + *

    The root EBS volume.

    */ - inline const Aws::Vector& GetCustomAmounts() const{ return m_customAmounts; } - inline bool CustomAmountsHasBeenSet() const { return m_customAmountsHasBeenSet; } - inline void SetCustomAmounts(const Aws::Vector& value) { m_customAmountsHasBeenSet = true; m_customAmounts = value; } - inline void SetCustomAmounts(Aws::Vector&& value) { m_customAmountsHasBeenSet = true; m_customAmounts = std::move(value); } - inline ServiceManagedEc2InstanceCapabilities& WithCustomAmounts(const Aws::Vector& value) { SetCustomAmounts(value); return *this;} - inline ServiceManagedEc2InstanceCapabilities& WithCustomAmounts(Aws::Vector&& value) { SetCustomAmounts(std::move(value)); return *this;} - inline ServiceManagedEc2InstanceCapabilities& AddCustomAmounts(const FleetAmountCapability& value) { m_customAmountsHasBeenSet = true; m_customAmounts.push_back(value); return *this; } - inline ServiceManagedEc2InstanceCapabilities& AddCustomAmounts(FleetAmountCapability&& value) { m_customAmountsHasBeenSet = true; m_customAmounts.push_back(std::move(value)); return *this; } + inline const Ec2EbsVolume& GetRootEbsVolume() const{ return m_rootEbsVolume; } + inline bool RootEbsVolumeHasBeenSet() const { return m_rootEbsVolumeHasBeenSet; } + inline void SetRootEbsVolume(const Ec2EbsVolume& value) { m_rootEbsVolumeHasBeenSet = true; m_rootEbsVolume = value; } + inline void SetRootEbsVolume(Ec2EbsVolume&& value) { m_rootEbsVolumeHasBeenSet = true; m_rootEbsVolume = std::move(value); } + inline ServiceManagedEc2InstanceCapabilities& WithRootEbsVolume(const Ec2EbsVolume& value) { SetRootEbsVolume(value); return *this;} + inline ServiceManagedEc2InstanceCapabilities& WithRootEbsVolume(Ec2EbsVolume&& value) { SetRootEbsVolume(std::move(value)); return *this;} ///@} ///@{ /** - *

    The custom capability attributes to require for instances in this fleet.

    + *

    The allowable Amazon EC2 instance types.

    */ - inline const Aws::Vector& GetCustomAttributes() const{ return m_customAttributes; } - inline bool CustomAttributesHasBeenSet() const { return m_customAttributesHasBeenSet; } - inline void SetCustomAttributes(const Aws::Vector& value) { m_customAttributesHasBeenSet = true; m_customAttributes = value; } - inline void SetCustomAttributes(Aws::Vector&& value) { m_customAttributesHasBeenSet = true; m_customAttributes = std::move(value); } - inline ServiceManagedEc2InstanceCapabilities& WithCustomAttributes(const Aws::Vector& value) { SetCustomAttributes(value); return *this;} - inline ServiceManagedEc2InstanceCapabilities& WithCustomAttributes(Aws::Vector&& value) { SetCustomAttributes(std::move(value)); return *this;} - inline ServiceManagedEc2InstanceCapabilities& AddCustomAttributes(const FleetAttributeCapability& value) { m_customAttributesHasBeenSet = true; m_customAttributes.push_back(value); return *this; } - inline ServiceManagedEc2InstanceCapabilities& AddCustomAttributes(FleetAttributeCapability&& value) { m_customAttributesHasBeenSet = true; m_customAttributes.push_back(std::move(value)); return *this; } + inline const Aws::Vector& GetAllowedInstanceTypes() const{ return m_allowedInstanceTypes; } + inline bool AllowedInstanceTypesHasBeenSet() const { return m_allowedInstanceTypesHasBeenSet; } + inline void SetAllowedInstanceTypes(const Aws::Vector& value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes = value; } + inline void SetAllowedInstanceTypes(Aws::Vector&& value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes = std::move(value); } + inline ServiceManagedEc2InstanceCapabilities& WithAllowedInstanceTypes(const Aws::Vector& value) { SetAllowedInstanceTypes(value); return *this;} + inline ServiceManagedEc2InstanceCapabilities& WithAllowedInstanceTypes(Aws::Vector&& value) { SetAllowedInstanceTypes(std::move(value)); return *this;} + inline ServiceManagedEc2InstanceCapabilities& AddAllowedInstanceTypes(const Aws::String& value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes.push_back(value); return *this; } + inline ServiceManagedEc2InstanceCapabilities& AddAllowedInstanceTypes(Aws::String&& value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes.push_back(std::move(value)); return *this; } + inline ServiceManagedEc2InstanceCapabilities& AddAllowedInstanceTypes(const char* value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes.push_back(value); return *this; } ///@} ///@{ @@ -117,79 +137,59 @@ namespace Model ///@{ /** - *

    The memory, as MiB, for the Amazon EC2 instance type.

    + *

    The custom capability amounts to require for instances in this fleet.

    */ - inline const MemoryMiBRange& GetMemoryMiB() const{ return m_memoryMiB; } - inline bool MemoryMiBHasBeenSet() const { return m_memoryMiBHasBeenSet; } - inline void SetMemoryMiB(const MemoryMiBRange& value) { m_memoryMiBHasBeenSet = true; m_memoryMiB = value; } - inline void SetMemoryMiB(MemoryMiBRange&& value) { m_memoryMiBHasBeenSet = true; m_memoryMiB = std::move(value); } - inline ServiceManagedEc2InstanceCapabilities& WithMemoryMiB(const MemoryMiBRange& value) { SetMemoryMiB(value); return *this;} - inline ServiceManagedEc2InstanceCapabilities& WithMemoryMiB(MemoryMiBRange&& value) { SetMemoryMiB(std::move(value)); return *this;} + inline const Aws::Vector& GetCustomAmounts() const{ return m_customAmounts; } + inline bool CustomAmountsHasBeenSet() const { return m_customAmountsHasBeenSet; } + inline void SetCustomAmounts(const Aws::Vector& value) { m_customAmountsHasBeenSet = true; m_customAmounts = value; } + inline void SetCustomAmounts(Aws::Vector&& value) { m_customAmountsHasBeenSet = true; m_customAmounts = std::move(value); } + inline ServiceManagedEc2InstanceCapabilities& WithCustomAmounts(const Aws::Vector& value) { SetCustomAmounts(value); return *this;} + inline ServiceManagedEc2InstanceCapabilities& WithCustomAmounts(Aws::Vector&& value) { SetCustomAmounts(std::move(value)); return *this;} + inline ServiceManagedEc2InstanceCapabilities& AddCustomAmounts(const FleetAmountCapability& value) { m_customAmountsHasBeenSet = true; m_customAmounts.push_back(value); return *this; } + inline ServiceManagedEc2InstanceCapabilities& AddCustomAmounts(FleetAmountCapability&& value) { m_customAmountsHasBeenSet = true; m_customAmounts.push_back(std::move(value)); return *this; } ///@} ///@{ /** - *

    The operating system (OS) family.

    + *

    The custom capability attributes to require for instances in this fleet.

    */ - inline const ServiceManagedFleetOperatingSystemFamily& GetOsFamily() const{ return m_osFamily; } - inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; } - inline void SetOsFamily(const ServiceManagedFleetOperatingSystemFamily& value) { m_osFamilyHasBeenSet = true; m_osFamily = value; } - inline void SetOsFamily(ServiceManagedFleetOperatingSystemFamily&& value) { m_osFamilyHasBeenSet = true; m_osFamily = std::move(value); } - inline ServiceManagedEc2InstanceCapabilities& WithOsFamily(const ServiceManagedFleetOperatingSystemFamily& value) { SetOsFamily(value); return *this;} - inline ServiceManagedEc2InstanceCapabilities& WithOsFamily(ServiceManagedFleetOperatingSystemFamily&& value) { SetOsFamily(std::move(value)); return *this;} + inline const Aws::Vector& GetCustomAttributes() const{ return m_customAttributes; } + inline bool CustomAttributesHasBeenSet() const { return m_customAttributesHasBeenSet; } + inline void SetCustomAttributes(const Aws::Vector& value) { m_customAttributesHasBeenSet = true; m_customAttributes = value; } + inline void SetCustomAttributes(Aws::Vector&& value) { m_customAttributesHasBeenSet = true; m_customAttributes = std::move(value); } + inline ServiceManagedEc2InstanceCapabilities& WithCustomAttributes(const Aws::Vector& value) { SetCustomAttributes(value); return *this;} + inline ServiceManagedEc2InstanceCapabilities& WithCustomAttributes(Aws::Vector&& value) { SetCustomAttributes(std::move(value)); return *this;} + inline ServiceManagedEc2InstanceCapabilities& AddCustomAttributes(const FleetAttributeCapability& value) { m_customAttributesHasBeenSet = true; m_customAttributes.push_back(value); return *this; } + inline ServiceManagedEc2InstanceCapabilities& AddCustomAttributes(FleetAttributeCapability&& value) { m_customAttributesHasBeenSet = true; m_customAttributes.push_back(std::move(value)); return *this; } ///@} + private: - ///@{ - /** - *

    The root EBS volume.

    - */ - inline const Ec2EbsVolume& GetRootEbsVolume() const{ return m_rootEbsVolume; } - inline bool RootEbsVolumeHasBeenSet() const { return m_rootEbsVolumeHasBeenSet; } - inline void SetRootEbsVolume(const Ec2EbsVolume& value) { m_rootEbsVolumeHasBeenSet = true; m_rootEbsVolume = value; } - inline void SetRootEbsVolume(Ec2EbsVolume&& value) { m_rootEbsVolumeHasBeenSet = true; m_rootEbsVolume = std::move(value); } - inline ServiceManagedEc2InstanceCapabilities& WithRootEbsVolume(const Ec2EbsVolume& value) { SetRootEbsVolume(value); return *this;} - inline ServiceManagedEc2InstanceCapabilities& WithRootEbsVolume(Ec2EbsVolume&& value) { SetRootEbsVolume(std::move(value)); return *this;} - ///@} + VCpuCountRange m_vCpuCount; + bool m_vCpuCountHasBeenSet = false; - ///@{ - /** - *

    The amount of vCPU to require for instances in this fleet.

    - */ - inline const VCpuCountRange& GetVCpuCount() const{ return m_vCpuCount; } - inline bool VCpuCountHasBeenSet() const { return m_vCpuCountHasBeenSet; } - inline void SetVCpuCount(const VCpuCountRange& value) { m_vCpuCountHasBeenSet = true; m_vCpuCount = value; } - inline void SetVCpuCount(VCpuCountRange&& value) { m_vCpuCountHasBeenSet = true; m_vCpuCount = std::move(value); } - inline ServiceManagedEc2InstanceCapabilities& WithVCpuCount(const VCpuCountRange& value) { SetVCpuCount(value); return *this;} - inline ServiceManagedEc2InstanceCapabilities& WithVCpuCount(VCpuCountRange&& value) { SetVCpuCount(std::move(value)); return *this;} - ///@} - private: + MemoryMiBRange m_memoryMiB; + bool m_memoryMiBHasBeenSet = false; - Aws::Vector m_allowedInstanceTypes; - bool m_allowedInstanceTypesHasBeenSet = false; + ServiceManagedFleetOperatingSystemFamily m_osFamily; + bool m_osFamilyHasBeenSet = false; CpuArchitectureType m_cpuArchitectureType; bool m_cpuArchitectureTypeHasBeenSet = false; - Aws::Vector m_customAmounts; - bool m_customAmountsHasBeenSet = false; + Ec2EbsVolume m_rootEbsVolume; + bool m_rootEbsVolumeHasBeenSet = false; - Aws::Vector m_customAttributes; - bool m_customAttributesHasBeenSet = false; + Aws::Vector m_allowedInstanceTypes; + bool m_allowedInstanceTypesHasBeenSet = 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; + Aws::Vector m_customAmounts; + bool m_customAmountsHasBeenSet = false; - VCpuCountRange m_vCpuCount; - bool m_vCpuCountHasBeenSet = false; + Aws::Vector m_customAttributes; + bool m_customAttributesHasBeenSet = false; }; } // namespace Model 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 index 7c39bd6aecb..51a7b297c5d 100644 --- 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 @@ -5,9 +5,9 @@ #pragma once #include -#include #include #include +#include #include namespace Aws @@ -41,25 +41,6 @@ namespace Model 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; } - inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } - inline void SetContext(const Aws::Map& value) { m_contextHasBeenSet = true; m_context = value; } - inline void SetContext(Aws::Map&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } - inline ServiceQuotaExceededException& WithContext(const Aws::Map& value) { SetContext(value); return *this;} - inline ServiceQuotaExceededException& WithContext(Aws::Map&& value) { SetContext(std::move(value)); return *this;} - inline ServiceQuotaExceededException& AddContext(const Aws::String& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } - inline ServiceQuotaExceededException& AddContext(Aws::String&& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } - inline ServiceQuotaExceededException& AddContext(const Aws::String& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } - inline ServiceQuotaExceededException& AddContext(Aws::String&& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), std::move(value)); return *this; } - inline ServiceQuotaExceededException& AddContext(const char* key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } - inline ServiceQuotaExceededException& AddContext(Aws::String&& key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } - 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; } @@ -72,20 +53,6 @@ namespace Model 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; } - inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } - inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; } - inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); } - inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); } - inline ServiceQuotaExceededException& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;} - inline ServiceQuotaExceededException& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;} - inline ServiceQuotaExceededException& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;} - ///@} - ///@{ /** *

    A string that describes the reason the quota was exceeded.

    @@ -98,20 +65,6 @@ namespace Model 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; } - inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } - inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } - inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } - inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } - inline ServiceQuotaExceededException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} - inline ServiceQuotaExceededException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} - inline ServiceQuotaExceededException& WithResourceId(const char* value) { SetResourceId(value); return *this;} - ///@} - ///@{ /** *

    The type of the affected resource

    @@ -139,28 +92,75 @@ namespace Model inline ServiceQuotaExceededException& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} inline ServiceQuotaExceededException& WithServiceCode(const char* value) { SetServiceCode(value); return *this;} ///@} - private: - Aws::Map m_context; - bool m_contextHasBeenSet = false; + ///@{ + /** + *

    Identifies the quota that has been exceeded.

    + */ + inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; } + inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } + inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; } + inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); } + inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); } + inline ServiceQuotaExceededException& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;} + inline ServiceQuotaExceededException& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;} + inline ServiceQuotaExceededException& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;} + ///@} + + ///@{ + /** + *

    The identifier of the affected resource.

    + */ + inline const Aws::String& GetResourceId() const{ return m_resourceId; } + inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } + inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } + inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } + inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } + inline ServiceQuotaExceededException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} + inline ServiceQuotaExceededException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} + inline ServiceQuotaExceededException& WithResourceId(const char* value) { SetResourceId(value); return *this;} + ///@} + + ///@{ + /** + *

    Information about the resources in use when the exception was thrown.

    + */ + inline const Aws::Map& GetContext() const{ return m_context; } + inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } + inline void SetContext(const Aws::Map& value) { m_contextHasBeenSet = true; m_context = value; } + inline void SetContext(Aws::Map&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } + inline ServiceQuotaExceededException& WithContext(const Aws::Map& value) { SetContext(value); return *this;} + inline ServiceQuotaExceededException& WithContext(Aws::Map&& value) { SetContext(std::move(value)); return *this;} + inline ServiceQuotaExceededException& AddContext(const Aws::String& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + inline ServiceQuotaExceededException& AddContext(Aws::String&& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + inline ServiceQuotaExceededException& AddContext(const Aws::String& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + inline ServiceQuotaExceededException& AddContext(Aws::String&& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), std::move(value)); return *this; } + inline ServiceQuotaExceededException& AddContext(const char* key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + inline ServiceQuotaExceededException& AddContext(Aws::String&& key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + inline ServiceQuotaExceededException& AddContext(const char* key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + ///@} + private: 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; + + Aws::String m_quotaCode; + bool m_quotaCodeHasBeenSet = false; + + Aws::String m_resourceId; + bool m_resourceIdHasBeenSet = false; + + Aws::Map m_context; + bool m_contextHasBeenSet = false; }; } // namespace Model 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 index 844cc069c3a..1dc98db6fe9 100644 --- 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 @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include namespace Aws @@ -64,18 +64,6 @@ namespace Model 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; } - inline bool SyncInputJobAttachmentsHasBeenSet() const { return m_syncInputJobAttachmentsHasBeenSet; } - inline void SetSyncInputJobAttachments(const SyncInputJobAttachmentsSessionActionDefinition& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = value; } - inline void SetSyncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinition&& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = std::move(value); } - inline SessionActionDefinition& WithSyncInputJobAttachments(const SyncInputJobAttachmentsSessionActionDefinition& value) { SetSyncInputJobAttachments(value); return *this;} - inline SessionActionDefinition& WithSyncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinition&& value) { SetSyncInputJobAttachments(std::move(value)); return *this;} - ///@} - ///@{ /** *

    The task run in the session.

    @@ -87,6 +75,18 @@ namespace Model inline SessionActionDefinition& WithTaskRun(const TaskRunSessionActionDefinition& value) { SetTaskRun(value); return *this;} inline SessionActionDefinition& WithTaskRun(TaskRunSessionActionDefinition&& value) { SetTaskRun(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    The job attachments to sync with a session action.

    + */ + inline const SyncInputJobAttachmentsSessionActionDefinition& GetSyncInputJobAttachments() const{ return m_syncInputJobAttachments; } + inline bool SyncInputJobAttachmentsHasBeenSet() const { return m_syncInputJobAttachmentsHasBeenSet; } + inline void SetSyncInputJobAttachments(const SyncInputJobAttachmentsSessionActionDefinition& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = value; } + inline void SetSyncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinition&& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = std::move(value); } + inline SessionActionDefinition& WithSyncInputJobAttachments(const SyncInputJobAttachmentsSessionActionDefinition& value) { SetSyncInputJobAttachments(value); return *this;} + inline SessionActionDefinition& WithSyncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinition&& value) { SetSyncInputJobAttachments(std::move(value)); return *this;} + ///@} private: EnvironmentEnterSessionActionDefinition m_envEnter; @@ -95,11 +95,11 @@ namespace Model EnvironmentExitSessionActionDefinition m_envExit; bool m_envExitHasBeenSet = false; - SyncInputJobAttachmentsSessionActionDefinition m_syncInputJobAttachments; - bool m_syncInputJobAttachmentsHasBeenSet = false; - TaskRunSessionActionDefinition m_taskRun; bool m_taskRunHasBeenSet = false; + + SyncInputJobAttachmentsSessionActionDefinition m_syncInputJobAttachments; + bool m_syncInputJobAttachmentsHasBeenSet = false; }; } // namespace Model 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 index 2854f5e7758..b7088c8c1b2 100644 --- 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 @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include namespace Aws @@ -64,18 +64,6 @@ namespace Model 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; } - inline bool SyncInputJobAttachmentsHasBeenSet() const { return m_syncInputJobAttachmentsHasBeenSet; } - inline void SetSyncInputJobAttachments(const SyncInputJobAttachmentsSessionActionDefinitionSummary& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = value; } - inline void SetSyncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinitionSummary&& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = std::move(value); } - inline SessionActionDefinitionSummary& WithSyncInputJobAttachments(const SyncInputJobAttachmentsSessionActionDefinitionSummary& value) { SetSyncInputJobAttachments(value); return *this;} - inline SessionActionDefinitionSummary& WithSyncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinitionSummary&& value) { SetSyncInputJobAttachments(std::move(value)); return *this;} - ///@} - ///@{ /** *

    The task run.

    @@ -87,6 +75,18 @@ namespace Model inline SessionActionDefinitionSummary& WithTaskRun(const TaskRunSessionActionDefinitionSummary& value) { SetTaskRun(value); return *this;} inline SessionActionDefinitionSummary& WithTaskRun(TaskRunSessionActionDefinitionSummary&& value) { SetTaskRun(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    The job attachments to sync with the session action definition.

    + */ + inline const SyncInputJobAttachmentsSessionActionDefinitionSummary& GetSyncInputJobAttachments() const{ return m_syncInputJobAttachments; } + inline bool SyncInputJobAttachmentsHasBeenSet() const { return m_syncInputJobAttachmentsHasBeenSet; } + inline void SetSyncInputJobAttachments(const SyncInputJobAttachmentsSessionActionDefinitionSummary& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = value; } + inline void SetSyncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinitionSummary&& value) { m_syncInputJobAttachmentsHasBeenSet = true; m_syncInputJobAttachments = std::move(value); } + inline SessionActionDefinitionSummary& WithSyncInputJobAttachments(const SyncInputJobAttachmentsSessionActionDefinitionSummary& value) { SetSyncInputJobAttachments(value); return *this;} + inline SessionActionDefinitionSummary& WithSyncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinitionSummary&& value) { SetSyncInputJobAttachments(std::move(value)); return *this;} + ///@} private: EnvironmentEnterSessionActionDefinitionSummary m_envEnter; @@ -95,11 +95,11 @@ namespace Model EnvironmentExitSessionActionDefinitionSummary m_envExit; bool m_envExitHasBeenSet = false; - SyncInputJobAttachmentsSessionActionDefinitionSummary m_syncInputJobAttachments; - bool m_syncInputJobAttachmentsHasBeenSet = false; - TaskRunSessionActionDefinitionSummary m_taskRun; bool m_taskRunHasBeenSet = false; + + SyncInputJobAttachmentsSessionActionDefinitionSummary m_syncInputJobAttachments; + bool m_syncInputJobAttachmentsHasBeenSet = false; }; } // namespace Model 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 index 59b9dc4eb95..896c8310301 100644 --- 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 @@ -5,10 +5,10 @@ #pragma once #include -#include -#include #include #include +#include +#include #include namespace Aws @@ -40,40 +40,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

    The session action definition.

    - */ - inline const SessionActionDefinitionSummary& GetDefinition() const{ return m_definition; } - inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; } - inline void SetDefinition(const SessionActionDefinitionSummary& value) { m_definitionHasBeenSet = true; m_definition = value; } - inline void SetDefinition(SessionActionDefinitionSummary&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); } - inline SessionActionSummary& WithDefinition(const SessionActionDefinitionSummary& value) { SetDefinition(value); return *this;} - 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; } - inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } - inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } - inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } - inline SessionActionSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} - 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; } - inline bool ProgressPercentHasBeenSet() const { return m_progressPercentHasBeenSet; } - inline void SetProgressPercent(double value) { m_progressPercentHasBeenSet = true; m_progressPercent = value; } - inline SessionActionSummary& WithProgressPercent(double value) { SetProgressPercent(value); return *this;} - ///@} - ///@{ /** *

    The session action ID.

    @@ -88,6 +54,18 @@ namespace Model inline SessionActionSummary& WithSessionActionId(const char* value) { SetSessionActionId(value); return *this;} ///@} + ///@{ + /** + *

    The status of the session action.

    + */ + inline const SessionActionStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const SessionActionStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(SessionActionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline SessionActionSummary& WithStatus(const SessionActionStatus& value) { SetStatus(value); return *this;} + inline SessionActionSummary& WithStatus(SessionActionStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The date and time the resource started running.

    @@ -102,14 +80,14 @@ namespace Model ///@{ /** - *

    The status of the session action.

    + *

    The date and time the resource ended running.

    */ - inline const SessionActionStatus& GetStatus() const{ return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(const SessionActionStatus& value) { m_statusHasBeenSet = true; m_status = value; } - inline void SetStatus(SessionActionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } - inline SessionActionSummary& WithStatus(const SessionActionStatus& value) { SetStatus(value); return *this;} - inline SessionActionSummary& WithStatus(SessionActionStatus&& value) { SetStatus(std::move(value)); return *this;} + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + inline SessionActionSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + inline SessionActionSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} ///@} ///@{ @@ -124,28 +102,50 @@ namespace Model inline SessionActionSummary& WithWorkerUpdatedAt(const Aws::Utils::DateTime& value) { SetWorkerUpdatedAt(value); return *this;} 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; + ///@{ + /** + *

    The completion percentage for the session action.

    + */ + inline double GetProgressPercent() const{ return m_progressPercent; } + inline bool ProgressPercentHasBeenSet() const { return m_progressPercentHasBeenSet; } + inline void SetProgressPercent(double value) { m_progressPercentHasBeenSet = true; m_progressPercent = value; } + inline SessionActionSummary& WithProgressPercent(double value) { SetProgressPercent(value); return *this;} + ///@} - double m_progressPercent; - bool m_progressPercentHasBeenSet = false; + ///@{ + /** + *

    The session action definition.

    + */ + inline const SessionActionDefinitionSummary& GetDefinition() const{ return m_definition; } + inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; } + inline void SetDefinition(const SessionActionDefinitionSummary& value) { m_definitionHasBeenSet = true; m_definition = value; } + inline void SetDefinition(SessionActionDefinitionSummary&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); } + inline SessionActionSummary& WithDefinition(const SessionActionDefinitionSummary& value) { SetDefinition(value); return *this;} + inline SessionActionSummary& WithDefinition(SessionActionDefinitionSummary&& value) { SetDefinition(std::move(value)); return *this;} + ///@} + private: Aws::String m_sessionActionId; bool m_sessionActionIdHasBeenSet = false; + SessionActionStatus m_status; + bool m_statusHasBeenSet = false; + Aws::Utils::DateTime m_startedAt; bool m_startedAtHasBeenSet = false; - SessionActionStatus m_status; - bool m_statusHasBeenSet = false; + Aws::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = false; Aws::Utils::DateTime m_workerUpdatedAt; bool m_workerUpdatedAtHasBeenSet = false; + + double m_progressPercent; + bool m_progressPercentHasBeenSet = false; + + SessionActionDefinitionSummary m_definition; + bool m_definitionHasBeenSet = false; }; } // namespace Model 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 index 48d6c04d895..fe4d2704d5b 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include #include @@ -42,14 +42,16 @@ namespace Model ///@{ /** - *

    The date and time the resource ended running.

    + *

    The session ID.

    */ - inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } - inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } - inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } - inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } - inline SessionSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} - inline SessionSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } + inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } + inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } + inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } + inline SessionSummary& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + inline SessionSummary& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + inline SessionSummary& WithSessionId(const char* value) { SetSessionId(value); return *this;} ///@} ///@{ @@ -68,28 +70,16 @@ namespace Model ///@{ /** - *

    The life cycle status for the session.

    - */ - inline const SessionLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } - inline bool LifecycleStatusHasBeenSet() const { return m_lifecycleStatusHasBeenSet; } - inline void SetLifecycleStatus(const SessionLifecycleStatus& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = value; } - inline void SetLifecycleStatus(SessionLifecycleStatus&& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = std::move(value); } - inline SessionSummary& WithLifecycleStatus(const SessionLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} - inline SessionSummary& WithLifecycleStatus(SessionLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

    The session ID.

    + *

    The worker ID.

    */ - inline const Aws::String& GetSessionId() const{ return m_sessionId; } - inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } - inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } - inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } - inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } - inline SessionSummary& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} - inline SessionSummary& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} - inline SessionSummary& WithSessionId(const char* value) { SetSessionId(value); return *this;} + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } + inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } + inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } + inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } + inline SessionSummary& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + inline SessionSummary& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + inline SessionSummary& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} ///@} ///@{ @@ -106,14 +96,26 @@ namespace Model ///@{ /** - *

    The target life cycle status for the session.

    + *

    The life cycle status for the session.

    */ - inline const SessionLifecycleTargetStatus& GetTargetLifecycleStatus() const{ return m_targetLifecycleStatus; } - inline bool TargetLifecycleStatusHasBeenSet() const { return m_targetLifecycleStatusHasBeenSet; } - inline void SetTargetLifecycleStatus(const SessionLifecycleTargetStatus& value) { m_targetLifecycleStatusHasBeenSet = true; m_targetLifecycleStatus = value; } - inline void SetTargetLifecycleStatus(SessionLifecycleTargetStatus&& value) { m_targetLifecycleStatusHasBeenSet = true; m_targetLifecycleStatus = std::move(value); } - inline SessionSummary& WithTargetLifecycleStatus(const SessionLifecycleTargetStatus& value) { SetTargetLifecycleStatus(value); return *this;} - inline SessionSummary& WithTargetLifecycleStatus(SessionLifecycleTargetStatus&& value) { SetTargetLifecycleStatus(std::move(value)); return *this;} + inline const SessionLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } + inline bool LifecycleStatusHasBeenSet() const { return m_lifecycleStatusHasBeenSet; } + inline void SetLifecycleStatus(const SessionLifecycleStatus& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = value; } + inline void SetLifecycleStatus(SessionLifecycleStatus&& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = std::move(value); } + inline SessionSummary& WithLifecycleStatus(const SessionLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} + inline SessionSummary& WithLifecycleStatus(SessionLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The date and time the resource ended running.

    + */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + inline SessionSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + inline SessionSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} ///@} ///@{ @@ -144,36 +146,34 @@ namespace Model ///@{ /** - *

    The worker ID.

    + *

    The target life cycle status for the session.

    */ - inline const Aws::String& GetWorkerId() const{ return m_workerId; } - inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } - inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } - inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } - inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } - inline SessionSummary& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} - inline SessionSummary& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} - inline SessionSummary& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + inline const SessionLifecycleTargetStatus& GetTargetLifecycleStatus() const{ return m_targetLifecycleStatus; } + inline bool TargetLifecycleStatusHasBeenSet() const { return m_targetLifecycleStatusHasBeenSet; } + inline void SetTargetLifecycleStatus(const SessionLifecycleTargetStatus& value) { m_targetLifecycleStatusHasBeenSet = true; m_targetLifecycleStatus = value; } + inline void SetTargetLifecycleStatus(SessionLifecycleTargetStatus&& value) { m_targetLifecycleStatusHasBeenSet = true; m_targetLifecycleStatus = std::move(value); } + inline SessionSummary& WithTargetLifecycleStatus(const SessionLifecycleTargetStatus& value) { SetTargetLifecycleStatus(value); return *this;} + inline SessionSummary& WithTargetLifecycleStatus(SessionLifecycleTargetStatus&& value) { SetTargetLifecycleStatus(std::move(value)); return *this;} ///@} private: - Aws::Utils::DateTime m_endedAt; - bool m_endedAtHasBeenSet = false; + Aws::String m_sessionId; + bool m_sessionIdHasBeenSet = 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::String m_workerId; + bool m_workerIdHasBeenSet = false; Aws::Utils::DateTime m_startedAt; bool m_startedAtHasBeenSet = false; - SessionLifecycleTargetStatus m_targetLifecycleStatus; - bool m_targetLifecycleStatusHasBeenSet = false; + SessionLifecycleStatus m_lifecycleStatus; + bool m_lifecycleStatusHasBeenSet = false; + + Aws::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; @@ -181,8 +181,8 @@ namespace Model Aws::String m_updatedBy; bool m_updatedByHasBeenSet = false; - Aws::String m_workerId; - bool m_workerIdHasBeenSet = false; + SessionLifecycleTargetStatus m_targetLifecycleStatus; + bool m_targetLifecycleStatusHasBeenSet = false; }; } // namespace Model 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 index 617e69fba0f..05068dfb69c 100644 --- 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 @@ -39,23 +39,6 @@ namespace Model 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; } - inline bool FleetIdsHasBeenSet() const { return m_fleetIdsHasBeenSet; } - inline void SetFleetIds(const Aws::Vector& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = value; } - inline void SetFleetIds(Aws::Vector&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = std::move(value); } - inline SessionsStatisticsResources& WithFleetIds(const Aws::Vector& value) { SetFleetIds(value); return *this;} - inline SessionsStatisticsResources& WithFleetIds(Aws::Vector&& value) { SetFleetIds(std::move(value)); return *this;} - inline SessionsStatisticsResources& AddFleetIds(const Aws::String& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; } - inline SessionsStatisticsResources& AddFleetIds(Aws::String&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(std::move(value)); return *this; } - 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 @@ -72,13 +55,30 @@ namespace Model inline SessionsStatisticsResources& AddQueueIds(Aws::String&& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(std::move(value)); return *this; } 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; + ///@{ + /** + *

    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; } + inline bool FleetIdsHasBeenSet() const { return m_fleetIdsHasBeenSet; } + inline void SetFleetIds(const Aws::Vector& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = value; } + inline void SetFleetIds(Aws::Vector&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = std::move(value); } + inline SessionsStatisticsResources& WithFleetIds(const Aws::Vector& value) { SetFleetIds(value); return *this;} + inline SessionsStatisticsResources& WithFleetIds(Aws::Vector&& value) { SetFleetIds(std::move(value)); return *this;} + inline SessionsStatisticsResources& AddFleetIds(const Aws::String& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; } + inline SessionsStatisticsResources& AddFleetIds(Aws::String&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(std::move(value)); return *this; } + inline SessionsStatisticsResources& AddFleetIds(const char* value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; } + ///@} + private: Aws::Vector m_queueIds; bool m_queueIdsHasBeenSet = false; + + Aws::Vector m_fleetIds; + bool m_fleetIdsHasBeenSet = false; }; } // namespace Model 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 index f6866b278b0..95551048023 100644 --- 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 @@ -6,11 +6,11 @@ #pragma once #include #include -#include #include -#include -#include #include +#include +#include +#include #include #include #include @@ -38,18 +38,6 @@ namespace Model 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; } - inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } - inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } - inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } - inline StartSessionsStatisticsAggregationRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} - 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 @@ -65,32 +53,6 @@ namespace Model 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; } - inline bool GroupByHasBeenSet() const { return m_groupByHasBeenSet; } - inline void SetGroupBy(const Aws::Vector& value) { m_groupByHasBeenSet = true; m_groupBy = value; } - inline void SetGroupBy(Aws::Vector&& value) { m_groupByHasBeenSet = true; m_groupBy = std::move(value); } - inline StartSessionsStatisticsAggregationRequest& WithGroupBy(const Aws::Vector& value) { SetGroupBy(value); return *this;} - inline StartSessionsStatisticsAggregationRequest& WithGroupBy(Aws::Vector&& value) { SetGroupBy(std::move(value)); return *this;} - inline StartSessionsStatisticsAggregationRequest& AddGroupBy(const UsageGroupByField& value) { m_groupByHasBeenSet = true; m_groupBy.push_back(value); return *this; } - 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; } - inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; } - inline void SetPeriod(const Period& value) { m_periodHasBeenSet = true; m_period = value; } - inline void SetPeriod(Period&& value) { m_periodHasBeenSet = true; m_period = std::move(value); } - inline StartSessionsStatisticsAggregationRequest& WithPeriod(const Period& value) { SetPeriod(value); return *this;} - inline StartSessionsStatisticsAggregationRequest& WithPeriod(Period&& value) { SetPeriod(std::move(value)); return *this;} - ///@} - ///@{ /** *

    A list of fleet IDs or queue IDs to gather statistics for.

    @@ -117,16 +79,14 @@ namespace Model ///@{ /** - *

    One to four statistics to return.

    + *

    The Linux timestamp of the date and time that the statistics end.

    */ - inline const Aws::Vector& GetStatistics() const{ return m_statistics; } - inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; } - inline void SetStatistics(const Aws::Vector& value) { m_statisticsHasBeenSet = true; m_statistics = value; } - inline void SetStatistics(Aws::Vector&& value) { m_statisticsHasBeenSet = true; m_statistics = std::move(value); } - inline StartSessionsStatisticsAggregationRequest& WithStatistics(const Aws::Vector& value) { SetStatistics(value); return *this;} - inline StartSessionsStatisticsAggregationRequest& WithStatistics(Aws::Vector&& value) { SetStatistics(std::move(value)); return *this;} - inline StartSessionsStatisticsAggregationRequest& AddStatistics(const UsageStatistic& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(value); return *this; } - inline StartSessionsStatisticsAggregationRequest& AddStatistics(UsageStatistic&& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(std::move(value)); return *this; } + inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } + inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } + inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } + inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } + inline StartSessionsStatisticsAggregationRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} + inline StartSessionsStatisticsAggregationRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} ///@} ///@{ @@ -142,19 +102,50 @@ namespace Model inline StartSessionsStatisticsAggregationRequest& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;} inline StartSessionsStatisticsAggregationRequest& WithTimezone(const char* value) { SetTimezone(value); return *this;} ///@} - private: - Aws::Utils::DateTime m_endTime; - bool m_endTimeHasBeenSet = false; + ///@{ + /** + *

    The period to aggregate the statistics.

    + */ + inline const Period& GetPeriod() const{ return m_period; } + inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; } + inline void SetPeriod(const Period& value) { m_periodHasBeenSet = true; m_period = value; } + inline void SetPeriod(Period&& value) { m_periodHasBeenSet = true; m_period = std::move(value); } + inline StartSessionsStatisticsAggregationRequest& WithPeriod(const Period& value) { SetPeriod(value); return *this;} + inline StartSessionsStatisticsAggregationRequest& WithPeriod(Period&& value) { SetPeriod(std::move(value)); return *this;} + ///@} - Aws::String m_farmId; - bool m_farmIdHasBeenSet = false; + ///@{ + /** + *

    The field to use to group the statistics.

    + */ + inline const Aws::Vector& GetGroupBy() const{ return m_groupBy; } + inline bool GroupByHasBeenSet() const { return m_groupByHasBeenSet; } + inline void SetGroupBy(const Aws::Vector& value) { m_groupByHasBeenSet = true; m_groupBy = value; } + inline void SetGroupBy(Aws::Vector&& value) { m_groupByHasBeenSet = true; m_groupBy = std::move(value); } + inline StartSessionsStatisticsAggregationRequest& WithGroupBy(const Aws::Vector& value) { SetGroupBy(value); return *this;} + inline StartSessionsStatisticsAggregationRequest& WithGroupBy(Aws::Vector&& value) { SetGroupBy(std::move(value)); return *this;} + inline StartSessionsStatisticsAggregationRequest& AddGroupBy(const UsageGroupByField& value) { m_groupByHasBeenSet = true; m_groupBy.push_back(value); return *this; } + inline StartSessionsStatisticsAggregationRequest& AddGroupBy(UsageGroupByField&& value) { m_groupByHasBeenSet = true; m_groupBy.push_back(std::move(value)); return *this; } + ///@} - Aws::Vector m_groupBy; - bool m_groupByHasBeenSet = false; + ///@{ + /** + *

    One to four statistics to return.

    + */ + inline const Aws::Vector& GetStatistics() const{ return m_statistics; } + inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; } + inline void SetStatistics(const Aws::Vector& value) { m_statisticsHasBeenSet = true; m_statistics = value; } + inline void SetStatistics(Aws::Vector&& value) { m_statisticsHasBeenSet = true; m_statistics = std::move(value); } + inline StartSessionsStatisticsAggregationRequest& WithStatistics(const Aws::Vector& value) { SetStatistics(value); return *this;} + inline StartSessionsStatisticsAggregationRequest& WithStatistics(Aws::Vector&& value) { SetStatistics(std::move(value)); return *this;} + inline StartSessionsStatisticsAggregationRequest& AddStatistics(const UsageStatistic& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(value); return *this; } + inline StartSessionsStatisticsAggregationRequest& AddStatistics(UsageStatistic&& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(std::move(value)); return *this; } + ///@} + private: - Period m_period; - bool m_periodHasBeenSet = false; + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; SessionsStatisticsResources m_resourceIds; bool m_resourceIdsHasBeenSet = false; @@ -162,11 +153,20 @@ namespace Model Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; - Aws::Vector m_statistics; - bool m_statisticsHasBeenSet = false; + Aws::Utils::DateTime m_endTime; + bool m_endTimeHasBeenSet = false; Aws::String m_timezone; bool m_timezoneHasBeenSet = false; + + Period m_period; + bool m_periodHasBeenSet = false; + + Aws::Vector m_groupBy; + bool m_groupByHasBeenSet = false; + + Aws::Vector m_statistics; + bool m_statisticsHasBeenSet = false; }; } // namespace Model 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 index e39fafb4de8..fe7b9a952d1 100644 --- 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 @@ -5,10 +5,10 @@ #pragma once #include -#include -#include #include #include +#include +#include #include namespace Aws @@ -42,49 +42,16 @@ namespace Model ///@{ /** - *

    The end time for the aggregation.

    - */ - inline const Aws::Utils::DateTime& GetAggregationEndTime() const{ return m_aggregationEndTime; } - inline bool AggregationEndTimeHasBeenSet() const { return m_aggregationEndTimeHasBeenSet; } - inline void SetAggregationEndTime(const Aws::Utils::DateTime& value) { m_aggregationEndTimeHasBeenSet = true; m_aggregationEndTime = value; } - inline void SetAggregationEndTime(Aws::Utils::DateTime&& value) { m_aggregationEndTimeHasBeenSet = true; m_aggregationEndTime = std::move(value); } - inline Statistics& WithAggregationEndTime(const Aws::Utils::DateTime& value) { SetAggregationEndTime(value); return *this;} - 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; } - inline bool AggregationStartTimeHasBeenSet() const { return m_aggregationStartTimeHasBeenSet; } - inline void SetAggregationStartTime(const Aws::Utils::DateTime& value) { m_aggregationStartTimeHasBeenSet = true; m_aggregationStartTime = value; } - inline void SetAggregationStartTime(Aws::Utils::DateTime&& value) { m_aggregationStartTimeHasBeenSet = true; m_aggregationStartTime = std::move(value); } - inline Statistics& WithAggregationStartTime(const Aws::Utils::DateTime& value) { SetAggregationStartTime(value); return *this;} - 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; } - inline bool CostInUsdHasBeenSet() const { return m_costInUsdHasBeenSet; } - inline void SetCostInUsd(const Stats& value) { m_costInUsdHasBeenSet = true; m_costInUsd = value; } - inline void SetCostInUsd(Stats&& value) { m_costInUsdHasBeenSet = true; m_costInUsd = std::move(value); } - inline Statistics& WithCostInUsd(const Stats& value) { SetCostInUsd(value); return *this;} - inline Statistics& WithCostInUsd(Stats&& value) { SetCostInUsd(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

    The number of instances in a list of statistics.

    + *

    The queue ID.

    */ - inline int GetCount() const{ return m_count; } - inline bool CountHasBeenSet() const { return m_countHasBeenSet; } - inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; } - inline Statistics& WithCount(int value) { SetCount(value); return *this;} + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline Statistics& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline Statistics& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline Statistics& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} ///@{ @@ -101,20 +68,6 @@ namespace Model inline Statistics& WithFleetId(const char* value) { SetFleetId(value); return *this;} ///@} - ///@{ - /** - *

    The type of instance.

    - */ - inline const Aws::String& GetInstanceType() const{ return m_instanceType; } - inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } - inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } - inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } - inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } - inline Statistics& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} - inline Statistics& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} - inline Statistics& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} - ///@} - ///@{ /** *

    The job ID.

    @@ -143,6 +96,32 @@ namespace Model inline Statistics& WithJobName(const char* value) { SetJobName(value); return *this;} ///@} + ///@{ + /** + *

    The user ID.

    + */ + inline const Aws::String& GetUserId() const{ return m_userId; } + inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } + inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } + inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } + inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } + inline Statistics& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} + inline Statistics& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} + inline Statistics& WithUserId(const char* value) { SetUserId(value); return *this;} + ///@} + + ///@{ + /** + *

    The type of usage for the statistics.

    + */ + inline const UsageType& GetUsageType() const{ return m_usageType; } + inline bool UsageTypeHasBeenSet() const { return m_usageTypeHasBeenSet; } + inline void SetUsageType(const UsageType& value) { m_usageTypeHasBeenSet = true; m_usageType = value; } + inline void SetUsageType(UsageType&& value) { m_usageTypeHasBeenSet = true; m_usageType = std::move(value); } + inline Statistics& WithUsageType(const UsageType& value) { SetUsageType(value); return *this;} + inline Statistics& WithUsageType(UsageType&& value) { SetUsageType(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The licensed product.

    @@ -159,16 +138,39 @@ namespace Model ///@{ /** - *

    The queue ID.

    + *

    The type of instance.

    */ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline Statistics& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline Statistics& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline Statistics& WithQueueId(const char* value) { SetQueueId(value); return *this;} + inline const Aws::String& GetInstanceType() const{ return m_instanceType; } + inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } + inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } + inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } + inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } + inline Statistics& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} + inline Statistics& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} + inline Statistics& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} + ///@} + + ///@{ + /** + *

    The number of instances in a list of statistics.

    + */ + inline int GetCount() const{ return m_count; } + inline bool CountHasBeenSet() const { return m_countHasBeenSet; } + inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; } + inline Statistics& WithCount(int value) { SetCount(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; } + inline bool CostInUsdHasBeenSet() const { return m_costInUsdHasBeenSet; } + inline void SetCostInUsd(const Stats& value) { m_costInUsdHasBeenSet = true; m_costInUsd = value; } + inline void SetCostInUsd(Stats&& value) { m_costInUsdHasBeenSet = true; m_costInUsd = std::move(value); } + inline Statistics& WithCostInUsd(const Stats& value) { SetCostInUsd(value); return *this;} + inline Statistics& WithCostInUsd(Stats&& value) { SetCostInUsd(std::move(value)); return *this;} ///@} ///@{ @@ -185,69 +187,67 @@ namespace Model ///@{ /** - *

    The type of usage for the statistics.

    + *

    The start time for the aggregation.

    */ - inline const UsageType& GetUsageType() const{ return m_usageType; } - inline bool UsageTypeHasBeenSet() const { return m_usageTypeHasBeenSet; } - inline void SetUsageType(const UsageType& value) { m_usageTypeHasBeenSet = true; m_usageType = value; } - inline void SetUsageType(UsageType&& value) { m_usageTypeHasBeenSet = true; m_usageType = std::move(value); } - inline Statistics& WithUsageType(const UsageType& value) { SetUsageType(value); return *this;} - inline Statistics& WithUsageType(UsageType&& value) { SetUsageType(std::move(value)); return *this;} + inline const Aws::Utils::DateTime& GetAggregationStartTime() const{ return m_aggregationStartTime; } + inline bool AggregationStartTimeHasBeenSet() const { return m_aggregationStartTimeHasBeenSet; } + inline void SetAggregationStartTime(const Aws::Utils::DateTime& value) { m_aggregationStartTimeHasBeenSet = true; m_aggregationStartTime = value; } + inline void SetAggregationStartTime(Aws::Utils::DateTime&& value) { m_aggregationStartTimeHasBeenSet = true; m_aggregationStartTime = std::move(value); } + inline Statistics& WithAggregationStartTime(const Aws::Utils::DateTime& value) { SetAggregationStartTime(value); return *this;} + inline Statistics& WithAggregationStartTime(Aws::Utils::DateTime&& value) { SetAggregationStartTime(std::move(value)); return *this;} ///@} ///@{ /** - *

    The user ID.

    + *

    The end time for the aggregation.

    */ - inline const Aws::String& GetUserId() const{ return m_userId; } - inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } - inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } - inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } - inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } - inline Statistics& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} - inline Statistics& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} - inline Statistics& WithUserId(const char* value) { SetUserId(value); return *this;} + inline const Aws::Utils::DateTime& GetAggregationEndTime() const{ return m_aggregationEndTime; } + inline bool AggregationEndTimeHasBeenSet() const { return m_aggregationEndTimeHasBeenSet; } + inline void SetAggregationEndTime(const Aws::Utils::DateTime& value) { m_aggregationEndTimeHasBeenSet = true; m_aggregationEndTime = value; } + inline void SetAggregationEndTime(Aws::Utils::DateTime&& value) { m_aggregationEndTimeHasBeenSet = true; m_aggregationEndTime = std::move(value); } + inline Statistics& WithAggregationEndTime(const Aws::Utils::DateTime& value) { SetAggregationEndTime(value); return *this;} + inline Statistics& WithAggregationEndTime(Aws::Utils::DateTime&& value) { SetAggregationEndTime(std::move(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_queueId; + bool m_queueIdHasBeenSet = 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_userId; + bool m_userIdHasBeenSet = false; + + UsageType m_usageType; + bool m_usageTypeHasBeenSet = false; + Aws::String m_licenseProduct; bool m_licenseProductHasBeenSet = false; - Aws::String m_queueId; - bool m_queueIdHasBeenSet = false; + Aws::String m_instanceType; + bool m_instanceTypeHasBeenSet = false; + + int m_count; + bool m_countHasBeenSet = false; + + Stats m_costInUsd; + bool m_costInUsdHasBeenSet = false; Stats m_runtimeInSeconds; bool m_runtimeInSecondsHasBeenSet = false; - UsageType m_usageType; - bool m_usageTypeHasBeenSet = false; + Aws::Utils::DateTime m_aggregationStartTime; + bool m_aggregationStartTimeHasBeenSet = false; - Aws::String m_userId; - bool m_userIdHasBeenSet = false; + Aws::Utils::DateTime m_aggregationEndTime; + bool m_aggregationEndTimeHasBeenSet = false; }; } // namespace Model 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 index 4f391ad7f9d..99fe084bac9 100644 --- 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 @@ -37,12 +37,12 @@ namespace Model ///@{ /** - *

    The average of the usage statistics.

    + *

    The minimum of the usage statistics.

    */ - inline double GetAvg() const{ return m_avg; } - inline bool AvgHasBeenSet() const { return m_avgHasBeenSet; } - inline void SetAvg(double value) { m_avgHasBeenSet = true; m_avg = value; } - inline Stats& WithAvg(double value) { SetAvg(value); return *this;} + inline double GetMin() const{ return m_min; } + inline bool MinHasBeenSet() const { return m_minHasBeenSet; } + inline void SetMin(double value) { m_minHasBeenSet = true; m_min = value; } + inline Stats& WithMin(double value) { SetMin(value); return *this;} ///@} ///@{ @@ -57,12 +57,12 @@ namespace Model ///@{ /** - *

    The minimum of the usage statistics.

    + *

    The average of the usage statistics.

    */ - inline double GetMin() const{ return m_min; } - inline bool MinHasBeenSet() const { return m_minHasBeenSet; } - inline void SetMin(double value) { m_minHasBeenSet = true; m_min = value; } - inline Stats& WithMin(double value) { SetMin(value); return *this;} + inline double GetAvg() const{ return m_avg; } + inline bool AvgHasBeenSet() const { return m_avgHasBeenSet; } + inline void SetAvg(double value) { m_avgHasBeenSet = true; m_avg = value; } + inline Stats& WithAvg(double value) { SetAvg(value); return *this;} ///@} ///@{ @@ -76,14 +76,14 @@ namespace Model ///@} private: - double m_avg; - bool m_avgHasBeenSet = false; + double m_min; + bool m_minHasBeenSet = false; double m_max; bool m_maxHasBeenSet = false; - double m_min; - bool m_minHasBeenSet = false; + double m_avg; + bool m_avgHasBeenSet = false; double m_sum; bool m_sumHasBeenSet = false; 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 index e262bc825f9..a15558002bc 100644 --- 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 @@ -40,12 +40,16 @@ namespace Model ///@{ /** - *

    The maximum amount.

    + *

    The name of the step.

    */ - inline double GetMax() const{ return m_max; } - inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } - inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; } - inline StepAmountCapability& WithMax(double value) { SetMax(value); return *this;} + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline StepAmountCapability& WithName(const Aws::String& value) { SetName(value); return *this;} + inline StepAmountCapability& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline StepAmountCapability& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ @@ -60,16 +64,12 @@ namespace Model ///@{ /** - *

    The name of the step.

    + *

    The maximum amount.

    */ - inline const Aws::String& GetName() const{ return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } - inline StepAmountCapability& WithName(const Aws::String& value) { SetName(value); return *this;} - inline StepAmountCapability& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline StepAmountCapability& WithName(const char* value) { SetName(value); return *this;} + inline double GetMax() const{ return m_max; } + inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } + inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; } + inline StepAmountCapability& WithMax(double value) { SetMax(value); return *this;} ///@} ///@{ @@ -83,14 +83,14 @@ namespace Model ///@} private: - double m_max; - bool m_maxHasBeenSet = false; + Aws::String m_name; + bool m_nameHasBeenSet = false; double m_min; bool m_minHasBeenSet = false; - Aws::String m_name; - bool m_nameHasBeenSet = false; + double m_max; + bool m_maxHasBeenSet = false; double m_value; bool m_valueHasBeenSet = false; 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 index f3cfe196b8e..55f25d09ff6 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -40,17 +40,16 @@ namespace Model ///@{ /** - *

    Requires all of the step attribute values.

    + *

    The name of the step attribute.

    */ - inline const Aws::Vector& GetAllOf() const{ return m_allOf; } - inline bool AllOfHasBeenSet() const { return m_allOfHasBeenSet; } - inline void SetAllOf(const Aws::Vector& value) { m_allOfHasBeenSet = true; m_allOf = value; } - inline void SetAllOf(Aws::Vector&& value) { m_allOfHasBeenSet = true; m_allOf = std::move(value); } - inline StepAttributeCapability& WithAllOf(const Aws::Vector& value) { SetAllOf(value); return *this;} - inline StepAttributeCapability& WithAllOf(Aws::Vector&& value) { SetAllOf(std::move(value)); return *this;} - inline StepAttributeCapability& AddAllOf(const Aws::String& value) { m_allOfHasBeenSet = true; m_allOf.push_back(value); return *this; } - inline StepAttributeCapability& AddAllOf(Aws::String&& value) { m_allOfHasBeenSet = true; m_allOf.push_back(std::move(value)); return *this; } - inline StepAttributeCapability& AddAllOf(const char* value) { m_allOfHasBeenSet = true; m_allOf.push_back(value); return *this; } + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline StepAttributeCapability& WithName(const Aws::String& value) { SetName(value); return *this;} + inline StepAttributeCapability& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline StepAttributeCapability& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ @@ -70,27 +69,28 @@ namespace Model ///@{ /** - *

    The name of the step attribute.

    + *

    Requires all of the step attribute values.

    */ - inline const Aws::String& GetName() const{ return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } - inline StepAttributeCapability& WithName(const Aws::String& value) { SetName(value); return *this;} - inline StepAttributeCapability& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline StepAttributeCapability& WithName(const char* value) { SetName(value); return *this;} + inline const Aws::Vector& GetAllOf() const{ return m_allOf; } + inline bool AllOfHasBeenSet() const { return m_allOfHasBeenSet; } + inline void SetAllOf(const Aws::Vector& value) { m_allOfHasBeenSet = true; m_allOf = value; } + inline void SetAllOf(Aws::Vector&& value) { m_allOfHasBeenSet = true; m_allOf = std::move(value); } + inline StepAttributeCapability& WithAllOf(const Aws::Vector& value) { SetAllOf(value); return *this;} + inline StepAttributeCapability& WithAllOf(Aws::Vector&& value) { SetAllOf(std::move(value)); return *this;} + inline StepAttributeCapability& AddAllOf(const Aws::String& value) { m_allOfHasBeenSet = true; m_allOf.push_back(value); return *this; } + inline StepAttributeCapability& AddAllOf(Aws::String&& value) { m_allOfHasBeenSet = true; m_allOf.push_back(std::move(value)); return *this; } + inline StepAttributeCapability& AddAllOf(const char* value) { m_allOfHasBeenSet = true; m_allOf.push_back(value); return *this; } ///@} private: - Aws::Vector m_allOf; - bool m_allOfHasBeenSet = false; + Aws::String m_name; + bool m_nameHasBeenSet = false; Aws::Vector m_anyOf; bool m_anyOfHasBeenSet = false; - Aws::String m_name; - bool m_nameHasBeenSet = false; + Aws::Vector m_allOf; + bool m_allOfHasBeenSet = false; }; } // namespace Model 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 index 6747c332bbf..bca4fcecb26 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -38,18 +38,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

    The step consumer status.

    - */ - inline const DependencyConsumerResolutionStatus& GetStatus() const{ return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(const DependencyConsumerResolutionStatus& value) { m_statusHasBeenSet = true; m_status = value; } - inline void SetStatus(DependencyConsumerResolutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } - inline StepConsumer& WithStatus(const DependencyConsumerResolutionStatus& value) { SetStatus(value); return *this;} - inline StepConsumer& WithStatus(DependencyConsumerResolutionStatus&& value) { SetStatus(std::move(value)); return *this;} - ///@} - ///@{ /** *

    The step ID.

    @@ -63,13 +51,25 @@ namespace Model inline StepConsumer& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} inline StepConsumer& WithStepId(const char* value) { SetStepId(value); return *this;} ///@} - private: - DependencyConsumerResolutionStatus m_status; - bool m_statusHasBeenSet = false; + ///@{ + /** + *

    The step consumer status.

    + */ + inline const DependencyConsumerResolutionStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const DependencyConsumerResolutionStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(DependencyConsumerResolutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline StepConsumer& WithStatus(const DependencyConsumerResolutionStatus& value) { SetStatus(value); return *this;} + inline StepConsumer& WithStatus(DependencyConsumerResolutionStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + private: Aws::String m_stepId; bool m_stepIdHasBeenSet = false; + + DependencyConsumerResolutionStatus m_status; + bool m_statusHasBeenSet = false; }; } // namespace Model 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 index b3f801c0a67..c2e9288f13c 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -38,18 +38,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

    The step dependency status.

    - */ - inline const DependencyConsumerResolutionStatus& GetStatus() const{ return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(const DependencyConsumerResolutionStatus& value) { m_statusHasBeenSet = true; m_status = value; } - inline void SetStatus(DependencyConsumerResolutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } - inline StepDependency& WithStatus(const DependencyConsumerResolutionStatus& value) { SetStatus(value); return *this;} - inline StepDependency& WithStatus(DependencyConsumerResolutionStatus&& value) { SetStatus(std::move(value)); return *this;} - ///@} - ///@{ /** *

    The step ID.

    @@ -63,13 +51,25 @@ namespace Model inline StepDependency& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} inline StepDependency& WithStepId(const char* value) { SetStepId(value); return *this;} ///@} - private: - DependencyConsumerResolutionStatus m_status; - bool m_statusHasBeenSet = false; + ///@{ + /** + *

    The step dependency status.

    + */ + inline const DependencyConsumerResolutionStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const DependencyConsumerResolutionStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(DependencyConsumerResolutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline StepDependency& WithStatus(const DependencyConsumerResolutionStatus& value) { SetStatus(value); return *this;} + inline StepDependency& WithStatus(DependencyConsumerResolutionStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + private: Aws::String m_stepId; bool m_stepIdHasBeenSet = false; + + DependencyConsumerResolutionStatus m_status; + bool m_statusHasBeenSet = false; }; } // namespace Model 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 index 309350a62e3..4c0769d0d3b 100644 --- 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 @@ -5,9 +5,9 @@ #pragma once #include -#include #include #include +#include #include namespace Aws @@ -39,21 +39,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

    The dependencies for a step.

    - */ - inline const Aws::Vector& GetDependencies() const{ return m_dependencies; } - inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; } - inline void SetDependencies(const Aws::Vector& value) { m_dependenciesHasBeenSet = true; m_dependencies = value; } - inline void SetDependencies(Aws::Vector&& value) { m_dependenciesHasBeenSet = true; m_dependencies = std::move(value); } - inline StepDetailsEntity& WithDependencies(const Aws::Vector& value) { SetDependencies(value); return *this;} - inline StepDetailsEntity& WithDependencies(Aws::Vector&& value) { SetDependencies(std::move(value)); return *this;} - inline StepDetailsEntity& AddDependencies(const Aws::String& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; } - inline StepDetailsEntity& AddDependencies(Aws::String&& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(std::move(value)); return *this; } - inline StepDetailsEntity& AddDependencies(const char* value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; } - ///@} - ///@{ /** *

    The job ID.

    @@ -68,20 +53,6 @@ namespace Model 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; } - inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; } - inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; } - inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); } - inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); } - inline StepDetailsEntity& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;} - inline StepDetailsEntity& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;} - inline StepDetailsEntity& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;} - ///@} - ///@{ /** *

    The step ID.

    @@ -96,6 +67,20 @@ namespace Model inline StepDetailsEntity& WithStepId(const char* value) { SetStepId(value); return *this;} ///@} + ///@{ + /** + *

    The schema version for a step template.

    + */ + inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; } + inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; } + inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; } + inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); } + inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); } + inline StepDetailsEntity& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;} + inline StepDetailsEntity& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;} + inline StepDetailsEntity& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;} + ///@} + ///@{ /** *

    The template for a step.

    @@ -107,22 +92,37 @@ namespace Model inline StepDetailsEntity& WithTemplate(const Aws::Utils::Document& value) { SetTemplate(value); return *this;} inline StepDetailsEntity& WithTemplate(Aws::Utils::Document&& value) { SetTemplate(std::move(value)); return *this;} ///@} - private: - Aws::Vector m_dependencies; - bool m_dependenciesHasBeenSet = false; + ///@{ + /** + *

    The dependencies for a step.

    + */ + inline const Aws::Vector& GetDependencies() const{ return m_dependencies; } + inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; } + inline void SetDependencies(const Aws::Vector& value) { m_dependenciesHasBeenSet = true; m_dependencies = value; } + inline void SetDependencies(Aws::Vector&& value) { m_dependenciesHasBeenSet = true; m_dependencies = std::move(value); } + inline StepDetailsEntity& WithDependencies(const Aws::Vector& value) { SetDependencies(value); return *this;} + inline StepDetailsEntity& WithDependencies(Aws::Vector&& value) { SetDependencies(std::move(value)); return *this;} + inline StepDetailsEntity& AddDependencies(const Aws::String& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; } + inline StepDetailsEntity& AddDependencies(Aws::String&& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(std::move(value)); return *this; } + inline StepDetailsEntity& AddDependencies(const char* value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; } + ///@} + private: 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::String m_schemaVersion; + bool m_schemaVersionHasBeenSet = false; + Aws::Utils::Document m_template; bool m_templateHasBeenSet = false; + + Aws::Vector m_dependencies; + bool m_dependenciesHasBeenSet = false; }; } // namespace Model 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 index 562e0027442..b29bd61d776 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -38,18 +38,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

    The error code.

    - */ - inline const JobEntityErrorCode& GetCode() const{ return m_code; } - inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } - inline void SetCode(const JobEntityErrorCode& value) { m_codeHasBeenSet = true; m_code = value; } - inline void SetCode(JobEntityErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } - inline StepDetailsError& WithCode(const JobEntityErrorCode& value) { SetCode(value); return *this;} - inline StepDetailsError& WithCode(JobEntityErrorCode&& value) { SetCode(std::move(value)); return *this;} - ///@} - ///@{ /** *

    The job ID.

    @@ -64,20 +52,6 @@ namespace Model 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; } - 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 StepDetailsError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} - inline StepDetailsError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} - inline StepDetailsError& WithMessage(const char* value) { SetMessage(value); return *this;} - ///@} - ///@{ /** *

    The step ID.

    @@ -91,19 +65,45 @@ namespace Model inline StepDetailsError& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} inline StepDetailsError& WithStepId(const char* value) { SetStepId(value); return *this;} ///@} - private: - JobEntityErrorCode m_code; - bool m_codeHasBeenSet = false; + ///@{ + /** + *

    The error code.

    + */ + inline const JobEntityErrorCode& GetCode() const{ return m_code; } + inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } + inline void SetCode(const JobEntityErrorCode& value) { m_codeHasBeenSet = true; m_code = value; } + inline void SetCode(JobEntityErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } + inline StepDetailsError& WithCode(const JobEntityErrorCode& value) { SetCode(value); return *this;} + inline StepDetailsError& WithCode(JobEntityErrorCode&& value) { SetCode(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The error message detailing the error's cause.

    + */ + 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 StepDetailsError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline StepDetailsError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline StepDetailsError& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + private: Aws::String m_jobId; bool m_jobIdHasBeenSet = false; - Aws::String m_message; - bool m_messageHasBeenSet = false; - Aws::String m_stepId; bool m_stepIdHasBeenSet = false; + + JobEntityErrorCode m_code; + bool m_codeHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; }; } // namespace Model 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 index 7b43861a19d..6eae7a8f30f 100644 --- 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 @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -39,20 +39,6 @@ namespace Model 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; } - inline bool AmountsHasBeenSet() const { return m_amountsHasBeenSet; } - inline void SetAmounts(const Aws::Vector& value) { m_amountsHasBeenSet = true; m_amounts = value; } - inline void SetAmounts(Aws::Vector&& value) { m_amountsHasBeenSet = true; m_amounts = std::move(value); } - inline StepRequiredCapabilities& WithAmounts(const Aws::Vector& value) { SetAmounts(value); return *this;} - inline StepRequiredCapabilities& WithAmounts(Aws::Vector&& value) { SetAmounts(std::move(value)); return *this;} - inline StepRequiredCapabilities& AddAmounts(const StepAmountCapability& value) { m_amountsHasBeenSet = true; m_amounts.push_back(value); return *this; } - inline StepRequiredCapabilities& AddAmounts(StepAmountCapability&& value) { m_amountsHasBeenSet = true; m_amounts.push_back(std::move(value)); return *this; } - ///@} - ///@{ /** *

    The capability attributes that the step requires.

    @@ -66,13 +52,27 @@ namespace Model inline StepRequiredCapabilities& AddAttributes(const StepAttributeCapability& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; } 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; + ///@{ + /** + *

    The capability amounts that the step requires.

    + */ + inline const Aws::Vector& GetAmounts() const{ return m_amounts; } + inline bool AmountsHasBeenSet() const { return m_amountsHasBeenSet; } + inline void SetAmounts(const Aws::Vector& value) { m_amountsHasBeenSet = true; m_amounts = value; } + inline void SetAmounts(Aws::Vector&& value) { m_amountsHasBeenSet = true; m_amounts = std::move(value); } + inline StepRequiredCapabilities& WithAmounts(const Aws::Vector& value) { SetAmounts(value); return *this;} + inline StepRequiredCapabilities& WithAmounts(Aws::Vector&& value) { SetAmounts(std::move(value)); return *this;} + inline StepRequiredCapabilities& AddAmounts(const StepAmountCapability& value) { m_amountsHasBeenSet = true; m_amounts.push_back(value); return *this; } + inline StepRequiredCapabilities& AddAmounts(StepAmountCapability&& value) { m_amountsHasBeenSet = true; m_amounts.push_back(std::move(value)); return *this; } + ///@} + private: Aws::Vector m_attributes; bool m_attributesHasBeenSet = false; + + Aws::Vector m_amounts; + bool m_amountsHasBeenSet = false; }; } // namespace Model 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 index c08842c778d..45327304838 100644 --- 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 @@ -5,13 +5,13 @@ #pragma once #include -#include #include #include -#include -#include #include +#include #include +#include +#include #include namespace Aws @@ -45,26 +45,16 @@ namespace Model ///@{ /** - *

    The date and time the resource was created.

    - */ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } - inline StepSearchSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline StepSearchSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

    The date and time the resource ended running.

    + *

    The step ID.

    */ - inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } - inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } - inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } - inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } - inline StepSearchSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} - inline StepSearchSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + inline const Aws::String& GetStepId() const{ return m_stepId; } + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + inline StepSearchSummary& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + inline StepSearchSummary& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + inline StepSearchSummary& WithStepId(const char* value) { SetStepId(value); return *this;} ///@} ///@{ @@ -81,58 +71,6 @@ namespace Model inline StepSearchSummary& WithJobId(const char* value) { SetJobId(value); return *this;} ///@} - ///@{ - /** - *

    The life cycle status.

    - */ - inline const StepLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } - inline bool LifecycleStatusHasBeenSet() const { return m_lifecycleStatusHasBeenSet; } - inline void SetLifecycleStatus(const StepLifecycleStatus& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = value; } - inline void SetLifecycleStatus(StepLifecycleStatus&& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = std::move(value); } - inline StepSearchSummary& WithLifecycleStatus(const StepLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} - 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; } - inline bool LifecycleStatusMessageHasBeenSet() const { return m_lifecycleStatusMessageHasBeenSet; } - inline void SetLifecycleStatusMessage(const Aws::String& value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage = value; } - inline void SetLifecycleStatusMessage(Aws::String&& value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage = std::move(value); } - inline void SetLifecycleStatusMessage(const char* value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage.assign(value); } - inline StepSearchSummary& WithLifecycleStatusMessage(const Aws::String& value) { SetLifecycleStatusMessage(value); return *this;} - inline StepSearchSummary& WithLifecycleStatusMessage(Aws::String&& value) { SetLifecycleStatusMessage(std::move(value)); return *this;} - inline StepSearchSummary& WithLifecycleStatusMessage(const char* value) { SetLifecycleStatusMessage(value); return *this;} - ///@} - - ///@{ - /** - *

    The step name.

    - */ - inline const Aws::String& GetName() const{ return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } - inline StepSearchSummary& WithName(const Aws::String& value) { SetName(value); return *this;} - inline StepSearchSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - 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; } - inline bool ParameterSpaceHasBeenSet() const { return m_parameterSpaceHasBeenSet; } - inline void SetParameterSpace(const ParameterSpace& value) { m_parameterSpaceHasBeenSet = true; m_parameterSpace = value; } - inline void SetParameterSpace(ParameterSpace&& value) { m_parameterSpaceHasBeenSet = true; m_parameterSpace = std::move(value); } - inline StepSearchSummary& WithParameterSpace(const ParameterSpace& value) { SetParameterSpace(value); return *this;} - inline StepSearchSummary& WithParameterSpace(ParameterSpace&& value) { SetParameterSpace(std::move(value)); return *this;} - ///@} - ///@{ /** *

    The queue ID.

    @@ -149,40 +87,42 @@ namespace Model ///@{ /** - *

    The date and time the resource started running.

    + *

    The step name.

    */ - inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } - inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } - inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } - inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } - inline StepSearchSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} - inline StepSearchSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline StepSearchSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + inline StepSearchSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline StepSearchSummary& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ /** - *

    The step ID.

    + *

    The life cycle status.

    */ - inline const Aws::String& GetStepId() const{ return m_stepId; } - inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } - inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } - inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } - inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } - inline StepSearchSummary& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} - inline StepSearchSummary& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} - inline StepSearchSummary& WithStepId(const char* value) { SetStepId(value); return *this;} + inline const StepLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } + inline bool LifecycleStatusHasBeenSet() const { return m_lifecycleStatusHasBeenSet; } + inline void SetLifecycleStatus(const StepLifecycleStatus& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = value; } + inline void SetLifecycleStatus(StepLifecycleStatus&& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = std::move(value); } + inline StepSearchSummary& WithLifecycleStatus(const StepLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} + inline StepSearchSummary& WithLifecycleStatus(StepLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} ///@} ///@{ /** - *

    The task status to start with on the job.

    + *

    The life cycle status message.

    */ - inline const StepTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } - inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } - inline void SetTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; } - inline void SetTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); } - inline StepSearchSummary& WithTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} - inline StepSearchSummary& WithTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + inline const Aws::String& GetLifecycleStatusMessage() const{ return m_lifecycleStatusMessage; } + inline bool LifecycleStatusMessageHasBeenSet() const { return m_lifecycleStatusMessageHasBeenSet; } + inline void SetLifecycleStatusMessage(const Aws::String& value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage = value; } + inline void SetLifecycleStatusMessage(Aws::String&& value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage = std::move(value); } + inline void SetLifecycleStatusMessage(const char* value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage.assign(value); } + inline StepSearchSummary& WithLifecycleStatusMessage(const Aws::String& value) { SetLifecycleStatusMessage(value); return *this;} + inline StepSearchSummary& WithLifecycleStatusMessage(Aws::String&& value) { SetLifecycleStatusMessage(std::move(value)); return *this;} + inline StepSearchSummary& WithLifecycleStatusMessage(const char* value) { SetLifecycleStatusMessage(value); return *this;} ///@} ///@{ @@ -207,6 +147,18 @@ namespace Model inline StepSearchSummary& WithTaskRunStatus(TaskRunStatus&& value) { SetTaskRunStatus(std::move(value)); return *this;} ///@} + ///@{ + /** + *

    The task status to start with on the job.

    + */ + inline const StepTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } + inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } + inline void SetTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; } + inline void SetTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); } + inline StepSearchSummary& WithTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} + inline StepSearchSummary& WithTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The number of tasks running on the job.

    @@ -220,46 +172,94 @@ namespace Model inline StepSearchSummary& AddTaskRunStatusCounts(const TaskRunStatus& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(key, value); return *this; } 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; + ///@{ + /** + *

    The date and time the resource was created.

    + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline StepSearchSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline StepSearchSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} - Aws::Utils::DateTime m_endedAt; - bool m_endedAtHasBeenSet = false; + ///@{ + /** + *

    The date and time the resource started running.

    + */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } + inline StepSearchSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + inline StepSearchSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The date and time the resource ended running.

    + */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + inline StepSearchSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + inline StepSearchSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The parameters and combination expressions for the search.

    + */ + inline const ParameterSpace& GetParameterSpace() const{ return m_parameterSpace; } + inline bool ParameterSpaceHasBeenSet() const { return m_parameterSpaceHasBeenSet; } + inline void SetParameterSpace(const ParameterSpace& value) { m_parameterSpaceHasBeenSet = true; m_parameterSpace = value; } + inline void SetParameterSpace(ParameterSpace&& value) { m_parameterSpaceHasBeenSet = true; m_parameterSpace = std::move(value); } + inline StepSearchSummary& WithParameterSpace(const ParameterSpace& value) { SetParameterSpace(value); return *this;} + inline StepSearchSummary& WithParameterSpace(ParameterSpace&& value) { SetParameterSpace(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; Aws::String m_jobId; bool m_jobIdHasBeenSet = false; + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + StepLifecycleStatus m_lifecycleStatus; bool m_lifecycleStatusHasBeenSet = false; Aws::String m_lifecycleStatusMessage; bool m_lifecycleStatusMessageHasBeenSet = false; - Aws::String m_name; - bool m_nameHasBeenSet = false; + TaskRunStatus m_taskRunStatus; + bool m_taskRunStatusHasBeenSet = false; - ParameterSpace m_parameterSpace; - bool m_parameterSpaceHasBeenSet = false; + StepTargetTaskRunStatus m_targetTaskRunStatus; + bool m_targetTaskRunStatusHasBeenSet = false; - Aws::String m_queueId; - bool m_queueIdHasBeenSet = false; + Aws::Map m_taskRunStatusCounts; + bool m_taskRunStatusCountsHasBeenSet = false; + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = 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::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = false; - Aws::Map m_taskRunStatusCounts; - bool m_taskRunStatusCountsHasBeenSet = false; + ParameterSpace m_parameterSpace; + bool m_parameterSpaceHasBeenSet = false; }; } // namespace Model 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 index 7a65dc91f98..ddd344740ca 100644 --- 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 @@ -5,13 +5,13 @@ #pragma once #include -#include #include -#include #include -#include #include #include +#include +#include +#include #include namespace Aws @@ -45,52 +45,30 @@ namespace Model ///@{ /** - *

    The date and time the resource was created.

    - */ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } - inline StepSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - 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; } - inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } - inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } - inline StepSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline StepSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline StepSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} - ///@} - - ///@{ - /** - *

    The number of dependencies for the step.

    + *

    The step ID.

    */ - inline const DependencyCounts& GetDependencyCounts() const{ return m_dependencyCounts; } - inline bool DependencyCountsHasBeenSet() const { return m_dependencyCountsHasBeenSet; } - inline void SetDependencyCounts(const DependencyCounts& value) { m_dependencyCountsHasBeenSet = true; m_dependencyCounts = value; } - inline void SetDependencyCounts(DependencyCounts&& value) { m_dependencyCountsHasBeenSet = true; m_dependencyCounts = std::move(value); } - inline StepSummary& WithDependencyCounts(const DependencyCounts& value) { SetDependencyCounts(value); return *this;} - inline StepSummary& WithDependencyCounts(DependencyCounts&& value) { SetDependencyCounts(std::move(value)); return *this;} + inline const Aws::String& GetStepId() const{ return m_stepId; } + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + inline StepSummary& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + inline StepSummary& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + inline StepSummary& WithStepId(const char* value) { SetStepId(value); return *this;} ///@} ///@{ /** - *

    The date and time the resource ended running.

    + *

    The name of the step.

    */ - inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } - inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } - inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } - inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } - inline StepSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} - inline StepSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline StepSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + inline StepSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline StepSummary& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ @@ -119,58 +97,6 @@ namespace Model inline StepSummary& WithLifecycleStatusMessage(const char* value) { SetLifecycleStatusMessage(value); return *this;} ///@} - ///@{ - /** - *

    The name of the step.

    - */ - inline const Aws::String& GetName() const{ return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } - inline StepSummary& WithName(const Aws::String& value) { SetName(value); return *this;} - inline StepSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - 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; } - inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } - inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } - inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } - inline StepSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} - 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; } - inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } - inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } - inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } - inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } - inline StepSummary& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} - inline StepSummary& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} - 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; } - inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } - inline void SetTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; } - inline void SetTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); } - inline StepSummary& WithTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} - inline StepSummary& WithTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} - ///@} - ///@{ /** *

    The task run status for the job.

    • @@ -207,6 +133,44 @@ namespace Model inline StepSummary& AddTaskRunStatusCounts(TaskRunStatus&& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(std::move(key), value); return *this; } ///@} + ///@{ + /** + *

      The task status to start with on the job.

      + */ + inline const StepTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } + inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } + inline void SetTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; } + inline void SetTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); } + inline StepSummary& WithTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} + inline StepSummary& WithTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      The date and time the resource was created.

      + */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline StepSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + 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; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline StepSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline StepSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline StepSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + ///@} + ///@{ /** *

      The date and time the resource was updated.

      @@ -232,19 +196,49 @@ namespace Model inline StepSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} inline StepSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} ///@} - private: - Aws::Utils::DateTime m_createdAt; - bool m_createdAtHasBeenSet = false; + ///@{ + /** + *

      The date and time the resource started running.

      + */ + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } + inline StepSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + inline StepSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + ///@} - Aws::String m_createdBy; - bool m_createdByHasBeenSet = false; + ///@{ + /** + *

      The date and time the resource ended running.

      + */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + inline StepSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + inline StepSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + ///@} - DependencyCounts m_dependencyCounts; - bool m_dependencyCountsHasBeenSet = false; + ///@{ + /** + *

      The number of dependencies for the step.

      + */ + inline const DependencyCounts& GetDependencyCounts() const{ return m_dependencyCounts; } + inline bool DependencyCountsHasBeenSet() const { return m_dependencyCountsHasBeenSet; } + inline void SetDependencyCounts(const DependencyCounts& value) { m_dependencyCountsHasBeenSet = true; m_dependencyCounts = value; } + inline void SetDependencyCounts(DependencyCounts&& value) { m_dependencyCountsHasBeenSet = true; m_dependencyCounts = std::move(value); } + inline StepSummary& WithDependencyCounts(const DependencyCounts& value) { SetDependencyCounts(value); return *this;} + inline StepSummary& WithDependencyCounts(DependencyCounts&& value) { SetDependencyCounts(std::move(value)); return *this;} + ///@} + private: - Aws::Utils::DateTime m_endedAt; - bool m_endedAtHasBeenSet = false; + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; StepLifecycleStatus m_lifecycleStatus; bool m_lifecycleStatusHasBeenSet = false; @@ -252,29 +246,35 @@ namespace Model 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; + TaskRunStatus m_taskRunStatus; + bool m_taskRunStatusHasBeenSet = false; - Aws::String m_stepId; - bool m_stepIdHasBeenSet = false; + Aws::Map m_taskRunStatusCounts; + bool m_taskRunStatusCountsHasBeenSet = false; StepTargetTaskRunStatus m_targetTaskRunStatus; bool m_targetTaskRunStatusHasBeenSet = false; - TaskRunStatus m_taskRunStatus; - bool m_taskRunStatusHasBeenSet = false; + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; - Aws::Map m_taskRunStatusCounts; - bool m_taskRunStatusCountsHasBeenSet = false; + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; Aws::String m_updatedBy; bool m_updatedByHasBeenSet = false; + + Aws::Utils::DateTime m_startedAt; + bool m_startedAtHasBeenSet = false; + + Aws::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = false; + + DependencyCounts m_dependencyCounts; + bool m_dependencyCountsHasBeenSet = false; }; } // namespace Model 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 index e968dcc80a3..25eb1a1e613 100644 --- 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 @@ -40,7 +40,24 @@ namespace Model ///@{ /** - *

      The display name of the storage profile summary to update.

      + *

      The storage profile ID.

      + */ + inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } + inline bool StorageProfileIdHasBeenSet() const { return m_storageProfileIdHasBeenSet; } + inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = value; } + inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = std::move(value); } + inline void SetStorageProfileId(const char* value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId.assign(value); } + inline StorageProfileSummary& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} + inline StorageProfileSummary& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} + inline StorageProfileSummary& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} + ///@} + + ///@{ + /** + *

      The display name of the storage profile summary to update.

      + *

      This field can store any content. Escape or encode this content before + * displaying it on a webpage or any other system that might interpret the content + * of this field.

      */ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } @@ -63,30 +80,16 @@ namespace Model inline StorageProfileSummary& WithOsFamily(const StorageProfileOperatingSystemFamily& value) { SetOsFamily(value); return *this;} inline StorageProfileSummary& WithOsFamily(StorageProfileOperatingSystemFamily&& value) { SetOsFamily(std::move(value)); return *this;} ///@} - - ///@{ - /** - *

      The storage profile ID.

      - */ - inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } - inline bool StorageProfileIdHasBeenSet() const { return m_storageProfileIdHasBeenSet; } - inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = value; } - inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = std::move(value); } - inline void SetStorageProfileId(const char* value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId.assign(value); } - inline StorageProfileSummary& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} - inline StorageProfileSummary& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} - inline StorageProfileSummary& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} - ///@} private: + Aws::String m_storageProfileId; + bool m_storageProfileIdHasBeenSet = false; + 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 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 index 862f9c14caa..78fc661d214 100644 --- 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 @@ -37,6 +37,20 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

      A signed integer represented as a string.

      + */ + inline const Aws::String& GetInt() const{ return m_int; } + inline bool IntHasBeenSet() const { return m_intHasBeenSet; } + inline void SetInt(const Aws::String& value) { m_intHasBeenSet = true; m_int = value; } + inline void SetInt(Aws::String&& value) { m_intHasBeenSet = true; m_int = std::move(value); } + inline void SetInt(const char* value) { m_intHasBeenSet = true; m_int.assign(value); } + inline TaskParameterValue& WithInt(const Aws::String& value) { SetInt(value); return *this;} + inline TaskParameterValue& WithInt(Aws::String&& value) { SetInt(std::move(value)); return *this;} + inline TaskParameterValue& WithInt(const char* value) { SetInt(value); return *this;} + ///@} + ///@{ /** *

      A double precision IEEE-754 floating point number represented as a @@ -54,16 +68,16 @@ namespace Model ///@{ /** - *

      A signed integer represented as a string.

      + *

      A UTF-8 string.

      */ - inline const Aws::String& GetInt() const{ return m_int; } - inline bool IntHasBeenSet() const { return m_intHasBeenSet; } - inline void SetInt(const Aws::String& value) { m_intHasBeenSet = true; m_int = value; } - inline void SetInt(Aws::String&& value) { m_intHasBeenSet = true; m_int = std::move(value); } - inline void SetInt(const char* value) { m_intHasBeenSet = true; m_int.assign(value); } - inline TaskParameterValue& WithInt(const Aws::String& value) { SetInt(value); return *this;} - inline TaskParameterValue& WithInt(Aws::String&& value) { SetInt(std::move(value)); return *this;} - inline TaskParameterValue& WithInt(const char* value) { SetInt(value); return *this;} + inline const Aws::String& GetString() const{ return m_string; } + inline bool StringHasBeenSet() const { return m_stringHasBeenSet; } + inline void SetString(const Aws::String& value) { m_stringHasBeenSet = true; m_string = value; } + inline void SetString(Aws::String&& value) { m_stringHasBeenSet = true; m_string = std::move(value); } + inline void SetString(const char* value) { m_stringHasBeenSet = true; m_string.assign(value); } + inline TaskParameterValue& WithString(const Aws::String& value) { SetString(value); return *this;} + inline TaskParameterValue& WithString(Aws::String&& value) { SetString(std::move(value)); return *this;} + inline TaskParameterValue& WithString(const char* value) { SetString(value); return *this;} ///@} ///@{ @@ -79,33 +93,19 @@ namespace Model inline TaskParameterValue& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} inline TaskParameterValue& WithPath(const char* value) { SetPath(value); return *this;} ///@} - - ///@{ - /** - *

      A UTF-8 string.

      - */ - inline const Aws::String& GetString() const{ return m_string; } - inline bool StringHasBeenSet() const { return m_stringHasBeenSet; } - inline void SetString(const Aws::String& value) { m_stringHasBeenSet = true; m_string = value; } - inline void SetString(Aws::String&& value) { m_stringHasBeenSet = true; m_string = std::move(value); } - inline void SetString(const char* value) { m_stringHasBeenSet = true; m_string.assign(value); } - inline TaskParameterValue& WithString(const Aws::String& value) { SetString(value); return *this;} - inline TaskParameterValue& WithString(Aws::String&& value) { SetString(std::move(value)); return *this;} - 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_float; + bool m_floatHasBeenSet = false; Aws::String m_string; bool m_stringHasBeenSet = false; + + Aws::String m_path; + bool m_pathHasBeenSet = false; }; } // namespace Model 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 index 627e2ea249e..f50048fdbb3 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -42,20 +42,16 @@ namespace Model ///@{ /** - *

      The task parameters.

      + *

      The task ID.

      */ - inline const Aws::Map& GetParameters() const{ return m_parameters; } - inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } - inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } - inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } - inline TaskRunSessionActionDefinition& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} - inline TaskRunSessionActionDefinition& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} - inline TaskRunSessionActionDefinition& AddParameters(const Aws::String& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } - inline TaskRunSessionActionDefinition& AddParameters(Aws::String&& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } - inline TaskRunSessionActionDefinition& AddParameters(const Aws::String& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } - inline TaskRunSessionActionDefinition& AddParameters(Aws::String&& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } - inline TaskRunSessionActionDefinition& AddParameters(const char* key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } - inline TaskRunSessionActionDefinition& AddParameters(const char* key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + inline const Aws::String& GetTaskId() const{ return m_taskId; } + inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } + inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } + inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } + inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } + inline TaskRunSessionActionDefinition& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} + inline TaskRunSessionActionDefinition& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} + inline TaskRunSessionActionDefinition& WithTaskId(const char* value) { SetTaskId(value); return *this;} ///@} ///@{ @@ -74,27 +70,31 @@ namespace Model ///@{ /** - *

      The task ID.

      + *

      The task parameters.

      */ - inline const Aws::String& GetTaskId() const{ return m_taskId; } - inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } - inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } - inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } - inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } - inline TaskRunSessionActionDefinition& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} - inline TaskRunSessionActionDefinition& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} - inline TaskRunSessionActionDefinition& WithTaskId(const char* value) { SetTaskId(value); return *this;} + inline const Aws::Map& GetParameters() const{ return m_parameters; } + inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } + inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } + inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } + inline TaskRunSessionActionDefinition& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} + inline TaskRunSessionActionDefinition& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} + inline TaskRunSessionActionDefinition& AddParameters(const Aws::String& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + inline TaskRunSessionActionDefinition& AddParameters(Aws::String&& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } + inline TaskRunSessionActionDefinition& AddParameters(const Aws::String& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + inline TaskRunSessionActionDefinition& AddParameters(Aws::String&& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } + inline TaskRunSessionActionDefinition& AddParameters(const char* key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + inline TaskRunSessionActionDefinition& AddParameters(const char* key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } ///@} private: - Aws::Map m_parameters; - bool m_parametersHasBeenSet = false; + Aws::String m_taskId; + bool m_taskIdHasBeenSet = false; Aws::String m_stepId; bool m_stepIdHasBeenSet = false; - Aws::String m_taskId; - bool m_taskIdHasBeenSet = false; + Aws::Map m_parameters; + bool m_parametersHasBeenSet = false; }; } // namespace Model 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 index 939b02bdd7f..ad122ca23f7 100644 --- 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 @@ -37,20 +37,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

      The step ID.

      - */ - inline const Aws::String& GetStepId() const{ return m_stepId; } - inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } - inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } - inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } - inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } - inline TaskRunSessionActionDefinitionSummary& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} - inline TaskRunSessionActionDefinitionSummary& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} - inline TaskRunSessionActionDefinitionSummary& WithStepId(const char* value) { SetStepId(value); return *this;} - ///@} - ///@{ /** *

      The task ID.

      @@ -64,13 +50,27 @@ namespace Model inline TaskRunSessionActionDefinitionSummary& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} inline TaskRunSessionActionDefinitionSummary& WithTaskId(const char* value) { SetTaskId(value); return *this;} ///@} - private: - Aws::String m_stepId; - bool m_stepIdHasBeenSet = false; + ///@{ + /** + *

      The step ID.

      + */ + inline const Aws::String& GetStepId() const{ return m_stepId; } + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + inline TaskRunSessionActionDefinitionSummary& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + inline TaskRunSessionActionDefinitionSummary& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + inline TaskRunSessionActionDefinitionSummary& WithStepId(const char* value) { SetStepId(value); return *this;} + ///@} + private: Aws::String m_taskId; bool m_taskIdHasBeenSet = false; + + Aws::String m_stepId; + bool m_stepIdHasBeenSet = false; }; } // namespace Model 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 index 494ed7a7d11..fb13c3ab9cf 100644 --- 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 @@ -5,11 +5,11 @@ #pragma once #include -#include #include -#include #include #include +#include +#include #include #include @@ -44,24 +44,30 @@ namespace Model ///@{ /** - *

      The date and time the resource ended running.

      + *

      The task ID.

      */ - inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } - inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } - inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } - inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } - inline TaskSearchSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} - inline TaskSearchSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + inline const Aws::String& GetTaskId() const{ return m_taskId; } + inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } + inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } + inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } + inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } + inline TaskSearchSummary& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} + inline TaskSearchSummary& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} + inline TaskSearchSummary& WithTaskId(const char* value) { SetTaskId(value); return *this;} ///@} ///@{ /** - *

      The number of times that the task failed and was retried.

      + *

      The step ID.

      */ - inline int GetFailureRetryCount() const{ return m_failureRetryCount; } - inline bool FailureRetryCountHasBeenSet() const { return m_failureRetryCountHasBeenSet; } - inline void SetFailureRetryCount(int value) { m_failureRetryCountHasBeenSet = true; m_failureRetryCount = value; } - inline TaskSearchSummary& WithFailureRetryCount(int value) { SetFailureRetryCount(value); return *this;} + inline const Aws::String& GetStepId() const{ return m_stepId; } + inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } + inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } + inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } + inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } + inline TaskSearchSummary& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} + inline TaskSearchSummary& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} + inline TaskSearchSummary& WithStepId(const char* value) { SetStepId(value); return *this;} ///@} ///@{ @@ -78,24 +84,6 @@ namespace Model inline TaskSearchSummary& WithJobId(const char* value) { SetJobId(value); return *this;} ///@} - ///@{ - /** - *

      The parameters to search for.

      - */ - inline const Aws::Map& GetParameters() const{ return m_parameters; } - inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } - inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } - inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } - inline TaskSearchSummary& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} - inline TaskSearchSummary& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} - inline TaskSearchSummary& AddParameters(const Aws::String& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } - inline TaskSearchSummary& AddParameters(Aws::String&& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } - inline TaskSearchSummary& AddParameters(const Aws::String& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } - inline TaskSearchSummary& AddParameters(Aws::String&& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } - inline TaskSearchSummary& AddParameters(const char* key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } - inline TaskSearchSummary& AddParameters(const char* key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } - ///@} - ///@{ /** *

      The queue ID.

      @@ -124,86 +112,98 @@ namespace Model ///@{ /** - *

      The date and time the resource started running.

      + *

      The run status that the task is being updated to.

      */ - inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } - inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } - inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } - inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } - inline TaskSearchSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} - inline TaskSearchSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + inline const TaskTargetRunStatus& GetTargetRunStatus() const{ return m_targetRunStatus; } + inline bool TargetRunStatusHasBeenSet() const { return m_targetRunStatusHasBeenSet; } + inline void SetTargetRunStatus(const TaskTargetRunStatus& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = value; } + inline void SetTargetRunStatus(TaskTargetRunStatus&& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = std::move(value); } + inline TaskSearchSummary& WithTargetRunStatus(const TaskTargetRunStatus& value) { SetTargetRunStatus(value); return *this;} + inline TaskSearchSummary& WithTargetRunStatus(TaskTargetRunStatus&& value) { SetTargetRunStatus(std::move(value)); return *this;} ///@} ///@{ /** - *

      The step ID.

      + *

      The parameters to search for.

      */ - inline const Aws::String& GetStepId() const{ return m_stepId; } - inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; } - inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; } - inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); } - inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); } - inline TaskSearchSummary& WithStepId(const Aws::String& value) { SetStepId(value); return *this;} - inline TaskSearchSummary& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;} - inline TaskSearchSummary& WithStepId(const char* value) { SetStepId(value); return *this;} + inline const Aws::Map& GetParameters() const{ return m_parameters; } + inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } + inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } + inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } + inline TaskSearchSummary& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} + inline TaskSearchSummary& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} + inline TaskSearchSummary& AddParameters(const Aws::String& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } + inline TaskSearchSummary& AddParameters(Aws::String&& key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } + inline TaskSearchSummary& AddParameters(const Aws::String& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + inline TaskSearchSummary& AddParameters(Aws::String&& key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } + inline TaskSearchSummary& AddParameters(const char* key, TaskParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } + inline TaskSearchSummary& AddParameters(const char* key, const TaskParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } ///@} ///@{ /** - *

      The run status that the task is being updated to.

      + *

      The number of times that the task failed and was retried.

      */ - inline const TaskTargetRunStatus& GetTargetRunStatus() const{ return m_targetRunStatus; } - inline bool TargetRunStatusHasBeenSet() const { return m_targetRunStatusHasBeenSet; } - inline void SetTargetRunStatus(const TaskTargetRunStatus& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = value; } - inline void SetTargetRunStatus(TaskTargetRunStatus&& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = std::move(value); } - inline TaskSearchSummary& WithTargetRunStatus(const TaskTargetRunStatus& value) { SetTargetRunStatus(value); return *this;} - inline TaskSearchSummary& WithTargetRunStatus(TaskTargetRunStatus&& value) { SetTargetRunStatus(std::move(value)); return *this;} + inline int GetFailureRetryCount() const{ return m_failureRetryCount; } + inline bool FailureRetryCountHasBeenSet() const { return m_failureRetryCountHasBeenSet; } + inline void SetFailureRetryCount(int value) { m_failureRetryCountHasBeenSet = true; m_failureRetryCount = value; } + inline TaskSearchSummary& WithFailureRetryCount(int value) { SetFailureRetryCount(value); return *this;} ///@} ///@{ /** - *

      The task ID.

      + *

      The date and time the resource started running.

      */ - inline const Aws::String& GetTaskId() const{ return m_taskId; } - inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } - inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } - inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } - inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } - inline TaskSearchSummary& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} - inline TaskSearchSummary& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} - inline TaskSearchSummary& WithTaskId(const char* value) { SetTaskId(value); return *this;} + inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } + inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } + inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } + inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } + inline TaskSearchSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} + inline TaskSearchSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      The date and time the resource ended running.

      + */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + inline TaskSearchSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + inline TaskSearchSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} ///@} private: - Aws::Utils::DateTime m_endedAt; - bool m_endedAtHasBeenSet = false; + Aws::String m_taskId; + bool m_taskIdHasBeenSet = false; - int m_failureRetryCount; - bool m_failureRetryCountHasBeenSet = false; + Aws::String m_stepId; + bool m_stepIdHasBeenSet = 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; + Aws::Map m_parameters; + bool m_parametersHasBeenSet = false; + + int m_failureRetryCount; + bool m_failureRetryCountHasBeenSet = false; + + Aws::Utils::DateTime m_startedAt; + bool m_startedAtHasBeenSet = false; + + Aws::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = false; }; } // namespace Model 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 index 397f70b6d70..2e50c30672e 100644 --- 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 @@ -5,11 +5,11 @@ #pragma once #include -#include #include -#include +#include #include #include +#include #include #include @@ -42,6 +42,20 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

      The task ID.

      + */ + inline const Aws::String& GetTaskId() const{ return m_taskId; } + inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } + inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } + inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } + inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } + inline TaskSummary& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} + inline TaskSummary& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} + inline TaskSummary& WithTaskId(const char* value) { SetTaskId(value); return *this;} + ///@} + ///@{ /** *

      The date and time the resource was created.

      @@ -70,38 +84,36 @@ namespace Model ///@{ /** - *

      The date and time the resource ended running.

      + *

      The run status of the task.

      */ - inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } - inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } - inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } - inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } - inline TaskSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} - inline TaskSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + inline const TaskRunStatus& GetRunStatus() const{ return m_runStatus; } + inline bool RunStatusHasBeenSet() const { return m_runStatusHasBeenSet; } + inline void SetRunStatus(const TaskRunStatus& value) { m_runStatusHasBeenSet = true; m_runStatus = value; } + inline void SetRunStatus(TaskRunStatus&& value) { m_runStatusHasBeenSet = true; m_runStatus = std::move(value); } + inline TaskSummary& WithRunStatus(const TaskRunStatus& value) { SetRunStatus(value); return *this;} + inline TaskSummary& WithRunStatus(TaskRunStatus&& value) { SetRunStatus(std::move(value)); return *this;} ///@} ///@{ /** - *

      The number of times that the task failed and was retried.

      + *

      The run status on which the started.

      */ - inline int GetFailureRetryCount() const{ return m_failureRetryCount; } - inline bool FailureRetryCountHasBeenSet() const { return m_failureRetryCountHasBeenSet; } - inline void SetFailureRetryCount(int value) { m_failureRetryCountHasBeenSet = true; m_failureRetryCount = value; } - inline TaskSummary& WithFailureRetryCount(int value) { SetFailureRetryCount(value); return *this;} + inline const TaskTargetRunStatus& GetTargetRunStatus() const{ return m_targetRunStatus; } + inline bool TargetRunStatusHasBeenSet() const { return m_targetRunStatusHasBeenSet; } + inline void SetTargetRunStatus(const TaskTargetRunStatus& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = value; } + inline void SetTargetRunStatus(TaskTargetRunStatus&& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = std::move(value); } + inline TaskSummary& WithTargetRunStatus(const TaskTargetRunStatus& value) { SetTargetRunStatus(value); return *this;} + inline TaskSummary& WithTargetRunStatus(TaskTargetRunStatus&& value) { SetTargetRunStatus(std::move(value)); return *this;} ///@} ///@{ /** - *

      The latest session action for the task.

      + *

      The number of times that the task failed and was retried.

      */ - inline const Aws::String& GetLatestSessionActionId() const{ return m_latestSessionActionId; } - inline bool LatestSessionActionIdHasBeenSet() const { return m_latestSessionActionIdHasBeenSet; } - inline void SetLatestSessionActionId(const Aws::String& value) { m_latestSessionActionIdHasBeenSet = true; m_latestSessionActionId = value; } - inline void SetLatestSessionActionId(Aws::String&& value) { m_latestSessionActionIdHasBeenSet = true; m_latestSessionActionId = std::move(value); } - inline void SetLatestSessionActionId(const char* value) { m_latestSessionActionIdHasBeenSet = true; m_latestSessionActionId.assign(value); } - inline TaskSummary& WithLatestSessionActionId(const Aws::String& value) { SetLatestSessionActionId(value); return *this;} - inline TaskSummary& WithLatestSessionActionId(Aws::String&& value) { SetLatestSessionActionId(std::move(value)); return *this;} - inline TaskSummary& WithLatestSessionActionId(const char* value) { SetLatestSessionActionId(value); return *this;} + inline int GetFailureRetryCount() const{ return m_failureRetryCount; } + inline bool FailureRetryCountHasBeenSet() const { return m_failureRetryCountHasBeenSet; } + inline void SetFailureRetryCount(int value) { m_failureRetryCountHasBeenSet = true; m_failureRetryCount = value; } + inline TaskSummary& WithFailureRetryCount(int value) { SetFailureRetryCount(value); return *this;} ///@} ///@{ @@ -122,18 +134,6 @@ namespace Model 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; } - inline bool RunStatusHasBeenSet() const { return m_runStatusHasBeenSet; } - inline void SetRunStatus(const TaskRunStatus& value) { m_runStatusHasBeenSet = true; m_runStatus = value; } - inline void SetRunStatus(TaskRunStatus&& value) { m_runStatusHasBeenSet = true; m_runStatus = std::move(value); } - inline TaskSummary& WithRunStatus(const TaskRunStatus& value) { SetRunStatus(value); return *this;} - inline TaskSummary& WithRunStatus(TaskRunStatus&& value) { SetRunStatus(std::move(value)); return *this;} - ///@} - ///@{ /** *

      The date and time the resource started running.

      @@ -148,28 +148,14 @@ namespace Model ///@{ /** - *

      The run status on which the started.

      - */ - inline const TaskTargetRunStatus& GetTargetRunStatus() const{ return m_targetRunStatus; } - inline bool TargetRunStatusHasBeenSet() const { return m_targetRunStatusHasBeenSet; } - inline void SetTargetRunStatus(const TaskTargetRunStatus& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = value; } - inline void SetTargetRunStatus(TaskTargetRunStatus&& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = std::move(value); } - inline TaskSummary& WithTargetRunStatus(const TaskTargetRunStatus& value) { SetTargetRunStatus(value); return *this;} - inline TaskSummary& WithTargetRunStatus(TaskTargetRunStatus&& value) { SetTargetRunStatus(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

      The task ID.

      + *

      The date and time the resource ended running.

      */ - inline const Aws::String& GetTaskId() const{ return m_taskId; } - inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } - inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } - inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } - inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } - inline TaskSummary& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} - inline TaskSummary& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} - inline TaskSummary& WithTaskId(const char* value) { SetTaskId(value); return *this;} + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + inline TaskSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + inline TaskSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} ///@} ///@{ @@ -197,43 +183,57 @@ namespace Model inline TaskSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} inline TaskSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} ///@} + + ///@{ + /** + *

      The latest session action for the task.

      + */ + inline const Aws::String& GetLatestSessionActionId() const{ return m_latestSessionActionId; } + inline bool LatestSessionActionIdHasBeenSet() const { return m_latestSessionActionIdHasBeenSet; } + inline void SetLatestSessionActionId(const Aws::String& value) { m_latestSessionActionIdHasBeenSet = true; m_latestSessionActionId = value; } + inline void SetLatestSessionActionId(Aws::String&& value) { m_latestSessionActionIdHasBeenSet = true; m_latestSessionActionId = std::move(value); } + inline void SetLatestSessionActionId(const char* value) { m_latestSessionActionIdHasBeenSet = true; m_latestSessionActionId.assign(value); } + inline TaskSummary& WithLatestSessionActionId(const Aws::String& value) { SetLatestSessionActionId(value); return *this;} + inline TaskSummary& WithLatestSessionActionId(Aws::String&& value) { SetLatestSessionActionId(std::move(value)); return *this;} + inline TaskSummary& WithLatestSessionActionId(const char* value) { SetLatestSessionActionId(value); return *this;} + ///@} private: + Aws::String m_taskId; + bool m_taskIdHasBeenSet = false; + 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; + TaskRunStatus m_runStatus; + bool m_runStatusHasBeenSet = false; + + TaskTargetRunStatus m_targetRunStatus; + bool m_targetRunStatusHasBeenSet = 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_endedAt; + bool m_endedAtHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; Aws::String m_updatedBy; bool m_updatedByHasBeenSet = false; + + Aws::String m_latestSessionActionId; + bool m_latestSessionActionIdHasBeenSet = false; }; } // namespace Model 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 index 4d41e8a3b46..4830b8bca5a 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -38,25 +38,6 @@ namespace Model 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; } - inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } - inline void SetContext(const Aws::Map& value) { m_contextHasBeenSet = true; m_context = value; } - inline void SetContext(Aws::Map&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } - inline ThrottlingException& WithContext(const Aws::Map& value) { SetContext(value); return *this;} - inline ThrottlingException& WithContext(Aws::Map&& value) { SetContext(std::move(value)); return *this;} - inline ThrottlingException& AddContext(const Aws::String& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } - inline ThrottlingException& AddContext(Aws::String&& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } - inline ThrottlingException& AddContext(const Aws::String& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } - inline ThrottlingException& AddContext(Aws::String&& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), std::move(value)); return *this; } - inline ThrottlingException& AddContext(const char* key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } - inline ThrottlingException& AddContext(Aws::String&& key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } - 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; } @@ -69,6 +50,20 @@ namespace Model inline ThrottlingException& WithMessage(const char* value) { SetMessage(value); return *this;} ///@} + ///@{ + /** + *

      Identifies the service that is being throttled.

      + */ + inline const Aws::String& GetServiceCode() const{ return m_serviceCode; } + inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } + inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; } + inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); } + inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); } + inline ThrottlingException& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;} + inline ThrottlingException& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} + inline ThrottlingException& WithServiceCode(const char* value) { SetServiceCode(value); return *this;} + ///@} + ///@{ /** *

      Identifies the quota that is being throttled.

      @@ -95,33 +90,38 @@ namespace Model ///@{ /** - *

      Identifies the service that is being throttled.

      + *

      Information about the resources in use when the exception was thrown.

      */ - inline const Aws::String& GetServiceCode() const{ return m_serviceCode; } - inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } - inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; } - inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); } - inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); } - inline ThrottlingException& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;} - inline ThrottlingException& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} - inline ThrottlingException& WithServiceCode(const char* value) { SetServiceCode(value); return *this;} + inline const Aws::Map& GetContext() const{ return m_context; } + inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } + inline void SetContext(const Aws::Map& value) { m_contextHasBeenSet = true; m_context = value; } + inline void SetContext(Aws::Map&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } + inline ThrottlingException& WithContext(const Aws::Map& value) { SetContext(value); return *this;} + inline ThrottlingException& WithContext(Aws::Map&& value) { SetContext(std::move(value)); return *this;} + inline ThrottlingException& AddContext(const Aws::String& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + inline ThrottlingException& AddContext(Aws::String&& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + inline ThrottlingException& AddContext(const Aws::String& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + inline ThrottlingException& AddContext(Aws::String&& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), std::move(value)); return *this; } + inline ThrottlingException& AddContext(const char* key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + inline ThrottlingException& AddContext(Aws::String&& key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + inline ThrottlingException& AddContext(const char* key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } ///@} private: - Aws::Map m_context; - bool m_contextHasBeenSet = false; - Aws::String m_message; bool m_messageHasBeenSet = false; + Aws::String m_serviceCode; + bool m_serviceCodeHasBeenSet = false; + Aws::String m_quotaCode; bool m_quotaCodeHasBeenSet = false; int m_retryAfterSeconds; bool m_retryAfterSecondsHasBeenSet = false; - Aws::String m_serviceCode; - bool m_serviceCodeHasBeenSet = false; + Aws::Map m_context; + bool m_contextHasBeenSet = false; }; } // namespace Model 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 index bebbe575511..1ef6413b463 100644 --- 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 @@ -6,10 +6,10 @@ #pragma once #include #include -#include #include -#include #include +#include +#include #include #include #include @@ -42,41 +42,31 @@ namespace Model ///@{ /** - *

      The budget actions to add. Budget actions specify what happens when the - * budget runs out.

      - */ - inline const Aws::Vector& GetActionsToAdd() const{ return m_actionsToAdd; } - inline bool ActionsToAddHasBeenSet() const { return m_actionsToAddHasBeenSet; } - inline void SetActionsToAdd(const Aws::Vector& value) { m_actionsToAddHasBeenSet = true; m_actionsToAdd = value; } - inline void SetActionsToAdd(Aws::Vector&& value) { m_actionsToAddHasBeenSet = true; m_actionsToAdd = std::move(value); } - inline UpdateBudgetRequest& WithActionsToAdd(const Aws::Vector& value) { SetActionsToAdd(value); return *this;} - inline UpdateBudgetRequest& WithActionsToAdd(Aws::Vector&& value) { SetActionsToAdd(std::move(value)); return *this;} - inline UpdateBudgetRequest& AddActionsToAdd(const BudgetActionToAdd& value) { m_actionsToAddHasBeenSet = true; m_actionsToAdd.push_back(value); return *this; } - 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.

      + *

      The unique token which the server uses to recognize retries of the same + * request.

      */ - inline const Aws::Vector& GetActionsToRemove() const{ return m_actionsToRemove; } - inline bool ActionsToRemoveHasBeenSet() const { return m_actionsToRemoveHasBeenSet; } - inline void SetActionsToRemove(const Aws::Vector& value) { m_actionsToRemoveHasBeenSet = true; m_actionsToRemove = value; } - inline void SetActionsToRemove(Aws::Vector&& value) { m_actionsToRemoveHasBeenSet = true; m_actionsToRemove = std::move(value); } - inline UpdateBudgetRequest& WithActionsToRemove(const Aws::Vector& value) { SetActionsToRemove(value); return *this;} - inline UpdateBudgetRequest& WithActionsToRemove(Aws::Vector&& value) { SetActionsToRemove(std::move(value)); return *this;} - inline UpdateBudgetRequest& AddActionsToRemove(const BudgetActionToRemove& value) { m_actionsToRemoveHasBeenSet = true; m_actionsToRemove.push_back(value); return *this; } - inline UpdateBudgetRequest& AddActionsToRemove(BudgetActionToRemove&& value) { m_actionsToRemoveHasBeenSet = true; m_actionsToRemove.push_back(std::move(value)); return *this; } + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline UpdateBudgetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline UpdateBudgetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline UpdateBudgetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} ///@} ///@{ /** - *

      The dollar limit to update on the budget. Based on consumed usage.

      + *

      The farm ID of the budget to update.

      */ - inline double GetApproximateDollarLimit() const{ return m_approximateDollarLimit; } - inline bool ApproximateDollarLimitHasBeenSet() const { return m_approximateDollarLimitHasBeenSet; } - inline void SetApproximateDollarLimit(double value) { m_approximateDollarLimitHasBeenSet = true; m_approximateDollarLimit = value; } - inline UpdateBudgetRequest& WithApproximateDollarLimit(double value) { SetApproximateDollarLimit(value); return *this;} + inline const Aws::String& GetFarmId() const{ return m_farmId; } + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + inline UpdateBudgetRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + inline UpdateBudgetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + inline UpdateBudgetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} ///@{ @@ -95,22 +85,27 @@ namespace Model ///@{ /** - *

      The unique token which the server uses to recognize retries of the same - * request.

      + *

      The display name of the budget to update.

      This field can + * store any content. Escape or encode this content before displaying it on a + * webpage or any other system that might interpret the content of this field.

      + * */ - inline const Aws::String& GetClientToken() const{ return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } - inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } - inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } - inline UpdateBudgetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} - inline UpdateBudgetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} - inline UpdateBudgetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + inline UpdateBudgetRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + inline UpdateBudgetRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + inline UpdateBudgetRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} ///@} ///@{ /** - *

      The description of the budget to update.

      + *

      The description of the budget to update.

      This field can + * store any content. Escape or encode this content before displaying it on a + * webpage or any other system that might interpret the content of this field.

      + * */ inline const Aws::String& GetDescription() const{ return m_description; } inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } @@ -124,30 +119,56 @@ namespace Model ///@{ /** - *

      The display name of the budget to update.

      + *

      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 Aws::String& GetDisplayName() const{ return m_displayName; } - inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } - inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } - inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } - inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } - inline UpdateBudgetRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} - inline UpdateBudgetRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} - inline UpdateBudgetRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + inline const BudgetStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const BudgetStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(BudgetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline UpdateBudgetRequest& WithStatus(const BudgetStatus& value) { SetStatus(value); return *this;} + inline UpdateBudgetRequest& WithStatus(BudgetStatus&& value) { SetStatus(std::move(value)); return *this;} ///@} ///@{ /** - *

      The farm ID of the budget to update.

      + *

      The dollar limit to update on the budget. Based on consumed usage.

      */ - inline const Aws::String& GetFarmId() const{ return m_farmId; } - inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } - inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } - inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } - inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } - inline UpdateBudgetRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} - inline UpdateBudgetRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} - inline UpdateBudgetRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + inline double GetApproximateDollarLimit() const{ return m_approximateDollarLimit; } + inline bool ApproximateDollarLimitHasBeenSet() const { return m_approximateDollarLimitHasBeenSet; } + inline void SetApproximateDollarLimit(double value) { m_approximateDollarLimitHasBeenSet = true; m_approximateDollarLimit = value; } + inline UpdateBudgetRequest& WithApproximateDollarLimit(double value) { SetApproximateDollarLimit(value); return *this;} + ///@} + + ///@{ + /** + *

      The budget actions to add. Budget actions specify what happens when the + * budget runs out.

      + */ + inline const Aws::Vector& GetActionsToAdd() const{ return m_actionsToAdd; } + inline bool ActionsToAddHasBeenSet() const { return m_actionsToAddHasBeenSet; } + inline void SetActionsToAdd(const Aws::Vector& value) { m_actionsToAddHasBeenSet = true; m_actionsToAdd = value; } + inline void SetActionsToAdd(Aws::Vector&& value) { m_actionsToAddHasBeenSet = true; m_actionsToAdd = std::move(value); } + inline UpdateBudgetRequest& WithActionsToAdd(const Aws::Vector& value) { SetActionsToAdd(value); return *this;} + inline UpdateBudgetRequest& WithActionsToAdd(Aws::Vector&& value) { SetActionsToAdd(std::move(value)); return *this;} + inline UpdateBudgetRequest& AddActionsToAdd(const BudgetActionToAdd& value) { m_actionsToAddHasBeenSet = true; m_actionsToAdd.push_back(value); return *this; } + 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; } + inline bool ActionsToRemoveHasBeenSet() const { return m_actionsToRemoveHasBeenSet; } + inline void SetActionsToRemove(const Aws::Vector& value) { m_actionsToRemoveHasBeenSet = true; m_actionsToRemove = value; } + inline void SetActionsToRemove(Aws::Vector&& value) { m_actionsToRemoveHasBeenSet = true; m_actionsToRemove = std::move(value); } + inline UpdateBudgetRequest& WithActionsToRemove(const Aws::Vector& value) { SetActionsToRemove(value); return *this;} + inline UpdateBudgetRequest& WithActionsToRemove(Aws::Vector&& value) { SetActionsToRemove(std::move(value)); return *this;} + inline UpdateBudgetRequest& AddActionsToRemove(const BudgetActionToRemove& value) { m_actionsToRemoveHasBeenSet = true; m_actionsToRemove.push_back(value); return *this; } + inline UpdateBudgetRequest& AddActionsToRemove(BudgetActionToRemove&& value) { m_actionsToRemoveHasBeenSet = true; m_actionsToRemove.push_back(std::move(value)); return *this; } ///@} ///@{ @@ -161,52 +182,37 @@ namespace Model inline UpdateBudgetRequest& WithSchedule(const BudgetSchedule& value) { SetSchedule(value); return *this;} 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; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(const BudgetStatus& value) { m_statusHasBeenSet = true; m_status = value; } - inline void SetStatus(BudgetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } - inline UpdateBudgetRequest& WithStatus(const BudgetStatus& value) { SetStatus(value); return *this;} - 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; + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; - double m_approximateDollarLimit; - bool m_approximateDollarLimitHasBeenSet = false; + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; Aws::String m_budgetId; bool m_budgetIdHasBeenSet = false; - Aws::String m_clientToken; - bool m_clientTokenHasBeenSet = false; + Aws::String m_displayName; + bool m_displayNameHasBeenSet = 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::String m_farmId; - bool m_farmIdHasBeenSet = false; + double m_approximateDollarLimit; + bool m_approximateDollarLimitHasBeenSet = false; + + Aws::Vector m_actionsToAdd; + bool m_actionsToAddHasBeenSet = false; + + Aws::Vector m_actionsToRemove; + bool m_actionsToRemoveHasBeenSet = false; BudgetSchedule m_schedule; bool m_scheduleHasBeenSet = false; - - BudgetStatus m_status; - bool m_statusHasBeenSet = false; }; } // namespace Model 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 index 490de555676..9a5758d2906 100644 --- 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 @@ -34,21 +34,24 @@ namespace Model ///@{ /** - *

      The description of the farm to update.

      + *

      The farm ID to update.

      */ - inline const Aws::String& GetDescription() const{ return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } - inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } - inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } - inline UpdateFarmRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - inline UpdateFarmRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - inline UpdateFarmRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + inline const Aws::String& GetFarmId() const{ return m_farmId; } + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + inline UpdateFarmRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + inline UpdateFarmRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + inline UpdateFarmRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} ///@{ /** - *

      The display name of the farm to update.

      + *

      The display name of the farm to update.

      This field can + * store any content. Escape or encode this content before displaying it on a + * webpage or any other system that might interpret the content of this field.

      + * */ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } @@ -62,27 +65,30 @@ namespace Model ///@{ /** - *

      The farm ID to update.

      + *

      The description of the farm to update.

      This field can + * store any content. Escape or encode this content before displaying it on a + * webpage or any other system that might interpret the content of this field.

      + * */ - inline const Aws::String& GetFarmId() const{ return m_farmId; } - inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } - inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } - inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } - inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } - inline UpdateFarmRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} - inline UpdateFarmRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} - inline UpdateFarmRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline UpdateFarmRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline UpdateFarmRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline UpdateFarmRequest& WithDescription(const char* value) { SetDescription(value); return *this;} ///@} private: - Aws::String m_description; - bool m_descriptionHasBeenSet = false; + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; - Aws::String m_farmId; - bool m_farmIdHasBeenSet = false; + Aws::String m_description; + bool m_descriptionHasBeenSet = false; }; } // namespace Model 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 index f27d8487958..c1f2824a996 100644 --- 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 @@ -51,46 +51,6 @@ namespace Model inline UpdateFleetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} ///@} - ///@{ - /** - *

      The fleet configuration to update.

      - */ - inline const FleetConfiguration& GetConfiguration() const{ return m_configuration; } - inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } - inline void SetConfiguration(const FleetConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } - inline void SetConfiguration(FleetConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } - inline UpdateFleetRequest& WithConfiguration(const FleetConfiguration& value) { SetConfiguration(value); return *this;} - 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; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } - inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } - inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } - inline UpdateFleetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - inline UpdateFleetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - 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; } - inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } - inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } - inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } - inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } - inline UpdateFleetRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} - inline UpdateFleetRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} - inline UpdateFleetRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} - ///@} - ///@{ /** *

      The farm ID to update.

      @@ -121,22 +81,36 @@ namespace Model ///@{ /** - *

      The maximum number of workers in the fleet.

      + *

      The display name of the fleet to update.

      This field can + * store any content. Escape or encode this content before displaying it on a + * webpage or any other system that might interpret the content of this field.

      + * */ - inline int GetMaxWorkerCount() const{ return m_maxWorkerCount; } - inline bool MaxWorkerCountHasBeenSet() const { return m_maxWorkerCountHasBeenSet; } - inline void SetMaxWorkerCount(int value) { m_maxWorkerCountHasBeenSet = true; m_maxWorkerCount = value; } - inline UpdateFleetRequest& WithMaxWorkerCount(int value) { SetMaxWorkerCount(value); return *this;} + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + inline UpdateFleetRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + inline UpdateFleetRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + inline UpdateFleetRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} ///@} ///@{ /** - *

      The minimum number of workers in the fleet.

      + *

      The description of the fleet to update.

      This field can + * store any content. Escape or encode this content before displaying it on a + * webpage or any other system that might interpret the content of this field.

      + * */ - inline int GetMinWorkerCount() const{ return m_minWorkerCount; } - inline bool MinWorkerCountHasBeenSet() const { return m_minWorkerCountHasBeenSet; } - inline void SetMinWorkerCount(int value) { m_minWorkerCountHasBeenSet = true; m_minWorkerCount = value; } - inline UpdateFleetRequest& WithMinWorkerCount(int value) { SetMinWorkerCount(value); return *this;} + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline UpdateFleetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline UpdateFleetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline UpdateFleetRequest& WithDescription(const char* value) { SetDescription(value); return *this;} ///@} ///@{ @@ -152,19 +126,42 @@ namespace Model inline UpdateFleetRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} inline UpdateFleetRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} ///@} - private: - Aws::String m_clientToken; - bool m_clientTokenHasBeenSet = false; + ///@{ + /** + *

      The minimum number of workers in the fleet.

      + */ + inline int GetMinWorkerCount() const{ return m_minWorkerCount; } + inline bool MinWorkerCountHasBeenSet() const { return m_minWorkerCountHasBeenSet; } + inline void SetMinWorkerCount(int value) { m_minWorkerCountHasBeenSet = true; m_minWorkerCount = value; } + inline UpdateFleetRequest& WithMinWorkerCount(int value) { SetMinWorkerCount(value); return *this;} + ///@} - FleetConfiguration m_configuration; - bool m_configurationHasBeenSet = false; + ///@{ + /** + *

      The maximum number of workers in the fleet.

      + */ + inline int GetMaxWorkerCount() const{ return m_maxWorkerCount; } + inline bool MaxWorkerCountHasBeenSet() const { return m_maxWorkerCountHasBeenSet; } + inline void SetMaxWorkerCount(int value) { m_maxWorkerCountHasBeenSet = true; m_maxWorkerCount = value; } + inline UpdateFleetRequest& WithMaxWorkerCount(int value) { SetMaxWorkerCount(value); return *this;} + ///@} - Aws::String m_description; - bool m_descriptionHasBeenSet = false; + ///@{ + /** + *

      The fleet configuration to update.

      + */ + inline const FleetConfiguration& GetConfiguration() const{ return m_configuration; } + inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } + inline void SetConfiguration(const FleetConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } + inline void SetConfiguration(FleetConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } + inline UpdateFleetRequest& WithConfiguration(const FleetConfiguration& value) { SetConfiguration(value); return *this;} + inline UpdateFleetRequest& WithConfiguration(FleetConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} + ///@} + private: - Aws::String m_displayName; - bool m_displayNameHasBeenSet = false; + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; Aws::String m_farmId; bool m_farmIdHasBeenSet = false; @@ -172,14 +169,23 @@ namespace Model Aws::String m_fleetId; bool m_fleetIdHasBeenSet = false; - int m_maxWorkerCount; - bool m_maxWorkerCountHasBeenSet = false; + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; - int m_minWorkerCount; - bool m_minWorkerCountHasBeenSet = false; + Aws::String m_description; + bool m_descriptionHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; + + int m_minWorkerCount; + bool m_minWorkerCountHasBeenSet = false; + + int m_maxWorkerCount; + bool m_maxWorkerCountHasBeenSet = false; + + FleetConfiguration m_configuration; + bool m_configurationHasBeenSet = false; }; } // namespace Model 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 index e0be5107348..061385f7948 100644 --- 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 @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include #include @@ -66,6 +66,20 @@ namespace Model inline UpdateJobRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} + ///@{ + /** + *

      The queue ID of the job to update.

      + */ + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline UpdateJobRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline UpdateJobRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline UpdateJobRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + ///@} + ///@{ /** *

      The job ID to update.

      @@ -82,14 +96,24 @@ namespace Model ///@{ /** - *

      The status of a job in its lifecycle.

      + *

      The task status to update the job's tasks to.

      */ - inline const UpdateJobLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } - inline bool LifecycleStatusHasBeenSet() const { return m_lifecycleStatusHasBeenSet; } - inline void SetLifecycleStatus(const UpdateJobLifecycleStatus& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = value; } - inline void SetLifecycleStatus(UpdateJobLifecycleStatus&& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = std::move(value); } - inline UpdateJobRequest& WithLifecycleStatus(const UpdateJobLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} - inline UpdateJobRequest& WithLifecycleStatus(UpdateJobLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} + inline const JobTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } + inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } + inline void SetTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; } + inline void SetTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); } + inline UpdateJobRequest& WithTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} + inline UpdateJobRequest& WithTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      The job priority to update.

      + */ + inline int GetPriority() const{ return m_priority; } + inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } + inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } + inline UpdateJobRequest& WithPriority(int value) { SetPriority(value); return *this;} ///@} ///@{ @@ -115,38 +139,17 @@ namespace Model ///@{ /** - *

      The job priority to update.

      - */ - inline int GetPriority() const{ return m_priority; } - inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } - inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } - 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; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline UpdateJobRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline UpdateJobRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline UpdateJobRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} - ///@} - - ///@{ - /** - *

      The task status to update the job's tasks to.

      + *

      The status of a job in its lifecycle. When you change the status of the job + * to ARCHIVED, the job can't be scheduled or archived.

      + *

      An archived jobs and its steps and tasks are deleted after 120 + * days. The job can't be recovered.

      */ - inline const JobTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; } - inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; } - inline void SetTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; } - inline void SetTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); } - inline UpdateJobRequest& WithTargetTaskRunStatus(const JobTargetTaskRunStatus& value) { SetTargetTaskRunStatus(value); return *this;} - inline UpdateJobRequest& WithTargetTaskRunStatus(JobTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;} + inline const UpdateJobLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } + inline bool LifecycleStatusHasBeenSet() const { return m_lifecycleStatusHasBeenSet; } + inline void SetLifecycleStatus(const UpdateJobLifecycleStatus& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = value; } + inline void SetLifecycleStatus(UpdateJobLifecycleStatus&& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = std::move(value); } + inline UpdateJobRequest& WithLifecycleStatus(const UpdateJobLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} + inline UpdateJobRequest& WithLifecycleStatus(UpdateJobLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} ///@} private: @@ -156,11 +159,17 @@ namespace Model Aws::String m_farmId; bool m_farmIdHasBeenSet = false; + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; + Aws::String m_jobId; bool m_jobIdHasBeenSet = false; - UpdateJobLifecycleStatus m_lifecycleStatus; - bool m_lifecycleStatusHasBeenSet = false; + JobTargetTaskRunStatus m_targetTaskRunStatus; + bool m_targetTaskRunStatusHasBeenSet = false; + + int m_priority; + bool m_priorityHasBeenSet = false; int m_maxFailedTasksCount; bool m_maxFailedTasksCountHasBeenSet = false; @@ -168,14 +177,8 @@ namespace Model 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; + UpdateJobLifecycleStatus m_lifecycleStatus; + bool m_lifecycleStatusHasBeenSet = false; }; } // namespace Model 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 index a845fc60f92..7fe0b3214b8 100644 --- 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 @@ -32,20 +32,6 @@ namespace Model 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; } - inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } - inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } - inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } - inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } - inline UpdateMonitorRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} - inline UpdateMonitorRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} - inline UpdateMonitorRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} - ///@} - ///@{ /** *

      The unique identifier of the monitor to update.

      @@ -60,6 +46,37 @@ namespace Model inline UpdateMonitorRequest& WithMonitorId(const char* value) { SetMonitorId(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; } + inline bool SubdomainHasBeenSet() const { return m_subdomainHasBeenSet; } + inline void SetSubdomain(const Aws::String& value) { m_subdomainHasBeenSet = true; m_subdomain = value; } + inline void SetSubdomain(Aws::String&& value) { m_subdomainHasBeenSet = true; m_subdomain = std::move(value); } + inline void SetSubdomain(const char* value) { m_subdomainHasBeenSet = true; m_subdomain.assign(value); } + inline UpdateMonitorRequest& WithSubdomain(const Aws::String& value) { SetSubdomain(value); return *this;} + inline UpdateMonitorRequest& WithSubdomain(Aws::String&& value) { SetSubdomain(std::move(value)); return *this;} + inline UpdateMonitorRequest& WithSubdomain(const char* value) { SetSubdomain(value); return *this;} + ///@} + + ///@{ + /** + *

      The new value to use for the monitor's display name.

      This + * field can store any content. Escape or encode this content before displaying it + * on a webpage or any other system that might interpret the content of this + * field.

      + */ + inline const Aws::String& GetDisplayName() const{ return m_displayName; } + inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } + inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } + inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } + inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } + inline UpdateMonitorRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} + inline UpdateMonitorRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} + inline UpdateMonitorRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} + ///@} + ///@{ /** *

      The Amazon Resource Name (ARN) of the new IAM role to use with the @@ -74,33 +91,19 @@ namespace Model inline UpdateMonitorRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} 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; } - inline bool SubdomainHasBeenSet() const { return m_subdomainHasBeenSet; } - inline void SetSubdomain(const Aws::String& value) { m_subdomainHasBeenSet = true; m_subdomain = value; } - inline void SetSubdomain(Aws::String&& value) { m_subdomainHasBeenSet = true; m_subdomain = std::move(value); } - inline void SetSubdomain(const char* value) { m_subdomainHasBeenSet = true; m_subdomain.assign(value); } - inline UpdateMonitorRequest& WithSubdomain(const Aws::String& value) { SetSubdomain(value); return *this;} - inline UpdateMonitorRequest& WithSubdomain(Aws::String&& value) { SetSubdomain(std::move(value)); return *this;} - 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; + + Aws::String m_displayName; + bool m_displayNameHasBeenSet = false; + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; }; } // namespace Model 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 index 559e68ada45..f6aa717f710 100644 --- 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 @@ -67,12 +67,16 @@ namespace Model ///@{ /** - *

      The priority to update.

      + *

      The queue ID of the queue environment to update.

      */ - inline int GetPriority() const{ return m_priority; } - inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } - inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } - inline UpdateQueueEnvironmentRequest& WithPriority(int value) { SetPriority(value); return *this;} + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline UpdateQueueEnvironmentRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline UpdateQueueEnvironmentRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline UpdateQueueEnvironmentRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} ///@{ @@ -91,16 +95,24 @@ namespace Model ///@{ /** - *

      The queue ID of the queue environment to update.

      + *

      The priority to update.

      */ - inline const Aws::String& GetQueueId() const{ return m_queueId; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline UpdateQueueEnvironmentRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline UpdateQueueEnvironmentRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline UpdateQueueEnvironmentRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} + inline int GetPriority() const{ return m_priority; } + inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } + inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } + inline UpdateQueueEnvironmentRequest& WithPriority(int value) { SetPriority(value); return *this;} + ///@} + + ///@{ + /** + *

      The template type to update.

      + */ + inline const EnvironmentTemplateType& GetTemplateType() const{ return m_templateType; } + inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; } + inline void SetTemplateType(const EnvironmentTemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; } + inline void SetTemplateType(EnvironmentTemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); } + inline UpdateQueueEnvironmentRequest& WithTemplateType(const EnvironmentTemplateType& value) { SetTemplateType(value); return *this;} + inline UpdateQueueEnvironmentRequest& WithTemplateType(EnvironmentTemplateType&& value) { SetTemplateType(std::move(value)); return *this;} ///@} ///@{ @@ -116,18 +128,6 @@ namespace Model inline UpdateQueueEnvironmentRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;} inline UpdateQueueEnvironmentRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;} ///@} - - ///@{ - /** - *

      The template type to update.

      - */ - inline const EnvironmentTemplateType& GetTemplateType() const{ return m_templateType; } - inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; } - inline void SetTemplateType(const EnvironmentTemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; } - inline void SetTemplateType(EnvironmentTemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); } - inline UpdateQueueEnvironmentRequest& WithTemplateType(const EnvironmentTemplateType& value) { SetTemplateType(value); return *this;} - inline UpdateQueueEnvironmentRequest& WithTemplateType(EnvironmentTemplateType&& value) { SetTemplateType(std::move(value)); return *this;} - ///@} private: Aws::String m_clientToken; @@ -136,20 +136,20 @@ namespace Model 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_queueEnvironmentId; bool m_queueEnvironmentIdHasBeenSet = false; - Aws::String m_queueId; - bool m_queueIdHasBeenSet = false; - - Aws::String m_template; - bool m_templateHasBeenSet = false; + int m_priority; + bool m_priorityHasBeenSet = false; EnvironmentTemplateType m_templateType; bool m_templateTypeHasBeenSet = false; + + Aws::String m_template; + bool m_templateHasBeenSet = false; }; } // namespace Model 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 index 1c55ad0d03c..be1d6ac594c 100644 --- 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 @@ -47,20 +47,6 @@ namespace Model inline UpdateQueueFleetAssociationRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} - ///@{ - /** - *

      The fleet ID to update.

      - */ - inline const Aws::String& GetFleetId() const{ return m_fleetId; } - inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } - inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } - inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } - inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } - inline UpdateQueueFleetAssociationRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} - inline UpdateQueueFleetAssociationRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} - inline UpdateQueueFleetAssociationRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} - ///@} - ///@{ /** *

      The queue ID to update.

      @@ -75,6 +61,20 @@ namespace Model inline UpdateQueueFleetAssociationRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} + ///@{ + /** + *

      The fleet ID to update.

      + */ + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + inline UpdateQueueFleetAssociationRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + inline UpdateQueueFleetAssociationRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + inline UpdateQueueFleetAssociationRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} + ///@} + ///@{ /** *

      The status to update.

      @@ -91,12 +91,12 @@ namespace Model 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_fleetId; + bool m_fleetIdHasBeenSet = false; + UpdateQueueFleetAssociationStatus m_status; bool m_statusHasBeenSet = false; }; 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 index f32095e0e0f..a423c7bc8cc 100644 --- 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 @@ -6,11 +6,11 @@ #pragma once #include #include -#include #include #include #include #include +#include #include #include @@ -39,36 +39,6 @@ namespace Model AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - ///@{ - /** - *

      The storage profile IDs to add.

      - */ - inline const Aws::Vector& GetAllowedStorageProfileIdsToAdd() const{ return m_allowedStorageProfileIdsToAdd; } - inline bool AllowedStorageProfileIdsToAddHasBeenSet() const { return m_allowedStorageProfileIdsToAddHasBeenSet; } - inline void SetAllowedStorageProfileIdsToAdd(const Aws::Vector& value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd = value; } - inline void SetAllowedStorageProfileIdsToAdd(Aws::Vector&& value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd = std::move(value); } - inline UpdateQueueRequest& WithAllowedStorageProfileIdsToAdd(const Aws::Vector& value) { SetAllowedStorageProfileIdsToAdd(value); return *this;} - inline UpdateQueueRequest& WithAllowedStorageProfileIdsToAdd(Aws::Vector&& value) { SetAllowedStorageProfileIdsToAdd(std::move(value)); return *this;} - inline UpdateQueueRequest& AddAllowedStorageProfileIdsToAdd(const Aws::String& value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd.push_back(value); return *this; } - inline UpdateQueueRequest& AddAllowedStorageProfileIdsToAdd(Aws::String&& value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd.push_back(std::move(value)); return *this; } - 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; } - inline bool AllowedStorageProfileIdsToRemoveHasBeenSet() const { return m_allowedStorageProfileIdsToRemoveHasBeenSet; } - inline void SetAllowedStorageProfileIdsToRemove(const Aws::Vector& value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove = value; } - inline void SetAllowedStorageProfileIdsToRemove(Aws::Vector&& value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove = std::move(value); } - inline UpdateQueueRequest& WithAllowedStorageProfileIdsToRemove(const Aws::Vector& value) { SetAllowedStorageProfileIdsToRemove(value); return *this;} - inline UpdateQueueRequest& WithAllowedStorageProfileIdsToRemove(Aws::Vector&& value) { SetAllowedStorageProfileIdsToRemove(std::move(value)); return *this;} - inline UpdateQueueRequest& AddAllowedStorageProfileIdsToRemove(const Aws::String& value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove.push_back(value); return *this; } - inline UpdateQueueRequest& AddAllowedStorageProfileIdsToRemove(Aws::String&& value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove.push_back(std::move(value)); return *this; } - inline UpdateQueueRequest& AddAllowedStorageProfileIdsToRemove(const char* value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove.push_back(value); return *this; } - ///@} - ///@{ /** *

      The idempotency token to update in the queue.

      @@ -85,34 +55,38 @@ namespace Model ///@{ /** - *

      The default action to take for a queue update if a budget isn't - * configured.

      + *

      The farm ID to update in the queue.

      */ - inline const DefaultQueueBudgetAction& GetDefaultBudgetAction() const{ return m_defaultBudgetAction; } - inline bool DefaultBudgetActionHasBeenSet() const { return m_defaultBudgetActionHasBeenSet; } - inline void SetDefaultBudgetAction(const DefaultQueueBudgetAction& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = value; } - inline void SetDefaultBudgetAction(DefaultQueueBudgetAction&& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = std::move(value); } - inline UpdateQueueRequest& WithDefaultBudgetAction(const DefaultQueueBudgetAction& value) { SetDefaultBudgetAction(value); return *this;} - inline UpdateQueueRequest& WithDefaultBudgetAction(DefaultQueueBudgetAction&& value) { SetDefaultBudgetAction(std::move(value)); return *this;} + inline const Aws::String& GetFarmId() const{ return m_farmId; } + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + inline UpdateQueueRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + inline UpdateQueueRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + inline UpdateQueueRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} ///@{ /** - *

      The description of the queue to update.

      + *

      The queue ID to update.

      */ - inline const Aws::String& GetDescription() const{ return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } - inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } - inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } - inline UpdateQueueRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - inline UpdateQueueRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - inline UpdateQueueRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + inline const Aws::String& GetQueueId() const{ return m_queueId; } + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } + inline UpdateQueueRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} + inline UpdateQueueRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} + inline UpdateQueueRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} ///@{ /** - *

      The display name of the queue to update.

      + *

      The display name of the queue to update.

      This field can + * store any content. Escape or encode this content before displaying it on a + * webpage or any other system that might interpret the content of this field.

      + * */ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } @@ -126,16 +100,32 @@ namespace Model ///@{ /** - *

      The farm ID to update in the queue.

      + *

      The description of the queue to update.

      This field can + * store any content. Escape or encode this content before displaying it on a + * webpage or any other system that might interpret the content of this field.

      + * */ - inline const Aws::String& GetFarmId() const{ return m_farmId; } - inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } - inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } - inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } - inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } - inline UpdateQueueRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} - inline UpdateQueueRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} - inline UpdateQueueRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline UpdateQueueRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline UpdateQueueRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline UpdateQueueRequest& WithDescription(const char* value) { SetDescription(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; } + inline bool DefaultBudgetActionHasBeenSet() const { return m_defaultBudgetActionHasBeenSet; } + inline void SetDefaultBudgetAction(const DefaultQueueBudgetAction& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = value; } + inline void SetDefaultBudgetAction(DefaultQueueBudgetAction&& value) { m_defaultBudgetActionHasBeenSet = true; m_defaultBudgetAction = std::move(value); } + inline UpdateQueueRequest& WithDefaultBudgetAction(const DefaultQueueBudgetAction& value) { SetDefaultBudgetAction(value); return *this;} + inline UpdateQueueRequest& WithDefaultBudgetAction(DefaultQueueBudgetAction&& value) { SetDefaultBudgetAction(std::move(value)); return *this;} ///@} ///@{ @@ -150,6 +140,20 @@ namespace Model inline UpdateQueueRequest& WithJobAttachmentSettings(JobAttachmentSettings&& value) { SetJobAttachmentSettings(std::move(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; } + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + inline UpdateQueueRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + inline UpdateQueueRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + inline UpdateQueueRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + ///@} + ///@{ /** *

      Update the jobs in the queue to run as a specified POSIX user.

      @@ -162,20 +166,6 @@ namespace Model 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; } - inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } - inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } - inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } - inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } - inline UpdateQueueRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} - inline UpdateQueueRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} - inline UpdateQueueRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} - ///@} - ///@{ /** *

      The required file system location names to add to the queue.

      @@ -208,57 +198,73 @@ namespace Model ///@{ /** - *

      The IAM role ARN that's used to run jobs from this queue.

      + *

      The storage profile IDs to add.

      */ - inline const Aws::String& GetRoleArn() const{ return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } - inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } - inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } - inline UpdateQueueRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} - inline UpdateQueueRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} - inline UpdateQueueRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + inline const Aws::Vector& GetAllowedStorageProfileIdsToAdd() const{ return m_allowedStorageProfileIdsToAdd; } + inline bool AllowedStorageProfileIdsToAddHasBeenSet() const { return m_allowedStorageProfileIdsToAddHasBeenSet; } + inline void SetAllowedStorageProfileIdsToAdd(const Aws::Vector& value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd = value; } + inline void SetAllowedStorageProfileIdsToAdd(Aws::Vector&& value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd = std::move(value); } + inline UpdateQueueRequest& WithAllowedStorageProfileIdsToAdd(const Aws::Vector& value) { SetAllowedStorageProfileIdsToAdd(value); return *this;} + inline UpdateQueueRequest& WithAllowedStorageProfileIdsToAdd(Aws::Vector&& value) { SetAllowedStorageProfileIdsToAdd(std::move(value)); return *this;} + inline UpdateQueueRequest& AddAllowedStorageProfileIdsToAdd(const Aws::String& value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd.push_back(value); return *this; } + inline UpdateQueueRequest& AddAllowedStorageProfileIdsToAdd(Aws::String&& value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd.push_back(std::move(value)); return *this; } + inline UpdateQueueRequest& AddAllowedStorageProfileIdsToAdd(const char* value) { m_allowedStorageProfileIdsToAddHasBeenSet = true; m_allowedStorageProfileIdsToAdd.push_back(value); return *this; } ///@} - private: - Aws::Vector m_allowedStorageProfileIdsToAdd; - bool m_allowedStorageProfileIdsToAddHasBeenSet = false; - - Aws::Vector m_allowedStorageProfileIdsToRemove; - bool m_allowedStorageProfileIdsToRemoveHasBeenSet = false; + ///@{ + /** + *

      The storage profile ID to remove.

      + */ + inline const Aws::Vector& GetAllowedStorageProfileIdsToRemove() const{ return m_allowedStorageProfileIdsToRemove; } + inline bool AllowedStorageProfileIdsToRemoveHasBeenSet() const { return m_allowedStorageProfileIdsToRemoveHasBeenSet; } + inline void SetAllowedStorageProfileIdsToRemove(const Aws::Vector& value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove = value; } + inline void SetAllowedStorageProfileIdsToRemove(Aws::Vector&& value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove = std::move(value); } + inline UpdateQueueRequest& WithAllowedStorageProfileIdsToRemove(const Aws::Vector& value) { SetAllowedStorageProfileIdsToRemove(value); return *this;} + inline UpdateQueueRequest& WithAllowedStorageProfileIdsToRemove(Aws::Vector&& value) { SetAllowedStorageProfileIdsToRemove(std::move(value)); return *this;} + inline UpdateQueueRequest& AddAllowedStorageProfileIdsToRemove(const Aws::String& value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove.push_back(value); return *this; } + inline UpdateQueueRequest& AddAllowedStorageProfileIdsToRemove(Aws::String&& value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove.push_back(std::move(value)); return *this; } + inline UpdateQueueRequest& AddAllowedStorageProfileIdsToRemove(const char* value) { m_allowedStorageProfileIdsToRemoveHasBeenSet = true; m_allowedStorageProfileIdsToRemove.push_back(value); return *this; } + ///@} + private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; - DefaultQueueBudgetAction m_defaultBudgetAction; - bool m_defaultBudgetActionHasBeenSet = false; + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; - Aws::String m_description; - bool m_descriptionHasBeenSet = false; + Aws::String m_queueId; + bool m_queueIdHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; - Aws::String m_farmId; - bool m_farmIdHasBeenSet = false; + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + DefaultQueueBudgetAction m_defaultBudgetAction; + bool m_defaultBudgetActionHasBeenSet = false; JobAttachmentSettings m_jobAttachmentSettings; bool m_jobAttachmentSettingsHasBeenSet = false; + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = 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; + Aws::Vector m_allowedStorageProfileIdsToAdd; + bool m_allowedStorageProfileIdsToAddHasBeenSet = false; + + Aws::Vector m_allowedStorageProfileIdsToRemove; + bool m_allowedStorageProfileIdsToRemoveHasBeenSet = false; }; } // namespace Model 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 index 411f523740c..6e246f85852 100644 --- 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 @@ -65,20 +65,6 @@ namespace Model 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; } - inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } - inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } - inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } - inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } - inline UpdateSessionRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} - inline UpdateSessionRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} - inline UpdateSessionRequest& WithJobId(const char* value) { SetJobId(value); return *this;} - ///@} - ///@{ /** *

      The queue ID to update in the session.

      @@ -93,6 +79,20 @@ namespace Model inline UpdateSessionRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} + ///@{ + /** + *

      The job ID to update in the session.

      + */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + inline UpdateSessionRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + inline UpdateSessionRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + inline UpdateSessionRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + ///@} + ///@{ /** *

      The session ID to update.

      @@ -126,12 +126,12 @@ namespace Model 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_jobId; + bool m_jobIdHasBeenSet = false; + Aws::String m_sessionId; bool m_sessionIdHasBeenSet = false; 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 index 2ef608060ba..f5f9d6d4737 100644 --- 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 @@ -65,20 +65,6 @@ namespace Model inline UpdateStepRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} - ///@{ - /** - *

      The job ID to update.

      - */ - inline const Aws::String& GetJobId() const{ return m_jobId; } - inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } - inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } - inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } - inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } - inline UpdateStepRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} - inline UpdateStepRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} - inline UpdateStepRequest& WithJobId(const char* value) { SetJobId(value); return *this;} - ///@} - ///@{ /** *

      The queue ID to update.

      @@ -93,6 +79,20 @@ namespace Model inline UpdateStepRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} + ///@{ + /** + *

      The job ID to update.

      + */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + inline UpdateStepRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + inline UpdateStepRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + inline UpdateStepRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + ///@} + ///@{ /** *

      The step ID to update.

      @@ -126,12 +126,12 @@ namespace Model 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_jobId; + bool m_jobIdHasBeenSet = false; + Aws::String m_stepId; bool m_stepIdHasBeenSet = false; 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 index 1207518c93a..a67b2142a8e 100644 --- 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 @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include #include #include @@ -55,7 +55,38 @@ namespace Model ///@{ /** - *

      The display name of the storage profile to update.

      + *

      The farm ID to update.

      + */ + inline const Aws::String& GetFarmId() const{ return m_farmId; } + inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } + inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } + inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } + inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } + inline UpdateStorageProfileRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} + inline UpdateStorageProfileRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} + inline UpdateStorageProfileRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + ///@} + + ///@{ + /** + *

      The storage profile ID to update.

      + */ + inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; } + inline bool StorageProfileIdHasBeenSet() const { return m_storageProfileIdHasBeenSet; } + inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = value; } + inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = std::move(value); } + inline void SetStorageProfileId(const char* value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId.assign(value); } + inline UpdateStorageProfileRequest& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} + inline UpdateStorageProfileRequest& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} + inline UpdateStorageProfileRequest& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} + ///@} + + ///@{ + /** + *

      The display name of the storage profile to update.

      This + * field can store any content. Escape or encode this content before displaying it + * on a webpage or any other system that might interpret the content of this + * field.

      */ inline const Aws::String& GetDisplayName() const{ return m_displayName; } inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } @@ -69,16 +100,14 @@ namespace Model ///@{ /** - *

      The farm ID to update.

      + *

      The OS system to update.

      */ - inline const Aws::String& GetFarmId() const{ return m_farmId; } - inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; } - inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; } - inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); } - inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); } - inline UpdateStorageProfileRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;} - inline UpdateStorageProfileRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;} - inline UpdateStorageProfileRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} + inline const StorageProfileOperatingSystemFamily& GetOsFamily() const{ return m_osFamily; } + inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; } + inline void SetOsFamily(const StorageProfileOperatingSystemFamily& value) { m_osFamilyHasBeenSet = true; m_osFamily = value; } + inline void SetOsFamily(StorageProfileOperatingSystemFamily&& value) { m_osFamilyHasBeenSet = true; m_osFamily = std::move(value); } + inline UpdateStorageProfileRequest& WithOsFamily(const StorageProfileOperatingSystemFamily& value) { SetOsFamily(value); return *this;} + inline UpdateStorageProfileRequest& WithOsFamily(StorageProfileOperatingSystemFamily&& value) { SetOsFamily(std::move(value)); return *this;} ///@} ///@{ @@ -108,54 +137,28 @@ namespace Model inline UpdateStorageProfileRequest& AddFileSystemLocationsToRemove(const FileSystemLocation& value) { m_fileSystemLocationsToRemoveHasBeenSet = true; m_fileSystemLocationsToRemove.push_back(value); return *this; } 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; } - inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; } - inline void SetOsFamily(const StorageProfileOperatingSystemFamily& value) { m_osFamilyHasBeenSet = true; m_osFamily = value; } - inline void SetOsFamily(StorageProfileOperatingSystemFamily&& value) { m_osFamilyHasBeenSet = true; m_osFamily = std::move(value); } - inline UpdateStorageProfileRequest& WithOsFamily(const StorageProfileOperatingSystemFamily& value) { SetOsFamily(value); return *this;} - 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; } - inline bool StorageProfileIdHasBeenSet() const { return m_storageProfileIdHasBeenSet; } - inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = value; } - inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = std::move(value); } - inline void SetStorageProfileId(const char* value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId.assign(value); } - inline UpdateStorageProfileRequest& WithStorageProfileId(const Aws::String& value) { SetStorageProfileId(value); return *this;} - inline UpdateStorageProfileRequest& WithStorageProfileId(Aws::String&& value) { SetStorageProfileId(std::move(value)); return *this;} - inline UpdateStorageProfileRequest& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;} - ///@} private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; + Aws::String m_farmId; + bool m_farmIdHasBeenSet = false; + + Aws::String m_storageProfileId; + bool m_storageProfileIdHasBeenSet = false; + Aws::String m_displayName; bool m_displayNameHasBeenSet = false; - Aws::String m_farmId; - bool m_farmIdHasBeenSet = false; + StorageProfileOperatingSystemFamily m_osFamily; + bool m_osFamilyHasBeenSet = 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 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 index 50096a1e028..07b0f265b5d 100644 --- 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 @@ -65,20 +65,6 @@ namespace Model inline UpdateTaskRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;} ///@} - ///@{ - /** - *

      The job ID to update.

      - */ - inline const Aws::String& GetJobId() const{ return m_jobId; } - inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } - inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } - inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } - inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } - inline UpdateTaskRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} - inline UpdateTaskRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} - inline UpdateTaskRequest& WithJobId(const char* value) { SetJobId(value); return *this;} - ///@} - ///@{ /** *

      The queue ID to update.

      @@ -93,6 +79,20 @@ namespace Model inline UpdateTaskRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} ///@} + ///@{ + /** + *

      The job ID to update.

      + */ + inline const Aws::String& GetJobId() const{ return m_jobId; } + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + inline UpdateTaskRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + inline UpdateTaskRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + inline UpdateTaskRequest& WithJobId(const char* value) { SetJobId(value); return *this;} + ///@} + ///@{ /** *

      The step ID to update.

      @@ -107,18 +107,6 @@ namespace Model 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; } - inline bool TargetRunStatusHasBeenSet() const { return m_targetRunStatusHasBeenSet; } - inline void SetTargetRunStatus(const TaskTargetRunStatus& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = value; } - inline void SetTargetRunStatus(TaskTargetRunStatus&& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = std::move(value); } - inline UpdateTaskRequest& WithTargetRunStatus(const TaskTargetRunStatus& value) { SetTargetRunStatus(value); return *this;} - inline UpdateTaskRequest& WithTargetRunStatus(TaskTargetRunStatus&& value) { SetTargetRunStatus(std::move(value)); return *this;} - ///@} - ///@{ /** *

      The task ID to update.

      @@ -132,6 +120,18 @@ namespace Model inline UpdateTaskRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} inline UpdateTaskRequest& WithTaskId(const char* value) { SetTaskId(value); return *this;} ///@} + + ///@{ + /** + *

      The run status with which to start the task.

      + */ + inline const TaskTargetRunStatus& GetTargetRunStatus() const{ return m_targetRunStatus; } + inline bool TargetRunStatusHasBeenSet() const { return m_targetRunStatusHasBeenSet; } + inline void SetTargetRunStatus(const TaskTargetRunStatus& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = value; } + inline void SetTargetRunStatus(TaskTargetRunStatus&& value) { m_targetRunStatusHasBeenSet = true; m_targetRunStatus = std::move(value); } + inline UpdateTaskRequest& WithTargetRunStatus(const TaskTargetRunStatus& value) { SetTargetRunStatus(value); return *this;} + inline UpdateTaskRequest& WithTargetRunStatus(TaskTargetRunStatus&& value) { SetTargetRunStatus(std::move(value)); return *this;} + ///@} private: Aws::String m_clientToken; @@ -140,20 +140,20 @@ namespace Model 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_jobId; + bool m_jobIdHasBeenSet = false; + Aws::String m_stepId; bool m_stepIdHasBeenSet = false; - TaskTargetRunStatus m_targetRunStatus; - bool m_targetRunStatusHasBeenSet = false; - Aws::String m_taskId; bool m_taskIdHasBeenSet = false; + + TaskTargetRunStatus m_targetRunStatus; + bool m_targetRunStatusHasBeenSet = false; }; } // namespace Model 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 index 44312ddb2a7..4f1e470cc63 100644 --- 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 @@ -6,10 +6,10 @@ #pragma once #include #include -#include #include -#include #include +#include +#include #include namespace Aws @@ -35,18 +35,6 @@ namespace Model AWS_DEADLINE_API Aws::String SerializePayload() const override; - ///@{ - /** - *

      The worker capabilities to update.

      - */ - inline const WorkerCapabilities& GetCapabilities() const{ return m_capabilities; } - inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; } - inline void SetCapabilities(const WorkerCapabilities& value) { m_capabilitiesHasBeenSet = true; m_capabilities = value; } - inline void SetCapabilities(WorkerCapabilities&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::move(value); } - inline UpdateWorkerRequest& WithCapabilities(const WorkerCapabilities& value) { SetCapabilities(value); return *this;} - inline UpdateWorkerRequest& WithCapabilities(WorkerCapabilities&& value) { SetCapabilities(std::move(value)); return *this;} - ///@} - ///@{ /** *

      The farm ID to update.

      @@ -77,14 +65,16 @@ namespace Model ///@{ /** - *

      The host properties to update.

      + *

      The worker ID to update.

      */ - inline const HostPropertiesRequest& GetHostProperties() const{ return m_hostProperties; } - inline bool HostPropertiesHasBeenSet() const { return m_hostPropertiesHasBeenSet; } - inline void SetHostProperties(const HostPropertiesRequest& value) { m_hostPropertiesHasBeenSet = true; m_hostProperties = value; } - inline void SetHostProperties(HostPropertiesRequest&& value) { m_hostPropertiesHasBeenSet = true; m_hostProperties = std::move(value); } - inline UpdateWorkerRequest& WithHostProperties(const HostPropertiesRequest& value) { SetHostProperties(value); return *this;} - inline UpdateWorkerRequest& WithHostProperties(HostPropertiesRequest&& value) { SetHostProperties(std::move(value)); return *this;} + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } + inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } + inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } + inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } + inline UpdateWorkerRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + inline UpdateWorkerRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + inline UpdateWorkerRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} ///@} ///@{ @@ -101,21 +91,28 @@ namespace Model ///@{ /** - *

      The worker ID to update.

      + *

      The worker capabilities to update.

      */ - inline const Aws::String& GetWorkerId() const{ return m_workerId; } - inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } - inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } - inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } - inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } - inline UpdateWorkerRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} - inline UpdateWorkerRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} - inline UpdateWorkerRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + inline const WorkerCapabilities& GetCapabilities() const{ return m_capabilities; } + inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; } + inline void SetCapabilities(const WorkerCapabilities& value) { m_capabilitiesHasBeenSet = true; m_capabilities = value; } + inline void SetCapabilities(WorkerCapabilities&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::move(value); } + inline UpdateWorkerRequest& WithCapabilities(const WorkerCapabilities& value) { SetCapabilities(value); return *this;} + inline UpdateWorkerRequest& WithCapabilities(WorkerCapabilities&& value) { SetCapabilities(std::move(value)); return *this;} ///@} - private: - WorkerCapabilities m_capabilities; - bool m_capabilitiesHasBeenSet = false; + ///@{ + /** + *

      The host properties to update.

      + */ + inline const HostPropertiesRequest& GetHostProperties() const{ return m_hostProperties; } + inline bool HostPropertiesHasBeenSet() const { return m_hostPropertiesHasBeenSet; } + inline void SetHostProperties(const HostPropertiesRequest& value) { m_hostPropertiesHasBeenSet = true; m_hostProperties = value; } + inline void SetHostProperties(HostPropertiesRequest&& value) { m_hostPropertiesHasBeenSet = true; m_hostProperties = std::move(value); } + inline UpdateWorkerRequest& WithHostProperties(const HostPropertiesRequest& value) { SetHostProperties(value); return *this;} + inline UpdateWorkerRequest& WithHostProperties(HostPropertiesRequest&& value) { SetHostProperties(std::move(value)); return *this;} + ///@} + private: Aws::String m_farmId; bool m_farmIdHasBeenSet = false; @@ -123,14 +120,17 @@ namespace Model Aws::String m_fleetId; bool m_fleetIdHasBeenSet = false; - HostPropertiesRequest m_hostProperties; - bool m_hostPropertiesHasBeenSet = false; + Aws::String m_workerId; + bool m_workerIdHasBeenSet = false; UpdatedWorkerStatus m_status; bool m_statusHasBeenSet = false; - Aws::String m_workerId; - bool m_workerIdHasBeenSet = false; + WorkerCapabilities m_capabilities; + bool m_capabilitiesHasBeenSet = false; + + HostPropertiesRequest m_hostProperties; + bool m_hostPropertiesHasBeenSet = false; }; } // namespace Model 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 index ee2e923bc43..34d2f16f9a8 100644 --- 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 @@ -62,6 +62,20 @@ namespace Model inline UpdateWorkerScheduleRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} ///@} + ///@{ + /** + *

      The worker ID to update.

      + */ + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } + inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } + inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } + inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } + inline UpdateWorkerScheduleRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + inline UpdateWorkerScheduleRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + inline UpdateWorkerScheduleRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + ///@} + ///@{ /** *

      The session actions associated with the worker schedule to update.

      @@ -79,20 +93,6 @@ namespace Model inline UpdateWorkerScheduleRequest& AddUpdatedSessionActions(const char* key, UpdatedSessionActionInfo&& value) { m_updatedSessionActionsHasBeenSet = true; m_updatedSessionActions.emplace(key, std::move(value)); return *this; } 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; } - inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } - inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } - inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } - inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } - inline UpdateWorkerScheduleRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} - inline UpdateWorkerScheduleRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} - inline UpdateWorkerScheduleRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} - ///@} private: Aws::String m_farmId; @@ -101,11 +101,11 @@ namespace Model Aws::String m_fleetId; bool m_fleetIdHasBeenSet = false; - Aws::Map m_updatedSessionActions; - bool m_updatedSessionActionsHasBeenSet = false; - Aws::String m_workerId; bool m_workerIdHasBeenSet = false; + + Aws::Map m_updatedSessionActions; + bool m_updatedSessionActionsHasBeenSet = false; }; } // namespace Model 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 index 8dce562a3aa..d47fac0a9d5 100644 --- 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 @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -52,18 +52,6 @@ namespace Model 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; } - inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } - inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } - inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } - inline UpdatedSessionActionInfo& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} - inline UpdatedSessionActionInfo& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} - ///@} - ///@{ /** *

      The process exit code.

      @@ -88,16 +76,6 @@ namespace Model inline UpdatedSessionActionInfo& WithProgressMessage(const char* value) { SetProgressMessage(value); return *this;} ///@} - ///@{ - /** - *

      The percentage completed.

      - */ - inline double GetProgressPercent() const{ return m_progressPercent; } - inline bool ProgressPercentHasBeenSet() const { return m_progressPercentHasBeenSet; } - inline void SetProgressPercent(double value) { m_progressPercentHasBeenSet = true; m_progressPercent = value; } - inline UpdatedSessionActionInfo& WithProgressPercent(double value) { SetProgressPercent(value); return *this;} - ///@} - ///@{ /** *

      The date and time the resource started running.

      @@ -110,6 +88,18 @@ namespace Model inline UpdatedSessionActionInfo& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} ///@} + ///@{ + /** + *

      The date and time the resource ended running.

      + */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + inline UpdatedSessionActionInfo& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + inline UpdatedSessionActionInfo& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + ///@} + ///@{ /** *

      The updated time.

      @@ -121,28 +111,38 @@ namespace Model inline UpdatedSessionActionInfo& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} inline UpdatedSessionActionInfo& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

      The percentage completed.

      + */ + inline double GetProgressPercent() const{ return m_progressPercent; } + inline bool ProgressPercentHasBeenSet() const { return m_progressPercentHasBeenSet; } + inline void SetProgressPercent(double value) { m_progressPercentHasBeenSet = true; m_progressPercent = value; } + inline UpdatedSessionActionInfo& WithProgressPercent(double value) { SetProgressPercent(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_endedAt; + bool m_endedAtHasBeenSet = false; + Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; + + double m_progressPercent; + bool m_progressPercentHasBeenSet = false; }; } // namespace Model 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 index b62ab28ff17..c3b38d0e437 100644 --- 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 @@ -36,16 +36,6 @@ namespace Model AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

      The maximum amount of vCPU.

      - */ - inline int GetMax() const{ return m_max; } - inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } - inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; } - inline VCpuCountRange& WithMax(int value) { SetMax(value); return *this;} - ///@} - ///@{ /** *

      The minimum amount of vCPU.

      @@ -55,13 +45,23 @@ namespace Model inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; } inline VCpuCountRange& WithMin(int value) { SetMin(value); return *this;} ///@} - private: - int m_max; - bool m_maxHasBeenSet = false; + ///@{ + /** + *

      The maximum amount of vCPU.

      + */ + inline int GetMax() const{ return m_max; } + inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } + inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; } + inline VCpuCountRange& WithMax(int value) { SetMax(value); return *this;} + ///@} + private: int m_min; bool m_minHasBeenSet = false; + + int m_max; + bool m_maxHasBeenSet = false; }; } // namespace Model 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 index ac57fac214f..2a0f48c136c 100644 --- 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 @@ -5,10 +5,10 @@ #pragma once #include -#include -#include #include #include +#include +#include #include #include @@ -42,39 +42,6 @@ namespace Model 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; } - inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } - inline void SetContext(const Aws::Map& value) { m_contextHasBeenSet = true; m_context = value; } - inline void SetContext(Aws::Map&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } - inline ValidationException& WithContext(const Aws::Map& value) { SetContext(value); return *this;} - inline ValidationException& WithContext(Aws::Map&& value) { SetContext(std::move(value)); return *this;} - inline ValidationException& AddContext(const Aws::String& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } - inline ValidationException& AddContext(Aws::String&& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } - inline ValidationException& AddContext(const Aws::String& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } - inline ValidationException& AddContext(Aws::String&& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), std::move(value)); return *this; } - inline ValidationException& AddContext(const char* key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } - inline ValidationException& AddContext(Aws::String&& key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } - 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; } - inline bool FieldListHasBeenSet() const { return m_fieldListHasBeenSet; } - inline void SetFieldList(const Aws::Vector& value) { m_fieldListHasBeenSet = true; m_fieldList = value; } - inline void SetFieldList(Aws::Vector&& value) { m_fieldListHasBeenSet = true; m_fieldList = std::move(value); } - inline ValidationException& WithFieldList(const Aws::Vector& value) { SetFieldList(value); return *this;} - inline ValidationException& WithFieldList(Aws::Vector&& value) { SetFieldList(std::move(value)); return *this;} - inline ValidationException& AddFieldList(const ValidationExceptionField& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(value); return *this; } - 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; } @@ -98,19 +65,52 @@ namespace Model inline ValidationException& WithReason(const ValidationExceptionReason& value) { SetReason(value); return *this;} inline ValidationException& WithReason(ValidationExceptionReason&& value) { SetReason(std::move(value)); return *this;} ///@} - private: - Aws::Map m_context; - bool m_contextHasBeenSet = false; + ///@{ + /** + *

      A list of fields that failed validation.

      + */ + inline const Aws::Vector& GetFieldList() const{ return m_fieldList; } + inline bool FieldListHasBeenSet() const { return m_fieldListHasBeenSet; } + inline void SetFieldList(const Aws::Vector& value) { m_fieldListHasBeenSet = true; m_fieldList = value; } + inline void SetFieldList(Aws::Vector&& value) { m_fieldListHasBeenSet = true; m_fieldList = std::move(value); } + inline ValidationException& WithFieldList(const Aws::Vector& value) { SetFieldList(value); return *this;} + inline ValidationException& WithFieldList(Aws::Vector&& value) { SetFieldList(std::move(value)); return *this;} + inline ValidationException& AddFieldList(const ValidationExceptionField& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(value); return *this; } + inline ValidationException& AddFieldList(ValidationExceptionField&& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(std::move(value)); return *this; } + ///@} - Aws::Vector m_fieldList; - bool m_fieldListHasBeenSet = false; + ///@{ + /** + *

      Information about the resources in use when the exception was thrown.

      + */ + inline const Aws::Map& GetContext() const{ return m_context; } + inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; } + inline void SetContext(const Aws::Map& value) { m_contextHasBeenSet = true; m_context = value; } + inline void SetContext(Aws::Map&& value) { m_contextHasBeenSet = true; m_context = std::move(value); } + inline ValidationException& WithContext(const Aws::Map& value) { SetContext(value); return *this;} + inline ValidationException& WithContext(Aws::Map&& value) { SetContext(std::move(value)); return *this;} + inline ValidationException& AddContext(const Aws::String& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + inline ValidationException& AddContext(Aws::String&& key, const Aws::String& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + inline ValidationException& AddContext(const Aws::String& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + inline ValidationException& AddContext(Aws::String&& key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), std::move(value)); return *this; } + inline ValidationException& AddContext(const char* key, Aws::String&& value) { m_contextHasBeenSet = true; m_context.emplace(key, std::move(value)); return *this; } + inline ValidationException& AddContext(Aws::String&& key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(std::move(key), value); return *this; } + inline ValidationException& AddContext(const char* key, const char* value) { m_contextHasBeenSet = true; m_context.emplace(key, value); return *this; } + ///@} + private: Aws::String m_message; bool m_messageHasBeenSet = false; ValidationExceptionReason m_reason; bool m_reasonHasBeenSet = false; + + Aws::Vector m_fieldList; + bool m_fieldListHasBeenSet = false; + + Aws::Map m_context; + bool m_contextHasBeenSet = false; }; } // namespace Model 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 index 14aadfc16fe..be0ac22b241 100644 --- 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 @@ -37,20 +37,6 @@ namespace Model 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; } - 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 ValidationExceptionField& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} - inline ValidationExceptionField& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} - inline ValidationExceptionField& WithMessage(const char* value) { SetMessage(value); return *this;} - ///@} - ///@{ /** *

      The name of the validation exception.

      @@ -64,13 +50,27 @@ namespace Model inline ValidationExceptionField& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} inline ValidationExceptionField& WithName(const char* value) { SetName(value); return *this;} ///@} - private: - Aws::String m_message; - bool m_messageHasBeenSet = false; + ///@{ + /** + *

      The error message for the validation exception.

      + */ + 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 ValidationExceptionField& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline ValidationExceptionField& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline ValidationExceptionField& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + private: Aws::String m_name; bool m_nameHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; }; } // namespace Model 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 index 10befb1364a..16693f1ceb2 100644 --- 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 @@ -37,20 +37,6 @@ namespace Model 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; } - inline bool PasswordArnHasBeenSet() const { return m_passwordArnHasBeenSet; } - inline void SetPasswordArn(const Aws::String& value) { m_passwordArnHasBeenSet = true; m_passwordArn = value; } - inline void SetPasswordArn(Aws::String&& value) { m_passwordArnHasBeenSet = true; m_passwordArn = std::move(value); } - inline void SetPasswordArn(const char* value) { m_passwordArnHasBeenSet = true; m_passwordArn.assign(value); } - inline WindowsUser& WithPasswordArn(const Aws::String& value) { SetPasswordArn(value); return *this;} - inline WindowsUser& WithPasswordArn(Aws::String&& value) { SetPasswordArn(std::move(value)); return *this;} - inline WindowsUser& WithPasswordArn(const char* value) { SetPasswordArn(value); return *this;} - ///@} - ///@{ /** *

      The user.

      @@ -64,13 +50,27 @@ namespace Model inline WindowsUser& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;} inline WindowsUser& WithUser(const char* value) { SetUser(value); return *this;} ///@} - private: - Aws::String m_passwordArn; - bool m_passwordArnHasBeenSet = false; + ///@{ + /** + *

      The password ARN for the Windows user.

      + */ + inline const Aws::String& GetPasswordArn() const{ return m_passwordArn; } + inline bool PasswordArnHasBeenSet() const { return m_passwordArnHasBeenSet; } + inline void SetPasswordArn(const Aws::String& value) { m_passwordArnHasBeenSet = true; m_passwordArn = value; } + inline void SetPasswordArn(Aws::String&& value) { m_passwordArnHasBeenSet = true; m_passwordArn = std::move(value); } + inline void SetPasswordArn(const char* value) { m_passwordArnHasBeenSet = true; m_passwordArn.assign(value); } + inline WindowsUser& WithPasswordArn(const Aws::String& value) { SetPasswordArn(value); return *this;} + inline WindowsUser& WithPasswordArn(Aws::String&& value) { SetPasswordArn(std::move(value)); return *this;} + inline WindowsUser& WithPasswordArn(const char* value) { SetPasswordArn(value); return *this;} + ///@} + private: Aws::String m_user; bool m_userHasBeenSet = false; + + Aws::String m_passwordArn; + bool m_passwordArnHasBeenSet = false; }; } // namespace Model 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 index 2dcdafa3a08..574fa24bed0 100644 --- 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 @@ -5,10 +5,10 @@ #pragma once #include -#include #include -#include #include +#include +#include #include namespace Aws @@ -42,42 +42,42 @@ namespace Model ///@{ /** - *

      The date and time the resource was created.

      + *

      The fleet ID.

      */ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } - inline WorkerSearchSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline WorkerSearchSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + inline const Aws::String& GetFleetId() const{ return m_fleetId; } + inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } + inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } + inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } + inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } + inline WorkerSearchSummary& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} + inline WorkerSearchSummary& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} + inline WorkerSearchSummary& WithFleetId(const char* value) { SetFleetId(value); return *this;} ///@} ///@{ /** - *

      The user or system that created this resource.

      + *

      The worker ID.

      */ - inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } - inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } - inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } - inline WorkerSearchSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline WorkerSearchSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline WorkerSearchSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } + inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } + inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } + inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } + inline WorkerSearchSummary& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + inline WorkerSearchSummary& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + inline WorkerSearchSummary& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} ///@} ///@{ /** - *

      The fleet ID.

      + *

      The status of the worker search.

      */ - inline const Aws::String& GetFleetId() const{ return m_fleetId; } - inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } - inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } - inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } - inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } - inline WorkerSearchSummary& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} - inline WorkerSearchSummary& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} - inline WorkerSearchSummary& WithFleetId(const char* value) { SetFleetId(value); return *this;} + inline const WorkerStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const WorkerStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(WorkerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline WorkerSearchSummary& WithStatus(const WorkerStatus& value) { SetStatus(value); return *this;} + inline WorkerSearchSummary& WithStatus(WorkerStatus&& value) { SetStatus(std::move(value)); return *this;} ///@} ///@{ @@ -94,26 +94,28 @@ namespace Model ///@{ /** - *

      The status of the worker search.

      + *

      The user or system that created this resource.

      */ - inline const WorkerStatus& GetStatus() const{ return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(const WorkerStatus& value) { m_statusHasBeenSet = true; m_status = value; } - inline void SetStatus(WorkerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } - inline WorkerSearchSummary& WithStatus(const WorkerStatus& value) { SetStatus(value); return *this;} - inline WorkerSearchSummary& WithStatus(WorkerStatus&& value) { SetStatus(std::move(value)); return *this;} + inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline WorkerSearchSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline WorkerSearchSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline WorkerSearchSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} ///@} ///@{ /** - *

      The date and time the resource was updated.

      + *

      The date and time the resource was created.

      */ - inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } - inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } - inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } - inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } - inline WorkerSearchSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} - inline WorkerSearchSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline WorkerSearchSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline WorkerSearchSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} ///@} ///@{ @@ -132,42 +134,40 @@ namespace Model ///@{ /** - *

      The worker ID.

      + *

      The date and time the resource was updated.

      */ - inline const Aws::String& GetWorkerId() const{ return m_workerId; } - inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } - inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } - inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } - inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } - inline WorkerSearchSummary& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} - inline WorkerSearchSummary& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} - inline WorkerSearchSummary& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} + inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } + inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } + inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } + inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } + inline WorkerSearchSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} + inline WorkerSearchSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(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_fleetId; bool m_fleetIdHasBeenSet = false; - HostPropertiesResponse m_hostProperties; - bool m_hostPropertiesHasBeenSet = false; + Aws::String m_workerId; + bool m_workerIdHasBeenSet = false; WorkerStatus m_status; bool m_statusHasBeenSet = false; - Aws::Utils::DateTime m_updatedAt; - bool m_updatedAtHasBeenSet = false; + HostPropertiesResponse m_hostProperties; + bool m_hostPropertiesHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = false; + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; Aws::String m_updatedBy; bool m_updatedByHasBeenSet = false; - Aws::String m_workerId; - bool m_workerIdHasBeenSet = false; + Aws::Utils::DateTime m_updatedAt; + bool m_updatedAtHasBeenSet = false; }; } // namespace Model 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 index 09ba011ef63..b32782cd771 100644 --- 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 @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include #include @@ -42,40 +42,16 @@ namespace Model ///@{ /** - *

      The date and time the resource ended running.

      - */ - inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } - inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } - inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } - inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } - inline WorkerSessionSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} - 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; } - inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } - inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } - inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } - inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } - inline WorkerSessionSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} - inline WorkerSessionSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} - inline WorkerSessionSummary& WithJobId(const char* value) { SetJobId(value); return *this;} - ///@} - - ///@{ - /** - *

      The life cycle status for the worker's session.

      + *

      The session ID for the session action.

      */ - inline const SessionLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } - inline bool LifecycleStatusHasBeenSet() const { return m_lifecycleStatusHasBeenSet; } - inline void SetLifecycleStatus(const SessionLifecycleStatus& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = value; } - inline void SetLifecycleStatus(SessionLifecycleStatus&& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = std::move(value); } - inline WorkerSessionSummary& WithLifecycleStatus(const SessionLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} - inline WorkerSessionSummary& WithLifecycleStatus(SessionLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} + inline const Aws::String& GetSessionId() const{ return m_sessionId; } + inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } + inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } + inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } + inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } + inline WorkerSessionSummary& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} + inline WorkerSessionSummary& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} + inline WorkerSessionSummary& WithSessionId(const char* value) { SetSessionId(value); return *this;} ///@} ///@{ @@ -94,16 +70,16 @@ namespace Model ///@{ /** - *

      The session ID for the session action.

      + *

      The job ID for the job associated with the worker's session.

      */ - inline const Aws::String& GetSessionId() const{ return m_sessionId; } - inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; } - inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; } - inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); } - inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); } - inline WorkerSessionSummary& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;} - inline WorkerSessionSummary& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;} - inline WorkerSessionSummary& WithSessionId(const char* value) { SetSessionId(value); return *this;} + inline const Aws::String& GetJobId() const{ return m_jobId; } + inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } + inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } + inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } + inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } + inline WorkerSessionSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} + inline WorkerSessionSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} + inline WorkerSessionSummary& WithJobId(const char* value) { SetJobId(value); return *this;} ///@} ///@{ @@ -118,6 +94,30 @@ namespace Model inline WorkerSessionSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} ///@} + ///@{ + /** + *

      The life cycle status for the worker's session.

      + */ + inline const SessionLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; } + inline bool LifecycleStatusHasBeenSet() const { return m_lifecycleStatusHasBeenSet; } + inline void SetLifecycleStatus(const SessionLifecycleStatus& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = value; } + inline void SetLifecycleStatus(SessionLifecycleStatus&& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = std::move(value); } + inline WorkerSessionSummary& WithLifecycleStatus(const SessionLifecycleStatus& value) { SetLifecycleStatus(value); return *this;} + inline WorkerSessionSummary& WithLifecycleStatus(SessionLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

      The date and time the resource ended running.

      + */ + inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } + inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; } + inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; } + inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); } + inline WorkerSessionSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} + inline WorkerSessionSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} + ///@} + ///@{ /** *

      The life cycle status

      @@ -131,24 +131,24 @@ namespace Model ///@} 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_sessionId; + bool m_sessionIdHasBeenSet = false; Aws::String m_queueId; bool m_queueIdHasBeenSet = false; - Aws::String m_sessionId; - bool m_sessionIdHasBeenSet = false; + Aws::String m_jobId; + bool m_jobIdHasBeenSet = false; Aws::Utils::DateTime m_startedAt; bool m_startedAtHasBeenSet = false; + SessionLifecycleStatus m_lifecycleStatus; + bool m_lifecycleStatusHasBeenSet = false; + + Aws::Utils::DateTime m_endedAt; + bool m_endedAtHasBeenSet = false; + SessionLifecycleTargetStatus m_targetLifecycleStatus; bool m_targetLifecycleStatusHasBeenSet = false; }; 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 index 067fbc43b97..dad9649bc4f 100644 --- 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 @@ -5,11 +5,11 @@ #pragma once #include -#include #include +#include #include #include -#include +#include #include namespace Aws @@ -43,28 +43,16 @@ namespace Model ///@{ /** - *

      The date and time the resource was created.

      - */ - inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } - inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } - inline WorkerSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} - inline WorkerSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

      The user or system that created this resource.

      + *

      The worker ID.

      */ - inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } - inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } - inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } - inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } - inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } - inline WorkerSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} - inline WorkerSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} - inline WorkerSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} + inline const Aws::String& GetWorkerId() const{ return m_workerId; } + inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } + inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } + inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } + inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } + inline WorkerSummary& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} + inline WorkerSummary& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} + inline WorkerSummary& WithWorkerId(const char* value) { SetWorkerId(value); return *this;} ///@} ///@{ @@ -95,6 +83,18 @@ namespace Model inline WorkerSummary& WithFleetId(const char* value) { SetFleetId(value); return *this;} ///@} + ///@{ + /** + *

      The status of the worker.

      + */ + inline const WorkerStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const WorkerStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(WorkerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline WorkerSummary& WithStatus(const WorkerStatus& value) { SetStatus(value); return *this;} + inline WorkerSummary& WithStatus(WorkerStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + ///@{ /** *

      The host properties of the worker.

      @@ -121,14 +121,28 @@ namespace Model ///@{ /** - *

      The status of the worker.

      + *

      The date and time the resource was created.

      */ - inline const WorkerStatus& GetStatus() const{ return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(const WorkerStatus& value) { m_statusHasBeenSet = true; m_status = value; } - inline void SetStatus(WorkerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } - inline WorkerSummary& WithStatus(const WorkerStatus& value) { SetStatus(value); return *this;} - inline WorkerSummary& WithStatus(WorkerStatus&& value) { SetStatus(std::move(value)); return *this;} + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline WorkerSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + 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; } + inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } + inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } + inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } + inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } + inline WorkerSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} + inline WorkerSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} + inline WorkerSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} ///@} ///@{ @@ -156,27 +170,10 @@ namespace Model inline WorkerSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;} inline WorkerSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;} ///@} - - ///@{ - /** - *

      The worker ID.

      - */ - inline const Aws::String& GetWorkerId() const{ return m_workerId; } - inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; } - inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; } - inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); } - inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); } - inline WorkerSummary& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;} - inline WorkerSummary& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;} - 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_workerId; + bool m_workerIdHasBeenSet = false; Aws::String m_farmId; bool m_farmIdHasBeenSet = false; @@ -184,23 +181,26 @@ namespace Model Aws::String m_fleetId; bool m_fleetIdHasBeenSet = false; + WorkerStatus m_status; + bool m_statusHasBeenSet = 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_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_createdBy; + bool m_createdByHasBeenSet = 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 diff --git a/generated/src/aws-cpp-sdk-deadline/source/DeadlineClient.cpp b/generated/src/aws-cpp-sdk-deadline/source/DeadlineClient.cpp index 3f9c4301f68..6fe2687ddef 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/DeadlineClient.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/DeadlineClient.cpp @@ -364,6 +364,11 @@ AssociateMemberToJobOutcome DeadlineClient::AssociateMemberToJob(const Associate 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.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)); + } if (!request.JobIdHasBeenSet()) { AWS_LOGSTREAM_ERROR("AssociateMemberToJob", "Required field: JobId, is not set"); @@ -374,11 +379,6 @@ AssociateMemberToJobOutcome DeadlineClient::AssociateMemberToJob(const Associate 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(), {}); @@ -420,16 +420,16 @@ AssociateMemberToQueueOutcome DeadlineClient::AssociateMemberToQueue(const Assoc 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)); } + 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)); + } 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(), {}); @@ -653,16 +653,16 @@ AssumeQueueRoleForWorkerOutcome DeadlineClient::AssumeQueueRoleForWorker(const A 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)); } + 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)); + } 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(), {}); @@ -1194,16 +1194,16 @@ DeleteBudgetOutcome DeadlineClient::DeleteBudget(const DeleteBudgetRequest& requ { 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)); } + 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)); + } 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(), {}); @@ -1472,16 +1472,16 @@ DeleteQueueEnvironmentOutcome DeadlineClient::DeleteQueueEnvironment(const Delet 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)); } + 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)); + } 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(), {}); @@ -1521,16 +1521,16 @@ DeleteQueueFleetAssociationOutcome DeadlineClient::DeleteQueueFleetAssociation(c 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)); } + 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)); + } 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(), {}); @@ -1751,6 +1751,11 @@ DisassociateMemberFromJobOutcome DeadlineClient::DisassociateMemberFromJob(const 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.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)); + } if (!request.JobIdHasBeenSet()) { AWS_LOGSTREAM_ERROR("DisassociateMemberFromJob", "Required field: JobId, is not set"); @@ -1761,11 +1766,6 @@ DisassociateMemberFromJobOutcome DeadlineClient::DisassociateMemberFromJob(const 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(), {}); @@ -1807,16 +1807,16 @@ DisassociateMemberFromQueueOutcome DeadlineClient::DisassociateMemberFromQueue(c 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)); } + 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)); + } 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(), {}); @@ -1851,16 +1851,16 @@ GetBudgetOutcome DeadlineClient::GetBudget(const GetBudgetRequest& request) cons { 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)); } + 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)); + } 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(), {}); @@ -2136,16 +2136,16 @@ GetQueueEnvironmentOutcome DeadlineClient::GetQueueEnvironment(const GetQueueEnv 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)); } + 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)); + } 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(), {}); @@ -2185,16 +2185,16 @@ GetQueueFleetAssociationOutcome DeadlineClient::GetQueueFleetAssociation(const G 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)); } + 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)); + } 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(), {}); @@ -2233,16 +2233,16 @@ GetSessionOutcome DeadlineClient::GetSession(const GetSessionRequest& request) c 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.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.SessionIdHasBeenSet()) { AWS_LOGSTREAM_ERROR("GetSession", "Required field: SessionId, is not set"); @@ -2289,16 +2289,16 @@ GetSessionActionOutcome DeadlineClient::GetSessionAction(const GetSessionActionR 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.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.SessionActionIdHasBeenSet()) { AWS_LOGSTREAM_ERROR("GetSessionAction", "Required field: SessionActionId, is not set"); @@ -2340,16 +2340,16 @@ GetSessionsStatisticsAggregationOutcome DeadlineClient::GetSessionsStatisticsAgg { 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)); } + 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)); + } 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(), {}); @@ -2386,16 +2386,16 @@ GetStepOutcome DeadlineClient::GetStep(const GetStepRequest& request) const 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.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.StepIdHasBeenSet()) { AWS_LOGSTREAM_ERROR("GetStep", "Required field: StepId, is not set"); @@ -2533,16 +2533,16 @@ GetTaskOutcome DeadlineClient::GetTask(const GetTaskRequest& request) const 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.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.StepIdHasBeenSet()) { AWS_LOGSTREAM_ERROR("GetTask", "Required field: StepId, is not set"); @@ -2854,16 +2854,16 @@ ListJobMembersOutcome DeadlineClient::ListJobMembers(const ListJobMembersRequest 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)); } + 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)); + } 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(), {}); @@ -3199,16 +3199,16 @@ ListSessionActionsOutcome DeadlineClient::ListSessionActions(const ListSessionAc 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)); } + 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)); + } 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(), {}); @@ -3249,16 +3249,16 @@ ListSessionsOutcome DeadlineClient::ListSessions(const ListSessionsRequest& requ 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)); } + 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)); + } 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(), {}); @@ -3349,16 +3349,16 @@ ListStepConsumersOutcome DeadlineClient::ListStepConsumers(const ListStepConsume 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.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.StepIdHasBeenSet()) { AWS_LOGSTREAM_ERROR("ListStepConsumers", "Required field: StepId, is not set"); @@ -3406,16 +3406,16 @@ ListStepDependenciesOutcome DeadlineClient::ListStepDependencies(const ListStepD 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.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.StepIdHasBeenSet()) { AWS_LOGSTREAM_ERROR("ListStepDependencies", "Required field: StepId, is not set"); @@ -3463,16 +3463,16 @@ ListStepsOutcome DeadlineClient::ListSteps(const ListStepsRequest& request) cons 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)); } + 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)); + } 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(), {}); @@ -3627,16 +3627,16 @@ ListTasksOutcome DeadlineClient::ListTasks(const ListTasksRequest& request) cons 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.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.StepIdHasBeenSet()) { AWS_LOGSTREAM_ERROR("ListTasks", "Required field: StepId, is not set"); @@ -4019,16 +4019,16 @@ UpdateBudgetOutcome DeadlineClient::UpdateBudget(const UpdateBudgetRequest& requ { 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)); } + 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)); + } 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(), {}); @@ -4143,16 +4143,16 @@ UpdateJobOutcome DeadlineClient::UpdateJob(const UpdateJobRequest& request) cons 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)); } + 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)); + } 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(), {}); @@ -4269,16 +4269,16 @@ UpdateQueueEnvironmentOutcome DeadlineClient::UpdateQueueEnvironment(const Updat 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)); } + 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)); + } 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(), {}); @@ -4318,16 +4318,16 @@ UpdateQueueFleetAssociationOutcome DeadlineClient::UpdateQueueFleetAssociation(c 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)); } + 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)); + } 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(), {}); @@ -4366,16 +4366,16 @@ UpdateSessionOutcome DeadlineClient::UpdateSession(const UpdateSessionRequest& r 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.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.SessionIdHasBeenSet()) { AWS_LOGSTREAM_ERROR("UpdateSession", "Required field: SessionId, is not set"); @@ -4422,16 +4422,16 @@ UpdateStepOutcome DeadlineClient::UpdateStep(const UpdateStepRequest& request) c 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.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.StepIdHasBeenSet()) { AWS_LOGSTREAM_ERROR("UpdateStep", "Required field: StepId, is not set"); @@ -4520,16 +4520,16 @@ UpdateTaskOutcome DeadlineClient::UpdateTask(const UpdateTaskRequest& request) c 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.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.StepIdHasBeenSet()) { AWS_LOGSTREAM_ERROR("UpdateTask", "Required field: StepId, is not set"); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorCountRange.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorCountRange.cpp index 8acd469c766..8923f1691b9 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorCountRange.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorCountRange.cpp @@ -19,10 +19,10 @@ namespace Model { AcceleratorCountRange::AcceleratorCountRange() : - m_max(0), - m_maxHasBeenSet(false), m_min(0), - m_minHasBeenSet(false) + m_minHasBeenSet(false), + m_max(0), + m_maxHasBeenSet(false) { } @@ -34,18 +34,18 @@ AcceleratorCountRange::AcceleratorCountRange(JsonView jsonValue) AcceleratorCountRange& AcceleratorCountRange::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("max")) + if(jsonValue.ValueExists("min")) { - m_max = jsonValue.GetInteger("max"); + m_min = jsonValue.GetInteger("min"); - m_maxHasBeenSet = true; + m_minHasBeenSet = true; } - if(jsonValue.ValueExists("min")) + if(jsonValue.ValueExists("max")) { - m_min = jsonValue.GetInteger("min"); + m_max = jsonValue.GetInteger("max"); - m_minHasBeenSet = true; + m_maxHasBeenSet = true; } return *this; @@ -55,15 +55,15 @@ JsonValue AcceleratorCountRange::Jsonize() const { JsonValue payload; - if(m_maxHasBeenSet) + if(m_minHasBeenSet) { - payload.WithInteger("max", m_max); + payload.WithInteger("min", m_min); } - if(m_minHasBeenSet) + if(m_maxHasBeenSet) { - payload.WithInteger("min", m_min); + payload.WithInteger("max", m_max); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorTotalMemoryMiBRange.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorTotalMemoryMiBRange.cpp index 151c418e880..9d75a613e79 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorTotalMemoryMiBRange.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AcceleratorTotalMemoryMiBRange.cpp @@ -19,10 +19,10 @@ namespace Model { AcceleratorTotalMemoryMiBRange::AcceleratorTotalMemoryMiBRange() : - m_max(0), - m_maxHasBeenSet(false), m_min(0), - m_minHasBeenSet(false) + m_minHasBeenSet(false), + m_max(0), + m_maxHasBeenSet(false) { } @@ -34,18 +34,18 @@ AcceleratorTotalMemoryMiBRange::AcceleratorTotalMemoryMiBRange(JsonView jsonValu AcceleratorTotalMemoryMiBRange& AcceleratorTotalMemoryMiBRange::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("max")) + if(jsonValue.ValueExists("min")) { - m_max = jsonValue.GetInteger("max"); + m_min = jsonValue.GetInteger("min"); - m_maxHasBeenSet = true; + m_minHasBeenSet = true; } - if(jsonValue.ValueExists("min")) + if(jsonValue.ValueExists("max")) { - m_min = jsonValue.GetInteger("min"); + m_max = jsonValue.GetInteger("max"); - m_minHasBeenSet = true; + m_maxHasBeenSet = true; } return *this; @@ -55,15 +55,15 @@ JsonValue AcceleratorTotalMemoryMiBRange::Jsonize() const { JsonValue payload; - if(m_maxHasBeenSet) + if(m_minHasBeenSet) { - payload.WithInteger("max", m_max); + payload.WithInteger("min", m_min); } - if(m_minHasBeenSet) + if(m_maxHasBeenSet) { - payload.WithInteger("min", m_min); + payload.WithInteger("max", m_max); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AccessDeniedException.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AccessDeniedException.cpp index 9c8f1823bf4..5261bc470d7 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/AccessDeniedException.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AccessDeniedException.cpp @@ -19,8 +19,8 @@ namespace Model { AccessDeniedException::AccessDeniedException() : - m_contextHasBeenSet(false), - m_messageHasBeenSet(false) + m_messageHasBeenSet(false), + m_contextHasBeenSet(false) { } @@ -32,6 +32,13 @@ AccessDeniedException::AccessDeniedException(JsonView jsonValue) AccessDeniedException& AccessDeniedException::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + if(jsonValue.ValueExists("context")) { Aws::Map contextJsonMap = jsonValue.GetObject("context").GetAllObjects(); @@ -42,13 +49,6 @@ AccessDeniedException& AccessDeniedException::operator =(JsonView jsonValue) m_contextHasBeenSet = true; } - if(jsonValue.ValueExists("message")) - { - m_message = jsonValue.GetString("message"); - - m_messageHasBeenSet = true; - } - return *this; } @@ -56,6 +56,12 @@ JsonValue AccessDeniedException::Jsonize() const { JsonValue payload; + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + if(m_contextHasBeenSet) { JsonValue contextJsonMap; @@ -67,12 +73,6 @@ JsonValue AccessDeniedException::Jsonize() const } - if(m_messageHasBeenSet) - { - payload.WithString("message", m_message); - - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSession.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSession.cpp index 978b0438c59..7ecbeb93658 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSession.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSession.cpp @@ -19,10 +19,10 @@ namespace Model { AssignedSession::AssignedSession() : - m_jobIdHasBeenSet(false), - m_logConfigurationHasBeenSet(false), m_queueIdHasBeenSet(false), - m_sessionActionsHasBeenSet(false) + m_jobIdHasBeenSet(false), + m_sessionActionsHasBeenSet(false), + m_logConfigurationHasBeenSet(false) { } @@ -34,25 +34,18 @@ AssignedSession::AssignedSession(JsonView jsonValue) AssignedSession& AssignedSession::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("jobId")) - { - m_jobId = jsonValue.GetString("jobId"); - - m_jobIdHasBeenSet = true; - } - - if(jsonValue.ValueExists("logConfiguration")) + if(jsonValue.ValueExists("queueId")) { - m_logConfiguration = jsonValue.GetObject("logConfiguration"); + m_queueId = jsonValue.GetString("queueId"); - m_logConfigurationHasBeenSet = true; + m_queueIdHasBeenSet = true; } - if(jsonValue.ValueExists("queueId")) + if(jsonValue.ValueExists("jobId")) { - m_queueId = jsonValue.GetString("queueId"); + m_jobId = jsonValue.GetString("jobId"); - m_queueIdHasBeenSet = true; + m_jobIdHasBeenSet = true; } if(jsonValue.ValueExists("sessionActions")) @@ -65,6 +58,13 @@ AssignedSession& AssignedSession::operator =(JsonView jsonValue) m_sessionActionsHasBeenSet = true; } + if(jsonValue.ValueExists("logConfiguration")) + { + m_logConfiguration = jsonValue.GetObject("logConfiguration"); + + m_logConfigurationHasBeenSet = true; + } + return *this; } @@ -72,21 +72,15 @@ JsonValue AssignedSession::Jsonize() const { JsonValue payload; - if(m_jobIdHasBeenSet) - { - payload.WithString("jobId", m_jobId); - - } - - if(m_logConfigurationHasBeenSet) + if(m_queueIdHasBeenSet) { - payload.WithObject("logConfiguration", m_logConfiguration.Jsonize()); + payload.WithString("queueId", m_queueId); } - if(m_queueIdHasBeenSet) + if(m_jobIdHasBeenSet) { - payload.WithString("queueId", m_queueId); + payload.WithString("jobId", m_jobId); } @@ -101,6 +95,12 @@ JsonValue AssignedSession::Jsonize() const } + if(m_logConfigurationHasBeenSet) + { + payload.WithObject("logConfiguration", m_logConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSessionAction.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSessionAction.cpp index 1ab1a671447..d8556d19af6 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSessionAction.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSessionAction.cpp @@ -19,8 +19,8 @@ namespace Model { AssignedSessionAction::AssignedSessionAction() : - m_definitionHasBeenSet(false), - m_sessionActionIdHasBeenSet(false) + m_sessionActionIdHasBeenSet(false), + m_definitionHasBeenSet(false) { } @@ -32,18 +32,18 @@ AssignedSessionAction::AssignedSessionAction(JsonView jsonValue) AssignedSessionAction& AssignedSessionAction::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("definition")) + if(jsonValue.ValueExists("sessionActionId")) { - m_definition = jsonValue.GetObject("definition"); + m_sessionActionId = jsonValue.GetString("sessionActionId"); - m_definitionHasBeenSet = true; + m_sessionActionIdHasBeenSet = true; } - if(jsonValue.ValueExists("sessionActionId")) + if(jsonValue.ValueExists("definition")) { - m_sessionActionId = jsonValue.GetString("sessionActionId"); + m_definition = jsonValue.GetObject("definition"); - m_sessionActionIdHasBeenSet = true; + m_definitionHasBeenSet = true; } return *this; @@ -53,15 +53,15 @@ JsonValue AssignedSessionAction::Jsonize() const { JsonValue payload; - if(m_definitionHasBeenSet) + if(m_sessionActionIdHasBeenSet) { - payload.WithObject("definition", m_definition.Jsonize()); + payload.WithString("sessionActionId", m_sessionActionId); } - if(m_sessionActionIdHasBeenSet) + if(m_definitionHasBeenSet) { - payload.WithString("sessionActionId", m_sessionActionId); + payload.WithObject("definition", m_definition.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSessionActionDefinition.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSessionActionDefinition.cpp index 0a282a90f2d..5a4c02e741e 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSessionActionDefinition.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedSessionActionDefinition.cpp @@ -21,8 +21,8 @@ namespace Model AssignedSessionActionDefinition::AssignedSessionActionDefinition() : m_envEnterHasBeenSet(false), m_envExitHasBeenSet(false), - m_syncInputJobAttachmentsHasBeenSet(false), - m_taskRunHasBeenSet(false) + m_taskRunHasBeenSet(false), + m_syncInputJobAttachmentsHasBeenSet(false) { } @@ -48,18 +48,18 @@ AssignedSessionActionDefinition& AssignedSessionActionDefinition::operator =(Jso m_envExitHasBeenSet = true; } - if(jsonValue.ValueExists("syncInputJobAttachments")) + if(jsonValue.ValueExists("taskRun")) { - m_syncInputJobAttachments = jsonValue.GetObject("syncInputJobAttachments"); + m_taskRun = jsonValue.GetObject("taskRun"); - m_syncInputJobAttachmentsHasBeenSet = true; + m_taskRunHasBeenSet = true; } - if(jsonValue.ValueExists("taskRun")) + if(jsonValue.ValueExists("syncInputJobAttachments")) { - m_taskRun = jsonValue.GetObject("taskRun"); + m_syncInputJobAttachments = jsonValue.GetObject("syncInputJobAttachments"); - m_taskRunHasBeenSet = true; + m_syncInputJobAttachmentsHasBeenSet = true; } return *this; @@ -81,15 +81,15 @@ JsonValue AssignedSessionActionDefinition::Jsonize() const } - if(m_syncInputJobAttachmentsHasBeenSet) + if(m_taskRunHasBeenSet) { - payload.WithObject("syncInputJobAttachments", m_syncInputJobAttachments.Jsonize()); + payload.WithObject("taskRun", m_taskRun.Jsonize()); } - if(m_taskRunHasBeenSet) + if(m_syncInputJobAttachmentsHasBeenSet) { - payload.WithObject("taskRun", m_taskRun.Jsonize()); + payload.WithObject("syncInputJobAttachments", m_syncInputJobAttachments.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssignedTaskRunSessionActionDefinition.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedTaskRunSessionActionDefinition.cpp index edec7783089..2a5b9b2530f 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/AssignedTaskRunSessionActionDefinition.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssignedTaskRunSessionActionDefinition.cpp @@ -19,9 +19,9 @@ namespace Model { AssignedTaskRunSessionActionDefinition::AssignedTaskRunSessionActionDefinition() : - m_parametersHasBeenSet(false), + m_taskIdHasBeenSet(false), m_stepIdHasBeenSet(false), - m_taskIdHasBeenSet(false) + m_parametersHasBeenSet(false) { } @@ -33,14 +33,11 @@ AssignedTaskRunSessionActionDefinition::AssignedTaskRunSessionActionDefinition(J AssignedTaskRunSessionActionDefinition& AssignedTaskRunSessionActionDefinition::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("parameters")) + if(jsonValue.ValueExists("taskId")) { - Aws::Map parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); - for(auto& parametersItem : parametersJsonMap) - { - m_parameters[parametersItem.first] = parametersItem.second.AsObject(); - } - m_parametersHasBeenSet = true; + m_taskId = jsonValue.GetString("taskId"); + + m_taskIdHasBeenSet = true; } if(jsonValue.ValueExists("stepId")) @@ -50,11 +47,14 @@ AssignedTaskRunSessionActionDefinition& AssignedTaskRunSessionActionDefinition:: m_stepIdHasBeenSet = true; } - if(jsonValue.ValueExists("taskId")) + if(jsonValue.ValueExists("parameters")) { - m_taskId = jsonValue.GetString("taskId"); - - m_taskIdHasBeenSet = true; + Aws::Map parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); + for(auto& parametersItem : parametersJsonMap) + { + m_parameters[parametersItem.first] = parametersItem.second.AsObject(); + } + m_parametersHasBeenSet = true; } return *this; @@ -64,14 +64,9 @@ JsonValue AssignedTaskRunSessionActionDefinition::Jsonize() const { JsonValue payload; - if(m_parametersHasBeenSet) + if(m_taskIdHasBeenSet) { - JsonValue parametersJsonMap; - for(auto& parametersItem : m_parameters) - { - parametersJsonMap.WithObject(parametersItem.first, parametersItem.second.Jsonize()); - } - payload.WithObject("parameters", std::move(parametersJsonMap)); + payload.WithString("taskId", m_taskId); } @@ -81,9 +76,14 @@ JsonValue AssignedTaskRunSessionActionDefinition::Jsonize() const } - if(m_taskIdHasBeenSet) + if(m_parametersHasBeenSet) { - payload.WithString("taskId", m_taskId); + JsonValue parametersJsonMap; + for(auto& parametersItem : m_parameters) + { + parametersJsonMap.WithObject(parametersItem.first, parametersItem.second.Jsonize()); + } + payload.WithObject("parameters", std::move(parametersJsonMap)); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFarmRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFarmRequest.cpp index 3080c1f6a18..6305e6ce510 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFarmRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFarmRequest.cpp @@ -14,12 +14,12 @@ 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) + m_principalTypeHasBeenSet(false), + m_identityStoreIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false) { } @@ -27,6 +27,11 @@ Aws::String AssociateMemberToFarmRequest::SerializePayload() const { JsonValue payload; + if(m_principalTypeHasBeenSet) + { + payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); + } + if(m_identityStoreIdHasBeenSet) { payload.WithString("identityStoreId", m_identityStoreId); @@ -38,11 +43,6 @@ Aws::String AssociateMemberToFarmRequest::SerializePayload() const 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/AssociateMemberToFleetRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFleetRequest.cpp index 830085f2f29..989865dd83f 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFleetRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToFleetRequest.cpp @@ -15,12 +15,12 @@ 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) + m_principalTypeHasBeenSet(false), + m_identityStoreIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false) { } @@ -28,6 +28,11 @@ Aws::String AssociateMemberToFleetRequest::SerializePayload() const { JsonValue payload; + if(m_principalTypeHasBeenSet) + { + payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); + } + if(m_identityStoreIdHasBeenSet) { payload.WithString("identityStoreId", m_identityStoreId); @@ -39,11 +44,6 @@ Aws::String AssociateMemberToFleetRequest::SerializePayload() const 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/AssociateMemberToJobRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToJobRequest.cpp index c5b2bda456a..93f061e19d0 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToJobRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToJobRequest.cpp @@ -14,14 +14,14 @@ using namespace Aws::Utils; AssociateMemberToJobRequest::AssociateMemberToJobRequest() : m_farmIdHasBeenSet(false), - m_identityStoreIdHasBeenSet(false), + m_queueIdHasBeenSet(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) + m_identityStoreIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false) { } @@ -29,6 +29,11 @@ Aws::String AssociateMemberToJobRequest::SerializePayload() const { JsonValue payload; + if(m_principalTypeHasBeenSet) + { + payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); + } + if(m_identityStoreIdHasBeenSet) { payload.WithString("identityStoreId", m_identityStoreId); @@ -40,11 +45,6 @@ Aws::String AssociateMemberToJobRequest::SerializePayload() const 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/AssociateMemberToQueueRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToQueueRequest.cpp index b95e90a3cf4..80dd65d6cb0 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToQueueRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssociateMemberToQueueRequest.cpp @@ -14,13 +14,13 @@ using namespace Aws::Utils; AssociateMemberToQueueRequest::AssociateMemberToQueueRequest() : m_farmIdHasBeenSet(false), - m_identityStoreIdHasBeenSet(false), - m_membershipLevel(MembershipLevel::NOT_SET), - m_membershipLevelHasBeenSet(false), + m_queueIdHasBeenSet(false), m_principalIdHasBeenSet(false), m_principalType(PrincipalType::NOT_SET), m_principalTypeHasBeenSet(false), - m_queueIdHasBeenSet(false) + m_identityStoreIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false) { } @@ -28,6 +28,11 @@ Aws::String AssociateMemberToQueueRequest::SerializePayload() const { JsonValue payload; + if(m_principalTypeHasBeenSet) + { + payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); + } + if(m_identityStoreIdHasBeenSet) { payload.WithString("identityStoreId", m_identityStoreId); @@ -39,11 +44,6 @@ Aws::String AssociateMemberToQueueRequest::SerializePayload() const 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/AssumeQueueRoleForWorkerRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForWorkerRequest.cpp index c5f8c85b483..eab6de149c0 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForWorkerRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AssumeQueueRoleForWorkerRequest.cpp @@ -18,8 +18,8 @@ using namespace Aws::Http; AssumeQueueRoleForWorkerRequest::AssumeQueueRoleForWorkerRequest() : m_farmIdHasBeenSet(false), m_fleetIdHasBeenSet(false), - m_queueIdHasBeenSet(false), - m_workerIdHasBeenSet(false) + m_workerIdHasBeenSet(false), + m_queueIdHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/Attachments.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/Attachments.cpp index 01e381a1cc3..b6ce8d22616 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/Attachments.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/Attachments.cpp @@ -19,9 +19,9 @@ namespace Model { Attachments::Attachments() : + m_manifestsHasBeenSet(false), m_fileSystem(JobAttachmentsFileSystem::NOT_SET), - m_fileSystemHasBeenSet(false), - m_manifestsHasBeenSet(false) + m_fileSystemHasBeenSet(false) { } @@ -33,13 +33,6 @@ Attachments::Attachments(JsonView 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"); @@ -50,6 +43,13 @@ Attachments& Attachments::operator =(JsonView jsonValue) m_manifestsHasBeenSet = true; } + if(jsonValue.ValueExists("fileSystem")) + { + m_fileSystem = JobAttachmentsFileSystemMapper::GetJobAttachmentsFileSystemForName(jsonValue.GetString("fileSystem")); + + m_fileSystemHasBeenSet = true; + } + return *this; } @@ -57,11 +57,6 @@ 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()); @@ -73,6 +68,11 @@ JsonValue Attachments::Jsonize() const } + if(m_fileSystemHasBeenSet) + { + payload.WithString("fileSystem", JobAttachmentsFileSystemMapper::GetNameForJobAttachmentsFileSystem(m_fileSystem)); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/AwsCredentials.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/AwsCredentials.cpp index cb3ccfe7758..6da25cf6f3b 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/AwsCredentials.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/AwsCredentials.cpp @@ -20,9 +20,9 @@ namespace Model AwsCredentials::AwsCredentials() : m_accessKeyIdHasBeenSet(false), - m_expirationHasBeenSet(false), m_secretAccessKeyHasBeenSet(false), - m_sessionTokenHasBeenSet(false) + m_sessionTokenHasBeenSet(false), + m_expirationHasBeenSet(false) { } @@ -41,13 +41,6 @@ AwsCredentials& AwsCredentials::operator =(JsonView jsonValue) m_accessKeyIdHasBeenSet = true; } - if(jsonValue.ValueExists("expiration")) - { - m_expiration = jsonValue.GetString("expiration"); - - m_expirationHasBeenSet = true; - } - if(jsonValue.ValueExists("secretAccessKey")) { m_secretAccessKey = jsonValue.GetString("secretAccessKey"); @@ -62,6 +55,13 @@ AwsCredentials& AwsCredentials::operator =(JsonView jsonValue) m_sessionTokenHasBeenSet = true; } + if(jsonValue.ValueExists("expiration")) + { + m_expiration = jsonValue.GetString("expiration"); + + m_expirationHasBeenSet = true; + } + return *this; } @@ -75,11 +75,6 @@ JsonValue AwsCredentials::Jsonize() const } - if(m_expirationHasBeenSet) - { - payload.WithString("expiration", m_expiration.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - if(m_secretAccessKeyHasBeenSet) { payload.WithString("secretAccessKey", m_secretAccessKey); @@ -92,6 +87,11 @@ JsonValue AwsCredentials::Jsonize() const } + if(m_expirationHasBeenSet) + { + payload.WithString("expiration", m_expiration.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/BatchGetJobEntityRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/BatchGetJobEntityRequest.cpp index 8a015c35c11..6dd36b0b9ae 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/BatchGetJobEntityRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/BatchGetJobEntityRequest.cpp @@ -15,8 +15,8 @@ using namespace Aws::Utils; BatchGetJobEntityRequest::BatchGetJobEntityRequest() : m_farmIdHasBeenSet(false), m_fleetIdHasBeenSet(false), - m_identifiersHasBeenSet(false), - m_workerIdHasBeenSet(false) + m_workerIdHasBeenSet(false), + m_identifiersHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionToAdd.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionToAdd.cpp index 38ec0037fdc..4ae444d9624 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionToAdd.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionToAdd.cpp @@ -19,11 +19,11 @@ namespace Model { BudgetActionToAdd::BudgetActionToAdd() : - m_descriptionHasBeenSet(false), + m_type(BudgetActionType::NOT_SET), + m_typeHasBeenSet(false), m_thresholdPercentage(0.0), m_thresholdPercentageHasBeenSet(false), - m_type(BudgetActionType::NOT_SET), - m_typeHasBeenSet(false) + m_descriptionHasBeenSet(false) { } @@ -35,11 +35,11 @@ BudgetActionToAdd::BudgetActionToAdd(JsonView jsonValue) BudgetActionToAdd& BudgetActionToAdd::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("description")) + if(jsonValue.ValueExists("type")) { - m_description = jsonValue.GetString("description"); + m_type = BudgetActionTypeMapper::GetBudgetActionTypeForName(jsonValue.GetString("type")); - m_descriptionHasBeenSet = true; + m_typeHasBeenSet = true; } if(jsonValue.ValueExists("thresholdPercentage")) @@ -49,11 +49,11 @@ BudgetActionToAdd& BudgetActionToAdd::operator =(JsonView jsonValue) m_thresholdPercentageHasBeenSet = true; } - if(jsonValue.ValueExists("type")) + if(jsonValue.ValueExists("description")) { - m_type = BudgetActionTypeMapper::GetBudgetActionTypeForName(jsonValue.GetString("type")); + m_description = jsonValue.GetString("description"); - m_typeHasBeenSet = true; + m_descriptionHasBeenSet = true; } return *this; @@ -63,10 +63,9 @@ JsonValue BudgetActionToAdd::Jsonize() const { JsonValue payload; - if(m_descriptionHasBeenSet) + if(m_typeHasBeenSet) { - payload.WithString("description", m_description); - + payload.WithString("type", BudgetActionTypeMapper::GetNameForBudgetActionType(m_type)); } if(m_thresholdPercentageHasBeenSet) @@ -75,9 +74,10 @@ JsonValue BudgetActionToAdd::Jsonize() const } - if(m_typeHasBeenSet) + if(m_descriptionHasBeenSet) { - payload.WithString("type", BudgetActionTypeMapper::GetNameForBudgetActionType(m_type)); + payload.WithString("description", m_description); + } return payload; diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionToRemove.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionToRemove.cpp index 515750eb9d2..8f8c68c0c3b 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionToRemove.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetActionToRemove.cpp @@ -19,10 +19,10 @@ namespace Model { BudgetActionToRemove::BudgetActionToRemove() : - m_thresholdPercentage(0.0), - m_thresholdPercentageHasBeenSet(false), m_type(BudgetActionType::NOT_SET), - m_typeHasBeenSet(false) + m_typeHasBeenSet(false), + m_thresholdPercentage(0.0), + m_thresholdPercentageHasBeenSet(false) { } @@ -34,18 +34,18 @@ BudgetActionToRemove::BudgetActionToRemove(JsonView jsonValue) BudgetActionToRemove& BudgetActionToRemove::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("thresholdPercentage")) + if(jsonValue.ValueExists("type")) { - m_thresholdPercentage = jsonValue.GetDouble("thresholdPercentage"); + m_type = BudgetActionTypeMapper::GetBudgetActionTypeForName(jsonValue.GetString("type")); - m_thresholdPercentageHasBeenSet = true; + m_typeHasBeenSet = true; } - if(jsonValue.ValueExists("type")) + if(jsonValue.ValueExists("thresholdPercentage")) { - m_type = BudgetActionTypeMapper::GetBudgetActionTypeForName(jsonValue.GetString("type")); + m_thresholdPercentage = jsonValue.GetDouble("thresholdPercentage"); - m_typeHasBeenSet = true; + m_thresholdPercentageHasBeenSet = true; } return *this; @@ -55,15 +55,15 @@ JsonValue BudgetActionToRemove::Jsonize() const { JsonValue payload; - if(m_thresholdPercentageHasBeenSet) + if(m_typeHasBeenSet) { - payload.WithDouble("thresholdPercentage", m_thresholdPercentage); - + payload.WithString("type", BudgetActionTypeMapper::GetNameForBudgetActionType(m_type)); } - if(m_typeHasBeenSet) + if(m_thresholdPercentageHasBeenSet) { - payload.WithString("type", BudgetActionTypeMapper::GetNameForBudgetActionType(m_type)); + payload.WithDouble("thresholdPercentage", m_thresholdPercentage); + } return payload; diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/BudgetSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetSummary.cpp index 553760caa69..d342ee9276b 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/BudgetSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/BudgetSummary.cpp @@ -19,19 +19,18 @@ 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_usageTrackingResourceHasBeenSet(false), m_status(BudgetStatus::NOT_SET), m_statusHasBeenSet(false), - m_updatedAtHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_approximateDollarLimit(0.0), + m_approximateDollarLimitHasBeenSet(false), + m_usagesHasBeenSet(false), + m_createdByHasBeenSet(false), + m_createdAtHasBeenSet(false), m_updatedByHasBeenSet(false), - m_usageTrackingResourceHasBeenSet(false), - m_usagesHasBeenSet(false) + m_updatedAtHasBeenSet(false) { } @@ -43,13 +42,6 @@ BudgetSummary::BudgetSummary(JsonView 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"); @@ -57,67 +49,67 @@ BudgetSummary& BudgetSummary::operator =(JsonView jsonValue) m_budgetIdHasBeenSet = true; } - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("usageTrackingResource")) { - m_createdAt = jsonValue.GetString("createdAt"); + m_usageTrackingResource = jsonValue.GetObject("usageTrackingResource"); - m_createdAtHasBeenSet = true; + m_usageTrackingResourceHasBeenSet = true; } - if(jsonValue.ValueExists("createdBy")) + if(jsonValue.ValueExists("status")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_status = BudgetStatusMapper::GetBudgetStatusForName(jsonValue.GetString("status")); - m_createdByHasBeenSet = true; + m_statusHasBeenSet = true; } - if(jsonValue.ValueExists("description")) + if(jsonValue.ValueExists("displayName")) { - m_description = jsonValue.GetString("description"); + m_displayName = jsonValue.GetString("displayName"); - m_descriptionHasBeenSet = true; + m_displayNameHasBeenSet = true; } - if(jsonValue.ValueExists("displayName")) + if(jsonValue.ValueExists("approximateDollarLimit")) { - m_displayName = jsonValue.GetString("displayName"); + m_approximateDollarLimit = jsonValue.GetDouble("approximateDollarLimit"); - m_displayNameHasBeenSet = true; + m_approximateDollarLimitHasBeenSet = true; } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("usages")) { - m_status = BudgetStatusMapper::GetBudgetStatusForName(jsonValue.GetString("status")); + m_usages = jsonValue.GetObject("usages"); - m_statusHasBeenSet = true; + m_usagesHasBeenSet = true; } - if(jsonValue.ValueExists("updatedAt")) + if(jsonValue.ValueExists("createdBy")) { - m_updatedAt = jsonValue.GetString("updatedAt"); + m_createdBy = jsonValue.GetString("createdBy"); - m_updatedAtHasBeenSet = true; + m_createdByHasBeenSet = true; } - if(jsonValue.ValueExists("updatedBy")) + if(jsonValue.ValueExists("createdAt")) { - m_updatedBy = jsonValue.GetString("updatedBy"); + m_createdAt = jsonValue.GetString("createdAt"); - m_updatedByHasBeenSet = true; + m_createdAtHasBeenSet = true; } - if(jsonValue.ValueExists("usageTrackingResource")) + if(jsonValue.ValueExists("updatedBy")) { - m_usageTrackingResource = jsonValue.GetObject("usageTrackingResource"); + m_updatedBy = jsonValue.GetString("updatedBy"); - m_usageTrackingResourceHasBeenSet = true; + m_updatedByHasBeenSet = true; } - if(jsonValue.ValueExists("usages")) + if(jsonValue.ValueExists("updatedAt")) { - m_usages = jsonValue.GetObject("usages"); + m_updatedAt = jsonValue.GetString("updatedAt"); - m_usagesHasBeenSet = true; + m_updatedAtHasBeenSet = true; } return *this; @@ -127,49 +119,50 @@ JsonValue BudgetSummary::Jsonize() const { JsonValue payload; - if(m_approximateDollarLimitHasBeenSet) + if(m_budgetIdHasBeenSet) { - payload.WithDouble("approximateDollarLimit", m_approximateDollarLimit); + payload.WithString("budgetId", m_budgetId); } - if(m_budgetIdHasBeenSet) + if(m_usageTrackingResourceHasBeenSet) { - payload.WithString("budgetId", m_budgetId); + payload.WithObject("usageTrackingResource", m_usageTrackingResource.Jsonize()); } - if(m_createdAtHasBeenSet) + if(m_statusHasBeenSet) { - payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("status", BudgetStatusMapper::GetNameForBudgetStatus(m_status)); } - if(m_createdByHasBeenSet) + if(m_displayNameHasBeenSet) { - payload.WithString("createdBy", m_createdBy); + payload.WithString("displayName", m_displayName); } - if(m_descriptionHasBeenSet) + if(m_approximateDollarLimitHasBeenSet) { - payload.WithString("description", m_description); + payload.WithDouble("approximateDollarLimit", m_approximateDollarLimit); } - if(m_displayNameHasBeenSet) + if(m_usagesHasBeenSet) { - payload.WithString("displayName", m_displayName); + payload.WithObject("usages", m_usages.Jsonize()); } - if(m_statusHasBeenSet) + if(m_createdByHasBeenSet) { - payload.WithString("status", BudgetStatusMapper::GetNameForBudgetStatus(m_status)); + payload.WithString("createdBy", m_createdBy); + } - if(m_updatedAtHasBeenSet) + if(m_createdAtHasBeenSet) { - payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } if(m_updatedByHasBeenSet) @@ -178,16 +171,9 @@ JsonValue BudgetSummary::Jsonize() const } - if(m_usageTrackingResourceHasBeenSet) - { - payload.WithObject("usageTrackingResource", m_usageTrackingResource.Jsonize()); - - } - - if(m_usagesHasBeenSet) + if(m_updatedAtHasBeenSet) { - payload.WithObject("usages", m_usages.Jsonize()); - + payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } return payload; diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ConflictException.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ConflictException.cpp index 2ce8647c3ec..75ce88a6a00 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ConflictException.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ConflictException.cpp @@ -19,12 +19,12 @@ namespace Model { ConflictException::ConflictException() : - m_contextHasBeenSet(false), m_messageHasBeenSet(false), m_reason(ConflictExceptionReason::NOT_SET), m_reasonHasBeenSet(false), m_resourceIdHasBeenSet(false), - m_resourceTypeHasBeenSet(false) + m_resourceTypeHasBeenSet(false), + m_contextHasBeenSet(false) { } @@ -36,16 +36,6 @@ ConflictException::ConflictException(JsonView 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"); @@ -74,6 +64,16 @@ ConflictException& ConflictException::operator =(JsonView jsonValue) m_resourceTypeHasBeenSet = true; } + 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; + } + return *this; } @@ -81,17 +81,6 @@ 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); @@ -115,6 +104,17 @@ JsonValue ConflictException::Jsonize() const } + if(m_contextHasBeenSet) + { + JsonValue contextJsonMap; + for(auto& contextItem : m_context) + { + contextJsonMap.WithString(contextItem.first, contextItem.second); + } + payload.WithObject("context", std::move(contextJsonMap)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateBudgetRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateBudgetRequest.cpp index 08a2812fd6e..03281be2334 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/CreateBudgetRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateBudgetRequest.cpp @@ -14,16 +14,16 @@ 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) + m_usageTrackingResourceHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_approximateDollarLimit(0.0), + m_approximateDollarLimitHasBeenSet(false), + m_actionsHasBeenSet(false), + m_scheduleHasBeenSet(false) { } @@ -31,20 +31,15 @@ Aws::String CreateBudgetRequest::SerializePayload() const { JsonValue payload; - if(m_actionsHasBeenSet) + if(m_usageTrackingResourceHasBeenSet) { - 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)); + payload.WithObject("usageTrackingResource", m_usageTrackingResource.Jsonize()); } - if(m_approximateDollarLimitHasBeenSet) + if(m_displayNameHasBeenSet) { - payload.WithDouble("approximateDollarLimit", m_approximateDollarLimit); + payload.WithString("displayName", m_displayName); } @@ -54,21 +49,26 @@ Aws::String CreateBudgetRequest::SerializePayload() const } - if(m_displayNameHasBeenSet) + if(m_approximateDollarLimitHasBeenSet) { - payload.WithString("displayName", m_displayName); + payload.WithDouble("approximateDollarLimit", m_approximateDollarLimit); } - if(m_scheduleHasBeenSet) + if(m_actionsHasBeenSet) { - payload.WithObject("schedule", m_schedule.Jsonize()); + 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_usageTrackingResourceHasBeenSet) + if(m_scheduleHasBeenSet) { - payload.WithObject("usageTrackingResource", m_usageTrackingResource.Jsonize()); + payload.WithObject("schedule", m_schedule.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateFarmRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateFarmRequest.cpp index 9711cc2af53..a48b575543b 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/CreateFarmRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateFarmRequest.cpp @@ -16,8 +16,8 @@ using namespace Aws::Utils; CreateFarmRequest::CreateFarmRequest() : m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), - m_descriptionHasBeenSet(false), m_displayNameHasBeenSet(false), + m_descriptionHasBeenSet(false), m_kmsKeyArnHasBeenSet(false), m_tagsHasBeenSet(false) { @@ -27,15 +27,15 @@ Aws::String CreateFarmRequest::SerializePayload() const { JsonValue payload; - if(m_descriptionHasBeenSet) + if(m_displayNameHasBeenSet) { - payload.WithString("description", m_description); + payload.WithString("displayName", m_displayName); } - if(m_displayNameHasBeenSet) + if(m_descriptionHasBeenSet) { - payload.WithString("displayName", m_displayName); + payload.WithString("description", m_description); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateFleetRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateFleetRequest.cpp index 82f11f6d937..fa7da9bd0f8 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/CreateFleetRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateFleetRequest.cpp @@ -16,15 +16,15 @@ 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_displayNameHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_roleArnHasBeenSet(false), m_minWorkerCount(0), m_minWorkerCountHasBeenSet(false), - m_roleArnHasBeenSet(false), + m_maxWorkerCount(0), + m_maxWorkerCountHasBeenSet(false), + m_configurationHasBeenSet(false), m_tagsHasBeenSet(false) { } @@ -33,9 +33,9 @@ Aws::String CreateFleetRequest::SerializePayload() const { JsonValue payload; - if(m_configurationHasBeenSet) + if(m_displayNameHasBeenSet) { - payload.WithObject("configuration", m_configuration.Jsonize()); + payload.WithString("displayName", m_displayName); } @@ -45,27 +45,27 @@ Aws::String CreateFleetRequest::SerializePayload() const } - if(m_displayNameHasBeenSet) + if(m_roleArnHasBeenSet) { - payload.WithString("displayName", m_displayName); + payload.WithString("roleArn", m_roleArn); } - if(m_maxWorkerCountHasBeenSet) + if(m_minWorkerCountHasBeenSet) { - payload.WithInteger("maxWorkerCount", m_maxWorkerCount); + payload.WithInteger("minWorkerCount", m_minWorkerCount); } - if(m_minWorkerCountHasBeenSet) + if(m_maxWorkerCountHasBeenSet) { - payload.WithInteger("minWorkerCount", m_minWorkerCount); + payload.WithInteger("maxWorkerCount", m_maxWorkerCount); } - if(m_roleArnHasBeenSet) + if(m_configurationHasBeenSet) { - payload.WithString("roleArn", m_roleArn); + payload.WithObject("configuration", m_configuration.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateJobRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateJobRequest.cpp index cf0b852da84..5188f28ec21 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/CreateJobRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateJobRequest.cpp @@ -14,24 +14,24 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateJobRequest::CreateJobRequest() : - m_attachmentsHasBeenSet(false), + m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(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_templateHasBeenSet(false), + m_templateType(JobTemplateType::NOT_SET), + m_templateTypeHasBeenSet(false), m_priority(0), m_priorityHasBeenSet(false), - m_queueIdHasBeenSet(false), + m_parametersHasBeenSet(false), + m_attachmentsHasBeenSet(false), m_storageProfileIdHasBeenSet(false), m_targetTaskRunStatus(CreateJobTargetTaskRunStatus::NOT_SET), m_targetTaskRunStatusHasBeenSet(false), - m_templateHasBeenSet(false), - m_templateType(JobTemplateType::NOT_SET), - m_templateTypeHasBeenSet(false) + m_maxFailedTasksCount(0), + m_maxFailedTasksCountHasBeenSet(false), + m_maxRetriesPerTask(0), + m_maxRetriesPerTaskHasBeenSet(false) { } @@ -39,21 +39,20 @@ Aws::String CreateJobRequest::SerializePayload() const { JsonValue payload; - if(m_attachmentsHasBeenSet) + if(m_templateHasBeenSet) { - payload.WithObject("attachments", m_attachments.Jsonize()); + payload.WithString("template", m_template); } - if(m_maxFailedTasksCountHasBeenSet) + if(m_templateTypeHasBeenSet) { - payload.WithInteger("maxFailedTasksCount", m_maxFailedTasksCount); - + payload.WithString("templateType", JobTemplateTypeMapper::GetNameForJobTemplateType(m_templateType)); } - if(m_maxRetriesPerTaskHasBeenSet) + if(m_priorityHasBeenSet) { - payload.WithInteger("maxRetriesPerTask", m_maxRetriesPerTask); + payload.WithInteger("priority", m_priority); } @@ -68,9 +67,9 @@ Aws::String CreateJobRequest::SerializePayload() const } - if(m_priorityHasBeenSet) + if(m_attachmentsHasBeenSet) { - payload.WithInteger("priority", m_priority); + payload.WithObject("attachments", m_attachments.Jsonize()); } @@ -85,15 +84,16 @@ Aws::String CreateJobRequest::SerializePayload() const payload.WithString("targetTaskRunStatus", CreateJobTargetTaskRunStatusMapper::GetNameForCreateJobTargetTaskRunStatus(m_targetTaskRunStatus)); } - if(m_templateHasBeenSet) + if(m_maxFailedTasksCountHasBeenSet) { - payload.WithString("template", m_template); + payload.WithInteger("maxFailedTasksCount", m_maxFailedTasksCount); } - if(m_templateTypeHasBeenSet) + if(m_maxRetriesPerTaskHasBeenSet) { - payload.WithString("templateType", JobTemplateTypeMapper::GetNameForJobTemplateType(m_templateType)); + payload.WithInteger("maxRetriesPerTask", m_maxRetriesPerTask); + } return payload.View().WriteReadable(); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateLicenseEndpointRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateLicenseEndpointRequest.cpp index 13ba326bd46..9d97255f02c 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/CreateLicenseEndpointRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateLicenseEndpointRequest.cpp @@ -16,10 +16,10 @@ using namespace Aws::Utils; CreateLicenseEndpointRequest::CreateLicenseEndpointRequest() : m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), - m_securityGroupIdsHasBeenSet(false), + m_vpcIdHasBeenSet(false), m_subnetIdsHasBeenSet(false), - m_tagsHasBeenSet(false), - m_vpcIdHasBeenSet(false) + m_securityGroupIdsHasBeenSet(false), + m_tagsHasBeenSet(false) { } @@ -27,14 +27,9 @@ Aws::String CreateLicenseEndpointRequest::SerializePayload() const { JsonValue payload; - if(m_securityGroupIdsHasBeenSet) + if(m_vpcIdHasBeenSet) { - 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)); + payload.WithString("vpcId", m_vpcId); } @@ -49,6 +44,17 @@ Aws::String CreateLicenseEndpointRequest::SerializePayload() const } + 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_tagsHasBeenSet) { JsonValue tagsJsonMap; @@ -60,12 +66,6 @@ Aws::String CreateLicenseEndpointRequest::SerializePayload() const } - if(m_vpcIdHasBeenSet) - { - payload.WithString("vpcId", m_vpcId); - - } - return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateMonitorRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateMonitorRequest.cpp index ecfeebbdde9..993538cc7dd 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/CreateMonitorRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateMonitorRequest.cpp @@ -18,8 +18,8 @@ CreateMonitorRequest::CreateMonitorRequest() : m_clientTokenHasBeenSet(true), m_displayNameHasBeenSet(false), m_identityCenterInstanceArnHasBeenSet(false), - m_roleArnHasBeenSet(false), - m_subdomainHasBeenSet(false) + m_subdomainHasBeenSet(false), + m_roleArnHasBeenSet(false) { } @@ -39,15 +39,15 @@ Aws::String CreateMonitorRequest::SerializePayload() const } - if(m_roleArnHasBeenSet) + if(m_subdomainHasBeenSet) { - payload.WithString("roleArn", m_roleArn); + payload.WithString("subdomain", m_subdomain); } - if(m_subdomainHasBeenSet) + if(m_roleArnHasBeenSet) { - payload.WithString("subdomain", m_subdomain); + payload.WithString("roleArn", m_roleArn); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateMonitorResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateMonitorResult.cpp index 48dfdbe045a..1457a5b6af5 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/CreateMonitorResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateMonitorResult.cpp @@ -29,15 +29,15 @@ CreateMonitorResult::CreateMonitorResult(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("identityCenterApplicationArn")) + if(jsonValue.ValueExists("monitorId")) { - m_identityCenterApplicationArn = jsonValue.GetString("identityCenterApplicationArn"); + m_monitorId = jsonValue.GetString("monitorId"); } - if(jsonValue.ValueExists("monitorId")) + if(jsonValue.ValueExists("identityCenterApplicationArn")) { - m_monitorId = jsonValue.GetString("monitorId"); + m_identityCenterApplicationArn = jsonValue.GetString("identityCenterApplicationArn"); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueEnvironmentRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueEnvironmentRequest.cpp index 2e9d959434d..8a36472e94d 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueEnvironmentRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueEnvironmentRequest.cpp @@ -17,12 +17,12 @@ CreateQueueEnvironmentRequest::CreateQueueEnvironmentRequest() : m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false), m_priority(0), m_priorityHasBeenSet(false), - m_queueIdHasBeenSet(false), - m_templateHasBeenSet(false), m_templateType(EnvironmentTemplateType::NOT_SET), - m_templateTypeHasBeenSet(false) + m_templateTypeHasBeenSet(false), + m_templateHasBeenSet(false) { } @@ -36,15 +36,15 @@ Aws::String CreateQueueEnvironmentRequest::SerializePayload() const } - if(m_templateHasBeenSet) + if(m_templateTypeHasBeenSet) { - payload.WithString("template", m_template); - + payload.WithString("templateType", EnvironmentTemplateTypeMapper::GetNameForEnvironmentTemplateType(m_templateType)); } - if(m_templateTypeHasBeenSet) + if(m_templateHasBeenSet) { - payload.WithString("templateType", EnvironmentTemplateTypeMapper::GetNameForEnvironmentTemplateType(m_templateType)); + payload.WithString("template", m_template); + } return payload.View().WriteReadable(); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueFleetAssociationRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueFleetAssociationRequest.cpp index 7881a2828e2..184607cb445 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueFleetAssociationRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueFleetAssociationRequest.cpp @@ -14,8 +14,8 @@ using namespace Aws::Utils; CreateQueueFleetAssociationRequest::CreateQueueFleetAssociationRequest() : m_farmIdHasBeenSet(false), - m_fleetIdHasBeenSet(false), - m_queueIdHasBeenSet(false) + m_queueIdHasBeenSet(false), + m_fleetIdHasBeenSet(false) { } @@ -23,15 +23,15 @@ Aws::String CreateQueueFleetAssociationRequest::SerializePayload() const { JsonValue payload; - if(m_fleetIdHasBeenSet) + if(m_queueIdHasBeenSet) { - payload.WithString("fleetId", m_fleetId); + payload.WithString("queueId", m_queueId); } - if(m_queueIdHasBeenSet) + if(m_fleetIdHasBeenSet) { - payload.WithString("queueId", m_queueId); + payload.WithString("fleetId", m_fleetId); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueRequest.cpp index 363339ab1bc..027f6f452f2 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateQueueRequest.cpp @@ -14,18 +14,18 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateQueueRequest::CreateQueueRequest() : - m_allowedStorageProfileIdsHasBeenSet(false), m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), + m_farmIdHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_descriptionHasBeenSet(false), m_defaultBudgetAction(DefaultQueueBudgetAction::NOT_SET), m_defaultBudgetActionHasBeenSet(false), - m_descriptionHasBeenSet(false), - m_displayNameHasBeenSet(false), - m_farmIdHasBeenSet(false), m_jobAttachmentSettingsHasBeenSet(false), + m_roleArnHasBeenSet(false), m_jobRunAsUserHasBeenSet(false), m_requiredFileSystemLocationNamesHasBeenSet(false), - m_roleArnHasBeenSet(false), + m_allowedStorageProfileIdsHasBeenSet(false), m_tagsHasBeenSet(false) { } @@ -34,20 +34,10 @@ Aws::String CreateQueueRequest::SerializePayload() const { JsonValue payload; - if(m_allowedStorageProfileIdsHasBeenSet) + if(m_displayNameHasBeenSet) { - 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)); - - } + payload.WithString("displayName", m_displayName); - if(m_defaultBudgetActionHasBeenSet) - { - payload.WithString("defaultBudgetAction", DefaultQueueBudgetActionMapper::GetNameForDefaultQueueBudgetAction(m_defaultBudgetAction)); } if(m_descriptionHasBeenSet) @@ -56,10 +46,9 @@ Aws::String CreateQueueRequest::SerializePayload() const } - if(m_displayNameHasBeenSet) + if(m_defaultBudgetActionHasBeenSet) { - payload.WithString("displayName", m_displayName); - + payload.WithString("defaultBudgetAction", DefaultQueueBudgetActionMapper::GetNameForDefaultQueueBudgetAction(m_defaultBudgetAction)); } if(m_jobAttachmentSettingsHasBeenSet) @@ -68,6 +57,12 @@ Aws::String CreateQueueRequest::SerializePayload() const } + if(m_roleArnHasBeenSet) + { + payload.WithString("roleArn", m_roleArn); + + } + if(m_jobRunAsUserHasBeenSet) { payload.WithObject("jobRunAsUser", m_jobRunAsUser.Jsonize()); @@ -85,9 +80,14 @@ Aws::String CreateQueueRequest::SerializePayload() const } - if(m_roleArnHasBeenSet) + if(m_allowedStorageProfileIdsHasBeenSet) { - payload.WithString("roleArn", m_roleArn); + 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)); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateStorageProfileRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateStorageProfileRequest.cpp index 9c3192db814..6af4738a3a3 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/CreateStorageProfileRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateStorageProfileRequest.cpp @@ -16,11 +16,11 @@ 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_displayNameHasBeenSet(false), m_osFamily(StorageProfileOperatingSystemFamily::NOT_SET), - m_osFamilyHasBeenSet(false) + m_osFamilyHasBeenSet(false), + m_fileSystemLocationsHasBeenSet(false) { } @@ -34,6 +34,11 @@ Aws::String CreateStorageProfileRequest::SerializePayload() const } + if(m_osFamilyHasBeenSet) + { + payload.WithString("osFamily", StorageProfileOperatingSystemFamilyMapper::GetNameForStorageProfileOperatingSystemFamily(m_osFamily)); + } + if(m_fileSystemLocationsHasBeenSet) { Aws::Utils::Array fileSystemLocationsJsonList(m_fileSystemLocations.size()); @@ -45,11 +50,6 @@ Aws::String CreateStorageProfileRequest::SerializePayload() const } - if(m_osFamilyHasBeenSet) - { - payload.WithString("osFamily", StorageProfileOperatingSystemFamilyMapper::GetNameForStorageProfileOperatingSystemFamily(m_osFamily)); - } - return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CreateWorkerRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CreateWorkerRequest.cpp index b80581685e3..3511b983f76 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/CreateWorkerRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CreateWorkerRequest.cpp @@ -14,11 +14,11 @@ 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) + m_hostPropertiesHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true) { } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedFleetConfiguration.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedFleetConfiguration.cpp index 713c60f43f3..e2e19787430 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedFleetConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedFleetConfiguration.cpp @@ -21,8 +21,8 @@ namespace Model CustomerManagedFleetConfiguration::CustomerManagedFleetConfiguration() : m_mode(AutoScalingMode::NOT_SET), m_modeHasBeenSet(false), - m_storageProfileIdHasBeenSet(false), - m_workerCapabilitiesHasBeenSet(false) + m_workerCapabilitiesHasBeenSet(false), + m_storageProfileIdHasBeenSet(false) { } @@ -41,18 +41,18 @@ CustomerManagedFleetConfiguration& CustomerManagedFleetConfiguration::operator = m_modeHasBeenSet = true; } - if(jsonValue.ValueExists("storageProfileId")) + if(jsonValue.ValueExists("workerCapabilities")) { - m_storageProfileId = jsonValue.GetString("storageProfileId"); + m_workerCapabilities = jsonValue.GetObject("workerCapabilities"); - m_storageProfileIdHasBeenSet = true; + m_workerCapabilitiesHasBeenSet = true; } - if(jsonValue.ValueExists("workerCapabilities")) + if(jsonValue.ValueExists("storageProfileId")) { - m_workerCapabilities = jsonValue.GetObject("workerCapabilities"); + m_storageProfileId = jsonValue.GetString("storageProfileId"); - m_workerCapabilitiesHasBeenSet = true; + m_storageProfileIdHasBeenSet = true; } return *this; @@ -67,15 +67,15 @@ JsonValue CustomerManagedFleetConfiguration::Jsonize() const payload.WithString("mode", AutoScalingModeMapper::GetNameForAutoScalingMode(m_mode)); } - if(m_storageProfileIdHasBeenSet) + if(m_workerCapabilitiesHasBeenSet) { - payload.WithString("storageProfileId", m_storageProfileId); + payload.WithObject("workerCapabilities", m_workerCapabilities.Jsonize()); } - if(m_workerCapabilitiesHasBeenSet) + if(m_storageProfileIdHasBeenSet) { - payload.WithObject("workerCapabilities", m_workerCapabilities.Jsonize()); + payload.WithString("storageProfileId", m_storageProfileId); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedWorkerCapabilities.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedWorkerCapabilities.cpp index a8211f738c3..aca82989571 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedWorkerCapabilities.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/CustomerManagedWorkerCapabilities.cpp @@ -19,17 +19,17 @@ namespace Model { CustomerManagedWorkerCapabilities::CustomerManagedWorkerCapabilities() : + m_vCpuCountHasBeenSet(false), + m_memoryMiBHasBeenSet(false), + m_acceleratorTypesHasBeenSet(false), m_acceleratorCountHasBeenSet(false), m_acceleratorTotalMemoryMiBHasBeenSet(false), - m_acceleratorTypesHasBeenSet(false), + m_osFamily(CustomerManagedFleetOperatingSystemFamily::NOT_SET), + m_osFamilyHasBeenSet(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) + m_customAttributesHasBeenSet(false) { } @@ -41,18 +41,18 @@ CustomerManagedWorkerCapabilities::CustomerManagedWorkerCapabilities(JsonView js CustomerManagedWorkerCapabilities& CustomerManagedWorkerCapabilities::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("acceleratorCount")) + if(jsonValue.ValueExists("vCpuCount")) { - m_acceleratorCount = jsonValue.GetObject("acceleratorCount"); + m_vCpuCount = jsonValue.GetObject("vCpuCount"); - m_acceleratorCountHasBeenSet = true; + m_vCpuCountHasBeenSet = true; } - if(jsonValue.ValueExists("acceleratorTotalMemoryMiB")) + if(jsonValue.ValueExists("memoryMiB")) { - m_acceleratorTotalMemoryMiB = jsonValue.GetObject("acceleratorTotalMemoryMiB"); + m_memoryMiB = jsonValue.GetObject("memoryMiB"); - m_acceleratorTotalMemoryMiBHasBeenSet = true; + m_memoryMiBHasBeenSet = true; } if(jsonValue.ValueExists("acceleratorTypes")) @@ -65,6 +65,27 @@ CustomerManagedWorkerCapabilities& CustomerManagedWorkerCapabilities::operator = m_acceleratorTypesHasBeenSet = true; } + 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("osFamily")) + { + m_osFamily = CustomerManagedFleetOperatingSystemFamilyMapper::GetCustomerManagedFleetOperatingSystemFamilyForName(jsonValue.GetString("osFamily")); + + m_osFamilyHasBeenSet = true; + } + if(jsonValue.ValueExists("cpuArchitectureType")) { m_cpuArchitectureType = CpuArchitectureTypeMapper::GetCpuArchitectureTypeForName(jsonValue.GetString("cpuArchitectureType")); @@ -92,33 +113,35 @@ CustomerManagedWorkerCapabilities& CustomerManagedWorkerCapabilities::operator = m_customAttributesHasBeenSet = true; } - if(jsonValue.ValueExists("memoryMiB")) - { - m_memoryMiB = jsonValue.GetObject("memoryMiB"); + return *this; +} - m_memoryMiBHasBeenSet = true; - } +JsonValue CustomerManagedWorkerCapabilities::Jsonize() const +{ + JsonValue payload; - if(jsonValue.ValueExists("osFamily")) + if(m_vCpuCountHasBeenSet) { - m_osFamily = CustomerManagedFleetOperatingSystemFamilyMapper::GetCustomerManagedFleetOperatingSystemFamilyForName(jsonValue.GetString("osFamily")); + payload.WithObject("vCpuCount", m_vCpuCount.Jsonize()); - m_osFamilyHasBeenSet = true; } - if(jsonValue.ValueExists("vCpuCount")) + if(m_memoryMiBHasBeenSet) { - m_vCpuCount = jsonValue.GetObject("vCpuCount"); + payload.WithObject("memoryMiB", m_memoryMiB.Jsonize()); - m_vCpuCountHasBeenSet = true; } - return *this; -} + 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)); -JsonValue CustomerManagedWorkerCapabilities::Jsonize() const -{ - JsonValue payload; + } if(m_acceleratorCountHasBeenSet) { @@ -132,15 +155,9 @@ JsonValue CustomerManagedWorkerCapabilities::Jsonize() const } - if(m_acceleratorTypesHasBeenSet) + if(m_osFamilyHasBeenSet) { - 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)); - + payload.WithString("osFamily", CustomerManagedFleetOperatingSystemFamilyMapper::GetNameForCustomerManagedFleetOperatingSystemFamily(m_osFamily)); } if(m_cpuArchitectureTypeHasBeenSet) @@ -170,23 +187,6 @@ JsonValue CustomerManagedWorkerCapabilities::Jsonize() const } - 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; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DateTimeFilterExpression.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DateTimeFilterExpression.cpp index bf376ad8c4f..716c2894d76 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/DateTimeFilterExpression.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DateTimeFilterExpression.cpp @@ -19,10 +19,10 @@ namespace Model { DateTimeFilterExpression::DateTimeFilterExpression() : - m_dateTimeHasBeenSet(false), m_nameHasBeenSet(false), m_operator(ComparisonOperator::NOT_SET), - m_operatorHasBeenSet(false) + m_operatorHasBeenSet(false), + m_dateTimeHasBeenSet(false) { } @@ -34,13 +34,6 @@ DateTimeFilterExpression::DateTimeFilterExpression(JsonView 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"); @@ -55,6 +48,13 @@ DateTimeFilterExpression& DateTimeFilterExpression::operator =(JsonView jsonValu m_operatorHasBeenSet = true; } + if(jsonValue.ValueExists("dateTime")) + { + m_dateTime = jsonValue.GetString("dateTime"); + + m_dateTimeHasBeenSet = true; + } + return *this; } @@ -62,11 +62,6 @@ 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); @@ -78,6 +73,11 @@ JsonValue DateTimeFilterExpression::Jsonize() const payload.WithString("operator", ComparisonOperatorMapper::GetNameForComparisonOperator(m_operator)); } + if(m_dateTimeHasBeenSet) + { + payload.WithString("dateTime", m_dateTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteBudgetRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteBudgetRequest.cpp index ad6f639c832..b95d50e66d4 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteBudgetRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteBudgetRequest.cpp @@ -13,8 +13,8 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; DeleteBudgetRequest::DeleteBudgetRequest() : - m_budgetIdHasBeenSet(false), - m_farmIdHasBeenSet(false) + m_farmIdHasBeenSet(false), + m_budgetIdHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueEnvironmentRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueEnvironmentRequest.cpp index 573efe715ff..d601a455f36 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueEnvironmentRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueEnvironmentRequest.cpp @@ -14,8 +14,8 @@ using namespace Aws::Utils; DeleteQueueEnvironmentRequest::DeleteQueueEnvironmentRequest() : m_farmIdHasBeenSet(false), - m_queueEnvironmentIdHasBeenSet(false), - m_queueIdHasBeenSet(false) + m_queueIdHasBeenSet(false), + m_queueEnvironmentIdHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueFleetAssociationRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueFleetAssociationRequest.cpp index edf7eba8f51..6c7bc3b7c8d 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueFleetAssociationRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DeleteQueueFleetAssociationRequest.cpp @@ -14,8 +14,8 @@ using namespace Aws::Utils; DeleteQueueFleetAssociationRequest::DeleteQueueFleetAssociationRequest() : m_farmIdHasBeenSet(false), - m_fleetIdHasBeenSet(false), - m_queueIdHasBeenSet(false) + m_queueIdHasBeenSet(false), + m_fleetIdHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DependencyCounts.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DependencyCounts.cpp index cf1f1ee4c45..4f4efcc4094 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/DependencyCounts.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DependencyCounts.cpp @@ -19,14 +19,14 @@ 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) + m_dependenciesUnresolvedHasBeenSet(false), + m_consumersResolved(0), + m_consumersResolvedHasBeenSet(false), + m_consumersUnresolved(0), + m_consumersUnresolvedHasBeenSet(false) { } @@ -38,32 +38,32 @@ DependencyCounts::DependencyCounts(JsonView jsonValue) DependencyCounts& DependencyCounts::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("consumersResolved")) + if(jsonValue.ValueExists("dependenciesResolved")) { - m_consumersResolved = jsonValue.GetInteger("consumersResolved"); + m_dependenciesResolved = jsonValue.GetInteger("dependenciesResolved"); - m_consumersResolvedHasBeenSet = true; + m_dependenciesResolvedHasBeenSet = true; } - if(jsonValue.ValueExists("consumersUnresolved")) + if(jsonValue.ValueExists("dependenciesUnresolved")) { - m_consumersUnresolved = jsonValue.GetInteger("consumersUnresolved"); + m_dependenciesUnresolved = jsonValue.GetInteger("dependenciesUnresolved"); - m_consumersUnresolvedHasBeenSet = true; + m_dependenciesUnresolvedHasBeenSet = true; } - if(jsonValue.ValueExists("dependenciesResolved")) + if(jsonValue.ValueExists("consumersResolved")) { - m_dependenciesResolved = jsonValue.GetInteger("dependenciesResolved"); + m_consumersResolved = jsonValue.GetInteger("consumersResolved"); - m_dependenciesResolvedHasBeenSet = true; + m_consumersResolvedHasBeenSet = true; } - if(jsonValue.ValueExists("dependenciesUnresolved")) + if(jsonValue.ValueExists("consumersUnresolved")) { - m_dependenciesUnresolved = jsonValue.GetInteger("dependenciesUnresolved"); + m_consumersUnresolved = jsonValue.GetInteger("consumersUnresolved"); - m_dependenciesUnresolvedHasBeenSet = true; + m_consumersUnresolvedHasBeenSet = true; } return *this; @@ -73,27 +73,27 @@ JsonValue DependencyCounts::Jsonize() const { JsonValue payload; - if(m_consumersResolvedHasBeenSet) + if(m_dependenciesResolvedHasBeenSet) { - payload.WithInteger("consumersResolved", m_consumersResolved); + payload.WithInteger("dependenciesResolved", m_dependenciesResolved); } - if(m_consumersUnresolvedHasBeenSet) + if(m_dependenciesUnresolvedHasBeenSet) { - payload.WithInteger("consumersUnresolved", m_consumersUnresolved); + payload.WithInteger("dependenciesUnresolved", m_dependenciesUnresolved); } - if(m_dependenciesResolvedHasBeenSet) + if(m_consumersResolvedHasBeenSet) { - payload.WithInteger("dependenciesResolved", m_dependenciesResolved); + payload.WithInteger("consumersResolved", m_consumersResolved); } - if(m_dependenciesUnresolvedHasBeenSet) + if(m_consumersUnresolvedHasBeenSet) { - payload.WithInteger("dependenciesUnresolved", m_dependenciesUnresolved); + payload.WithInteger("consumersUnresolved", m_consumersUnresolved); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromJobRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromJobRequest.cpp index f4bfa61a9e4..58ed81657c0 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromJobRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromJobRequest.cpp @@ -14,9 +14,9 @@ using namespace Aws::Utils; DisassociateMemberFromJobRequest::DisassociateMemberFromJobRequest() : m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false), m_jobIdHasBeenSet(false), - m_principalIdHasBeenSet(false), - m_queueIdHasBeenSet(false) + m_principalIdHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromQueueRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromQueueRequest.cpp index 41e62db78cd..998a8164c0d 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromQueueRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/DisassociateMemberFromQueueRequest.cpp @@ -14,8 +14,8 @@ using namespace Aws::Utils; DisassociateMemberFromQueueRequest::DisassociateMemberFromQueueRequest() : m_farmIdHasBeenSet(false), - m_principalIdHasBeenSet(false), - m_queueIdHasBeenSet(false) + m_queueIdHasBeenSet(false), + m_principalIdHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/Ec2EbsVolume.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/Ec2EbsVolume.cpp index 78142d2ce48..fcb3c5b47ca 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/Ec2EbsVolume.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/Ec2EbsVolume.cpp @@ -19,10 +19,10 @@ namespace Model { Ec2EbsVolume::Ec2EbsVolume() : - m_iops(0), - m_iopsHasBeenSet(false), m_sizeGiB(0), m_sizeGiBHasBeenSet(false), + m_iops(0), + m_iopsHasBeenSet(false), m_throughputMiB(0), m_throughputMiBHasBeenSet(false) { @@ -36,18 +36,18 @@ Ec2EbsVolume::Ec2EbsVolume(JsonView jsonValue) Ec2EbsVolume& Ec2EbsVolume::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("iops")) + if(jsonValue.ValueExists("sizeGiB")) { - m_iops = jsonValue.GetInteger("iops"); + m_sizeGiB = jsonValue.GetInteger("sizeGiB"); - m_iopsHasBeenSet = true; + m_sizeGiBHasBeenSet = true; } - if(jsonValue.ValueExists("sizeGiB")) + if(jsonValue.ValueExists("iops")) { - m_sizeGiB = jsonValue.GetInteger("sizeGiB"); + m_iops = jsonValue.GetInteger("iops"); - m_sizeGiBHasBeenSet = true; + m_iopsHasBeenSet = true; } if(jsonValue.ValueExists("throughputMiB")) @@ -64,15 +64,15 @@ JsonValue Ec2EbsVolume::Jsonize() const { JsonValue payload; - if(m_iopsHasBeenSet) + if(m_sizeGiBHasBeenSet) { - payload.WithInteger("iops", m_iops); + payload.WithInteger("sizeGiB", m_sizeGiB); } - if(m_sizeGiBHasBeenSet) + if(m_iopsHasBeenSet) { - payload.WithInteger("sizeGiB", m_sizeGiB); + payload.WithInteger("iops", m_iops); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsEntity.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsEntity.cpp index e472d867d46..bffa7885a53 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsEntity.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsEntity.cpp @@ -19,8 +19,8 @@ namespace Model { EnvironmentDetailsEntity::EnvironmentDetailsEntity() : - m_environmentIdHasBeenSet(false), m_jobIdHasBeenSet(false), + m_environmentIdHasBeenSet(false), m_schemaVersionHasBeenSet(false), m_templateHasBeenSet(false) { @@ -34,18 +34,18 @@ EnvironmentDetailsEntity::EnvironmentDetailsEntity(JsonView jsonValue) EnvironmentDetailsEntity& EnvironmentDetailsEntity::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("environmentId")) + if(jsonValue.ValueExists("jobId")) { - m_environmentId = jsonValue.GetString("environmentId"); + m_jobId = jsonValue.GetString("jobId"); - m_environmentIdHasBeenSet = true; + m_jobIdHasBeenSet = true; } - if(jsonValue.ValueExists("jobId")) + if(jsonValue.ValueExists("environmentId")) { - m_jobId = jsonValue.GetString("jobId"); + m_environmentId = jsonValue.GetString("environmentId"); - m_jobIdHasBeenSet = true; + m_environmentIdHasBeenSet = true; } if(jsonValue.ValueExists("schemaVersion")) @@ -69,15 +69,15 @@ JsonValue EnvironmentDetailsEntity::Jsonize() const { JsonValue payload; - if(m_environmentIdHasBeenSet) + if(m_jobIdHasBeenSet) { - payload.WithString("environmentId", m_environmentId); + payload.WithString("jobId", m_jobId); } - if(m_jobIdHasBeenSet) + if(m_environmentIdHasBeenSet) { - payload.WithString("jobId", m_jobId); + payload.WithString("environmentId", m_environmentId); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsError.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsError.cpp index 730ec29e651..ac0a2935b34 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsError.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsError.cpp @@ -19,10 +19,10 @@ namespace Model { EnvironmentDetailsError::EnvironmentDetailsError() : + m_jobIdHasBeenSet(false), + m_environmentIdHasBeenSet(false), m_code(JobEntityErrorCode::NOT_SET), m_codeHasBeenSet(false), - m_environmentIdHasBeenSet(false), - m_jobIdHasBeenSet(false), m_messageHasBeenSet(false) { } @@ -35,11 +35,11 @@ EnvironmentDetailsError::EnvironmentDetailsError(JsonView jsonValue) EnvironmentDetailsError& EnvironmentDetailsError::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("code")) + if(jsonValue.ValueExists("jobId")) { - m_code = JobEntityErrorCodeMapper::GetJobEntityErrorCodeForName(jsonValue.GetString("code")); + m_jobId = jsonValue.GetString("jobId"); - m_codeHasBeenSet = true; + m_jobIdHasBeenSet = true; } if(jsonValue.ValueExists("environmentId")) @@ -49,11 +49,11 @@ EnvironmentDetailsError& EnvironmentDetailsError::operator =(JsonView jsonValue) m_environmentIdHasBeenSet = true; } - if(jsonValue.ValueExists("jobId")) + if(jsonValue.ValueExists("code")) { - m_jobId = jsonValue.GetString("jobId"); + m_code = JobEntityErrorCodeMapper::GetJobEntityErrorCodeForName(jsonValue.GetString("code")); - m_jobIdHasBeenSet = true; + m_codeHasBeenSet = true; } if(jsonValue.ValueExists("message")) @@ -70,9 +70,10 @@ JsonValue EnvironmentDetailsError::Jsonize() const { JsonValue payload; - if(m_codeHasBeenSet) + if(m_jobIdHasBeenSet) { - payload.WithString("code", JobEntityErrorCodeMapper::GetNameForJobEntityErrorCode(m_code)); + payload.WithString("jobId", m_jobId); + } if(m_environmentIdHasBeenSet) @@ -81,10 +82,9 @@ JsonValue EnvironmentDetailsError::Jsonize() const } - if(m_jobIdHasBeenSet) + if(m_codeHasBeenSet) { - payload.WithString("jobId", m_jobId); - + payload.WithString("code", JobEntityErrorCodeMapper::GetNameForJobEntityErrorCode(m_code)); } if(m_messageHasBeenSet) diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsIdentifiers.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsIdentifiers.cpp index c7db339098c..44f2f6eae04 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsIdentifiers.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/EnvironmentDetailsIdentifiers.cpp @@ -19,8 +19,8 @@ namespace Model { EnvironmentDetailsIdentifiers::EnvironmentDetailsIdentifiers() : - m_environmentIdHasBeenSet(false), - m_jobIdHasBeenSet(false) + m_jobIdHasBeenSet(false), + m_environmentIdHasBeenSet(false) { } @@ -32,18 +32,18 @@ EnvironmentDetailsIdentifiers::EnvironmentDetailsIdentifiers(JsonView jsonValue) EnvironmentDetailsIdentifiers& EnvironmentDetailsIdentifiers::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("environmentId")) + if(jsonValue.ValueExists("jobId")) { - m_environmentId = jsonValue.GetString("environmentId"); + m_jobId = jsonValue.GetString("jobId"); - m_environmentIdHasBeenSet = true; + m_jobIdHasBeenSet = true; } - if(jsonValue.ValueExists("jobId")) + if(jsonValue.ValueExists("environmentId")) { - m_jobId = jsonValue.GetString("jobId"); + m_environmentId = jsonValue.GetString("environmentId"); - m_jobIdHasBeenSet = true; + m_environmentIdHasBeenSet = true; } return *this; @@ -53,15 +53,15 @@ JsonValue EnvironmentDetailsIdentifiers::Jsonize() const { JsonValue payload; - if(m_environmentIdHasBeenSet) + if(m_jobIdHasBeenSet) { - payload.WithString("environmentId", m_environmentId); + payload.WithString("jobId", m_jobId); } - if(m_jobIdHasBeenSet) + if(m_environmentIdHasBeenSet) { - payload.WithString("jobId", m_jobId); + payload.WithString("environmentId", m_environmentId); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FarmMember.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FarmMember.cpp index 743254b15c8..00bb40582a5 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/FarmMember.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FarmMember.cpp @@ -20,12 +20,12 @@ 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) + m_principalTypeHasBeenSet(false), + m_identityStoreIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false) { } @@ -44,32 +44,32 @@ FarmMember& FarmMember::operator =(JsonView jsonValue) m_farmIdHasBeenSet = true; } - if(jsonValue.ValueExists("identityStoreId")) + if(jsonValue.ValueExists("principalId")) { - m_identityStoreId = jsonValue.GetString("identityStoreId"); + m_principalId = jsonValue.GetString("principalId"); - m_identityStoreIdHasBeenSet = true; + m_principalIdHasBeenSet = true; } - if(jsonValue.ValueExists("membershipLevel")) + if(jsonValue.ValueExists("principalType")) { - m_membershipLevel = MembershipLevelMapper::GetMembershipLevelForName(jsonValue.GetString("membershipLevel")); + m_principalType = PrincipalTypeMapper::GetPrincipalTypeForName(jsonValue.GetString("principalType")); - m_membershipLevelHasBeenSet = true; + m_principalTypeHasBeenSet = true; } - if(jsonValue.ValueExists("principalId")) + if(jsonValue.ValueExists("identityStoreId")) { - m_principalId = jsonValue.GetString("principalId"); + m_identityStoreId = jsonValue.GetString("identityStoreId"); - m_principalIdHasBeenSet = true; + m_identityStoreIdHasBeenSet = true; } - if(jsonValue.ValueExists("principalType")) + if(jsonValue.ValueExists("membershipLevel")) { - m_principalType = PrincipalTypeMapper::GetPrincipalTypeForName(jsonValue.GetString("principalType")); + m_membershipLevel = MembershipLevelMapper::GetMembershipLevelForName(jsonValue.GetString("membershipLevel")); - m_principalTypeHasBeenSet = true; + m_membershipLevelHasBeenSet = true; } return *this; @@ -85,26 +85,26 @@ JsonValue FarmMember::Jsonize() const } - if(m_identityStoreIdHasBeenSet) + if(m_principalIdHasBeenSet) { - payload.WithString("identityStoreId", m_identityStoreId); + payload.WithString("principalId", m_principalId); } - if(m_membershipLevelHasBeenSet) + if(m_principalTypeHasBeenSet) { - payload.WithString("membershipLevel", MembershipLevelMapper::GetNameForMembershipLevel(m_membershipLevel)); + payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); } - if(m_principalIdHasBeenSet) + if(m_identityStoreIdHasBeenSet) { - payload.WithString("principalId", m_principalId); + payload.WithString("identityStoreId", m_identityStoreId); } - if(m_principalTypeHasBeenSet) + if(m_membershipLevelHasBeenSet) { - payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); + payload.WithString("membershipLevel", MembershipLevelMapper::GetNameForMembershipLevel(m_membershipLevel)); } return payload; diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FarmSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FarmSummary.cpp index 7e87ea923fa..bd231b182fd 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/FarmSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FarmSummary.cpp @@ -19,11 +19,11 @@ namespace Model { FarmSummary::FarmSummary() : - m_createdAtHasBeenSet(false), - m_createdByHasBeenSet(false), - m_displayNameHasBeenSet(false), m_farmIdHasBeenSet(false), + m_displayNameHasBeenSet(false), m_kmsKeyArnHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), m_updatedAtHasBeenSet(false), m_updatedByHasBeenSet(false) { @@ -37,39 +37,39 @@ FarmSummary::FarmSummary(JsonView jsonValue) FarmSummary& FarmSummary::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("farmId")) { - m_createdAt = jsonValue.GetString("createdAt"); + m_farmId = jsonValue.GetString("farmId"); - m_createdAtHasBeenSet = true; + m_farmIdHasBeenSet = true; } - if(jsonValue.ValueExists("createdBy")) + if(jsonValue.ValueExists("displayName")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_displayName = jsonValue.GetString("displayName"); - m_createdByHasBeenSet = true; + m_displayNameHasBeenSet = true; } - if(jsonValue.ValueExists("displayName")) + if(jsonValue.ValueExists("kmsKeyArn")) { - m_displayName = jsonValue.GetString("displayName"); + m_kmsKeyArn = jsonValue.GetString("kmsKeyArn"); - m_displayNameHasBeenSet = true; + m_kmsKeyArnHasBeenSet = true; } - if(jsonValue.ValueExists("farmId")) + if(jsonValue.ValueExists("createdAt")) { - m_farmId = jsonValue.GetString("farmId"); + m_createdAt = jsonValue.GetString("createdAt"); - m_farmIdHasBeenSet = true; + m_createdAtHasBeenSet = true; } - if(jsonValue.ValueExists("kmsKeyArn")) + if(jsonValue.ValueExists("createdBy")) { - m_kmsKeyArn = jsonValue.GetString("kmsKeyArn"); + m_createdBy = jsonValue.GetString("createdBy"); - m_kmsKeyArnHasBeenSet = true; + m_createdByHasBeenSet = true; } if(jsonValue.ValueExists("updatedAt")) @@ -93,14 +93,9 @@ JsonValue FarmSummary::Jsonize() const { JsonValue payload; - if(m_createdAtHasBeenSet) - { - payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - - if(m_createdByHasBeenSet) + if(m_farmIdHasBeenSet) { - payload.WithString("createdBy", m_createdBy); + payload.WithString("farmId", m_farmId); } @@ -110,15 +105,20 @@ JsonValue FarmSummary::Jsonize() const } - if(m_farmIdHasBeenSet) + if(m_kmsKeyArnHasBeenSet) { - payload.WithString("farmId", m_farmId); + payload.WithString("kmsKeyArn", m_kmsKeyArn); } - if(m_kmsKeyArnHasBeenSet) + if(m_createdAtHasBeenSet) { - payload.WithString("kmsKeyArn", m_kmsKeyArn); + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FieldSortExpression.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FieldSortExpression.cpp index 9ad7ab089ac..8719771d1da 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/FieldSortExpression.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FieldSortExpression.cpp @@ -19,9 +19,9 @@ namespace Model { FieldSortExpression::FieldSortExpression() : - m_nameHasBeenSet(false), m_sortOrder(SortOrder::NOT_SET), - m_sortOrderHasBeenSet(false) + m_sortOrderHasBeenSet(false), + m_nameHasBeenSet(false) { } @@ -33,18 +33,18 @@ FieldSortExpression::FieldSortExpression(JsonView jsonValue) FieldSortExpression& FieldSortExpression::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("sortOrder")) { - m_name = jsonValue.GetString("name"); + m_sortOrder = SortOrderMapper::GetSortOrderForName(jsonValue.GetString("sortOrder")); - m_nameHasBeenSet = true; + m_sortOrderHasBeenSet = true; } - if(jsonValue.ValueExists("sortOrder")) + if(jsonValue.ValueExists("name")) { - m_sortOrder = SortOrderMapper::GetSortOrderForName(jsonValue.GetString("sortOrder")); + m_name = jsonValue.GetString("name"); - m_sortOrderHasBeenSet = true; + m_nameHasBeenSet = true; } return *this; @@ -54,15 +54,15 @@ JsonValue FieldSortExpression::Jsonize() const { JsonValue payload; - if(m_nameHasBeenSet) + if(m_sortOrderHasBeenSet) { - payload.WithString("name", m_name); - + payload.WithString("sortOrder", SortOrderMapper::GetNameForSortOrder(m_sortOrder)); } - if(m_sortOrderHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithString("sortOrder", SortOrderMapper::GetNameForSortOrder(m_sortOrder)); + payload.WithString("name", m_name); + } return payload; diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FixedBudgetSchedule.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FixedBudgetSchedule.cpp index ea67fd3fb0c..befdf4d953d 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/FixedBudgetSchedule.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FixedBudgetSchedule.cpp @@ -19,8 +19,8 @@ namespace Model { FixedBudgetSchedule::FixedBudgetSchedule() : - m_endTimeHasBeenSet(false), - m_startTimeHasBeenSet(false) + m_startTimeHasBeenSet(false), + m_endTimeHasBeenSet(false) { } @@ -32,18 +32,18 @@ FixedBudgetSchedule::FixedBudgetSchedule(JsonView jsonValue) FixedBudgetSchedule& FixedBudgetSchedule::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("endTime")) + if(jsonValue.ValueExists("startTime")) { - m_endTime = jsonValue.GetString("endTime"); + m_startTime = jsonValue.GetString("startTime"); - m_endTimeHasBeenSet = true; + m_startTimeHasBeenSet = true; } - if(jsonValue.ValueExists("startTime")) + if(jsonValue.ValueExists("endTime")) { - m_startTime = jsonValue.GetString("startTime"); + m_endTime = jsonValue.GetString("endTime"); - m_startTimeHasBeenSet = true; + m_endTimeHasBeenSet = true; } return *this; @@ -53,14 +53,14 @@ JsonValue FixedBudgetSchedule::Jsonize() const { JsonValue payload; - if(m_endTimeHasBeenSet) + if(m_startTimeHasBeenSet) { - payload.WithString("endTime", m_endTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("startTime", m_startTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_startTimeHasBeenSet) + if(m_endTimeHasBeenSet) { - payload.WithString("startTime", m_startTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("endTime", m_endTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } return payload; diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FleetAmountCapability.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FleetAmountCapability.cpp index 691ed40cb4c..9d33d4d0c16 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/FleetAmountCapability.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FleetAmountCapability.cpp @@ -19,11 +19,11 @@ namespace Model { FleetAmountCapability::FleetAmountCapability() : - m_max(0.0), - m_maxHasBeenSet(false), + m_nameHasBeenSet(false), m_min(0.0), m_minHasBeenSet(false), - m_nameHasBeenSet(false) + m_max(0.0), + m_maxHasBeenSet(false) { } @@ -35,11 +35,11 @@ FleetAmountCapability::FleetAmountCapability(JsonView jsonValue) FleetAmountCapability& FleetAmountCapability::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("max")) + if(jsonValue.ValueExists("name")) { - m_max = jsonValue.GetDouble("max"); + m_name = jsonValue.GetString("name"); - m_maxHasBeenSet = true; + m_nameHasBeenSet = true; } if(jsonValue.ValueExists("min")) @@ -49,11 +49,11 @@ FleetAmountCapability& FleetAmountCapability::operator =(JsonView jsonValue) m_minHasBeenSet = true; } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("max")) { - m_name = jsonValue.GetString("name"); + m_max = jsonValue.GetDouble("max"); - m_nameHasBeenSet = true; + m_maxHasBeenSet = true; } return *this; @@ -63,9 +63,9 @@ JsonValue FleetAmountCapability::Jsonize() const { JsonValue payload; - if(m_maxHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithDouble("max", m_max); + payload.WithString("name", m_name); } @@ -75,9 +75,9 @@ JsonValue FleetAmountCapability::Jsonize() const } - if(m_nameHasBeenSet) + if(m_maxHasBeenSet) { - payload.WithString("name", m_name); + payload.WithDouble("max", m_max); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FleetMember.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FleetMember.cpp index c3e5584d227..e06be77eeaf 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/FleetMember.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FleetMember.cpp @@ -21,12 +21,12 @@ 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) + m_principalTypeHasBeenSet(false), + m_identityStoreIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false) { } @@ -52,32 +52,32 @@ FleetMember& FleetMember::operator =(JsonView jsonValue) m_fleetIdHasBeenSet = true; } - if(jsonValue.ValueExists("identityStoreId")) + if(jsonValue.ValueExists("principalId")) { - m_identityStoreId = jsonValue.GetString("identityStoreId"); + m_principalId = jsonValue.GetString("principalId"); - m_identityStoreIdHasBeenSet = true; + m_principalIdHasBeenSet = true; } - if(jsonValue.ValueExists("membershipLevel")) + if(jsonValue.ValueExists("principalType")) { - m_membershipLevel = MembershipLevelMapper::GetMembershipLevelForName(jsonValue.GetString("membershipLevel")); + m_principalType = PrincipalTypeMapper::GetPrincipalTypeForName(jsonValue.GetString("principalType")); - m_membershipLevelHasBeenSet = true; + m_principalTypeHasBeenSet = true; } - if(jsonValue.ValueExists("principalId")) + if(jsonValue.ValueExists("identityStoreId")) { - m_principalId = jsonValue.GetString("principalId"); + m_identityStoreId = jsonValue.GetString("identityStoreId"); - m_principalIdHasBeenSet = true; + m_identityStoreIdHasBeenSet = true; } - if(jsonValue.ValueExists("principalType")) + if(jsonValue.ValueExists("membershipLevel")) { - m_principalType = PrincipalTypeMapper::GetPrincipalTypeForName(jsonValue.GetString("principalType")); + m_membershipLevel = MembershipLevelMapper::GetMembershipLevelForName(jsonValue.GetString("membershipLevel")); - m_principalTypeHasBeenSet = true; + m_membershipLevelHasBeenSet = true; } return *this; @@ -99,26 +99,26 @@ JsonValue FleetMember::Jsonize() const } - if(m_identityStoreIdHasBeenSet) + if(m_principalIdHasBeenSet) { - payload.WithString("identityStoreId", m_identityStoreId); + payload.WithString("principalId", m_principalId); } - if(m_membershipLevelHasBeenSet) + if(m_principalTypeHasBeenSet) { - payload.WithString("membershipLevel", MembershipLevelMapper::GetNameForMembershipLevel(m_membershipLevel)); + payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); } - if(m_principalIdHasBeenSet) + if(m_identityStoreIdHasBeenSet) { - payload.WithString("principalId", m_principalId); + payload.WithString("identityStoreId", m_identityStoreId); } - if(m_principalTypeHasBeenSet) + if(m_membershipLevelHasBeenSet) { - payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); + payload.WithString("membershipLevel", MembershipLevelMapper::GetNameForMembershipLevel(m_membershipLevel)); } return payload; diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/FleetSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/FleetSummary.cpp index 6369200ee41..d70b84697ed 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/FleetSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/FleetSummary.cpp @@ -19,26 +19,26 @@ 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_farmIdHasBeenSet(false), + m_displayNameHasBeenSet(false), m_status(FleetStatus::NOT_SET), m_statusHasBeenSet(false), + m_autoScalingStatus(AutoScalingStatus::NOT_SET), + m_autoScalingStatusHasBeenSet(false), m_targetWorkerCount(0), m_targetWorkerCountHasBeenSet(false), - m_updatedAtHasBeenSet(false), - m_updatedByHasBeenSet(false), m_workerCount(0), - m_workerCountHasBeenSet(false) + m_workerCountHasBeenSet(false), + m_minWorkerCount(0), + m_minWorkerCountHasBeenSet(false), + m_maxWorkerCount(0), + m_maxWorkerCountHasBeenSet(false), + m_configurationHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false) { } @@ -50,53 +50,60 @@ FleetSummary::FleetSummary(JsonView jsonValue) FleetSummary& FleetSummary::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("autoScalingStatus")) + if(jsonValue.ValueExists("fleetId")) { - m_autoScalingStatus = AutoScalingStatusMapper::GetAutoScalingStatusForName(jsonValue.GetString("autoScalingStatus")); + m_fleetId = jsonValue.GetString("fleetId"); - m_autoScalingStatusHasBeenSet = true; + m_fleetIdHasBeenSet = true; } - if(jsonValue.ValueExists("configuration")) + if(jsonValue.ValueExists("farmId")) { - m_configuration = jsonValue.GetObject("configuration"); + m_farmId = jsonValue.GetString("farmId"); - m_configurationHasBeenSet = true; + m_farmIdHasBeenSet = true; } - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("displayName")) { - m_createdAt = jsonValue.GetString("createdAt"); + m_displayName = jsonValue.GetString("displayName"); - m_createdAtHasBeenSet = true; + m_displayNameHasBeenSet = true; } - if(jsonValue.ValueExists("createdBy")) + if(jsonValue.ValueExists("status")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_status = FleetStatusMapper::GetFleetStatusForName(jsonValue.GetString("status")); - m_createdByHasBeenSet = true; + m_statusHasBeenSet = true; } - if(jsonValue.ValueExists("displayName")) + if(jsonValue.ValueExists("autoScalingStatus")) { - m_displayName = jsonValue.GetString("displayName"); + m_autoScalingStatus = AutoScalingStatusMapper::GetAutoScalingStatusForName(jsonValue.GetString("autoScalingStatus")); - m_displayNameHasBeenSet = true; + m_autoScalingStatusHasBeenSet = true; } - if(jsonValue.ValueExists("farmId")) + if(jsonValue.ValueExists("targetWorkerCount")) { - m_farmId = jsonValue.GetString("farmId"); + m_targetWorkerCount = jsonValue.GetInteger("targetWorkerCount"); - m_farmIdHasBeenSet = true; + m_targetWorkerCountHasBeenSet = true; } - if(jsonValue.ValueExists("fleetId")) + if(jsonValue.ValueExists("workerCount")) { - m_fleetId = jsonValue.GetString("fleetId"); + m_workerCount = jsonValue.GetInteger("workerCount"); - m_fleetIdHasBeenSet = true; + m_workerCountHasBeenSet = true; + } + + if(jsonValue.ValueExists("minWorkerCount")) + { + m_minWorkerCount = jsonValue.GetInteger("minWorkerCount"); + + m_minWorkerCountHasBeenSet = true; } if(jsonValue.ValueExists("maxWorkerCount")) @@ -106,25 +113,25 @@ FleetSummary& FleetSummary::operator =(JsonView jsonValue) m_maxWorkerCountHasBeenSet = true; } - if(jsonValue.ValueExists("minWorkerCount")) + if(jsonValue.ValueExists("configuration")) { - m_minWorkerCount = jsonValue.GetInteger("minWorkerCount"); + m_configuration = jsonValue.GetObject("configuration"); - m_minWorkerCountHasBeenSet = true; + m_configurationHasBeenSet = true; } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("createdAt")) { - m_status = FleetStatusMapper::GetFleetStatusForName(jsonValue.GetString("status")); + m_createdAt = jsonValue.GetString("createdAt"); - m_statusHasBeenSet = true; + m_createdAtHasBeenSet = true; } - if(jsonValue.ValueExists("targetWorkerCount")) + if(jsonValue.ValueExists("createdBy")) { - m_targetWorkerCount = jsonValue.GetInteger("targetWorkerCount"); + m_createdBy = jsonValue.GetString("createdBy"); - m_targetWorkerCountHasBeenSet = true; + m_createdByHasBeenSet = true; } if(jsonValue.ValueExists("updatedAt")) @@ -141,13 +148,6 @@ FleetSummary& FleetSummary::operator =(JsonView jsonValue) m_updatedByHasBeenSet = true; } - if(jsonValue.ValueExists("workerCount")) - { - m_workerCount = jsonValue.GetInteger("workerCount"); - - m_workerCountHasBeenSet = true; - } - return *this; } @@ -155,43 +155,49 @@ JsonValue FleetSummary::Jsonize() const { JsonValue payload; - if(m_autoScalingStatusHasBeenSet) + if(m_fleetIdHasBeenSet) { - payload.WithString("autoScalingStatus", AutoScalingStatusMapper::GetNameForAutoScalingStatus(m_autoScalingStatus)); + payload.WithString("fleetId", m_fleetId); + } - if(m_configurationHasBeenSet) + if(m_farmIdHasBeenSet) { - payload.WithObject("configuration", m_configuration.Jsonize()); + payload.WithString("farmId", m_farmId); } - if(m_createdAtHasBeenSet) + if(m_displayNameHasBeenSet) { - payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("displayName", m_displayName); + } - if(m_createdByHasBeenSet) + if(m_statusHasBeenSet) { - payload.WithString("createdBy", m_createdBy); + payload.WithString("status", FleetStatusMapper::GetNameForFleetStatus(m_status)); + } + if(m_autoScalingStatusHasBeenSet) + { + payload.WithString("autoScalingStatus", AutoScalingStatusMapper::GetNameForAutoScalingStatus(m_autoScalingStatus)); } - if(m_displayNameHasBeenSet) + if(m_targetWorkerCountHasBeenSet) { - payload.WithString("displayName", m_displayName); + payload.WithInteger("targetWorkerCount", m_targetWorkerCount); } - if(m_farmIdHasBeenSet) + if(m_workerCountHasBeenSet) { - payload.WithString("farmId", m_farmId); + payload.WithInteger("workerCount", m_workerCount); } - if(m_fleetIdHasBeenSet) + if(m_minWorkerCountHasBeenSet) { - payload.WithString("fleetId", m_fleetId); + payload.WithInteger("minWorkerCount", m_minWorkerCount); } @@ -201,20 +207,20 @@ JsonValue FleetSummary::Jsonize() const } - if(m_minWorkerCountHasBeenSet) + if(m_configurationHasBeenSet) { - payload.WithInteger("minWorkerCount", m_minWorkerCount); + payload.WithObject("configuration", m_configuration.Jsonize()); } - if(m_statusHasBeenSet) + if(m_createdAtHasBeenSet) { - payload.WithString("status", FleetStatusMapper::GetNameForFleetStatus(m_status)); + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_targetWorkerCountHasBeenSet) + if(m_createdByHasBeenSet) { - payload.WithInteger("targetWorkerCount", m_targetWorkerCount); + payload.WithString("createdBy", m_createdBy); } @@ -229,12 +235,6 @@ JsonValue FleetSummary::Jsonize() const } - if(m_workerCountHasBeenSet) - { - payload.WithInteger("workerCount", m_workerCount); - - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetBudgetRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetBudgetRequest.cpp index 3b2ac4d7ace..45e731b19aa 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetBudgetRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetBudgetRequest.cpp @@ -13,8 +13,8 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; GetBudgetRequest::GetBudgetRequest() : - m_budgetIdHasBeenSet(false), - m_farmIdHasBeenSet(false) + m_farmIdHasBeenSet(false), + m_budgetIdHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetBudgetResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetBudgetResult.cpp index 2493d04ff68..513ee32bf05 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetBudgetResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetBudgetResult.cpp @@ -18,8 +18,8 @@ using namespace Aws::Utils; using namespace Aws; GetBudgetResult::GetBudgetResult() : - m_approximateDollarLimit(0.0), - m_status(BudgetStatus::NOT_SET) + m_status(BudgetStatus::NOT_SET), + m_approximateDollarLimit(0.0) { } @@ -32,36 +32,27 @@ GetBudgetResult::GetBudgetResult(const Aws::AmazonWebServiceResult& r 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")) + if(jsonValue.ValueExists("budgetId")) { - m_approximateDollarLimit = jsonValue.GetDouble("approximateDollarLimit"); + m_budgetId = jsonValue.GetString("budgetId"); } - if(jsonValue.ValueExists("budgetId")) + if(jsonValue.ValueExists("usageTrackingResource")) { - m_budgetId = jsonValue.GetString("budgetId"); + m_usageTrackingResource = jsonValue.GetObject("usageTrackingResource"); } - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("status")) { - m_createdAt = jsonValue.GetString("createdAt"); + m_status = BudgetStatusMapper::GetBudgetStatusForName(jsonValue.GetString("status")); } - if(jsonValue.ValueExists("createdBy")) + if(jsonValue.ValueExists("displayName")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_displayName = jsonValue.GetString("displayName"); } @@ -71,33 +62,42 @@ GetBudgetResult& GetBudgetResult::operator =(const Aws::AmazonWebServiceResult actionsJsonList = jsonValue.GetArray("actions"); + for(unsigned actionsIndex = 0; actionsIndex < actionsJsonList.GetLength(); ++actionsIndex) + { + m_actions.push_back(actionsJsonList[actionsIndex].AsObject()); + } + } + if(jsonValue.ValueExists("schedule")) { m_schedule = jsonValue.GetObject("schedule"); } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("createdBy")) { - m_status = BudgetStatusMapper::GetBudgetStatusForName(jsonValue.GetString("status")); + m_createdBy = jsonValue.GetString("createdBy"); } - if(jsonValue.ValueExists("updatedAt")) + if(jsonValue.ValueExists("createdAt")) { - m_updatedAt = jsonValue.GetString("updatedAt"); + m_createdAt = jsonValue.GetString("createdAt"); } @@ -107,15 +107,15 @@ GetBudgetResult& GetBudgetResult::operator =(const Aws::AmazonWebServiceResult& resul GetFarmResult& GetFarmResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("farmId")) { - m_createdAt = jsonValue.GetString("createdAt"); + m_farmId = jsonValue.GetString("farmId"); } - if(jsonValue.ValueExists("createdBy")) + if(jsonValue.ValueExists("displayName")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_displayName = jsonValue.GetString("displayName"); } @@ -47,21 +47,21 @@ GetFarmResult& GetFarmResult::operator =(const Aws::AmazonWebServiceResult& res GetFleetResult& GetFleetResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("autoScalingStatus")) + if(jsonValue.ValueExists("fleetId")) { - m_autoScalingStatus = AutoScalingStatusMapper::GetAutoScalingStatusForName(jsonValue.GetString("autoScalingStatus")); + m_fleetId = jsonValue.GetString("fleetId"); } - if(jsonValue.ValueExists("capabilities")) + if(jsonValue.ValueExists("farmId")) { - m_capabilities = jsonValue.GetObject("capabilities"); + m_farmId = jsonValue.GetString("farmId"); } - if(jsonValue.ValueExists("configuration")) + if(jsonValue.ValueExists("displayName")) { - m_configuration = jsonValue.GetObject("configuration"); + m_displayName = jsonValue.GetString("displayName"); } - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("description")) { - m_createdAt = jsonValue.GetString("createdAt"); + m_description = jsonValue.GetString("description"); } - if(jsonValue.ValueExists("createdBy")) + if(jsonValue.ValueExists("status")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_status = FleetStatusMapper::GetFleetStatusForName(jsonValue.GetString("status")); } - if(jsonValue.ValueExists("description")) + if(jsonValue.ValueExists("autoScalingStatus")) { - m_description = jsonValue.GetString("description"); + m_autoScalingStatus = AutoScalingStatusMapper::GetAutoScalingStatusForName(jsonValue.GetString("autoScalingStatus")); } - if(jsonValue.ValueExists("displayName")) + if(jsonValue.ValueExists("targetWorkerCount")) { - m_displayName = jsonValue.GetString("displayName"); + m_targetWorkerCount = jsonValue.GetInteger("targetWorkerCount"); } - if(jsonValue.ValueExists("farmId")) + if(jsonValue.ValueExists("workerCount")) { - m_farmId = jsonValue.GetString("farmId"); + m_workerCount = jsonValue.GetInteger("workerCount"); } - if(jsonValue.ValueExists("fleetId")) + if(jsonValue.ValueExists("minWorkerCount")) { - m_fleetId = jsonValue.GetString("fleetId"); + m_minWorkerCount = jsonValue.GetInteger("minWorkerCount"); } @@ -96,9 +96,15 @@ GetFleetResult& GetFleetResult::operator =(const Aws::AmazonWebServiceResult& result) GetJobResult& GetJobResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("attachments")) + if(jsonValue.ValueExists("jobId")) { - m_attachments = jsonValue.GetObject("attachments"); + m_jobId = jsonValue.GetString("jobId"); } - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("name")) { - m_createdAt = jsonValue.GetString("createdAt"); + m_name = jsonValue.GetString("name"); } - if(jsonValue.ValueExists("createdBy")) + if(jsonValue.ValueExists("lifecycleStatus")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_lifecycleStatus = JobLifecycleStatusMapper::GetJobLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); } - if(jsonValue.ValueExists("description")) + if(jsonValue.ValueExists("lifecycleStatusMessage")) { - m_description = jsonValue.GetString("description"); + m_lifecycleStatusMessage = jsonValue.GetString("lifecycleStatusMessage"); } - if(jsonValue.ValueExists("endedAt")) + if(jsonValue.ValueExists("priority")) { - m_endedAt = jsonValue.GetString("endedAt"); + m_priority = jsonValue.GetInteger("priority"); } - if(jsonValue.ValueExists("jobId")) + if(jsonValue.ValueExists("createdAt")) { - m_jobId = jsonValue.GetString("jobId"); + m_createdAt = jsonValue.GetString("createdAt"); } - if(jsonValue.ValueExists("lifecycleStatus")) + if(jsonValue.ValueExists("createdBy")) { - m_lifecycleStatus = JobLifecycleStatusMapper::GetJobLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); + m_createdBy = jsonValue.GetString("createdBy"); } - if(jsonValue.ValueExists("lifecycleStatusMessage")) + if(jsonValue.ValueExists("updatedAt")) { - m_lifecycleStatusMessage = jsonValue.GetString("lifecycleStatusMessage"); + m_updatedAt = jsonValue.GetString("updatedAt"); } - if(jsonValue.ValueExists("maxFailedTasksCount")) + if(jsonValue.ValueExists("updatedBy")) { - m_maxFailedTasksCount = jsonValue.GetInteger("maxFailedTasksCount"); + m_updatedBy = jsonValue.GetString("updatedBy"); } - if(jsonValue.ValueExists("maxRetriesPerTask")) + if(jsonValue.ValueExists("startedAt")) { - m_maxRetriesPerTask = jsonValue.GetInteger("maxRetriesPerTask"); + m_startedAt = jsonValue.GetString("startedAt"); } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("endedAt")) { - m_name = jsonValue.GetString("name"); + m_endedAt = jsonValue.GetString("endedAt"); } - if(jsonValue.ValueExists("parameters")) + if(jsonValue.ValueExists("taskRunStatus")) { - Aws::Map parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); - for(auto& parametersItem : parametersJsonMap) - { - m_parameters[parametersItem.first] = parametersItem.second.AsObject(); - } + m_taskRunStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("taskRunStatus")); + } - if(jsonValue.ValueExists("priority")) + if(jsonValue.ValueExists("targetTaskRunStatus")) { - m_priority = jsonValue.GetInteger("priority"); + m_targetTaskRunStatus = JobTargetTaskRunStatusMapper::GetJobTargetTaskRunStatusForName(jsonValue.GetString("targetTaskRunStatus")); } - if(jsonValue.ValueExists("startedAt")) + if(jsonValue.ValueExists("taskRunStatusCounts")) { - m_startedAt = jsonValue.GetString("startedAt"); - + Aws::Map taskRunStatusCountsJsonMap = jsonValue.GetObject("taskRunStatusCounts").GetAllObjects(); + for(auto& taskRunStatusCountsItem : taskRunStatusCountsJsonMap) + { + m_taskRunStatusCounts[TaskRunStatusMapper::GetTaskRunStatusForName(taskRunStatusCountsItem.first)] = taskRunStatusCountsItem.second.AsInteger(); + } } if(jsonValue.ValueExists("storageProfileId")) @@ -129,36 +129,36 @@ GetJobResult& GetJobResult::operator =(const Aws::AmazonWebServiceResult taskRunStatusCountsJsonMap = jsonValue.GetObject("taskRunStatusCounts").GetAllObjects(); - for(auto& taskRunStatusCountsItem : taskRunStatusCountsJsonMap) + Aws::Map parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); + for(auto& parametersItem : parametersJsonMap) { - m_taskRunStatusCounts[TaskRunStatusMapper::GetTaskRunStatusForName(taskRunStatusCountsItem.first)] = taskRunStatusCountsItem.second.AsInteger(); + m_parameters[parametersItem.first] = parametersItem.second.AsObject(); } } - if(jsonValue.ValueExists("updatedAt")) + if(jsonValue.ValueExists("attachments")) { - m_updatedAt = jsonValue.GetString("updatedAt"); + m_attachments = jsonValue.GetObject("attachments"); } - if(jsonValue.ValueExists("updatedBy")) + if(jsonValue.ValueExists("description")) { - m_updatedBy = jsonValue.GetString("updatedBy"); + m_description = jsonValue.GetString("description"); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetLicenseEndpointResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetLicenseEndpointResult.cpp index 5de9b258692..fb15c670417 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetLicenseEndpointResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetLicenseEndpointResult.cpp @@ -31,36 +31,33 @@ GetLicenseEndpointResult::GetLicenseEndpointResult(const Aws::AmazonWebServiceRe GetLicenseEndpointResult& GetLicenseEndpointResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("dnsName")) + if(jsonValue.ValueExists("licenseEndpointId")) { - m_dnsName = jsonValue.GetString("dnsName"); + m_licenseEndpointId = jsonValue.GetString("licenseEndpointId"); } - if(jsonValue.ValueExists("licenseEndpointId")) + if(jsonValue.ValueExists("status")) { - m_licenseEndpointId = jsonValue.GetString("licenseEndpointId"); + m_status = LicenseEndpointStatusMapper::GetLicenseEndpointStatusForName(jsonValue.GetString("status")); } - if(jsonValue.ValueExists("securityGroupIds")) + if(jsonValue.ValueExists("statusMessage")) { - Aws::Utils::Array securityGroupIdsJsonList = jsonValue.GetArray("securityGroupIds"); - for(unsigned securityGroupIdsIndex = 0; securityGroupIdsIndex < securityGroupIdsJsonList.GetLength(); ++securityGroupIdsIndex) - { - m_securityGroupIds.push_back(securityGroupIdsJsonList[securityGroupIdsIndex].AsString()); - } + m_statusMessage = jsonValue.GetString("statusMessage"); + } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("vpcId")) { - m_status = LicenseEndpointStatusMapper::GetLicenseEndpointStatusForName(jsonValue.GetString("status")); + m_vpcId = jsonValue.GetString("vpcId"); } - if(jsonValue.ValueExists("statusMessage")) + if(jsonValue.ValueExists("dnsName")) { - m_statusMessage = jsonValue.GetString("statusMessage"); + m_dnsName = jsonValue.GetString("dnsName"); } @@ -73,10 +70,13 @@ GetLicenseEndpointResult& GetLicenseEndpointResult::operator =(const Aws::Amazon } } - if(jsonValue.ValueExists("vpcId")) + if(jsonValue.ValueExists("securityGroupIds")) { - m_vpcId = jsonValue.GetString("vpcId"); - + Aws::Utils::Array securityGroupIdsJsonList = jsonValue.GetArray("securityGroupIds"); + for(unsigned securityGroupIdsIndex = 0; securityGroupIdsIndex < securityGroupIdsJsonList.GetLength(); ++securityGroupIdsIndex) + { + m_securityGroupIds.push_back(securityGroupIdsJsonList[securityGroupIdsIndex].AsString()); + } } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetMonitorResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetMonitorResult.cpp index 1ca5103dd31..a674e36b791 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetMonitorResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetMonitorResult.cpp @@ -29,27 +29,33 @@ GetMonitorResult::GetMonitorResult(const Aws::AmazonWebServiceResult& GetMonitorResult& GetMonitorResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("monitorId")) { - m_createdAt = jsonValue.GetString("createdAt"); + m_monitorId = jsonValue.GetString("monitorId"); } - if(jsonValue.ValueExists("createdBy")) + if(jsonValue.ValueExists("displayName")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_displayName = jsonValue.GetString("displayName"); } - if(jsonValue.ValueExists("displayName")) + if(jsonValue.ValueExists("subdomain")) { - m_displayName = jsonValue.GetString("displayName"); + m_subdomain = jsonValue.GetString("subdomain"); } - if(jsonValue.ValueExists("identityCenterApplicationArn")) + if(jsonValue.ValueExists("url")) { - m_identityCenterApplicationArn = jsonValue.GetString("identityCenterApplicationArn"); + m_url = jsonValue.GetString("url"); + + } + + if(jsonValue.ValueExists("roleArn")) + { + m_roleArn = jsonValue.GetString("roleArn"); } @@ -59,21 +65,21 @@ GetMonitorResult& GetMonitorResult::operator =(const Aws::AmazonWebServiceResult } - if(jsonValue.ValueExists("monitorId")) + if(jsonValue.ValueExists("identityCenterApplicationArn")) { - m_monitorId = jsonValue.GetString("monitorId"); + m_identityCenterApplicationArn = jsonValue.GetString("identityCenterApplicationArn"); } - if(jsonValue.ValueExists("roleArn")) + if(jsonValue.ValueExists("createdAt")) { - m_roleArn = jsonValue.GetString("roleArn"); + m_createdAt = jsonValue.GetString("createdAt"); } - if(jsonValue.ValueExists("subdomain")) + if(jsonValue.ValueExists("createdBy")) { - m_subdomain = jsonValue.GetString("subdomain"); + m_createdBy = jsonValue.GetString("createdBy"); } @@ -89,12 +95,6 @@ GetMonitorResult& GetMonitorResult::operator =(const Aws::AmazonWebServiceResult } - if(jsonValue.ValueExists("url")) - { - m_url = jsonValue.GetString("url"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueEnvironmentRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueEnvironmentRequest.cpp index 4c26dc38d6c..1c55bb3f026 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueEnvironmentRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueEnvironmentRequest.cpp @@ -14,8 +14,8 @@ using namespace Aws::Utils; GetQueueEnvironmentRequest::GetQueueEnvironmentRequest() : m_farmIdHasBeenSet(false), - m_queueEnvironmentIdHasBeenSet(false), - m_queueIdHasBeenSet(false) + m_queueIdHasBeenSet(false), + m_queueEnvironmentIdHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueEnvironmentResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueEnvironmentResult.cpp index 649057d52a1..21566f9c025 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueEnvironmentResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueEnvironmentResult.cpp @@ -32,15 +32,9 @@ GetQueueEnvironmentResult::GetQueueEnvironmentResult(const Aws::AmazonWebService 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")) + if(jsonValue.ValueExists("queueEnvironmentId")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_queueEnvironmentId = jsonValue.GetString("queueEnvironmentId"); } @@ -56,9 +50,9 @@ GetQueueEnvironmentResult& GetQueueEnvironmentResult::operator =(const Aws::Amaz } - if(jsonValue.ValueExists("queueEnvironmentId")) + if(jsonValue.ValueExists("templateType")) { - m_queueEnvironmentId = jsonValue.GetString("queueEnvironmentId"); + m_templateType = EnvironmentTemplateTypeMapper::GetEnvironmentTemplateTypeForName(jsonValue.GetString("templateType")); } @@ -68,9 +62,15 @@ GetQueueEnvironmentResult& GetQueueEnvironmentResult::operator =(const Aws::Amaz } - if(jsonValue.ValueExists("templateType")) + if(jsonValue.ValueExists("createdAt")) { - m_templateType = EnvironmentTemplateTypeMapper::GetEnvironmentTemplateTypeForName(jsonValue.GetString("templateType")); + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueFleetAssociationRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueFleetAssociationRequest.cpp index 9443d4d33f5..52d1ac20cc1 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueFleetAssociationRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueFleetAssociationRequest.cpp @@ -14,8 +14,8 @@ using namespace Aws::Utils; GetQueueFleetAssociationRequest::GetQueueFleetAssociationRequest() : m_farmIdHasBeenSet(false), - m_fleetIdHasBeenSet(false), - m_queueIdHasBeenSet(false) + m_queueIdHasBeenSet(false), + m_fleetIdHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueFleetAssociationResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueFleetAssociationResult.cpp index d62c0638ce4..5ef473a367a 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueFleetAssociationResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueFleetAssociationResult.cpp @@ -31,33 +31,33 @@ GetQueueFleetAssociationResult::GetQueueFleetAssociationResult(const Aws::Amazon GetQueueFleetAssociationResult& GetQueueFleetAssociationResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("queueId")) { - m_createdAt = jsonValue.GetString("createdAt"); + m_queueId = jsonValue.GetString("queueId"); } - if(jsonValue.ValueExists("createdBy")) + if(jsonValue.ValueExists("fleetId")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_fleetId = jsonValue.GetString("fleetId"); } - if(jsonValue.ValueExists("fleetId")) + if(jsonValue.ValueExists("status")) { - m_fleetId = jsonValue.GetString("fleetId"); + m_status = QueueFleetAssociationStatusMapper::GetQueueFleetAssociationStatusForName(jsonValue.GetString("status")); } - if(jsonValue.ValueExists("queueId")) + if(jsonValue.ValueExists("createdAt")) { - m_queueId = jsonValue.GetString("queueId"); + m_createdAt = jsonValue.GetString("createdAt"); } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("createdBy")) { - m_status = QueueFleetAssociationStatusMapper::GetQueueFleetAssociationStatusForName(jsonValue.GetString("status")); + m_createdBy = jsonValue.GetString("createdBy"); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueResult.cpp index 4855d98a0b6..eeaa5c37b53 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetQueueResult.cpp @@ -18,9 +18,9 @@ using namespace Aws::Utils; using namespace Aws; GetQueueResult::GetQueueResult() : - m_blockedReason(QueueBlockedReason::NOT_SET), + m_status(QueueStatus::NOT_SET), m_defaultBudgetAction(DefaultQueueBudgetAction::NOT_SET), - m_status(QueueStatus::NOT_SET) + m_blockedReason(QueueBlockedReason::NOT_SET) { } @@ -33,54 +33,45 @@ GetQueueResult::GetQueueResult(const Aws::AmazonWebServiceResult& res 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")) + if(jsonValue.ValueExists("queueId")) { - m_blockedReason = QueueBlockedReasonMapper::GetQueueBlockedReasonForName(jsonValue.GetString("blockedReason")); + m_queueId = jsonValue.GetString("queueId"); } - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("displayName")) { - m_createdAt = jsonValue.GetString("createdAt"); + m_displayName = jsonValue.GetString("displayName"); } - if(jsonValue.ValueExists("createdBy")) + if(jsonValue.ValueExists("description")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_description = jsonValue.GetString("description"); } - if(jsonValue.ValueExists("defaultBudgetAction")) + if(jsonValue.ValueExists("farmId")) { - m_defaultBudgetAction = DefaultQueueBudgetActionMapper::GetDefaultQueueBudgetActionForName(jsonValue.GetString("defaultBudgetAction")); + m_farmId = jsonValue.GetString("farmId"); } - if(jsonValue.ValueExists("description")) + if(jsonValue.ValueExists("status")) { - m_description = jsonValue.GetString("description"); + m_status = QueueStatusMapper::GetQueueStatusForName(jsonValue.GetString("status")); } - if(jsonValue.ValueExists("displayName")) + if(jsonValue.ValueExists("defaultBudgetAction")) { - m_displayName = jsonValue.GetString("displayName"); + m_defaultBudgetAction = DefaultQueueBudgetActionMapper::GetDefaultQueueBudgetActionForName(jsonValue.GetString("defaultBudgetAction")); } - if(jsonValue.ValueExists("farmId")) + if(jsonValue.ValueExists("blockedReason")) { - m_farmId = jsonValue.GetString("farmId"); + m_blockedReason = QueueBlockedReasonMapper::GetQueueBlockedReasonForName(jsonValue.GetString("blockedReason")); } @@ -90,15 +81,9 @@ GetQueueResult& GetQueueResult::operator =(const Aws::AmazonWebServiceResult allowedStorageProfileIdsJsonList = jsonValue.GetArray("allowedStorageProfileIds"); + for(unsigned allowedStorageProfileIdsIndex = 0; allowedStorageProfileIdsIndex < allowedStorageProfileIdsJsonList.GetLength(); ++allowedStorageProfileIdsIndex) + { + m_allowedStorageProfileIds.push_back(allowedStorageProfileIdsJsonList[allowedStorageProfileIdsIndex].AsString()); + } + } + + if(jsonValue.ValueExists("jobRunAsUser")) + { + m_jobRunAsUser = jsonValue.GetObject("jobRunAsUser"); } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("createdAt")) { - m_status = QueueStatusMapper::GetQueueStatusForName(jsonValue.GetString("status")); + m_createdAt = jsonValue.GetString("createdAt"); + + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionActionRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionActionRequest.cpp index e24aa2b52d7..4d2bc85ad8b 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionActionRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionActionRequest.cpp @@ -14,8 +14,8 @@ using namespace Aws::Utils; GetSessionActionRequest::GetSessionActionRequest() : m_farmIdHasBeenSet(false), - m_jobIdHasBeenSet(false), m_queueIdHasBeenSet(false), + m_jobIdHasBeenSet(false), m_sessionActionIdHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionActionResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionActionResult.cpp index 8c0ca9cbb6e..967a1b95dde 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionActionResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionActionResult.cpp @@ -18,9 +18,9 @@ using namespace Aws::Utils; using namespace Aws; GetSessionActionResult::GetSessionActionResult() : - m_processExitCode(0), + m_status(SessionActionStatus::NOT_SET), m_progressPercent(0.0), - m_status(SessionActionStatus::NOT_SET) + m_processExitCode(0) { } @@ -33,39 +33,39 @@ GetSessionActionResult::GetSessionActionResult(const Aws::AmazonWebServiceResult GetSessionActionResult& GetSessionActionResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("definition")) + if(jsonValue.ValueExists("sessionActionId")) { - m_definition = jsonValue.GetObject("definition"); + m_sessionActionId = jsonValue.GetString("sessionActionId"); } - if(jsonValue.ValueExists("endedAt")) + if(jsonValue.ValueExists("status")) { - m_endedAt = jsonValue.GetString("endedAt"); + m_status = SessionActionStatusMapper::GetSessionActionStatusForName(jsonValue.GetString("status")); } - if(jsonValue.ValueExists("processExitCode")) + if(jsonValue.ValueExists("startedAt")) { - m_processExitCode = jsonValue.GetInteger("processExitCode"); + m_startedAt = jsonValue.GetString("startedAt"); } - if(jsonValue.ValueExists("progressMessage")) + if(jsonValue.ValueExists("endedAt")) { - m_progressMessage = jsonValue.GetString("progressMessage"); + m_endedAt = jsonValue.GetString("endedAt"); } - if(jsonValue.ValueExists("progressPercent")) + if(jsonValue.ValueExists("workerUpdatedAt")) { - m_progressPercent = jsonValue.GetDouble("progressPercent"); + m_workerUpdatedAt = jsonValue.GetString("workerUpdatedAt"); } - if(jsonValue.ValueExists("sessionActionId")) + if(jsonValue.ValueExists("progressPercent")) { - m_sessionActionId = jsonValue.GetString("sessionActionId"); + m_progressPercent = jsonValue.GetDouble("progressPercent"); } @@ -75,21 +75,21 @@ GetSessionActionResult& GetSessionActionResult::operator =(const Aws::AmazonWebS } - if(jsonValue.ValueExists("startedAt")) + if(jsonValue.ValueExists("processExitCode")) { - m_startedAt = jsonValue.GetString("startedAt"); + m_processExitCode = jsonValue.GetInteger("processExitCode"); } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("progressMessage")) { - m_status = SessionActionStatusMapper::GetSessionActionStatusForName(jsonValue.GetString("status")); + m_progressMessage = jsonValue.GetString("progressMessage"); } - if(jsonValue.ValueExists("workerUpdatedAt")) + if(jsonValue.ValueExists("definition")) { - m_workerUpdatedAt = jsonValue.GetString("workerUpdatedAt"); + m_definition = jsonValue.GetObject("definition"); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionRequest.cpp index 5940672e894..23de060619f 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionRequest.cpp @@ -14,8 +14,8 @@ using namespace Aws::Utils; GetSessionRequest::GetSessionRequest() : m_farmIdHasBeenSet(false), - m_jobIdHasBeenSet(false), m_queueIdHasBeenSet(false), + m_jobIdHasBeenSet(false), m_sessionIdHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionResult.cpp index 834001c901e..e5cfe1c8b0a 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionResult.cpp @@ -32,9 +32,9 @@ GetSessionResult::GetSessionResult(const Aws::AmazonWebServiceResult& GetSessionResult& GetSessionResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("endedAt")) + if(jsonValue.ValueExists("sessionId")) { - m_endedAt = jsonValue.GetString("endedAt"); + m_sessionId = jsonValue.GetString("sessionId"); } @@ -44,15 +44,15 @@ GetSessionResult& GetSessionResult::operator =(const Aws::AmazonWebServiceResult } - if(jsonValue.ValueExists("hostProperties")) + if(jsonValue.ValueExists("workerId")) { - m_hostProperties = jsonValue.GetObject("hostProperties"); + m_workerId = jsonValue.GetString("workerId"); } - if(jsonValue.ValueExists("lifecycleStatus")) + if(jsonValue.ValueExists("startedAt")) { - m_lifecycleStatus = SessionLifecycleStatusMapper::GetSessionLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); + m_startedAt = jsonValue.GetString("startedAt"); } @@ -62,21 +62,15 @@ GetSessionResult& GetSessionResult::operator =(const Aws::AmazonWebServiceResult } - if(jsonValue.ValueExists("sessionId")) - { - m_sessionId = jsonValue.GetString("sessionId"); - - } - - if(jsonValue.ValueExists("startedAt")) + if(jsonValue.ValueExists("lifecycleStatus")) { - m_startedAt = jsonValue.GetString("startedAt"); + m_lifecycleStatus = SessionLifecycleStatusMapper::GetSessionLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); } - if(jsonValue.ValueExists("targetLifecycleStatus")) + if(jsonValue.ValueExists("endedAt")) { - m_targetLifecycleStatus = SessionLifecycleTargetStatusMapper::GetSessionLifecycleTargetStatusForName(jsonValue.GetString("targetLifecycleStatus")); + m_endedAt = jsonValue.GetString("endedAt"); } @@ -92,9 +86,15 @@ GetSessionResult& GetSessionResult::operator =(const Aws::AmazonWebServiceResult } - if(jsonValue.ValueExists("workerId")) + if(jsonValue.ValueExists("targetLifecycleStatus")) { - m_workerId = jsonValue.GetString("workerId"); + m_targetLifecycleStatus = SessionLifecycleTargetStatusMapper::GetSessionLifecycleTargetStatusForName(jsonValue.GetString("targetLifecycleStatus")); + + } + + if(jsonValue.ValueExists("hostProperties")) + { + m_hostProperties = jsonValue.GetObject("hostProperties"); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionsStatisticsAggregationRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionsStatisticsAggregationRequest.cpp index 497b0d097f4..2a96f6b8ce2 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionsStatisticsAggregationRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionsStatisticsAggregationRequest.cpp @@ -16,8 +16,8 @@ using namespace Aws::Utils; using namespace Aws::Http; GetSessionsStatisticsAggregationRequest::GetSessionsStatisticsAggregationRequest() : - m_aggregationIdHasBeenSet(false), m_farmIdHasBeenSet(false), + m_aggregationIdHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), m_nextTokenHasBeenSet(false) diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionsStatisticsAggregationResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionsStatisticsAggregationResult.cpp index adc0184faa8..7d10d32eeb4 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionsStatisticsAggregationResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetSessionsStatisticsAggregationResult.cpp @@ -31,12 +31,6 @@ GetSessionsStatisticsAggregationResult::GetSessionsStatisticsAggregationResult(c 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"); @@ -46,6 +40,12 @@ GetSessionsStatisticsAggregationResult& GetSessionsStatisticsAggregationResult:: } } + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + if(jsonValue.ValueExists("status")) { m_status = SessionsStatisticsAggregationStatusMapper::GetSessionsStatisticsAggregationStatusForName(jsonValue.GetString("status")); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetStepRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetStepRequest.cpp index 822b636c313..cc48469c1dc 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetStepRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetStepRequest.cpp @@ -14,8 +14,8 @@ using namespace Aws::Utils; GetStepRequest::GetStepRequest() : m_farmIdHasBeenSet(false), - m_jobIdHasBeenSet(false), m_queueIdHasBeenSet(false), + m_jobIdHasBeenSet(false), m_stepIdHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetStepResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetStepResult.cpp index 23d10c4e105..4796d80b91b 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetStepResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetStepResult.cpp @@ -19,8 +19,8 @@ using namespace Aws; GetStepResult::GetStepResult() : m_lifecycleStatus(StepLifecycleStatus::NOT_SET), - m_targetTaskRunStatus(StepTargetTaskRunStatus::NOT_SET), - m_taskRunStatus(TaskRunStatus::NOT_SET) + m_taskRunStatus(TaskRunStatus::NOT_SET), + m_targetTaskRunStatus(StepTargetTaskRunStatus::NOT_SET) { } @@ -33,108 +33,108 @@ GetStepResult::GetStepResult(const Aws::AmazonWebServiceResult& resul GetStepResult& GetStepResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("stepId")) { - m_createdAt = jsonValue.GetString("createdAt"); + m_stepId = jsonValue.GetString("stepId"); } - if(jsonValue.ValueExists("createdBy")) + if(jsonValue.ValueExists("name")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_name = jsonValue.GetString("name"); } - if(jsonValue.ValueExists("dependencyCounts")) + if(jsonValue.ValueExists("lifecycleStatus")) { - m_dependencyCounts = jsonValue.GetObject("dependencyCounts"); + m_lifecycleStatus = StepLifecycleStatusMapper::GetStepLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); } - if(jsonValue.ValueExists("description")) + if(jsonValue.ValueExists("lifecycleStatusMessage")) { - m_description = jsonValue.GetString("description"); + m_lifecycleStatusMessage = jsonValue.GetString("lifecycleStatusMessage"); } - if(jsonValue.ValueExists("endedAt")) + if(jsonValue.ValueExists("taskRunStatus")) { - m_endedAt = jsonValue.GetString("endedAt"); + m_taskRunStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("taskRunStatus")); } - if(jsonValue.ValueExists("lifecycleStatus")) + if(jsonValue.ValueExists("taskRunStatusCounts")) { - m_lifecycleStatus = StepLifecycleStatusMapper::GetStepLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); - + Aws::Map taskRunStatusCountsJsonMap = jsonValue.GetObject("taskRunStatusCounts").GetAllObjects(); + for(auto& taskRunStatusCountsItem : taskRunStatusCountsJsonMap) + { + m_taskRunStatusCounts[TaskRunStatusMapper::GetTaskRunStatusForName(taskRunStatusCountsItem.first)] = taskRunStatusCountsItem.second.AsInteger(); + } } - if(jsonValue.ValueExists("lifecycleStatusMessage")) + if(jsonValue.ValueExists("targetTaskRunStatus")) { - m_lifecycleStatusMessage = jsonValue.GetString("lifecycleStatusMessage"); + m_targetTaskRunStatus = StepTargetTaskRunStatusMapper::GetStepTargetTaskRunStatusForName(jsonValue.GetString("targetTaskRunStatus")); } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("createdAt")) { - m_name = jsonValue.GetString("name"); + m_createdAt = jsonValue.GetString("createdAt"); } - if(jsonValue.ValueExists("parameterSpace")) + if(jsonValue.ValueExists("createdBy")) { - m_parameterSpace = jsonValue.GetObject("parameterSpace"); + m_createdBy = jsonValue.GetString("createdBy"); } - if(jsonValue.ValueExists("requiredCapabilities")) + if(jsonValue.ValueExists("updatedAt")) { - m_requiredCapabilities = jsonValue.GetObject("requiredCapabilities"); + m_updatedAt = jsonValue.GetString("updatedAt"); } - if(jsonValue.ValueExists("startedAt")) + if(jsonValue.ValueExists("updatedBy")) { - m_startedAt = jsonValue.GetString("startedAt"); + m_updatedBy = jsonValue.GetString("updatedBy"); } - if(jsonValue.ValueExists("stepId")) + if(jsonValue.ValueExists("startedAt")) { - m_stepId = jsonValue.GetString("stepId"); + m_startedAt = jsonValue.GetString("startedAt"); } - if(jsonValue.ValueExists("targetTaskRunStatus")) + if(jsonValue.ValueExists("endedAt")) { - m_targetTaskRunStatus = StepTargetTaskRunStatusMapper::GetStepTargetTaskRunStatusForName(jsonValue.GetString("targetTaskRunStatus")); + m_endedAt = jsonValue.GetString("endedAt"); } - if(jsonValue.ValueExists("taskRunStatus")) + if(jsonValue.ValueExists("dependencyCounts")) { - m_taskRunStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("taskRunStatus")); + m_dependencyCounts = jsonValue.GetObject("dependencyCounts"); } - if(jsonValue.ValueExists("taskRunStatusCounts")) + if(jsonValue.ValueExists("requiredCapabilities")) { - Aws::Map taskRunStatusCountsJsonMap = jsonValue.GetObject("taskRunStatusCounts").GetAllObjects(); - for(auto& taskRunStatusCountsItem : taskRunStatusCountsJsonMap) - { - m_taskRunStatusCounts[TaskRunStatusMapper::GetTaskRunStatusForName(taskRunStatusCountsItem.first)] = taskRunStatusCountsItem.second.AsInteger(); - } + m_requiredCapabilities = jsonValue.GetObject("requiredCapabilities"); + } - if(jsonValue.ValueExists("updatedAt")) + if(jsonValue.ValueExists("parameterSpace")) { - m_updatedAt = jsonValue.GetString("updatedAt"); + m_parameterSpace = jsonValue.GetObject("parameterSpace"); } - if(jsonValue.ValueExists("updatedBy")) + if(jsonValue.ValueExists("description")) { - m_updatedBy = jsonValue.GetString("updatedBy"); + m_description = jsonValue.GetString("description"); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileForQueueResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileForQueueResult.cpp index 8b29fb63e89..f6fb6cf9c3d 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileForQueueResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileForQueueResult.cpp @@ -31,19 +31,16 @@ GetStorageProfileForQueueResult::GetStorageProfileForQueueResult(const Aws::Amaz GetStorageProfileForQueueResult& GetStorageProfileForQueueResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("displayName")) + if(jsonValue.ValueExists("storageProfileId")) { - m_displayName = jsonValue.GetString("displayName"); + m_storageProfileId = jsonValue.GetString("storageProfileId"); } - if(jsonValue.ValueExists("fileSystemLocations")) + if(jsonValue.ValueExists("displayName")) { - Aws::Utils::Array fileSystemLocationsJsonList = jsonValue.GetArray("fileSystemLocations"); - for(unsigned fileSystemLocationsIndex = 0; fileSystemLocationsIndex < fileSystemLocationsJsonList.GetLength(); ++fileSystemLocationsIndex) - { - m_fileSystemLocations.push_back(fileSystemLocationsJsonList[fileSystemLocationsIndex].AsObject()); - } + m_displayName = jsonValue.GetString("displayName"); + } if(jsonValue.ValueExists("osFamily")) @@ -52,10 +49,13 @@ GetStorageProfileForQueueResult& GetStorageProfileForQueueResult::operator =(con } - if(jsonValue.ValueExists("storageProfileId")) + if(jsonValue.ValueExists("fileSystemLocations")) { - m_storageProfileId = jsonValue.GetString("storageProfileId"); - + Aws::Utils::Array fileSystemLocationsJsonList = jsonValue.GetArray("fileSystemLocations"); + for(unsigned fileSystemLocationsIndex = 0; fileSystemLocationsIndex < fileSystemLocationsJsonList.GetLength(); ++fileSystemLocationsIndex) + { + m_fileSystemLocations.push_back(fileSystemLocationsJsonList[fileSystemLocationsIndex].AsObject()); + } } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileResult.cpp index d7dd94b45eb..c5a75a78139 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetStorageProfileResult.cpp @@ -31,15 +31,9 @@ GetStorageProfileResult::GetStorageProfileResult(const Aws::AmazonWebServiceResu 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")) + if(jsonValue.ValueExists("storageProfileId")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_storageProfileId = jsonValue.GetString("storageProfileId"); } @@ -49,24 +43,21 @@ GetStorageProfileResult& GetStorageProfileResult::operator =(const Aws::AmazonWe } - if(jsonValue.ValueExists("fileSystemLocations")) + if(jsonValue.ValueExists("osFamily")) { - Aws::Utils::Array fileSystemLocationsJsonList = jsonValue.GetArray("fileSystemLocations"); - for(unsigned fileSystemLocationsIndex = 0; fileSystemLocationsIndex < fileSystemLocationsJsonList.GetLength(); ++fileSystemLocationsIndex) - { - m_fileSystemLocations.push_back(fileSystemLocationsJsonList[fileSystemLocationsIndex].AsObject()); - } + m_osFamily = StorageProfileOperatingSystemFamilyMapper::GetStorageProfileOperatingSystemFamilyForName(jsonValue.GetString("osFamily")); + } - if(jsonValue.ValueExists("osFamily")) + if(jsonValue.ValueExists("createdAt")) { - m_osFamily = StorageProfileOperatingSystemFamilyMapper::GetStorageProfileOperatingSystemFamilyForName(jsonValue.GetString("osFamily")); + m_createdAt = jsonValue.GetString("createdAt"); } - if(jsonValue.ValueExists("storageProfileId")) + if(jsonValue.ValueExists("createdBy")) { - m_storageProfileId = jsonValue.GetString("storageProfileId"); + m_createdBy = jsonValue.GetString("createdBy"); } @@ -82,6 +73,15 @@ GetStorageProfileResult& GetStorageProfileResult::operator =(const Aws::AmazonWe } + 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()); + } + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetTaskRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetTaskRequest.cpp index e44f4ce3b76..499a6ad1195 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetTaskRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetTaskRequest.cpp @@ -14,8 +14,8 @@ using namespace Aws::Utils; GetTaskRequest::GetTaskRequest() : m_farmIdHasBeenSet(false), - m_jobIdHasBeenSet(false), m_queueIdHasBeenSet(false), + m_jobIdHasBeenSet(false), m_stepIdHasBeenSet(false), m_taskIdHasBeenSet(false) { diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/GetTaskResult.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/GetTaskResult.cpp index 6e987324283..5b9b62d4ecb 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/GetTaskResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/GetTaskResult.cpp @@ -18,9 +18,9 @@ using namespace Aws::Utils; using namespace Aws; GetTaskResult::GetTaskResult() : - m_failureRetryCount(0), m_runStatus(TaskRunStatus::NOT_SET), - m_targetRunStatus(TaskTargetRunStatus::NOT_SET) + m_targetRunStatus(TaskTargetRunStatus::NOT_SET), + m_failureRetryCount(0) { } @@ -33,6 +33,12 @@ GetTaskResult::GetTaskResult(const Aws::AmazonWebServiceResult& resul GetTaskResult& GetTaskResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("taskId")) + { + m_taskId = jsonValue.GetString("taskId"); + + } + if(jsonValue.ValueExists("createdAt")) { m_createdAt = jsonValue.GetString("createdAt"); @@ -45,21 +51,21 @@ GetTaskResult& GetTaskResult::operator =(const Aws::AmazonWebServiceResult& r 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")) + if(jsonValue.ValueExists("workerId")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_workerId = jsonValue.GetString("workerId"); } @@ -61,33 +55,39 @@ GetWorkerResult& GetWorkerResult::operator =(const Aws::AmazonWebServiceResult parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); @@ -76,6 +83,13 @@ JobDetailsEntity& JobDetailsEntity::operator =(JsonView jsonValue) m_parametersHasBeenSet = true; } + if(jsonValue.ValueExists("schemaVersion")) + { + m_schemaVersion = jsonValue.GetString("schemaVersion"); + + m_schemaVersionHasBeenSet = true; + } + if(jsonValue.ValueExists("pathMappingRules")) { Aws::Utils::Array pathMappingRulesJsonList = jsonValue.GetArray("pathMappingRules"); @@ -86,20 +100,6 @@ JobDetailsEntity& JobDetailsEntity::operator =(JsonView jsonValue) 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; } @@ -107,15 +107,15 @@ JsonValue JobDetailsEntity::Jsonize() const { JsonValue payload; - if(m_jobAttachmentSettingsHasBeenSet) + if(m_jobIdHasBeenSet) { - payload.WithObject("jobAttachmentSettings", m_jobAttachmentSettings.Jsonize()); + payload.WithString("jobId", m_jobId); } - if(m_jobIdHasBeenSet) + if(m_jobAttachmentSettingsHasBeenSet) { - payload.WithString("jobId", m_jobId); + payload.WithObject("jobAttachmentSettings", m_jobAttachmentSettings.Jsonize()); } @@ -131,6 +131,12 @@ JsonValue JobDetailsEntity::Jsonize() const } + if(m_queueRoleArnHasBeenSet) + { + payload.WithString("queueRoleArn", m_queueRoleArn); + + } + if(m_parametersHasBeenSet) { JsonValue parametersJsonMap; @@ -142,6 +148,12 @@ JsonValue JobDetailsEntity::Jsonize() const } + if(m_schemaVersionHasBeenSet) + { + payload.WithString("schemaVersion", m_schemaVersion); + + } + if(m_pathMappingRulesHasBeenSet) { Aws::Utils::Array pathMappingRulesJsonList(m_pathMappingRules.size()); @@ -153,18 +165,6 @@ JsonValue JobDetailsEntity::Jsonize() const } - if(m_queueRoleArnHasBeenSet) - { - payload.WithString("queueRoleArn", m_queueRoleArn); - - } - - if(m_schemaVersionHasBeenSet) - { - payload.WithString("schemaVersion", m_schemaVersion); - - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobDetailsError.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobDetailsError.cpp index 78e6a1d2cfb..0f6fcc8ab54 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/JobDetailsError.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobDetailsError.cpp @@ -19,9 +19,9 @@ namespace Model { JobDetailsError::JobDetailsError() : + m_jobIdHasBeenSet(false), m_code(JobEntityErrorCode::NOT_SET), m_codeHasBeenSet(false), - m_jobIdHasBeenSet(false), m_messageHasBeenSet(false) { } @@ -34,18 +34,18 @@ JobDetailsError::JobDetailsError(JsonView jsonValue) JobDetailsError& JobDetailsError::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("code")) + if(jsonValue.ValueExists("jobId")) { - m_code = JobEntityErrorCodeMapper::GetJobEntityErrorCodeForName(jsonValue.GetString("code")); + m_jobId = jsonValue.GetString("jobId"); - m_codeHasBeenSet = true; + m_jobIdHasBeenSet = true; } - if(jsonValue.ValueExists("jobId")) + if(jsonValue.ValueExists("code")) { - m_jobId = jsonValue.GetString("jobId"); + m_code = JobEntityErrorCodeMapper::GetJobEntityErrorCodeForName(jsonValue.GetString("code")); - m_jobIdHasBeenSet = true; + m_codeHasBeenSet = true; } if(jsonValue.ValueExists("message")) @@ -62,17 +62,17 @@ 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_codeHasBeenSet) + { + payload.WithString("code", JobEntityErrorCodeMapper::GetNameForJobEntityErrorCode(m_code)); + } + if(m_messageHasBeenSet) { payload.WithString("message", m_message); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobEntity.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobEntity.cpp index c98a3b59e55..63e2faa8a6b 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/JobEntity.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobEntity.cpp @@ -19,10 +19,10 @@ namespace Model { JobEntity::JobEntity() : - m_environmentDetailsHasBeenSet(false), - m_jobAttachmentDetailsHasBeenSet(false), m_jobDetailsHasBeenSet(false), - m_stepDetailsHasBeenSet(false) + m_jobAttachmentDetailsHasBeenSet(false), + m_stepDetailsHasBeenSet(false), + m_environmentDetailsHasBeenSet(false) { } @@ -34,11 +34,11 @@ JobEntity::JobEntity(JsonView jsonValue) JobEntity& JobEntity::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("environmentDetails")) + if(jsonValue.ValueExists("jobDetails")) { - m_environmentDetails = jsonValue.GetObject("environmentDetails"); + m_jobDetails = jsonValue.GetObject("jobDetails"); - m_environmentDetailsHasBeenSet = true; + m_jobDetailsHasBeenSet = true; } if(jsonValue.ValueExists("jobAttachmentDetails")) @@ -48,18 +48,18 @@ JobEntity& JobEntity::operator =(JsonView jsonValue) m_jobAttachmentDetailsHasBeenSet = true; } - if(jsonValue.ValueExists("jobDetails")) + if(jsonValue.ValueExists("stepDetails")) { - m_jobDetails = jsonValue.GetObject("jobDetails"); + m_stepDetails = jsonValue.GetObject("stepDetails"); - m_jobDetailsHasBeenSet = true; + m_stepDetailsHasBeenSet = true; } - if(jsonValue.ValueExists("stepDetails")) + if(jsonValue.ValueExists("environmentDetails")) { - m_stepDetails = jsonValue.GetObject("stepDetails"); + m_environmentDetails = jsonValue.GetObject("environmentDetails"); - m_stepDetailsHasBeenSet = true; + m_environmentDetailsHasBeenSet = true; } return *this; @@ -69,9 +69,9 @@ JsonValue JobEntity::Jsonize() const { JsonValue payload; - if(m_environmentDetailsHasBeenSet) + if(m_jobDetailsHasBeenSet) { - payload.WithObject("environmentDetails", m_environmentDetails.Jsonize()); + payload.WithObject("jobDetails", m_jobDetails.Jsonize()); } @@ -81,15 +81,15 @@ JsonValue JobEntity::Jsonize() const } - if(m_jobDetailsHasBeenSet) + if(m_stepDetailsHasBeenSet) { - payload.WithObject("jobDetails", m_jobDetails.Jsonize()); + payload.WithObject("stepDetails", m_stepDetails.Jsonize()); } - if(m_stepDetailsHasBeenSet) + if(m_environmentDetailsHasBeenSet) { - payload.WithObject("stepDetails", m_stepDetails.Jsonize()); + payload.WithObject("environmentDetails", m_environmentDetails.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobEntityIdentifiersUnion.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobEntityIdentifiersUnion.cpp index a2e34cef67d..21c6180da17 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/JobEntityIdentifiersUnion.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobEntityIdentifiersUnion.cpp @@ -19,10 +19,10 @@ namespace Model { JobEntityIdentifiersUnion::JobEntityIdentifiersUnion() : - m_environmentDetailsHasBeenSet(false), - m_jobAttachmentDetailsHasBeenSet(false), m_jobDetailsHasBeenSet(false), - m_stepDetailsHasBeenSet(false) + m_jobAttachmentDetailsHasBeenSet(false), + m_stepDetailsHasBeenSet(false), + m_environmentDetailsHasBeenSet(false) { } @@ -34,11 +34,11 @@ JobEntityIdentifiersUnion::JobEntityIdentifiersUnion(JsonView jsonValue) JobEntityIdentifiersUnion& JobEntityIdentifiersUnion::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("environmentDetails")) + if(jsonValue.ValueExists("jobDetails")) { - m_environmentDetails = jsonValue.GetObject("environmentDetails"); + m_jobDetails = jsonValue.GetObject("jobDetails"); - m_environmentDetailsHasBeenSet = true; + m_jobDetailsHasBeenSet = true; } if(jsonValue.ValueExists("jobAttachmentDetails")) @@ -48,18 +48,18 @@ JobEntityIdentifiersUnion& JobEntityIdentifiersUnion::operator =(JsonView jsonVa m_jobAttachmentDetailsHasBeenSet = true; } - if(jsonValue.ValueExists("jobDetails")) + if(jsonValue.ValueExists("stepDetails")) { - m_jobDetails = jsonValue.GetObject("jobDetails"); + m_stepDetails = jsonValue.GetObject("stepDetails"); - m_jobDetailsHasBeenSet = true; + m_stepDetailsHasBeenSet = true; } - if(jsonValue.ValueExists("stepDetails")) + if(jsonValue.ValueExists("environmentDetails")) { - m_stepDetails = jsonValue.GetObject("stepDetails"); + m_environmentDetails = jsonValue.GetObject("environmentDetails"); - m_stepDetailsHasBeenSet = true; + m_environmentDetailsHasBeenSet = true; } return *this; @@ -69,9 +69,9 @@ JsonValue JobEntityIdentifiersUnion::Jsonize() const { JsonValue payload; - if(m_environmentDetailsHasBeenSet) + if(m_jobDetailsHasBeenSet) { - payload.WithObject("environmentDetails", m_environmentDetails.Jsonize()); + payload.WithObject("jobDetails", m_jobDetails.Jsonize()); } @@ -81,15 +81,15 @@ JsonValue JobEntityIdentifiersUnion::Jsonize() const } - if(m_jobDetailsHasBeenSet) + if(m_stepDetailsHasBeenSet) { - payload.WithObject("jobDetails", m_jobDetails.Jsonize()); + payload.WithObject("stepDetails", m_stepDetails.Jsonize()); } - if(m_stepDetailsHasBeenSet) + if(m_environmentDetailsHasBeenSet) { - payload.WithObject("stepDetails", m_stepDetails.Jsonize()); + payload.WithObject("environmentDetails", m_environmentDetails.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobMember.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobMember.cpp index f4a2f3c64ff..48409492d37 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/JobMember.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobMember.cpp @@ -20,14 +20,14 @@ namespace Model JobMember::JobMember() : m_farmIdHasBeenSet(false), - m_identityStoreIdHasBeenSet(false), + m_queueIdHasBeenSet(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) + m_identityStoreIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false) { } @@ -46,11 +46,11 @@ JobMember& JobMember::operator =(JsonView jsonValue) m_farmIdHasBeenSet = true; } - if(jsonValue.ValueExists("identityStoreId")) + if(jsonValue.ValueExists("queueId")) { - m_identityStoreId = jsonValue.GetString("identityStoreId"); + m_queueId = jsonValue.GetString("queueId"); - m_identityStoreIdHasBeenSet = true; + m_queueIdHasBeenSet = true; } if(jsonValue.ValueExists("jobId")) @@ -60,13 +60,6 @@ JobMember& JobMember::operator =(JsonView jsonValue) 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"); @@ -81,11 +74,18 @@ JobMember& JobMember::operator =(JsonView jsonValue) m_principalTypeHasBeenSet = true; } - if(jsonValue.ValueExists("queueId")) + if(jsonValue.ValueExists("identityStoreId")) { - m_queueId = jsonValue.GetString("queueId"); + m_identityStoreId = jsonValue.GetString("identityStoreId"); - m_queueIdHasBeenSet = true; + m_identityStoreIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("membershipLevel")) + { + m_membershipLevel = MembershipLevelMapper::GetMembershipLevelForName(jsonValue.GetString("membershipLevel")); + + m_membershipLevelHasBeenSet = true; } return *this; @@ -101,9 +101,9 @@ JsonValue JobMember::Jsonize() const } - if(m_identityStoreIdHasBeenSet) + if(m_queueIdHasBeenSet) { - payload.WithString("identityStoreId", m_identityStoreId); + payload.WithString("queueId", m_queueId); } @@ -113,11 +113,6 @@ JsonValue JobMember::Jsonize() const } - if(m_membershipLevelHasBeenSet) - { - payload.WithString("membershipLevel", MembershipLevelMapper::GetNameForMembershipLevel(m_membershipLevel)); - } - if(m_principalIdHasBeenSet) { payload.WithString("principalId", m_principalId); @@ -129,10 +124,15 @@ JsonValue JobMember::Jsonize() const payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); } - if(m_queueIdHasBeenSet) + if(m_identityStoreIdHasBeenSet) { - payload.WithString("queueId", m_queueId); + payload.WithString("identityStoreId", m_identityStoreId); + + } + if(m_membershipLevelHasBeenSet) + { + payload.WithString("membershipLevel", MembershipLevelMapper::GetNameForMembershipLevel(m_membershipLevel)); } return payload; diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobParameter.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobParameter.cpp index b76dc810596..d6451e80878 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/JobParameter.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobParameter.cpp @@ -19,10 +19,10 @@ namespace Model { JobParameter::JobParameter() : - m_floatHasBeenSet(false), m_intHasBeenSet(false), - m_pathHasBeenSet(false), - m_stringHasBeenSet(false) + m_floatHasBeenSet(false), + m_stringHasBeenSet(false), + m_pathHasBeenSet(false) { } @@ -34,13 +34,6 @@ JobParameter::JobParameter(JsonView 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"); @@ -48,11 +41,11 @@ JobParameter& JobParameter::operator =(JsonView jsonValue) m_intHasBeenSet = true; } - if(jsonValue.ValueExists("path")) + if(jsonValue.ValueExists("float")) { - m_path = jsonValue.GetString("path"); + m_float = jsonValue.GetString("float"); - m_pathHasBeenSet = true; + m_floatHasBeenSet = true; } if(jsonValue.ValueExists("string")) @@ -62,6 +55,13 @@ JobParameter& JobParameter::operator =(JsonView jsonValue) m_stringHasBeenSet = true; } + if(jsonValue.ValueExists("path")) + { + m_path = jsonValue.GetString("path"); + + m_pathHasBeenSet = true; + } + return *this; } @@ -69,21 +69,15 @@ 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) + if(m_floatHasBeenSet) { - payload.WithString("path", m_path); + payload.WithString("float", m_float); } @@ -93,6 +87,12 @@ JsonValue JobParameter::Jsonize() const } + if(m_pathHasBeenSet) + { + payload.WithString("path", m_path); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobRunAsUser.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobRunAsUser.cpp index 95cad6148d5..eaefb55317d 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/JobRunAsUser.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobRunAsUser.cpp @@ -20,9 +20,9 @@ namespace Model JobRunAsUser::JobRunAsUser() : m_posixHasBeenSet(false), + m_windowsHasBeenSet(false), m_runAs(RunAs::NOT_SET), - m_runAsHasBeenSet(false), - m_windowsHasBeenSet(false) + m_runAsHasBeenSet(false) { } @@ -41,18 +41,18 @@ JobRunAsUser& JobRunAsUser::operator =(JsonView jsonValue) m_posixHasBeenSet = true; } - if(jsonValue.ValueExists("runAs")) + if(jsonValue.ValueExists("windows")) { - m_runAs = RunAsMapper::GetRunAsForName(jsonValue.GetString("runAs")); + m_windows = jsonValue.GetObject("windows"); - m_runAsHasBeenSet = true; + m_windowsHasBeenSet = true; } - if(jsonValue.ValueExists("windows")) + if(jsonValue.ValueExists("runAs")) { - m_windows = jsonValue.GetObject("windows"); + m_runAs = RunAsMapper::GetRunAsForName(jsonValue.GetString("runAs")); - m_windowsHasBeenSet = true; + m_runAsHasBeenSet = true; } return *this; @@ -68,17 +68,17 @@ JsonValue JobRunAsUser::Jsonize() const } - if(m_runAsHasBeenSet) - { - payload.WithString("runAs", RunAsMapper::GetNameForRunAs(m_runAs)); - } - if(m_windowsHasBeenSet) { payload.WithObject("windows", m_windows.Jsonize()); } + if(m_runAsHasBeenSet) + { + payload.WithString("runAs", RunAsMapper::GetNameForRunAs(m_runAs)); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobSearchSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobSearchSummary.cpp index f134564ce1d..9844fc131e0 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/JobSearchSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobSearchSummary.cpp @@ -19,28 +19,28 @@ namespace Model { JobSearchSummary::JobSearchSummary() : - m_createdAtHasBeenSet(false), - m_createdByHasBeenSet(false), - m_endedAtHasBeenSet(false), m_jobIdHasBeenSet(false), - m_jobParametersHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_nameHasBeenSet(false), m_lifecycleStatus(JobLifecycleStatus::NOT_SET), m_lifecycleStatusHasBeenSet(false), m_lifecycleStatusMessageHasBeenSet(false), + m_taskRunStatus(TaskRunStatus::NOT_SET), + m_taskRunStatusHasBeenSet(false), + m_targetTaskRunStatus(JobTargetTaskRunStatus::NOT_SET), + m_targetTaskRunStatusHasBeenSet(false), + m_taskRunStatusCountsHasBeenSet(false), + m_priority(0), + m_priorityHasBeenSet(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_createdByHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_endedAtHasBeenSet(false), m_startedAtHasBeenSet(false), - m_targetTaskRunStatus(JobTargetTaskRunStatus::NOT_SET), - m_targetTaskRunStatusHasBeenSet(false), - m_taskRunStatus(TaskRunStatus::NOT_SET), - m_taskRunStatusHasBeenSet(false), - m_taskRunStatusCountsHasBeenSet(false) + m_jobParametersHasBeenSet(false) { } @@ -52,42 +52,25 @@ JobSearchSummary::JobSearchSummary(JsonView jsonValue) JobSearchSummary& JobSearchSummary::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("createdAt")) - { - m_createdAt = jsonValue.GetString("createdAt"); - - m_createdAtHasBeenSet = true; - } - - if(jsonValue.ValueExists("createdBy")) + if(jsonValue.ValueExists("jobId")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_jobId = jsonValue.GetString("jobId"); - m_createdByHasBeenSet = true; + m_jobIdHasBeenSet = true; } - if(jsonValue.ValueExists("endedAt")) + if(jsonValue.ValueExists("queueId")) { - m_endedAt = jsonValue.GetString("endedAt"); + m_queueId = jsonValue.GetString("queueId"); - m_endedAtHasBeenSet = true; + m_queueIdHasBeenSet = true; } - if(jsonValue.ValueExists("jobId")) + if(jsonValue.ValueExists("name")) { - m_jobId = jsonValue.GetString("jobId"); - - m_jobIdHasBeenSet = true; - } + m_name = jsonValue.GetString("name"); - 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; + m_nameHasBeenSet = true; } if(jsonValue.ValueExists("lifecycleStatus")) @@ -104,25 +87,28 @@ JobSearchSummary& JobSearchSummary::operator =(JsonView jsonValue) m_lifecycleStatusMessageHasBeenSet = true; } - if(jsonValue.ValueExists("maxFailedTasksCount")) + if(jsonValue.ValueExists("taskRunStatus")) { - m_maxFailedTasksCount = jsonValue.GetInteger("maxFailedTasksCount"); + m_taskRunStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("taskRunStatus")); - m_maxFailedTasksCountHasBeenSet = true; + m_taskRunStatusHasBeenSet = true; } - if(jsonValue.ValueExists("maxRetriesPerTask")) + if(jsonValue.ValueExists("targetTaskRunStatus")) { - m_maxRetriesPerTask = jsonValue.GetInteger("maxRetriesPerTask"); + m_targetTaskRunStatus = JobTargetTaskRunStatusMapper::GetJobTargetTaskRunStatusForName(jsonValue.GetString("targetTaskRunStatus")); - m_maxRetriesPerTaskHasBeenSet = true; + m_targetTaskRunStatusHasBeenSet = true; } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("taskRunStatusCounts")) { - m_name = jsonValue.GetString("name"); - - m_nameHasBeenSet = true; + 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("priority")) @@ -132,42 +118,56 @@ JobSearchSummary& JobSearchSummary::operator =(JsonView jsonValue) m_priorityHasBeenSet = true; } - if(jsonValue.ValueExists("queueId")) + if(jsonValue.ValueExists("maxFailedTasksCount")) { - m_queueId = jsonValue.GetString("queueId"); + m_maxFailedTasksCount = jsonValue.GetInteger("maxFailedTasksCount"); - m_queueIdHasBeenSet = true; + m_maxFailedTasksCountHasBeenSet = true; } - if(jsonValue.ValueExists("startedAt")) + if(jsonValue.ValueExists("maxRetriesPerTask")) { - m_startedAt = jsonValue.GetString("startedAt"); + m_maxRetriesPerTask = jsonValue.GetInteger("maxRetriesPerTask"); - m_startedAtHasBeenSet = true; + m_maxRetriesPerTaskHasBeenSet = true; } - if(jsonValue.ValueExists("targetTaskRunStatus")) + if(jsonValue.ValueExists("createdBy")) { - m_targetTaskRunStatus = JobTargetTaskRunStatusMapper::GetJobTargetTaskRunStatusForName(jsonValue.GetString("targetTaskRunStatus")); + m_createdBy = jsonValue.GetString("createdBy"); - m_targetTaskRunStatusHasBeenSet = true; + m_createdByHasBeenSet = true; } - if(jsonValue.ValueExists("taskRunStatus")) + if(jsonValue.ValueExists("createdAt")) { - m_taskRunStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("taskRunStatus")); + m_createdAt = jsonValue.GetString("createdAt"); - m_taskRunStatusHasBeenSet = true; + m_createdAtHasBeenSet = true; } - if(jsonValue.ValueExists("taskRunStatusCounts")) + if(jsonValue.ValueExists("endedAt")) { - Aws::Map taskRunStatusCountsJsonMap = jsonValue.GetObject("taskRunStatusCounts").GetAllObjects(); - for(auto& taskRunStatusCountsItem : taskRunStatusCountsJsonMap) + m_endedAt = jsonValue.GetString("endedAt"); + + m_endedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("startedAt")) + { + m_startedAt = jsonValue.GetString("startedAt"); + + m_startedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("jobParameters")) + { + Aws::Map jobParametersJsonMap = jsonValue.GetObject("jobParameters").GetAllObjects(); + for(auto& jobParametersItem : jobParametersJsonMap) { - m_taskRunStatusCounts[TaskRunStatusMapper::GetTaskRunStatusForName(taskRunStatusCountsItem.first)] = taskRunStatusCountsItem.second.AsInteger(); + m_jobParameters[jobParametersItem.first] = jobParametersItem.second.AsObject(); } - m_taskRunStatusCountsHasBeenSet = true; + m_jobParametersHasBeenSet = true; } return *this; @@ -177,36 +177,21 @@ JsonValue JobSearchSummary::Jsonize() const { JsonValue payload; - if(m_createdAtHasBeenSet) - { - payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - - if(m_createdByHasBeenSet) + if(m_jobIdHasBeenSet) { - payload.WithString("createdBy", m_createdBy); + payload.WithString("jobId", m_jobId); } - if(m_endedAtHasBeenSet) - { - payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - - if(m_jobIdHasBeenSet) + if(m_queueIdHasBeenSet) { - payload.WithString("jobId", m_jobId); + payload.WithString("queueId", m_queueId); } - if(m_jobParametersHasBeenSet) + if(m_nameHasBeenSet) { - JsonValue jobParametersJsonMap; - for(auto& jobParametersItem : m_jobParameters) - { - jobParametersJsonMap.WithObject(jobParametersItem.first, jobParametersItem.second.Jsonize()); - } - payload.WithObject("jobParameters", std::move(jobParametersJsonMap)); + payload.WithString("name", m_name); } @@ -221,21 +206,24 @@ JsonValue JobSearchSummary::Jsonize() const } - if(m_maxFailedTasksCountHasBeenSet) + if(m_taskRunStatusHasBeenSet) { - payload.WithInteger("maxFailedTasksCount", m_maxFailedTasksCount); - + payload.WithString("taskRunStatus", TaskRunStatusMapper::GetNameForTaskRunStatus(m_taskRunStatus)); } - if(m_maxRetriesPerTaskHasBeenSet) + if(m_targetTaskRunStatusHasBeenSet) { - payload.WithInteger("maxRetriesPerTask", m_maxRetriesPerTask); - + payload.WithString("targetTaskRunStatus", JobTargetTaskRunStatusMapper::GetNameForJobTargetTaskRunStatus(m_targetTaskRunStatus)); } - if(m_nameHasBeenSet) + if(m_taskRunStatusCountsHasBeenSet) { - payload.WithString("name", m_name); + JsonValue taskRunStatusCountsJsonMap; + for(auto& taskRunStatusCountsItem : m_taskRunStatusCounts) + { + taskRunStatusCountsJsonMap.WithInteger(TaskRunStatusMapper::GetNameForTaskRunStatus(taskRunStatusCountsItem.first), taskRunStatusCountsItem.second); + } + payload.WithObject("taskRunStatusCounts", std::move(taskRunStatusCountsJsonMap)); } @@ -245,35 +233,47 @@ JsonValue JobSearchSummary::Jsonize() const } - if(m_queueIdHasBeenSet) + if(m_maxFailedTasksCountHasBeenSet) { - payload.WithString("queueId", m_queueId); + payload.WithInteger("maxFailedTasksCount", m_maxFailedTasksCount); } - if(m_startedAtHasBeenSet) + if(m_maxRetriesPerTaskHasBeenSet) { - payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithInteger("maxRetriesPerTask", m_maxRetriesPerTask); + } - if(m_targetTaskRunStatusHasBeenSet) + if(m_createdByHasBeenSet) { - payload.WithString("targetTaskRunStatus", JobTargetTaskRunStatusMapper::GetNameForJobTargetTaskRunStatus(m_targetTaskRunStatus)); + payload.WithString("createdBy", m_createdBy); + } - if(m_taskRunStatusHasBeenSet) + if(m_createdAtHasBeenSet) { - payload.WithString("taskRunStatus", TaskRunStatusMapper::GetNameForTaskRunStatus(m_taskRunStatus)); + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_taskRunStatusCountsHasBeenSet) + if(m_endedAtHasBeenSet) { - JsonValue taskRunStatusCountsJsonMap; - for(auto& taskRunStatusCountsItem : m_taskRunStatusCounts) + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_startedAtHasBeenSet) + { + payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_jobParametersHasBeenSet) + { + JsonValue jobParametersJsonMap; + for(auto& jobParametersItem : m_jobParameters) { - taskRunStatusCountsJsonMap.WithInteger(TaskRunStatusMapper::GetNameForTaskRunStatus(taskRunStatusCountsItem.first), taskRunStatusCountsItem.second); + jobParametersJsonMap.WithObject(jobParametersItem.first, jobParametersItem.second.Jsonize()); } - payload.WithObject("taskRunStatusCounts", std::move(taskRunStatusCountsJsonMap)); + payload.WithObject("jobParameters", std::move(jobParametersJsonMap)); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/JobSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/JobSummary.cpp index f261e734d77..d622556dc3a 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/JobSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/JobSummary.cpp @@ -19,28 +19,28 @@ namespace Model { JobSummary::JobSummary() : - m_createdAtHasBeenSet(false), - m_createdByHasBeenSet(false), - m_endedAtHasBeenSet(false), m_jobIdHasBeenSet(false), + m_nameHasBeenSet(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_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_updatedByHasBeenSet(false), m_startedAtHasBeenSet(false), - m_targetTaskRunStatus(JobTargetTaskRunStatus::NOT_SET), - m_targetTaskRunStatusHasBeenSet(false), + m_endedAtHasBeenSet(false), m_taskRunStatus(TaskRunStatus::NOT_SET), m_taskRunStatusHasBeenSet(false), + m_targetTaskRunStatus(JobTargetTaskRunStatus::NOT_SET), + m_targetTaskRunStatusHasBeenSet(false), m_taskRunStatusCountsHasBeenSet(false), - m_updatedAtHasBeenSet(false), - m_updatedByHasBeenSet(false) + m_maxFailedTasksCount(0), + m_maxFailedTasksCountHasBeenSet(false), + m_maxRetriesPerTask(0), + m_maxRetriesPerTaskHasBeenSet(false) { } @@ -52,32 +52,18 @@ JobSummary::JobSummary(JsonView 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")) + if(jsonValue.ValueExists("jobId")) { - m_endedAt = jsonValue.GetString("endedAt"); + m_jobId = jsonValue.GetString("jobId"); - m_endedAtHasBeenSet = true; + m_jobIdHasBeenSet = true; } - if(jsonValue.ValueExists("jobId")) + if(jsonValue.ValueExists("name")) { - m_jobId = jsonValue.GetString("jobId"); + m_name = jsonValue.GetString("name"); - m_jobIdHasBeenSet = true; + m_nameHasBeenSet = true; } if(jsonValue.ValueExists("lifecycleStatus")) @@ -94,32 +80,39 @@ JobSummary& JobSummary::operator =(JsonView jsonValue) m_lifecycleStatusMessageHasBeenSet = true; } - if(jsonValue.ValueExists("maxFailedTasksCount")) + if(jsonValue.ValueExists("priority")) { - m_maxFailedTasksCount = jsonValue.GetInteger("maxFailedTasksCount"); + m_priority = jsonValue.GetInteger("priority"); - m_maxFailedTasksCountHasBeenSet = true; + m_priorityHasBeenSet = true; } - if(jsonValue.ValueExists("maxRetriesPerTask")) + if(jsonValue.ValueExists("createdAt")) { - m_maxRetriesPerTask = jsonValue.GetInteger("maxRetriesPerTask"); + m_createdAt = jsonValue.GetString("createdAt"); - m_maxRetriesPerTaskHasBeenSet = true; + m_createdAtHasBeenSet = true; } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("createdBy")) { - m_name = jsonValue.GetString("name"); + m_createdBy = jsonValue.GetString("createdBy"); - m_nameHasBeenSet = true; + m_createdByHasBeenSet = true; } - if(jsonValue.ValueExists("priority")) + if(jsonValue.ValueExists("updatedAt")) { - m_priority = jsonValue.GetInteger("priority"); + m_updatedAt = jsonValue.GetString("updatedAt"); - m_priorityHasBeenSet = true; + m_updatedAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("updatedBy")) + { + m_updatedBy = jsonValue.GetString("updatedBy"); + + m_updatedByHasBeenSet = true; } if(jsonValue.ValueExists("startedAt")) @@ -129,11 +122,11 @@ JobSummary& JobSummary::operator =(JsonView jsonValue) m_startedAtHasBeenSet = true; } - if(jsonValue.ValueExists("targetTaskRunStatus")) + if(jsonValue.ValueExists("endedAt")) { - m_targetTaskRunStatus = JobTargetTaskRunStatusMapper::GetJobTargetTaskRunStatusForName(jsonValue.GetString("targetTaskRunStatus")); + m_endedAt = jsonValue.GetString("endedAt"); - m_targetTaskRunStatusHasBeenSet = true; + m_endedAtHasBeenSet = true; } if(jsonValue.ValueExists("taskRunStatus")) @@ -143,6 +136,13 @@ JobSummary& JobSummary::operator =(JsonView jsonValue) m_taskRunStatusHasBeenSet = true; } + if(jsonValue.ValueExists("targetTaskRunStatus")) + { + m_targetTaskRunStatus = JobTargetTaskRunStatusMapper::GetJobTargetTaskRunStatusForName(jsonValue.GetString("targetTaskRunStatus")); + + m_targetTaskRunStatusHasBeenSet = true; + } + if(jsonValue.ValueExists("taskRunStatusCounts")) { Aws::Map taskRunStatusCountsJsonMap = jsonValue.GetObject("taskRunStatusCounts").GetAllObjects(); @@ -153,18 +153,18 @@ JobSummary& JobSummary::operator =(JsonView jsonValue) m_taskRunStatusCountsHasBeenSet = true; } - if(jsonValue.ValueExists("updatedAt")) + if(jsonValue.ValueExists("maxFailedTasksCount")) { - m_updatedAt = jsonValue.GetString("updatedAt"); + m_maxFailedTasksCount = jsonValue.GetInteger("maxFailedTasksCount"); - m_updatedAtHasBeenSet = true; + m_maxFailedTasksCountHasBeenSet = true; } - if(jsonValue.ValueExists("updatedBy")) + if(jsonValue.ValueExists("maxRetriesPerTask")) { - m_updatedBy = jsonValue.GetString("updatedBy"); + m_maxRetriesPerTask = jsonValue.GetInteger("maxRetriesPerTask"); - m_updatedByHasBeenSet = true; + m_maxRetriesPerTaskHasBeenSet = true; } return *this; @@ -174,25 +174,15 @@ JsonValue JobSummary::Jsonize() const { JsonValue payload; - if(m_createdAtHasBeenSet) - { - payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - - if(m_createdByHasBeenSet) + if(m_jobIdHasBeenSet) { - payload.WithString("createdBy", m_createdBy); - - } + payload.WithString("jobId", m_jobId); - if(m_endedAtHasBeenSet) - { - payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_jobIdHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithString("jobId", m_jobId); + payload.WithString("name", m_name); } @@ -207,27 +197,31 @@ JsonValue JobSummary::Jsonize() const } - if(m_maxFailedTasksCountHasBeenSet) + if(m_priorityHasBeenSet) { - payload.WithInteger("maxFailedTasksCount", m_maxFailedTasksCount); + payload.WithInteger("priority", m_priority); } - if(m_maxRetriesPerTaskHasBeenSet) + if(m_createdAtHasBeenSet) { - payload.WithInteger("maxRetriesPerTask", m_maxRetriesPerTask); - + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_nameHasBeenSet) + if(m_createdByHasBeenSet) { - payload.WithString("name", m_name); + payload.WithString("createdBy", m_createdBy); } - if(m_priorityHasBeenSet) + if(m_updatedAtHasBeenSet) { - payload.WithInteger("priority", m_priority); + payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_updatedByHasBeenSet) + { + payload.WithString("updatedBy", m_updatedBy); } @@ -236,9 +230,9 @@ JsonValue JobSummary::Jsonize() const payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_targetTaskRunStatusHasBeenSet) + if(m_endedAtHasBeenSet) { - payload.WithString("targetTaskRunStatus", JobTargetTaskRunStatusMapper::GetNameForJobTargetTaskRunStatus(m_targetTaskRunStatus)); + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } if(m_taskRunStatusHasBeenSet) @@ -246,6 +240,11 @@ JsonValue JobSummary::Jsonize() const payload.WithString("taskRunStatus", TaskRunStatusMapper::GetNameForTaskRunStatus(m_taskRunStatus)); } + if(m_targetTaskRunStatusHasBeenSet) + { + payload.WithString("targetTaskRunStatus", JobTargetTaskRunStatusMapper::GetNameForJobTargetTaskRunStatus(m_targetTaskRunStatus)); + } + if(m_taskRunStatusCountsHasBeenSet) { JsonValue taskRunStatusCountsJsonMap; @@ -257,14 +256,15 @@ JsonValue JobSummary::Jsonize() const } - if(m_updatedAtHasBeenSet) + if(m_maxFailedTasksCountHasBeenSet) { - payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithInteger("maxFailedTasksCount", m_maxFailedTasksCount); + } - if(m_updatedByHasBeenSet) + if(m_maxRetriesPerTaskHasBeenSet) { - payload.WithString("updatedBy", m_updatedBy); + payload.WithInteger("maxRetriesPerTask", m_maxRetriesPerTask); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListAvailableMeteredProductsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListAvailableMeteredProductsRequest.cpp index a8d8aa85c9f..59b023d411d 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListAvailableMeteredProductsRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListAvailableMeteredProductsRequest.cpp @@ -16,9 +16,9 @@ using namespace Aws::Utils; using namespace Aws::Http; ListAvailableMeteredProductsRequest::ListAvailableMeteredProductsRequest() : + m_nextTokenHasBeenSet(false), m_maxResults(0), - m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false) + m_maxResultsHasBeenSet(false) { } @@ -30,17 +30,17 @@ Aws::String ListAvailableMeteredProductsRequest::SerializePayload() const void ListAvailableMeteredProductsRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_maxResultsHasBeenSet) + if(m_nextTokenHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("maxResults", ss.str()); + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); ss.str(""); } - if(m_nextTokenHasBeenSet) + if(m_maxResultsHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("nextToken", ss.str()); + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); ss.str(""); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListBudgetsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListBudgetsRequest.cpp index 7a348c915ba..06446785d8e 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListBudgetsRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListBudgetsRequest.cpp @@ -16,10 +16,10 @@ using namespace Aws::Utils; using namespace Aws::Http; ListBudgetsRequest::ListBudgetsRequest() : + m_nextTokenHasBeenSet(false), m_farmIdHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false), m_status(BudgetStatus::NOT_SET), m_statusHasBeenSet(false) { @@ -33,17 +33,17 @@ Aws::String ListBudgetsRequest::SerializePayload() const void ListBudgetsRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_maxResultsHasBeenSet) + if(m_nextTokenHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("maxResults", ss.str()); + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); ss.str(""); } - if(m_nextTokenHasBeenSet) + if(m_maxResultsHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("nextToken", ss.str()); + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", 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 index 12a649bde2e..450de13fcf7 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListBudgetsResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListBudgetsResult.cpp @@ -29,6 +29,12 @@ ListBudgetsResult::ListBudgetsResult(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + if(jsonValue.ValueExists("budgets")) { Aws::Utils::Array budgetsJsonList = jsonValue.GetArray("budgets"); @@ -38,12 +44,6 @@ ListBudgetsResult& ListBudgetsResult::operator =(const Aws::AmazonWebServiceResu } } - if(jsonValue.ValueExists("nextToken")) - { - m_nextToken = jsonValue.GetString("nextToken"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmMembersRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmMembersRequest.cpp index ff6a147db38..8e4ed6724fe 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmMembersRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmMembersRequest.cpp @@ -17,9 +17,9 @@ using namespace Aws::Http; ListFarmMembersRequest::ListFarmMembersRequest() : m_farmIdHasBeenSet(false), + m_nextTokenHasBeenSet(false), m_maxResults(0), - m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false) + m_maxResultsHasBeenSet(false) { } @@ -31,17 +31,17 @@ Aws::String ListFarmMembersRequest::SerializePayload() const void ListFarmMembersRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_maxResultsHasBeenSet) + if(m_nextTokenHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("maxResults", ss.str()); + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); ss.str(""); } - if(m_nextTokenHasBeenSet) + if(m_maxResultsHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("nextToken", ss.str()); + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); ss.str(""); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmsRequest.cpp index b8566c91d01..307847faff1 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmsRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmsRequest.cpp @@ -16,10 +16,10 @@ using namespace Aws::Utils; using namespace Aws::Http; ListFarmsRequest::ListFarmsRequest() : - m_maxResults(0), - m_maxResultsHasBeenSet(false), m_nextTokenHasBeenSet(false), - m_principalIdHasBeenSet(false) + m_principalIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false) { } @@ -31,13 +31,6 @@ Aws::String ListFarmsRequest::SerializePayload() const 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; @@ -52,6 +45,13 @@ void ListFarmsRequest::AddQueryStringParameters(URI& uri) const ss.str(""); } + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", 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 index a7116ba8c39..da03f25ec84 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmsResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListFarmsResult.cpp @@ -29,6 +29,12 @@ ListFarmsResult::ListFarmsResult(const Aws::AmazonWebServiceResult& r ListFarmsResult& ListFarmsResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + if(jsonValue.ValueExists("farms")) { Aws::Utils::Array farmsJsonList = jsonValue.GetArray("farms"); @@ -38,12 +44,6 @@ ListFarmsResult& ListFarmsResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + if(jsonValue.ValueExists("monitors")) { Aws::Utils::Array monitorsJsonList = jsonValue.GetArray("monitors"); @@ -38,12 +44,6 @@ ListMonitorsResult& ListMonitorsResult::operator =(const Aws::AmazonWebServiceRe } } - if(jsonValue.ValueExists("nextToken")) - { - m_nextToken = jsonValue.GetString("nextToken"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueEnvironmentsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueEnvironmentsRequest.cpp index bbea8e7f58b..cf20bc93c27 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueEnvironmentsRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueEnvironmentsRequest.cpp @@ -17,10 +17,10 @@ using namespace Aws::Http; ListQueueEnvironmentsRequest::ListQueueEnvironmentsRequest() : m_farmIdHasBeenSet(false), - m_maxResults(0), - m_maxResultsHasBeenSet(false), + m_queueIdHasBeenSet(false), m_nextTokenHasBeenSet(false), - m_queueIdHasBeenSet(false) + m_maxResults(0), + m_maxResultsHasBeenSet(false) { } @@ -32,17 +32,17 @@ Aws::String ListQueueEnvironmentsRequest::SerializePayload() const void ListQueueEnvironmentsRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_maxResultsHasBeenSet) + if(m_nextTokenHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("maxResults", ss.str()); + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); ss.str(""); } - if(m_nextTokenHasBeenSet) + if(m_maxResultsHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("nextToken", ss.str()); + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); ss.str(""); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueFleetAssociationsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueFleetAssociationsRequest.cpp index c04d3b3ab5f..3d1e4edbc9f 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueFleetAssociationsRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueFleetAssociationsRequest.cpp @@ -17,11 +17,11 @@ using namespace Aws::Http; ListQueueFleetAssociationsRequest::ListQueueFleetAssociationsRequest() : m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false), m_fleetIdHasBeenSet(false), - m_maxResults(0), - m_maxResultsHasBeenSet(false), m_nextTokenHasBeenSet(false), - m_queueIdHasBeenSet(false) + m_maxResults(0), + m_maxResultsHasBeenSet(false) { } @@ -33,17 +33,17 @@ Aws::String ListQueueFleetAssociationsRequest::SerializePayload() const void ListQueueFleetAssociationsRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_fleetIdHasBeenSet) + if(m_queueIdHasBeenSet) { - ss << m_fleetId; - uri.AddQueryStringParameter("fleetId", ss.str()); + ss << m_queueId; + uri.AddQueryStringParameter("queueId", ss.str()); ss.str(""); } - if(m_maxResultsHasBeenSet) + if(m_fleetIdHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("maxResults", ss.str()); + ss << m_fleetId; + uri.AddQueryStringParameter("fleetId", ss.str()); ss.str(""); } @@ -54,10 +54,10 @@ void ListQueueFleetAssociationsRequest::AddQueryStringParameters(URI& uri) const ss.str(""); } - if(m_queueIdHasBeenSet) + if(m_maxResultsHasBeenSet) { - ss << m_queueId; - uri.AddQueryStringParameter("queueId", ss.str()); + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", 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 index a77daf06fa5..8579da13c6e 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueFleetAssociationsResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueFleetAssociationsResult.cpp @@ -29,12 +29,6 @@ ListQueueFleetAssociationsResult::ListQueueFleetAssociationsResult(const Aws::Am 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"); @@ -44,6 +38,12 @@ ListQueueFleetAssociationsResult& ListQueueFleetAssociationsResult::operator =(c } } + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueMembersRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueMembersRequest.cpp index 5d33e467b4a..9890aa07ba1 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueMembersRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueueMembersRequest.cpp @@ -17,10 +17,10 @@ using namespace Aws::Http; ListQueueMembersRequest::ListQueueMembersRequest() : m_farmIdHasBeenSet(false), - m_maxResults(0), - m_maxResultsHasBeenSet(false), + m_queueIdHasBeenSet(false), m_nextTokenHasBeenSet(false), - m_queueIdHasBeenSet(false) + m_maxResults(0), + m_maxResultsHasBeenSet(false) { } @@ -32,17 +32,17 @@ Aws::String ListQueueMembersRequest::SerializePayload() const void ListQueueMembersRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_maxResultsHasBeenSet) + if(m_nextTokenHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("maxResults", ss.str()); + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); ss.str(""); } - if(m_nextTokenHasBeenSet) + if(m_maxResultsHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("nextToken", ss.str()); + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); ss.str(""); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueuesRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueuesRequest.cpp index 4b30cd48d32..22193ddbf5a 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueuesRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueuesRequest.cpp @@ -17,12 +17,12 @@ 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) + m_statusHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false) { } @@ -34,31 +34,31 @@ Aws::String ListQueuesRequest::SerializePayload() const void ListQueuesRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_maxResultsHasBeenSet) + if(m_principalIdHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("maxResults", ss.str()); + ss << m_principalId; + uri.AddQueryStringParameter("principalId", ss.str()); ss.str(""); } - if(m_nextTokenHasBeenSet) + if(m_statusHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("nextToken", ss.str()); + ss << QueueStatusMapper::GetNameForQueueStatus(m_status); + uri.AddQueryStringParameter("status", ss.str()); ss.str(""); } - if(m_principalIdHasBeenSet) + if(m_nextTokenHasBeenSet) { - ss << m_principalId; - uri.AddQueryStringParameter("principalId", ss.str()); + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); ss.str(""); } - if(m_statusHasBeenSet) + if(m_maxResultsHasBeenSet) { - ss << QueueStatusMapper::GetNameForQueueStatus(m_status); - uri.AddQueryStringParameter("status", ss.str()); + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", 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 index 7004982274d..1b17ae7ff3d 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListQueuesResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListQueuesResult.cpp @@ -29,12 +29,6 @@ ListQueuesResult::ListQueuesResult(const Aws::AmazonWebServiceResult& 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"); @@ -44,6 +38,12 @@ ListQueuesResult& ListQueuesResult::operator =(const Aws::AmazonWebServiceResult } } + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionActionsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionActionsRequest.cpp index de3c4e10eed..f888a87d46f 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionActionsRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionActionsRequest.cpp @@ -17,13 +17,13 @@ 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_jobIdHasBeenSet(false), m_sessionIdHasBeenSet(false), - m_taskIdHasBeenSet(false) + m_taskIdHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false) { } @@ -35,31 +35,31 @@ Aws::String ListSessionActionsRequest::SerializePayload() const void ListSessionActionsRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_maxResultsHasBeenSet) + if(m_sessionIdHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("maxResults", ss.str()); + ss << m_sessionId; + uri.AddQueryStringParameter("sessionId", ss.str()); ss.str(""); } - if(m_nextTokenHasBeenSet) + if(m_taskIdHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("nextToken", ss.str()); + ss << m_taskId; + uri.AddQueryStringParameter("taskId", ss.str()); ss.str(""); } - if(m_sessionIdHasBeenSet) + if(m_nextTokenHasBeenSet) { - ss << m_sessionId; - uri.AddQueryStringParameter("sessionId", ss.str()); + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); ss.str(""); } - if(m_taskIdHasBeenSet) + if(m_maxResultsHasBeenSet) { - ss << m_taskId; - uri.AddQueryStringParameter("taskId", ss.str()); + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", 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 index 47e338fa899..8fd60ab6e8e 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionActionsResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionActionsResult.cpp @@ -29,12 +29,6 @@ ListSessionActionsResult::ListSessionActionsResult(const Aws::AmazonWebServiceRe 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"); @@ -44,6 +38,12 @@ ListSessionActionsResult& ListSessionActionsResult::operator =(const Aws::Amazon } } + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsForWorkerRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsForWorkerRequest.cpp index e563364c5b9..a70d2417674 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsForWorkerRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsForWorkerRequest.cpp @@ -18,10 +18,10 @@ using namespace Aws::Http; ListSessionsForWorkerRequest::ListSessionsForWorkerRequest() : m_farmIdHasBeenSet(false), m_fleetIdHasBeenSet(false), - m_maxResults(0), - m_maxResultsHasBeenSet(false), + m_workerIdHasBeenSet(false), m_nextTokenHasBeenSet(false), - m_workerIdHasBeenSet(false) + m_maxResults(0), + m_maxResultsHasBeenSet(false) { } @@ -33,17 +33,17 @@ Aws::String ListSessionsForWorkerRequest::SerializePayload() const void ListSessionsForWorkerRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_maxResultsHasBeenSet) + if(m_nextTokenHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("maxResults", ss.str()); + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); ss.str(""); } - if(m_nextTokenHasBeenSet) + if(m_maxResultsHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("nextToken", ss.str()); + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", 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 index 1faf1c1aca7..9864502810b 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsForWorkerResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsForWorkerResult.cpp @@ -29,12 +29,6 @@ ListSessionsForWorkerResult::ListSessionsForWorkerResult(const Aws::AmazonWebSer 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"); @@ -44,6 +38,12 @@ ListSessionsForWorkerResult& ListSessionsForWorkerResult::operator =(const Aws:: } } + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsRequest.cpp index 6271fbc649e..bc64d7acf9e 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsRequest.cpp @@ -17,11 +17,11 @@ using namespace Aws::Http; ListSessionsRequest::ListSessionsRequest() : m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false), m_jobIdHasBeenSet(false), - m_maxResults(0), - m_maxResultsHasBeenSet(false), m_nextTokenHasBeenSet(false), - m_queueIdHasBeenSet(false) + m_maxResults(0), + m_maxResultsHasBeenSet(false) { } @@ -33,17 +33,17 @@ Aws::String ListSessionsRequest::SerializePayload() const void ListSessionsRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_maxResultsHasBeenSet) + if(m_nextTokenHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("maxResults", ss.str()); + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); ss.str(""); } - if(m_nextTokenHasBeenSet) + if(m_maxResultsHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("nextToken", ss.str()); + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", 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 index 3322dd07670..f0c65f3013f 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListSessionsResult.cpp @@ -29,12 +29,6 @@ ListSessionsResult::ListSessionsResult(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"); @@ -44,6 +38,12 @@ ListSessionsResult& ListSessionsResult::operator =(const Aws::AmazonWebServiceRe } } + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListStepConsumersRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepConsumersRequest.cpp index 1cf4b09f65d..a17bf6818e1 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListStepConsumersRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepConsumersRequest.cpp @@ -17,12 +17,12 @@ using namespace Aws::Http; ListStepConsumersRequest::ListStepConsumersRequest() : m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false), m_jobIdHasBeenSet(false), - m_maxResults(0), - m_maxResultsHasBeenSet(false), + m_stepIdHasBeenSet(false), m_nextTokenHasBeenSet(false), - m_queueIdHasBeenSet(false), - m_stepIdHasBeenSet(false) + m_maxResults(0), + m_maxResultsHasBeenSet(false) { } @@ -34,17 +34,17 @@ Aws::String ListStepConsumersRequest::SerializePayload() const void ListStepConsumersRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_maxResultsHasBeenSet) + if(m_nextTokenHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("maxResults", ss.str()); + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); ss.str(""); } - if(m_nextTokenHasBeenSet) + if(m_maxResultsHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("nextToken", ss.str()); + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); ss.str(""); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListStepDependenciesRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepDependenciesRequest.cpp index 2a0dc0d6bfc..a1e0d639861 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListStepDependenciesRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepDependenciesRequest.cpp @@ -17,12 +17,12 @@ using namespace Aws::Http; ListStepDependenciesRequest::ListStepDependenciesRequest() : m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false), m_jobIdHasBeenSet(false), - m_maxResults(0), - m_maxResultsHasBeenSet(false), + m_stepIdHasBeenSet(false), m_nextTokenHasBeenSet(false), - m_queueIdHasBeenSet(false), - m_stepIdHasBeenSet(false) + m_maxResults(0), + m_maxResultsHasBeenSet(false) { } @@ -34,17 +34,17 @@ Aws::String ListStepDependenciesRequest::SerializePayload() const void ListStepDependenciesRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_maxResultsHasBeenSet) + if(m_nextTokenHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("maxResults", ss.str()); + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); ss.str(""); } - if(m_nextTokenHasBeenSet) + if(m_maxResultsHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("nextToken", ss.str()); + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); ss.str(""); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListStepsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepsRequest.cpp index 6122d51f9cd..a1b06d1903a 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListStepsRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepsRequest.cpp @@ -17,11 +17,11 @@ using namespace Aws::Http; ListStepsRequest::ListStepsRequest() : m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false), m_jobIdHasBeenSet(false), - m_maxResults(0), - m_maxResultsHasBeenSet(false), m_nextTokenHasBeenSet(false), - m_queueIdHasBeenSet(false) + m_maxResults(0), + m_maxResultsHasBeenSet(false) { } @@ -33,17 +33,17 @@ Aws::String ListStepsRequest::SerializePayload() const void ListStepsRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_maxResultsHasBeenSet) + if(m_nextTokenHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("maxResults", ss.str()); + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); ss.str(""); } - if(m_nextTokenHasBeenSet) + if(m_maxResultsHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("nextToken", ss.str()); + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", 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 index 60485954ae4..d5c07d82567 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListStepsResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListStepsResult.cpp @@ -29,12 +29,6 @@ ListStepsResult::ListStepsResult(const Aws::AmazonWebServiceResult& r 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"); @@ -44,6 +38,12 @@ ListStepsResult& ListStepsResult::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"); @@ -44,6 +38,12 @@ ListStorageProfilesForQueueResult& ListStorageProfilesForQueueResult::operator = } } + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesRequest.cpp index fedce53fc1a..50220b01374 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesRequest.cpp @@ -17,9 +17,9 @@ using namespace Aws::Http; ListStorageProfilesRequest::ListStorageProfilesRequest() : m_farmIdHasBeenSet(false), + m_nextTokenHasBeenSet(false), m_maxResults(0), - m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false) + m_maxResultsHasBeenSet(false) { } @@ -31,17 +31,17 @@ Aws::String ListStorageProfilesRequest::SerializePayload() const void ListStorageProfilesRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_maxResultsHasBeenSet) + if(m_nextTokenHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("maxResults", ss.str()); + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); ss.str(""); } - if(m_nextTokenHasBeenSet) + if(m_maxResultsHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("nextToken", ss.str()); + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", 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 index 1a9aabd8b00..45a08468cfb 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListStorageProfilesResult.cpp @@ -29,12 +29,6 @@ ListStorageProfilesResult::ListStorageProfilesResult(const Aws::AmazonWebService 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"); @@ -44,6 +38,12 @@ ListStorageProfilesResult& ListStorageProfilesResult::operator =(const Aws::Amaz } } + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ListTasksRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ListTasksRequest.cpp index bc232cb1826..835d9a8b055 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListTasksRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListTasksRequest.cpp @@ -17,12 +17,12 @@ using namespace Aws::Http; ListTasksRequest::ListTasksRequest() : m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false), m_jobIdHasBeenSet(false), - m_maxResults(0), - m_maxResultsHasBeenSet(false), + m_stepIdHasBeenSet(false), m_nextTokenHasBeenSet(false), - m_queueIdHasBeenSet(false), - m_stepIdHasBeenSet(false) + m_maxResults(0), + m_maxResultsHasBeenSet(false) { } @@ -34,17 +34,17 @@ Aws::String ListTasksRequest::SerializePayload() const void ListTasksRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_maxResultsHasBeenSet) + if(m_nextTokenHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("maxResults", ss.str()); + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); ss.str(""); } - if(m_nextTokenHasBeenSet) + if(m_maxResultsHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("nextToken", ss.str()); + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", 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 index f50f6223da8..eac8978b79c 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ListTasksResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ListTasksResult.cpp @@ -29,12 +29,6 @@ ListTasksResult::ListTasksResult(const Aws::AmazonWebServiceResult& r 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"); @@ -44,6 +38,12 @@ ListTasksResult& ListTasksResult::operator =(const Aws::AmazonWebServiceResult parametersJsonList = jsonValue.GetArray("parameters"); @@ -49,6 +42,13 @@ ParameterSpace& ParameterSpace::operator =(JsonView jsonValue) m_parametersHasBeenSet = true; } + if(jsonValue.ValueExists("combination")) + { + m_combination = jsonValue.GetString("combination"); + + m_combinationHasBeenSet = true; + } + return *this; } @@ -56,12 +56,6 @@ JsonValue ParameterSpace::Jsonize() const { JsonValue payload; - if(m_combinationHasBeenSet) - { - payload.WithString("combination", m_combination); - - } - if(m_parametersHasBeenSet) { Aws::Utils::Array parametersJsonList(m_parameters.size()); @@ -73,6 +67,12 @@ JsonValue ParameterSpace::Jsonize() const } + if(m_combinationHasBeenSet) + { + payload.WithString("combination", m_combination); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/PathMappingRule.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/PathMappingRule.cpp index 1c69f45e48b..637395bbf46 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/PathMappingRule.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/PathMappingRule.cpp @@ -19,10 +19,10 @@ namespace Model { PathMappingRule::PathMappingRule() : - m_destinationPathHasBeenSet(false), - m_sourcePathHasBeenSet(false), m_sourcePathFormat(PathFormat::NOT_SET), - m_sourcePathFormatHasBeenSet(false) + m_sourcePathFormatHasBeenSet(false), + m_sourcePathHasBeenSet(false), + m_destinationPathHasBeenSet(false) { } @@ -34,11 +34,11 @@ PathMappingRule::PathMappingRule(JsonView jsonValue) PathMappingRule& PathMappingRule::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("destinationPath")) + if(jsonValue.ValueExists("sourcePathFormat")) { - m_destinationPath = jsonValue.GetString("destinationPath"); + m_sourcePathFormat = PathFormatMapper::GetPathFormatForName(jsonValue.GetString("sourcePathFormat")); - m_destinationPathHasBeenSet = true; + m_sourcePathFormatHasBeenSet = true; } if(jsonValue.ValueExists("sourcePath")) @@ -48,11 +48,11 @@ PathMappingRule& PathMappingRule::operator =(JsonView jsonValue) m_sourcePathHasBeenSet = true; } - if(jsonValue.ValueExists("sourcePathFormat")) + if(jsonValue.ValueExists("destinationPath")) { - m_sourcePathFormat = PathFormatMapper::GetPathFormatForName(jsonValue.GetString("sourcePathFormat")); + m_destinationPath = jsonValue.GetString("destinationPath"); - m_sourcePathFormatHasBeenSet = true; + m_destinationPathHasBeenSet = true; } return *this; @@ -62,10 +62,9 @@ JsonValue PathMappingRule::Jsonize() const { JsonValue payload; - if(m_destinationPathHasBeenSet) + if(m_sourcePathFormatHasBeenSet) { - payload.WithString("destinationPath", m_destinationPath); - + payload.WithString("sourcePathFormat", PathFormatMapper::GetNameForPathFormat(m_sourcePathFormat)); } if(m_sourcePathHasBeenSet) @@ -74,9 +73,10 @@ JsonValue PathMappingRule::Jsonize() const } - if(m_sourcePathFormatHasBeenSet) + if(m_destinationPathHasBeenSet) { - payload.WithString("sourcePathFormat", PathFormatMapper::GetNameForPathFormat(m_sourcePathFormat)); + payload.WithString("destinationPath", m_destinationPath); + } return payload; diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/PosixUser.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/PosixUser.cpp index c2131c9f435..df271ddfbba 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/PosixUser.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/PosixUser.cpp @@ -19,8 +19,8 @@ namespace Model { PosixUser::PosixUser() : - m_groupHasBeenSet(false), - m_userHasBeenSet(false) + m_userHasBeenSet(false), + m_groupHasBeenSet(false) { } @@ -32,18 +32,18 @@ PosixUser::PosixUser(JsonView jsonValue) PosixUser& PosixUser::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("group")) + if(jsonValue.ValueExists("user")) { - m_group = jsonValue.GetString("group"); + m_user = jsonValue.GetString("user"); - m_groupHasBeenSet = true; + m_userHasBeenSet = true; } - if(jsonValue.ValueExists("user")) + if(jsonValue.ValueExists("group")) { - m_user = jsonValue.GetString("user"); + m_group = jsonValue.GetString("group"); - m_userHasBeenSet = true; + m_groupHasBeenSet = true; } return *this; @@ -53,15 +53,15 @@ JsonValue PosixUser::Jsonize() const { JsonValue payload; - if(m_groupHasBeenSet) + if(m_userHasBeenSet) { - payload.WithString("group", m_group); + payload.WithString("user", m_user); } - if(m_userHasBeenSet) + if(m_groupHasBeenSet) { - payload.WithString("user", m_user); + payload.WithString("group", m_group); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/QueueEnvironmentSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/QueueEnvironmentSummary.cpp index 1ed9e25ee10..1b8dd959f3e 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/QueueEnvironmentSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/QueueEnvironmentSummary.cpp @@ -19,10 +19,10 @@ namespace Model { QueueEnvironmentSummary::QueueEnvironmentSummary() : + m_queueEnvironmentIdHasBeenSet(false), m_nameHasBeenSet(false), m_priority(0), - m_priorityHasBeenSet(false), - m_queueEnvironmentIdHasBeenSet(false) + m_priorityHasBeenSet(false) { } @@ -34,6 +34,13 @@ QueueEnvironmentSummary::QueueEnvironmentSummary(JsonView jsonValue) QueueEnvironmentSummary& QueueEnvironmentSummary::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("queueEnvironmentId")) + { + m_queueEnvironmentId = jsonValue.GetString("queueEnvironmentId"); + + m_queueEnvironmentIdHasBeenSet = true; + } + if(jsonValue.ValueExists("name")) { m_name = jsonValue.GetString("name"); @@ -48,13 +55,6 @@ QueueEnvironmentSummary& QueueEnvironmentSummary::operator =(JsonView jsonValue) m_priorityHasBeenSet = true; } - if(jsonValue.ValueExists("queueEnvironmentId")) - { - m_queueEnvironmentId = jsonValue.GetString("queueEnvironmentId"); - - m_queueEnvironmentIdHasBeenSet = true; - } - return *this; } @@ -62,21 +62,21 @@ JsonValue QueueEnvironmentSummary::Jsonize() const { JsonValue payload; - if(m_nameHasBeenSet) + if(m_queueEnvironmentIdHasBeenSet) { - payload.WithString("name", m_name); + payload.WithString("queueEnvironmentId", m_queueEnvironmentId); } - if(m_priorityHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithInteger("priority", m_priority); + payload.WithString("name", m_name); } - if(m_queueEnvironmentIdHasBeenSet) + if(m_priorityHasBeenSet) { - payload.WithString("queueEnvironmentId", m_queueEnvironmentId); + payload.WithInteger("priority", m_priority); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/QueueFleetAssociationSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/QueueFleetAssociationSummary.cpp index c7d3758a6fa..0a28bb1cfba 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/QueueFleetAssociationSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/QueueFleetAssociationSummary.cpp @@ -19,12 +19,12 @@ namespace Model { QueueFleetAssociationSummary::QueueFleetAssociationSummary() : - m_createdAtHasBeenSet(false), - m_createdByHasBeenSet(false), - m_fleetIdHasBeenSet(false), m_queueIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), m_status(QueueFleetAssociationStatus::NOT_SET), m_statusHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), m_updatedAtHasBeenSet(false), m_updatedByHasBeenSet(false) { @@ -38,39 +38,39 @@ QueueFleetAssociationSummary::QueueFleetAssociationSummary(JsonView jsonValue) QueueFleetAssociationSummary& QueueFleetAssociationSummary::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("queueId")) { - m_createdAt = jsonValue.GetString("createdAt"); + m_queueId = jsonValue.GetString("queueId"); - m_createdAtHasBeenSet = true; + m_queueIdHasBeenSet = true; } - if(jsonValue.ValueExists("createdBy")) + if(jsonValue.ValueExists("fleetId")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_fleetId = jsonValue.GetString("fleetId"); - m_createdByHasBeenSet = true; + m_fleetIdHasBeenSet = true; } - if(jsonValue.ValueExists("fleetId")) + if(jsonValue.ValueExists("status")) { - m_fleetId = jsonValue.GetString("fleetId"); + m_status = QueueFleetAssociationStatusMapper::GetQueueFleetAssociationStatusForName(jsonValue.GetString("status")); - m_fleetIdHasBeenSet = true; + m_statusHasBeenSet = true; } - if(jsonValue.ValueExists("queueId")) + if(jsonValue.ValueExists("createdAt")) { - m_queueId = jsonValue.GetString("queueId"); + m_createdAt = jsonValue.GetString("createdAt"); - m_queueIdHasBeenSet = true; + m_createdAtHasBeenSet = true; } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("createdBy")) { - m_status = QueueFleetAssociationStatusMapper::GetQueueFleetAssociationStatusForName(jsonValue.GetString("status")); + m_createdBy = jsonValue.GetString("createdBy"); - m_statusHasBeenSet = true; + m_createdByHasBeenSet = true; } if(jsonValue.ValueExists("updatedAt")) @@ -94,14 +94,9 @@ JsonValue QueueFleetAssociationSummary::Jsonize() const { JsonValue payload; - if(m_createdAtHasBeenSet) - { - payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - - if(m_createdByHasBeenSet) + if(m_queueIdHasBeenSet) { - payload.WithString("createdBy", m_createdBy); + payload.WithString("queueId", m_queueId); } @@ -111,15 +106,20 @@ JsonValue QueueFleetAssociationSummary::Jsonize() const } - if(m_queueIdHasBeenSet) + if(m_statusHasBeenSet) { - payload.WithString("queueId", m_queueId); + payload.WithString("status", QueueFleetAssociationStatusMapper::GetNameForQueueFleetAssociationStatus(m_status)); + } + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_statusHasBeenSet) + if(m_createdByHasBeenSet) { - payload.WithString("status", QueueFleetAssociationStatusMapper::GetNameForQueueFleetAssociationStatus(m_status)); + payload.WithString("createdBy", m_createdBy); + } if(m_updatedAtHasBeenSet) diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/QueueMember.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/QueueMember.cpp index ecd168f4d16..e177639919d 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/QueueMember.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/QueueMember.cpp @@ -20,13 +20,13 @@ namespace Model QueueMember::QueueMember() : m_farmIdHasBeenSet(false), - m_identityStoreIdHasBeenSet(false), - m_membershipLevel(MembershipLevel::NOT_SET), - m_membershipLevelHasBeenSet(false), + m_queueIdHasBeenSet(false), m_principalIdHasBeenSet(false), m_principalType(PrincipalType::NOT_SET), m_principalTypeHasBeenSet(false), - m_queueIdHasBeenSet(false) + m_identityStoreIdHasBeenSet(false), + m_membershipLevel(MembershipLevel::NOT_SET), + m_membershipLevelHasBeenSet(false) { } @@ -45,18 +45,11 @@ QueueMember& QueueMember::operator =(JsonView jsonValue) m_farmIdHasBeenSet = true; } - if(jsonValue.ValueExists("identityStoreId")) - { - m_identityStoreId = jsonValue.GetString("identityStoreId"); - - m_identityStoreIdHasBeenSet = true; - } - - if(jsonValue.ValueExists("membershipLevel")) + if(jsonValue.ValueExists("queueId")) { - m_membershipLevel = MembershipLevelMapper::GetMembershipLevelForName(jsonValue.GetString("membershipLevel")); + m_queueId = jsonValue.GetString("queueId"); - m_membershipLevelHasBeenSet = true; + m_queueIdHasBeenSet = true; } if(jsonValue.ValueExists("principalId")) @@ -73,11 +66,18 @@ QueueMember& QueueMember::operator =(JsonView jsonValue) m_principalTypeHasBeenSet = true; } - if(jsonValue.ValueExists("queueId")) + if(jsonValue.ValueExists("identityStoreId")) { - m_queueId = jsonValue.GetString("queueId"); + m_identityStoreId = jsonValue.GetString("identityStoreId"); - m_queueIdHasBeenSet = true; + m_identityStoreIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("membershipLevel")) + { + m_membershipLevel = MembershipLevelMapper::GetMembershipLevelForName(jsonValue.GetString("membershipLevel")); + + m_membershipLevelHasBeenSet = true; } return *this; @@ -93,15 +93,10 @@ JsonValue QueueMember::Jsonize() const } - if(m_identityStoreIdHasBeenSet) + if(m_queueIdHasBeenSet) { - payload.WithString("identityStoreId", m_identityStoreId); - - } + payload.WithString("queueId", m_queueId); - if(m_membershipLevelHasBeenSet) - { - payload.WithString("membershipLevel", MembershipLevelMapper::GetNameForMembershipLevel(m_membershipLevel)); } if(m_principalIdHasBeenSet) @@ -115,10 +110,15 @@ JsonValue QueueMember::Jsonize() const payload.WithString("principalType", PrincipalTypeMapper::GetNameForPrincipalType(m_principalType)); } - if(m_queueIdHasBeenSet) + if(m_identityStoreIdHasBeenSet) { - payload.WithString("queueId", m_queueId); + payload.WithString("identityStoreId", m_identityStoreId); + + } + if(m_membershipLevelHasBeenSet) + { + payload.WithString("membershipLevel", MembershipLevelMapper::GetNameForMembershipLevel(m_membershipLevel)); } return payload; diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/QueueSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/QueueSummary.cpp index 206254a048a..b7c39f51bf5 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/QueueSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/QueueSummary.cpp @@ -19,17 +19,17 @@ 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_displayNameHasBeenSet(false), m_status(QueueStatus::NOT_SET), m_statusHasBeenSet(false), + m_defaultBudgetAction(DefaultQueueBudgetAction::NOT_SET), + m_defaultBudgetActionHasBeenSet(false), + m_blockedReason(QueueBlockedReason::NOT_SET), + m_blockedReasonHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), m_updatedAtHasBeenSet(false), m_updatedByHasBeenSet(false) { @@ -43,60 +43,60 @@ QueueSummary::QueueSummary(JsonView jsonValue) QueueSummary& QueueSummary::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("blockedReason")) + if(jsonValue.ValueExists("farmId")) { - m_blockedReason = QueueBlockedReasonMapper::GetQueueBlockedReasonForName(jsonValue.GetString("blockedReason")); + m_farmId = jsonValue.GetString("farmId"); - m_blockedReasonHasBeenSet = true; + m_farmIdHasBeenSet = true; } - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("queueId")) { - m_createdAt = jsonValue.GetString("createdAt"); + m_queueId = jsonValue.GetString("queueId"); - m_createdAtHasBeenSet = true; + m_queueIdHasBeenSet = true; } - if(jsonValue.ValueExists("createdBy")) + if(jsonValue.ValueExists("displayName")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_displayName = jsonValue.GetString("displayName"); - m_createdByHasBeenSet = true; + m_displayNameHasBeenSet = true; } - if(jsonValue.ValueExists("defaultBudgetAction")) + if(jsonValue.ValueExists("status")) { - m_defaultBudgetAction = DefaultQueueBudgetActionMapper::GetDefaultQueueBudgetActionForName(jsonValue.GetString("defaultBudgetAction")); + m_status = QueueStatusMapper::GetQueueStatusForName(jsonValue.GetString("status")); - m_defaultBudgetActionHasBeenSet = true; + m_statusHasBeenSet = true; } - if(jsonValue.ValueExists("displayName")) + if(jsonValue.ValueExists("defaultBudgetAction")) { - m_displayName = jsonValue.GetString("displayName"); + m_defaultBudgetAction = DefaultQueueBudgetActionMapper::GetDefaultQueueBudgetActionForName(jsonValue.GetString("defaultBudgetAction")); - m_displayNameHasBeenSet = true; + m_defaultBudgetActionHasBeenSet = true; } - if(jsonValue.ValueExists("farmId")) + if(jsonValue.ValueExists("blockedReason")) { - m_farmId = jsonValue.GetString("farmId"); + m_blockedReason = QueueBlockedReasonMapper::GetQueueBlockedReasonForName(jsonValue.GetString("blockedReason")); - m_farmIdHasBeenSet = true; + m_blockedReasonHasBeenSet = true; } - if(jsonValue.ValueExists("queueId")) + if(jsonValue.ValueExists("createdAt")) { - m_queueId = jsonValue.GetString("queueId"); + m_createdAt = jsonValue.GetString("createdAt"); - m_queueIdHasBeenSet = true; + m_createdAtHasBeenSet = true; } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("createdBy")) { - m_status = QueueStatusMapper::GetQueueStatusForName(jsonValue.GetString("status")); + m_createdBy = jsonValue.GetString("createdBy"); - m_statusHasBeenSet = true; + m_createdByHasBeenSet = true; } if(jsonValue.ValueExists("updatedAt")) @@ -120,25 +120,16 @@ JsonValue QueueSummary::Jsonize() const { JsonValue payload; - if(m_blockedReasonHasBeenSet) + if(m_farmIdHasBeenSet) { - payload.WithString("blockedReason", QueueBlockedReasonMapper::GetNameForQueueBlockedReason(m_blockedReason)); - } + payload.WithString("farmId", m_farmId); - if(m_createdAtHasBeenSet) - { - payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_createdByHasBeenSet) + if(m_queueIdHasBeenSet) { - payload.WithString("createdBy", m_createdBy); - - } + payload.WithString("queueId", m_queueId); - if(m_defaultBudgetActionHasBeenSet) - { - payload.WithString("defaultBudgetAction", DefaultQueueBudgetActionMapper::GetNameForDefaultQueueBudgetAction(m_defaultBudgetAction)); } if(m_displayNameHasBeenSet) @@ -147,21 +138,30 @@ JsonValue QueueSummary::Jsonize() const } - if(m_farmIdHasBeenSet) + if(m_statusHasBeenSet) { - payload.WithString("farmId", m_farmId); + payload.WithString("status", QueueStatusMapper::GetNameForQueueStatus(m_status)); + } + if(m_defaultBudgetActionHasBeenSet) + { + payload.WithString("defaultBudgetAction", DefaultQueueBudgetActionMapper::GetNameForDefaultQueueBudgetAction(m_defaultBudgetAction)); } - if(m_queueIdHasBeenSet) + if(m_blockedReasonHasBeenSet) { - payload.WithString("queueId", m_queueId); + payload.WithString("blockedReason", QueueBlockedReasonMapper::GetNameForQueueBlockedReason(m_blockedReason)); + } + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_statusHasBeenSet) + if(m_createdByHasBeenSet) { - payload.WithString("status", QueueStatusMapper::GetNameForQueueStatus(m_status)); + payload.WithString("createdBy", m_createdBy); + } if(m_updatedAtHasBeenSet) diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ResourceNotFoundException.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ResourceNotFoundException.cpp index f52ca787a53..4061f3fddfa 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ResourceNotFoundException.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ResourceNotFoundException.cpp @@ -19,10 +19,10 @@ namespace Model { ResourceNotFoundException::ResourceNotFoundException() : - m_contextHasBeenSet(false), m_messageHasBeenSet(false), m_resourceIdHasBeenSet(false), - m_resourceTypeHasBeenSet(false) + m_resourceTypeHasBeenSet(false), + m_contextHasBeenSet(false) { } @@ -34,16 +34,6 @@ ResourceNotFoundException::ResourceNotFoundException(JsonView 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"); @@ -65,6 +55,16 @@ ResourceNotFoundException& ResourceNotFoundException::operator =(JsonView jsonVa m_resourceTypeHasBeenSet = true; } + 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; + } + return *this; } @@ -72,17 +72,6 @@ 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); @@ -101,6 +90,17 @@ JsonValue ResourceNotFoundException::Jsonize() const } + if(m_contextHasBeenSet) + { + JsonValue contextJsonMap; + for(auto& contextItem : m_context) + { + contextJsonMap.WithString(contextItem.first, contextItem.second); + } + payload.WithObject("context", std::move(contextJsonMap)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ResponseBudgetAction.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ResponseBudgetAction.cpp index 8906e5a4997..abce8959bb8 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ResponseBudgetAction.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ResponseBudgetAction.cpp @@ -19,11 +19,11 @@ namespace Model { ResponseBudgetAction::ResponseBudgetAction() : - m_descriptionHasBeenSet(false), + m_type(BudgetActionType::NOT_SET), + m_typeHasBeenSet(false), m_thresholdPercentage(0.0), m_thresholdPercentageHasBeenSet(false), - m_type(BudgetActionType::NOT_SET), - m_typeHasBeenSet(false) + m_descriptionHasBeenSet(false) { } @@ -35,11 +35,11 @@ ResponseBudgetAction::ResponseBudgetAction(JsonView jsonValue) ResponseBudgetAction& ResponseBudgetAction::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("description")) + if(jsonValue.ValueExists("type")) { - m_description = jsonValue.GetString("description"); + m_type = BudgetActionTypeMapper::GetBudgetActionTypeForName(jsonValue.GetString("type")); - m_descriptionHasBeenSet = true; + m_typeHasBeenSet = true; } if(jsonValue.ValueExists("thresholdPercentage")) @@ -49,11 +49,11 @@ ResponseBudgetAction& ResponseBudgetAction::operator =(JsonView jsonValue) m_thresholdPercentageHasBeenSet = true; } - if(jsonValue.ValueExists("type")) + if(jsonValue.ValueExists("description")) { - m_type = BudgetActionTypeMapper::GetBudgetActionTypeForName(jsonValue.GetString("type")); + m_description = jsonValue.GetString("description"); - m_typeHasBeenSet = true; + m_descriptionHasBeenSet = true; } return *this; @@ -63,10 +63,9 @@ JsonValue ResponseBudgetAction::Jsonize() const { JsonValue payload; - if(m_descriptionHasBeenSet) + if(m_typeHasBeenSet) { - payload.WithString("description", m_description); - + payload.WithString("type", BudgetActionTypeMapper::GetNameForBudgetActionType(m_type)); } if(m_thresholdPercentageHasBeenSet) @@ -75,9 +74,10 @@ JsonValue ResponseBudgetAction::Jsonize() const } - if(m_typeHasBeenSet) + if(m_descriptionHasBeenSet) { - payload.WithString("type", BudgetActionTypeMapper::GetNameForBudgetActionType(m_type)); + payload.WithString("description", m_description); + } return payload; diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchFilterExpression.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchFilterExpression.cpp index b33cc4de9a8..2b992bae289 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/SearchFilterExpression.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchFilterExpression.cpp @@ -21,10 +21,10 @@ namespace Model SearchFilterExpression::SearchFilterExpression() : m_dateTimeFilterHasBeenSet(false), - m_groupFilterHasBeenSet(false), m_parameterFilterHasBeenSet(false), m_searchTermFilterHasBeenSet(false), - m_stringFilterHasBeenSet(false) + m_stringFilterHasBeenSet(false), + m_groupFilterHasBeenSet(false) { } @@ -50,13 +50,6 @@ SearchFilterExpression& SearchFilterExpression::operator =(JsonView jsonValue) 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"); @@ -78,6 +71,13 @@ SearchFilterExpression& SearchFilterExpression::operator =(JsonView jsonValue) m_stringFilterHasBeenSet = true; } + if(jsonValue.ValueExists("groupFilter")) + { + m_groupFilter = Aws::MakeShared("SearchFilterExpression", jsonValue.GetObject("groupFilter")); + + m_groupFilterHasBeenSet = true; + } + return *this; } @@ -91,12 +91,6 @@ JsonValue SearchFilterExpression::Jsonize() const } - if(m_groupFilterHasBeenSet) - { - payload.WithObject("groupFilter", m_groupFilter->Jsonize()); - - } - if(m_parameterFilterHasBeenSet) { payload.WithObject("parameterFilter", m_parameterFilter.Jsonize()); @@ -115,6 +109,12 @@ JsonValue SearchFilterExpression::Jsonize() const } + if(m_groupFilterHasBeenSet) + { + payload.WithObject("groupFilter", m_groupFilter->Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchJobsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchJobsRequest.cpp index 77dcf689a49..fbb5dc066e5 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/SearchJobsRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchJobsRequest.cpp @@ -14,13 +14,13 @@ using namespace Aws::Utils; SearchJobsRequest::SearchJobsRequest() : m_farmIdHasBeenSet(false), + m_queueIdsHasBeenSet(false), m_filterExpressionsHasBeenSet(false), + m_sortExpressionsHasBeenSet(false), m_itemOffset(0), m_itemOffsetHasBeenSet(false), m_pageSize(0), - m_pageSizeHasBeenSet(false), - m_queueIdsHasBeenSet(false), - m_sortExpressionsHasBeenSet(false) + m_pageSizeHasBeenSet(false) { } @@ -28,24 +28,6 @@ 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()); @@ -57,6 +39,12 @@ Aws::String SearchJobsRequest::SerializePayload() const } + if(m_filterExpressionsHasBeenSet) + { + payload.WithObject("filterExpressions", m_filterExpressions.Jsonize()); + + } + if(m_sortExpressionsHasBeenSet) { Aws::Utils::Array sortExpressionsJsonList(m_sortExpressions.size()); @@ -68,6 +56,18 @@ Aws::String SearchJobsRequest::SerializePayload() const } + if(m_itemOffsetHasBeenSet) + { + payload.WithInteger("itemOffset", m_itemOffset); + + } + + if(m_pageSizeHasBeenSet) + { + payload.WithInteger("pageSize", m_pageSize); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchSortExpression.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchSortExpression.cpp index 24bd05a8a47..358485a5d47 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/SearchSortExpression.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchSortExpression.cpp @@ -19,9 +19,9 @@ namespace Model { SearchSortExpression::SearchSortExpression() : + m_userJobsFirstHasBeenSet(false), m_fieldSortHasBeenSet(false), - m_parameterSortHasBeenSet(false), - m_userJobsFirstHasBeenSet(false) + m_parameterSortHasBeenSet(false) { } @@ -33,6 +33,13 @@ SearchSortExpression::SearchSortExpression(JsonView jsonValue) SearchSortExpression& SearchSortExpression::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("userJobsFirst")) + { + m_userJobsFirst = jsonValue.GetObject("userJobsFirst"); + + m_userJobsFirstHasBeenSet = true; + } + if(jsonValue.ValueExists("fieldSort")) { m_fieldSort = jsonValue.GetObject("fieldSort"); @@ -47,13 +54,6 @@ SearchSortExpression& SearchSortExpression::operator =(JsonView jsonValue) m_parameterSortHasBeenSet = true; } - if(jsonValue.ValueExists("userJobsFirst")) - { - m_userJobsFirst = jsonValue.GetObject("userJobsFirst"); - - m_userJobsFirstHasBeenSet = true; - } - return *this; } @@ -61,21 +61,21 @@ JsonValue SearchSortExpression::Jsonize() const { JsonValue payload; - if(m_fieldSortHasBeenSet) + if(m_userJobsFirstHasBeenSet) { - payload.WithObject("fieldSort", m_fieldSort.Jsonize()); + payload.WithObject("userJobsFirst", m_userJobsFirst.Jsonize()); } - if(m_parameterSortHasBeenSet) + if(m_fieldSortHasBeenSet) { - payload.WithObject("parameterSort", m_parameterSort.Jsonize()); + payload.WithObject("fieldSort", m_fieldSort.Jsonize()); } - if(m_userJobsFirstHasBeenSet) + if(m_parameterSortHasBeenSet) { - payload.WithObject("userJobsFirst", m_userJobsFirst.Jsonize()); + payload.WithObject("parameterSort", m_parameterSort.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchStepsRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchStepsRequest.cpp index 495c6dd6be2..a1e2e328d94 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/SearchStepsRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchStepsRequest.cpp @@ -14,14 +14,14 @@ using namespace Aws::Utils; SearchStepsRequest::SearchStepsRequest() : m_farmIdHasBeenSet(false), + m_queueIdsHasBeenSet(false), + m_jobIdHasBeenSet(false), m_filterExpressionsHasBeenSet(false), + m_sortExpressionsHasBeenSet(false), m_itemOffset(0), m_itemOffsetHasBeenSet(false), - m_jobIdHasBeenSet(false), m_pageSize(0), - m_pageSizeHasBeenSet(false), - m_queueIdsHasBeenSet(false), - m_sortExpressionsHasBeenSet(false) + m_pageSizeHasBeenSet(false) { } @@ -29,15 +29,14 @@ Aws::String SearchStepsRequest::SerializePayload() const { JsonValue payload; - if(m_filterExpressionsHasBeenSet) - { - payload.WithObject("filterExpressions", m_filterExpressions.Jsonize()); - - } - - if(m_itemOffsetHasBeenSet) + if(m_queueIdsHasBeenSet) { - payload.WithInteger("itemOffset", m_itemOffset); + 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)); } @@ -47,20 +46,9 @@ Aws::String SearchStepsRequest::SerializePayload() const } - if(m_pageSizeHasBeenSet) - { - payload.WithInteger("pageSize", m_pageSize); - - } - - if(m_queueIdsHasBeenSet) + if(m_filterExpressionsHasBeenSet) { - 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)); + payload.WithObject("filterExpressions", m_filterExpressions.Jsonize()); } @@ -75,6 +63,18 @@ Aws::String SearchStepsRequest::SerializePayload() const } + if(m_itemOffsetHasBeenSet) + { + payload.WithInteger("itemOffset", m_itemOffset); + + } + + if(m_pageSizeHasBeenSet) + { + payload.WithInteger("pageSize", m_pageSize); + + } + 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 index c26e698e6ef..a3dff647984 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/SearchStepsResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchStepsResult.cpp @@ -32,12 +32,6 @@ SearchStepsResult::SearchStepsResult(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"); @@ -47,6 +41,12 @@ SearchStepsResult& SearchStepsResult::operator =(const Aws::AmazonWebServiceResu } } + if(jsonValue.ValueExists("nextItemOffset")) + { + m_nextItemOffset = jsonValue.GetInteger("nextItemOffset"); + + } + if(jsonValue.ValueExists("totalResults")) { m_totalResults = jsonValue.GetInteger("totalResults"); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchTasksRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchTasksRequest.cpp index f6e69311e64..fa84d94eb4d 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/SearchTasksRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchTasksRequest.cpp @@ -14,14 +14,14 @@ using namespace Aws::Utils; SearchTasksRequest::SearchTasksRequest() : m_farmIdHasBeenSet(false), + m_queueIdsHasBeenSet(false), + m_jobIdHasBeenSet(false), m_filterExpressionsHasBeenSet(false), + m_sortExpressionsHasBeenSet(false), m_itemOffset(0), m_itemOffsetHasBeenSet(false), - m_jobIdHasBeenSet(false), m_pageSize(0), - m_pageSizeHasBeenSet(false), - m_queueIdsHasBeenSet(false), - m_sortExpressionsHasBeenSet(false) + m_pageSizeHasBeenSet(false) { } @@ -29,15 +29,14 @@ Aws::String SearchTasksRequest::SerializePayload() const { JsonValue payload; - if(m_filterExpressionsHasBeenSet) - { - payload.WithObject("filterExpressions", m_filterExpressions.Jsonize()); - - } - - if(m_itemOffsetHasBeenSet) + if(m_queueIdsHasBeenSet) { - payload.WithInteger("itemOffset", m_itemOffset); + 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)); } @@ -47,20 +46,9 @@ Aws::String SearchTasksRequest::SerializePayload() const } - if(m_pageSizeHasBeenSet) - { - payload.WithInteger("pageSize", m_pageSize); - - } - - if(m_queueIdsHasBeenSet) + if(m_filterExpressionsHasBeenSet) { - 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)); + payload.WithObject("filterExpressions", m_filterExpressions.Jsonize()); } @@ -75,6 +63,18 @@ Aws::String SearchTasksRequest::SerializePayload() const } + if(m_itemOffsetHasBeenSet) + { + payload.WithInteger("itemOffset", m_itemOffset); + + } + + if(m_pageSizeHasBeenSet) + { + payload.WithInteger("pageSize", m_pageSize); + + } + 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 index f3b8face58b..1097fe1b133 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/SearchTasksResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchTasksResult.cpp @@ -32,12 +32,6 @@ SearchTasksResult::SearchTasksResult(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"); @@ -47,6 +41,12 @@ SearchTasksResult& SearchTasksResult::operator =(const Aws::AmazonWebServiceResu } } + if(jsonValue.ValueExists("nextItemOffset")) + { + m_nextItemOffset = jsonValue.GetInteger("nextItemOffset"); + + } + if(jsonValue.ValueExists("totalResults")) { m_totalResults = jsonValue.GetInteger("totalResults"); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SearchWorkersRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SearchWorkersRequest.cpp index 1def046dd58..95b7b25a21c 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/SearchWorkersRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchWorkersRequest.cpp @@ -14,13 +14,13 @@ using namespace Aws::Utils; SearchWorkersRequest::SearchWorkersRequest() : m_farmIdHasBeenSet(false), - m_filterExpressionsHasBeenSet(false), m_fleetIdsHasBeenSet(false), + m_filterExpressionsHasBeenSet(false), + m_sortExpressionsHasBeenSet(false), m_itemOffset(0), m_itemOffsetHasBeenSet(false), m_pageSize(0), - m_pageSizeHasBeenSet(false), - m_sortExpressionsHasBeenSet(false) + m_pageSizeHasBeenSet(false) { } @@ -28,12 +28,6 @@ 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()); @@ -45,15 +39,9 @@ Aws::String SearchWorkersRequest::SerializePayload() const } - if(m_itemOffsetHasBeenSet) - { - payload.WithInteger("itemOffset", m_itemOffset); - - } - - if(m_pageSizeHasBeenSet) + if(m_filterExpressionsHasBeenSet) { - payload.WithInteger("pageSize", m_pageSize); + payload.WithObject("filterExpressions", m_filterExpressions.Jsonize()); } @@ -68,6 +56,18 @@ Aws::String SearchWorkersRequest::SerializePayload() const } + if(m_itemOffsetHasBeenSet) + { + payload.WithInteger("itemOffset", m_itemOffset); + + } + + if(m_pageSizeHasBeenSet) + { + payload.WithInteger("pageSize", m_pageSize); + + } + 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 index 192abf5f955..667ea1743c0 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/SearchWorkersResult.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SearchWorkersResult.cpp @@ -32,6 +32,15 @@ SearchWorkersResult::SearchWorkersResult(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); + 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()); + } + } + if(jsonValue.ValueExists("nextItemOffset")) { m_nextItemOffset = jsonValue.GetInteger("nextItemOffset"); @@ -44,15 +53,6 @@ SearchWorkersResult& SearchWorkersResult::operator =(const Aws::AmazonWebService } - 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"); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedEc2InstanceCapabilities.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedEc2InstanceCapabilities.cpp index 78d53881dd1..e6e53734659 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedEc2InstanceCapabilities.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ServiceManagedEc2InstanceCapabilities.cpp @@ -19,17 +19,17 @@ 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_vCpuCountHasBeenSet(false), m_memoryMiBHasBeenSet(false), m_osFamily(ServiceManagedFleetOperatingSystemFamily::NOT_SET), m_osFamilyHasBeenSet(false), + m_cpuArchitectureType(CpuArchitectureType::NOT_SET), + m_cpuArchitectureTypeHasBeenSet(false), m_rootEbsVolumeHasBeenSet(false), - m_vCpuCountHasBeenSet(false) + m_allowedInstanceTypesHasBeenSet(false), + m_excludedInstanceTypesHasBeenSet(false), + m_customAmountsHasBeenSet(false), + m_customAttributesHasBeenSet(false) { } @@ -41,6 +41,41 @@ ServiceManagedEc2InstanceCapabilities::ServiceManagedEc2InstanceCapabilities(Jso ServiceManagedEc2InstanceCapabilities& ServiceManagedEc2InstanceCapabilities::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("vCpuCount")) + { + m_vCpuCount = jsonValue.GetObject("vCpuCount"); + + m_vCpuCountHasBeenSet = 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("cpuArchitectureType")) + { + m_cpuArchitectureType = CpuArchitectureTypeMapper::GetCpuArchitectureTypeForName(jsonValue.GetString("cpuArchitectureType")); + + m_cpuArchitectureTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("rootEbsVolume")) + { + m_rootEbsVolume = jsonValue.GetObject("rootEbsVolume"); + + m_rootEbsVolumeHasBeenSet = true; + } + if(jsonValue.ValueExists("allowedInstanceTypes")) { Aws::Utils::Array allowedInstanceTypesJsonList = jsonValue.GetArray("allowedInstanceTypes"); @@ -51,11 +86,14 @@ ServiceManagedEc2InstanceCapabilities& ServiceManagedEc2InstanceCapabilities::op m_allowedInstanceTypesHasBeenSet = true; } - if(jsonValue.ValueExists("cpuArchitectureType")) + if(jsonValue.ValueExists("excludedInstanceTypes")) { - m_cpuArchitectureType = CpuArchitectureTypeMapper::GetCpuArchitectureTypeForName(jsonValue.GetString("cpuArchitectureType")); - - m_cpuArchitectureTypeHasBeenSet = true; + 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("customAmounts")) @@ -78,50 +116,40 @@ ServiceManagedEc2InstanceCapabilities& ServiceManagedEc2InstanceCapabilities::op 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; - } + return *this; +} - if(jsonValue.ValueExists("memoryMiB")) +JsonValue ServiceManagedEc2InstanceCapabilities::Jsonize() const +{ + JsonValue payload; + + if(m_vCpuCountHasBeenSet) { - m_memoryMiB = jsonValue.GetObject("memoryMiB"); + payload.WithObject("vCpuCount", m_vCpuCount.Jsonize()); - m_memoryMiBHasBeenSet = true; } - if(jsonValue.ValueExists("osFamily")) + if(m_memoryMiBHasBeenSet) { - m_osFamily = ServiceManagedFleetOperatingSystemFamilyMapper::GetServiceManagedFleetOperatingSystemFamilyForName(jsonValue.GetString("osFamily")); + payload.WithObject("memoryMiB", m_memoryMiB.Jsonize()); - m_osFamilyHasBeenSet = true; } - if(jsonValue.ValueExists("rootEbsVolume")) + if(m_osFamilyHasBeenSet) { - m_rootEbsVolume = jsonValue.GetObject("rootEbsVolume"); - - m_rootEbsVolumeHasBeenSet = true; + payload.WithString("osFamily", ServiceManagedFleetOperatingSystemFamilyMapper::GetNameForServiceManagedFleetOperatingSystemFamily(m_osFamily)); } - if(jsonValue.ValueExists("vCpuCount")) + if(m_cpuArchitectureTypeHasBeenSet) { - m_vCpuCount = jsonValue.GetObject("vCpuCount"); - - m_vCpuCountHasBeenSet = true; + payload.WithString("cpuArchitectureType", CpuArchitectureTypeMapper::GetNameForCpuArchitectureType(m_cpuArchitectureType)); } - return *this; -} + if(m_rootEbsVolumeHasBeenSet) + { + payload.WithObject("rootEbsVolume", m_rootEbsVolume.Jsonize()); -JsonValue ServiceManagedEc2InstanceCapabilities::Jsonize() const -{ - JsonValue payload; + } if(m_allowedInstanceTypesHasBeenSet) { @@ -134,9 +162,15 @@ JsonValue ServiceManagedEc2InstanceCapabilities::Jsonize() const } - if(m_cpuArchitectureTypeHasBeenSet) + if(m_excludedInstanceTypesHasBeenSet) { - payload.WithString("cpuArchitectureType", CpuArchitectureTypeMapper::GetNameForCpuArchitectureType(m_cpuArchitectureType)); + 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_customAmountsHasBeenSet) @@ -161,40 +195,6 @@ JsonValue ServiceManagedEc2InstanceCapabilities::Jsonize() const } - 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; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ServiceQuotaExceededException.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ServiceQuotaExceededException.cpp index e8f90133621..1d93ca347a2 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ServiceQuotaExceededException.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ServiceQuotaExceededException.cpp @@ -19,14 +19,14 @@ 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) + m_serviceCodeHasBeenSet(false), + m_quotaCodeHasBeenSet(false), + m_resourceIdHasBeenSet(false), + m_contextHasBeenSet(false) { } @@ -38,16 +38,6 @@ ServiceQuotaExceededException::ServiceQuotaExceededException(JsonView 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"); @@ -55,13 +45,6 @@ ServiceQuotaExceededException& ServiceQuotaExceededException::operator =(JsonVie 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")); @@ -69,13 +52,6 @@ ServiceQuotaExceededException& ServiceQuotaExceededException::operator =(JsonVie m_reasonHasBeenSet = true; } - if(jsonValue.ValueExists("resourceId")) - { - m_resourceId = jsonValue.GetString("resourceId"); - - m_resourceIdHasBeenSet = true; - } - if(jsonValue.ValueExists("resourceType")) { m_resourceType = jsonValue.GetString("resourceType"); @@ -90,6 +66,30 @@ ServiceQuotaExceededException& ServiceQuotaExceededException::operator =(JsonVie m_serviceCodeHasBeenSet = true; } + if(jsonValue.ValueExists("quotaCode")) + { + m_quotaCode = jsonValue.GetString("quotaCode"); + + m_quotaCodeHasBeenSet = true; + } + + if(jsonValue.ValueExists("resourceId")) + { + m_resourceId = jsonValue.GetString("resourceId"); + + m_resourceIdHasBeenSet = true; + } + + 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; + } + return *this; } @@ -97,49 +97,49 @@ JsonValue ServiceQuotaExceededException::Jsonize() const { JsonValue payload; - if(m_contextHasBeenSet) + if(m_messageHasBeenSet) { - JsonValue contextJsonMap; - for(auto& contextItem : m_context) - { - contextJsonMap.WithString(contextItem.first, contextItem.second); - } - payload.WithObject("context", std::move(contextJsonMap)); + payload.WithString("message", m_message); } - if(m_messageHasBeenSet) + if(m_reasonHasBeenSet) { - payload.WithString("message", m_message); - + payload.WithString("reason", ServiceQuotaExceededExceptionReasonMapper::GetNameForServiceQuotaExceededExceptionReason(m_reason)); } - if(m_quotaCodeHasBeenSet) + if(m_resourceTypeHasBeenSet) { - payload.WithString("quotaCode", m_quotaCode); + payload.WithString("resourceType", m_resourceType); } - if(m_reasonHasBeenSet) + if(m_serviceCodeHasBeenSet) { - payload.WithString("reason", ServiceQuotaExceededExceptionReasonMapper::GetNameForServiceQuotaExceededExceptionReason(m_reason)); + payload.WithString("serviceCode", m_serviceCode); + } - if(m_resourceIdHasBeenSet) + if(m_quotaCodeHasBeenSet) { - payload.WithString("resourceId", m_resourceId); + payload.WithString("quotaCode", m_quotaCode); } - if(m_resourceTypeHasBeenSet) + if(m_resourceIdHasBeenSet) { - payload.WithString("resourceType", m_resourceType); + payload.WithString("resourceId", m_resourceId); } - if(m_serviceCodeHasBeenSet) + if(m_contextHasBeenSet) { - payload.WithString("serviceCode", m_serviceCode); + JsonValue contextJsonMap; + for(auto& contextItem : m_context) + { + contextJsonMap.WithString(contextItem.first, contextItem.second); + } + payload.WithObject("context", std::move(contextJsonMap)); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionDefinition.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionDefinition.cpp index 1dbae07fd7f..77450b699b5 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionDefinition.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionDefinition.cpp @@ -21,8 +21,8 @@ namespace Model SessionActionDefinition::SessionActionDefinition() : m_envEnterHasBeenSet(false), m_envExitHasBeenSet(false), - m_syncInputJobAttachmentsHasBeenSet(false), - m_taskRunHasBeenSet(false) + m_taskRunHasBeenSet(false), + m_syncInputJobAttachmentsHasBeenSet(false) { } @@ -48,18 +48,18 @@ SessionActionDefinition& SessionActionDefinition::operator =(JsonView jsonValue) m_envExitHasBeenSet = true; } - if(jsonValue.ValueExists("syncInputJobAttachments")) + if(jsonValue.ValueExists("taskRun")) { - m_syncInputJobAttachments = jsonValue.GetObject("syncInputJobAttachments"); + m_taskRun = jsonValue.GetObject("taskRun"); - m_syncInputJobAttachmentsHasBeenSet = true; + m_taskRunHasBeenSet = true; } - if(jsonValue.ValueExists("taskRun")) + if(jsonValue.ValueExists("syncInputJobAttachments")) { - m_taskRun = jsonValue.GetObject("taskRun"); + m_syncInputJobAttachments = jsonValue.GetObject("syncInputJobAttachments"); - m_taskRunHasBeenSet = true; + m_syncInputJobAttachmentsHasBeenSet = true; } return *this; @@ -81,15 +81,15 @@ JsonValue SessionActionDefinition::Jsonize() const } - if(m_syncInputJobAttachmentsHasBeenSet) + if(m_taskRunHasBeenSet) { - payload.WithObject("syncInputJobAttachments", m_syncInputJobAttachments.Jsonize()); + payload.WithObject("taskRun", m_taskRun.Jsonize()); } - if(m_taskRunHasBeenSet) + if(m_syncInputJobAttachmentsHasBeenSet) { - payload.WithObject("taskRun", m_taskRun.Jsonize()); + payload.WithObject("syncInputJobAttachments", m_syncInputJobAttachments.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionDefinitionSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionDefinitionSummary.cpp index ecbf5cdc3d8..941e2e72b75 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionDefinitionSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionDefinitionSummary.cpp @@ -21,8 +21,8 @@ namespace Model SessionActionDefinitionSummary::SessionActionDefinitionSummary() : m_envEnterHasBeenSet(false), m_envExitHasBeenSet(false), - m_syncInputJobAttachmentsHasBeenSet(false), - m_taskRunHasBeenSet(false) + m_taskRunHasBeenSet(false), + m_syncInputJobAttachmentsHasBeenSet(false) { } @@ -48,18 +48,18 @@ SessionActionDefinitionSummary& SessionActionDefinitionSummary::operator =(JsonV m_envExitHasBeenSet = true; } - if(jsonValue.ValueExists("syncInputJobAttachments")) + if(jsonValue.ValueExists("taskRun")) { - m_syncInputJobAttachments = jsonValue.GetObject("syncInputJobAttachments"); + m_taskRun = jsonValue.GetObject("taskRun"); - m_syncInputJobAttachmentsHasBeenSet = true; + m_taskRunHasBeenSet = true; } - if(jsonValue.ValueExists("taskRun")) + if(jsonValue.ValueExists("syncInputJobAttachments")) { - m_taskRun = jsonValue.GetObject("taskRun"); + m_syncInputJobAttachments = jsonValue.GetObject("syncInputJobAttachments"); - m_taskRunHasBeenSet = true; + m_syncInputJobAttachmentsHasBeenSet = true; } return *this; @@ -81,15 +81,15 @@ JsonValue SessionActionDefinitionSummary::Jsonize() const } - if(m_syncInputJobAttachmentsHasBeenSet) + if(m_taskRunHasBeenSet) { - payload.WithObject("syncInputJobAttachments", m_syncInputJobAttachments.Jsonize()); + payload.WithObject("taskRun", m_taskRun.Jsonize()); } - if(m_taskRunHasBeenSet) + if(m_syncInputJobAttachmentsHasBeenSet) { - payload.WithObject("taskRun", m_taskRun.Jsonize()); + payload.WithObject("syncInputJobAttachments", m_syncInputJobAttachments.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionSummary.cpp index 375fd515b97..65bcb8aa622 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SessionActionSummary.cpp @@ -19,15 +19,15 @@ 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) + m_startedAtHasBeenSet(false), + m_endedAtHasBeenSet(false), + m_workerUpdatedAtHasBeenSet(false), + m_progressPercent(0.0), + m_progressPercentHasBeenSet(false), + m_definitionHasBeenSet(false) { } @@ -39,53 +39,53 @@ SessionActionSummary::SessionActionSummary(JsonView jsonValue) SessionActionSummary& SessionActionSummary::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("definition")) + if(jsonValue.ValueExists("sessionActionId")) { - m_definition = jsonValue.GetObject("definition"); + m_sessionActionId = jsonValue.GetString("sessionActionId"); - m_definitionHasBeenSet = true; + m_sessionActionIdHasBeenSet = true; } - if(jsonValue.ValueExists("endedAt")) + if(jsonValue.ValueExists("status")) { - m_endedAt = jsonValue.GetString("endedAt"); + m_status = SessionActionStatusMapper::GetSessionActionStatusForName(jsonValue.GetString("status")); - m_endedAtHasBeenSet = true; + m_statusHasBeenSet = true; } - if(jsonValue.ValueExists("progressPercent")) + if(jsonValue.ValueExists("startedAt")) { - m_progressPercent = jsonValue.GetDouble("progressPercent"); + m_startedAt = jsonValue.GetString("startedAt"); - m_progressPercentHasBeenSet = true; + m_startedAtHasBeenSet = true; } - if(jsonValue.ValueExists("sessionActionId")) + if(jsonValue.ValueExists("endedAt")) { - m_sessionActionId = jsonValue.GetString("sessionActionId"); + m_endedAt = jsonValue.GetString("endedAt"); - m_sessionActionIdHasBeenSet = true; + m_endedAtHasBeenSet = true; } - if(jsonValue.ValueExists("startedAt")) + if(jsonValue.ValueExists("workerUpdatedAt")) { - m_startedAt = jsonValue.GetString("startedAt"); + m_workerUpdatedAt = jsonValue.GetString("workerUpdatedAt"); - m_startedAtHasBeenSet = true; + m_workerUpdatedAtHasBeenSet = true; } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("progressPercent")) { - m_status = SessionActionStatusMapper::GetSessionActionStatusForName(jsonValue.GetString("status")); + m_progressPercent = jsonValue.GetDouble("progressPercent"); - m_statusHasBeenSet = true; + m_progressPercentHasBeenSet = true; } - if(jsonValue.ValueExists("workerUpdatedAt")) + if(jsonValue.ValueExists("definition")) { - m_workerUpdatedAt = jsonValue.GetString("workerUpdatedAt"); + m_definition = jsonValue.GetObject("definition"); - m_workerUpdatedAtHasBeenSet = true; + m_definitionHasBeenSet = true; } return *this; @@ -95,42 +95,42 @@ JsonValue SessionActionSummary::Jsonize() const { JsonValue payload; - if(m_definitionHasBeenSet) + if(m_sessionActionIdHasBeenSet) { - payload.WithObject("definition", m_definition.Jsonize()); + payload.WithString("sessionActionId", m_sessionActionId); } - if(m_endedAtHasBeenSet) + if(m_statusHasBeenSet) { - payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("status", SessionActionStatusMapper::GetNameForSessionActionStatus(m_status)); } - if(m_progressPercentHasBeenSet) + if(m_startedAtHasBeenSet) { - payload.WithDouble("progressPercent", m_progressPercent); - + payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_sessionActionIdHasBeenSet) + if(m_endedAtHasBeenSet) { - payload.WithString("sessionActionId", m_sessionActionId); - + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_startedAtHasBeenSet) + if(m_workerUpdatedAtHasBeenSet) { - payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("workerUpdatedAt", m_workerUpdatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_statusHasBeenSet) + if(m_progressPercentHasBeenSet) { - payload.WithString("status", SessionActionStatusMapper::GetNameForSessionActionStatus(m_status)); + payload.WithDouble("progressPercent", m_progressPercent); + } - if(m_workerUpdatedAtHasBeenSet) + if(m_definitionHasBeenSet) { - payload.WithString("workerUpdatedAt", m_workerUpdatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithObject("definition", m_definition.Jsonize()); + } return payload; diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SessionSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SessionSummary.cpp index 19b53061a8f..9a477c7e062 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/SessionSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SessionSummary.cpp @@ -19,17 +19,17 @@ namespace Model { SessionSummary::SessionSummary() : - m_endedAtHasBeenSet(false), + m_sessionIdHasBeenSet(false), m_fleetIdHasBeenSet(false), + m_workerIdHasBeenSet(false), + m_startedAtHasBeenSet(false), m_lifecycleStatus(SessionLifecycleStatus::NOT_SET), m_lifecycleStatusHasBeenSet(false), - m_sessionIdHasBeenSet(false), - m_startedAtHasBeenSet(false), - m_targetLifecycleStatus(SessionLifecycleTargetStatus::NOT_SET), - m_targetLifecycleStatusHasBeenSet(false), + m_endedAtHasBeenSet(false), m_updatedAtHasBeenSet(false), m_updatedByHasBeenSet(false), - m_workerIdHasBeenSet(false) + m_targetLifecycleStatus(SessionLifecycleTargetStatus::NOT_SET), + m_targetLifecycleStatusHasBeenSet(false) { } @@ -41,11 +41,11 @@ SessionSummary::SessionSummary(JsonView jsonValue) SessionSummary& SessionSummary::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("endedAt")) + if(jsonValue.ValueExists("sessionId")) { - m_endedAt = jsonValue.GetString("endedAt"); + m_sessionId = jsonValue.GetString("sessionId"); - m_endedAtHasBeenSet = true; + m_sessionIdHasBeenSet = true; } if(jsonValue.ValueExists("fleetId")) @@ -55,32 +55,32 @@ SessionSummary& SessionSummary::operator =(JsonView jsonValue) m_fleetIdHasBeenSet = true; } - if(jsonValue.ValueExists("lifecycleStatus")) + if(jsonValue.ValueExists("workerId")) { - m_lifecycleStatus = SessionLifecycleStatusMapper::GetSessionLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); + m_workerId = jsonValue.GetString("workerId"); - m_lifecycleStatusHasBeenSet = true; + m_workerIdHasBeenSet = true; } - if(jsonValue.ValueExists("sessionId")) + if(jsonValue.ValueExists("startedAt")) { - m_sessionId = jsonValue.GetString("sessionId"); + m_startedAt = jsonValue.GetString("startedAt"); - m_sessionIdHasBeenSet = true; + m_startedAtHasBeenSet = true; } - if(jsonValue.ValueExists("startedAt")) + if(jsonValue.ValueExists("lifecycleStatus")) { - m_startedAt = jsonValue.GetString("startedAt"); + m_lifecycleStatus = SessionLifecycleStatusMapper::GetSessionLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); - m_startedAtHasBeenSet = true; + m_lifecycleStatusHasBeenSet = true; } - if(jsonValue.ValueExists("targetLifecycleStatus")) + if(jsonValue.ValueExists("endedAt")) { - m_targetLifecycleStatus = SessionLifecycleTargetStatusMapper::GetSessionLifecycleTargetStatusForName(jsonValue.GetString("targetLifecycleStatus")); + m_endedAt = jsonValue.GetString("endedAt"); - m_targetLifecycleStatusHasBeenSet = true; + m_endedAtHasBeenSet = true; } if(jsonValue.ValueExists("updatedAt")) @@ -97,11 +97,11 @@ SessionSummary& SessionSummary::operator =(JsonView jsonValue) m_updatedByHasBeenSet = true; } - if(jsonValue.ValueExists("workerId")) + if(jsonValue.ValueExists("targetLifecycleStatus")) { - m_workerId = jsonValue.GetString("workerId"); + m_targetLifecycleStatus = SessionLifecycleTargetStatusMapper::GetSessionLifecycleTargetStatusForName(jsonValue.GetString("targetLifecycleStatus")); - m_workerIdHasBeenSet = true; + m_targetLifecycleStatusHasBeenSet = true; } return *this; @@ -111,9 +111,10 @@ JsonValue SessionSummary::Jsonize() const { JsonValue payload; - if(m_endedAtHasBeenSet) + if(m_sessionIdHasBeenSet) { - payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("sessionId", m_sessionId); + } if(m_fleetIdHasBeenSet) @@ -122,14 +123,9 @@ JsonValue SessionSummary::Jsonize() const } - if(m_lifecycleStatusHasBeenSet) - { - payload.WithString("lifecycleStatus", SessionLifecycleStatusMapper::GetNameForSessionLifecycleStatus(m_lifecycleStatus)); - } - - if(m_sessionIdHasBeenSet) + if(m_workerIdHasBeenSet) { - payload.WithString("sessionId", m_sessionId); + payload.WithString("workerId", m_workerId); } @@ -138,9 +134,14 @@ JsonValue SessionSummary::Jsonize() const payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_targetLifecycleStatusHasBeenSet) + if(m_lifecycleStatusHasBeenSet) { - payload.WithString("targetLifecycleStatus", SessionLifecycleTargetStatusMapper::GetNameForSessionLifecycleTargetStatus(m_targetLifecycleStatus)); + payload.WithString("lifecycleStatus", SessionLifecycleStatusMapper::GetNameForSessionLifecycleStatus(m_lifecycleStatus)); + } + + if(m_endedAtHasBeenSet) + { + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } if(m_updatedAtHasBeenSet) @@ -154,10 +155,9 @@ JsonValue SessionSummary::Jsonize() const } - if(m_workerIdHasBeenSet) + if(m_targetLifecycleStatusHasBeenSet) { - payload.WithString("workerId", m_workerId); - + payload.WithString("targetLifecycleStatus", SessionLifecycleTargetStatusMapper::GetNameForSessionLifecycleTargetStatus(m_targetLifecycleStatus)); } return payload; diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/SessionsStatisticsResources.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/SessionsStatisticsResources.cpp index 5e56513231f..b70cb29ea1d 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/SessionsStatisticsResources.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/SessionsStatisticsResources.cpp @@ -19,8 +19,8 @@ namespace Model { SessionsStatisticsResources::SessionsStatisticsResources() : - m_fleetIdsHasBeenSet(false), - m_queueIdsHasBeenSet(false) + m_queueIdsHasBeenSet(false), + m_fleetIdsHasBeenSet(false) { } @@ -32,16 +32,6 @@ SessionsStatisticsResources::SessionsStatisticsResources(JsonView 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"); @@ -52,6 +42,16 @@ SessionsStatisticsResources& SessionsStatisticsResources::operator =(JsonView js m_queueIdsHasBeenSet = true; } + 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; + } + return *this; } @@ -59,25 +59,25 @@ JsonValue SessionsStatisticsResources::Jsonize() const { JsonValue payload; - if(m_fleetIdsHasBeenSet) + if(m_queueIdsHasBeenSet) { - Aws::Utils::Array fleetIdsJsonList(m_fleetIds.size()); - for(unsigned fleetIdsIndex = 0; fleetIdsIndex < fleetIdsJsonList.GetLength(); ++fleetIdsIndex) + Aws::Utils::Array queueIdsJsonList(m_queueIds.size()); + for(unsigned queueIdsIndex = 0; queueIdsIndex < queueIdsJsonList.GetLength(); ++queueIdsIndex) { - fleetIdsJsonList[fleetIdsIndex].AsString(m_fleetIds[fleetIdsIndex]); + queueIdsJsonList[queueIdsIndex].AsString(m_queueIds[queueIdsIndex]); } - payload.WithArray("fleetIds", std::move(fleetIdsJsonList)); + payload.WithArray("queueIds", std::move(queueIdsJsonList)); } - if(m_queueIdsHasBeenSet) + if(m_fleetIdsHasBeenSet) { - Aws::Utils::Array queueIdsJsonList(m_queueIds.size()); - for(unsigned queueIdsIndex = 0; queueIdsIndex < queueIdsJsonList.GetLength(); ++queueIdsIndex) + Aws::Utils::Array fleetIdsJsonList(m_fleetIds.size()); + for(unsigned fleetIdsIndex = 0; fleetIdsIndex < fleetIdsJsonList.GetLength(); ++fleetIdsIndex) { - queueIdsJsonList[queueIdsIndex].AsString(m_queueIds[queueIdsIndex]); + fleetIdsJsonList[fleetIdsIndex].AsString(m_fleetIds[fleetIdsIndex]); } - payload.WithArray("queueIds", std::move(queueIdsJsonList)); + payload.WithArray("fleetIds", std::move(fleetIdsJsonList)); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StartSessionsStatisticsAggregationRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StartSessionsStatisticsAggregationRequest.cpp index 7f651ae59b0..407b301c2ec 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/StartSessionsStatisticsAggregationRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StartSessionsStatisticsAggregationRequest.cpp @@ -13,15 +13,15 @@ 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) + m_endTimeHasBeenSet(false), + m_timezoneHasBeenSet(false), + m_period(Period::NOT_SET), + m_periodHasBeenSet(false), + m_groupByHasBeenSet(false), + m_statisticsHasBeenSet(false) { } @@ -29,19 +29,25 @@ Aws::String StartSessionsStatisticsAggregationRequest::SerializePayload() const { JsonValue payload; + 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_endTimeHasBeenSet) { payload.WithString("endTime", m_endTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_groupByHasBeenSet) + if(m_timezoneHasBeenSet) { - 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)); + payload.WithString("timezone", m_timezone); } @@ -50,15 +56,15 @@ Aws::String StartSessionsStatisticsAggregationRequest::SerializePayload() const payload.WithString("period", PeriodMapper::GetNameForPeriod(m_period)); } - if(m_resourceIdsHasBeenSet) + if(m_groupByHasBeenSet) { - payload.WithObject("resourceIds", m_resourceIds.Jsonize()); - - } + 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_startTimeHasBeenSet) - { - payload.WithString("startTime", m_startTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } if(m_statisticsHasBeenSet) @@ -72,12 +78,6 @@ Aws::String StartSessionsStatisticsAggregationRequest::SerializePayload() const } - if(m_timezoneHasBeenSet) - { - payload.WithString("timezone", m_timezone); - - } - return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/Statistics.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/Statistics.cpp index b7fc330e232..e5b72ce9f00 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/Statistics.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/Statistics.cpp @@ -19,21 +19,21 @@ namespace Model { Statistics::Statistics() : - m_aggregationEndTimeHasBeenSet(false), - m_aggregationStartTimeHasBeenSet(false), - m_costInUsdHasBeenSet(false), - m_count(0), - m_countHasBeenSet(false), + m_queueIdHasBeenSet(false), m_fleetIdHasBeenSet(false), - m_instanceTypeHasBeenSet(false), m_jobIdHasBeenSet(false), m_jobNameHasBeenSet(false), - m_licenseProductHasBeenSet(false), - m_queueIdHasBeenSet(false), - m_runtimeInSecondsHasBeenSet(false), + m_userIdHasBeenSet(false), m_usageType(UsageType::NOT_SET), m_usageTypeHasBeenSet(false), - m_userIdHasBeenSet(false) + m_licenseProductHasBeenSet(false), + m_instanceTypeHasBeenSet(false), + m_count(0), + m_countHasBeenSet(false), + m_costInUsdHasBeenSet(false), + m_runtimeInSecondsHasBeenSet(false), + m_aggregationStartTimeHasBeenSet(false), + m_aggregationEndTimeHasBeenSet(false) { } @@ -45,74 +45,74 @@ Statistics::Statistics(JsonView jsonValue) Statistics& Statistics::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("aggregationEndTime")) + if(jsonValue.ValueExists("queueId")) { - m_aggregationEndTime = jsonValue.GetString("aggregationEndTime"); + m_queueId = jsonValue.GetString("queueId"); - m_aggregationEndTimeHasBeenSet = true; + m_queueIdHasBeenSet = true; } - if(jsonValue.ValueExists("aggregationStartTime")) + if(jsonValue.ValueExists("fleetId")) { - m_aggregationStartTime = jsonValue.GetString("aggregationStartTime"); + m_fleetId = jsonValue.GetString("fleetId"); - m_aggregationStartTimeHasBeenSet = true; + m_fleetIdHasBeenSet = true; } - if(jsonValue.ValueExists("costInUsd")) + if(jsonValue.ValueExists("jobId")) { - m_costInUsd = jsonValue.GetObject("costInUsd"); + m_jobId = jsonValue.GetString("jobId"); - m_costInUsdHasBeenSet = true; + m_jobIdHasBeenSet = true; } - if(jsonValue.ValueExists("count")) + if(jsonValue.ValueExists("jobName")) { - m_count = jsonValue.GetInteger("count"); + m_jobName = jsonValue.GetString("jobName"); - m_countHasBeenSet = true; + m_jobNameHasBeenSet = true; } - if(jsonValue.ValueExists("fleetId")) + if(jsonValue.ValueExists("userId")) { - m_fleetId = jsonValue.GetString("fleetId"); + m_userId = jsonValue.GetString("userId"); - m_fleetIdHasBeenSet = true; + m_userIdHasBeenSet = true; } - if(jsonValue.ValueExists("instanceType")) + if(jsonValue.ValueExists("usageType")) { - m_instanceType = jsonValue.GetString("instanceType"); + m_usageType = UsageTypeMapper::GetUsageTypeForName(jsonValue.GetString("usageType")); - m_instanceTypeHasBeenSet = true; + m_usageTypeHasBeenSet = true; } - if(jsonValue.ValueExists("jobId")) + if(jsonValue.ValueExists("licenseProduct")) { - m_jobId = jsonValue.GetString("jobId"); + m_licenseProduct = jsonValue.GetString("licenseProduct"); - m_jobIdHasBeenSet = true; + m_licenseProductHasBeenSet = true; } - if(jsonValue.ValueExists("jobName")) + if(jsonValue.ValueExists("instanceType")) { - m_jobName = jsonValue.GetString("jobName"); + m_instanceType = jsonValue.GetString("instanceType"); - m_jobNameHasBeenSet = true; + m_instanceTypeHasBeenSet = true; } - if(jsonValue.ValueExists("licenseProduct")) + if(jsonValue.ValueExists("count")) { - m_licenseProduct = jsonValue.GetString("licenseProduct"); + m_count = jsonValue.GetInteger("count"); - m_licenseProductHasBeenSet = true; + m_countHasBeenSet = true; } - if(jsonValue.ValueExists("queueId")) + if(jsonValue.ValueExists("costInUsd")) { - m_queueId = jsonValue.GetString("queueId"); + m_costInUsd = jsonValue.GetObject("costInUsd"); - m_queueIdHasBeenSet = true; + m_costInUsdHasBeenSet = true; } if(jsonValue.ValueExists("runtimeInSeconds")) @@ -122,18 +122,18 @@ Statistics& Statistics::operator =(JsonView jsonValue) m_runtimeInSecondsHasBeenSet = true; } - if(jsonValue.ValueExists("usageType")) + if(jsonValue.ValueExists("aggregationStartTime")) { - m_usageType = UsageTypeMapper::GetUsageTypeForName(jsonValue.GetString("usageType")); + m_aggregationStartTime = jsonValue.GetString("aggregationStartTime"); - m_usageTypeHasBeenSet = true; + m_aggregationStartTimeHasBeenSet = true; } - if(jsonValue.ValueExists("userId")) + if(jsonValue.ValueExists("aggregationEndTime")) { - m_userId = jsonValue.GetString("userId"); + m_aggregationEndTime = jsonValue.GetString("aggregationEndTime"); - m_userIdHasBeenSet = true; + m_aggregationEndTimeHasBeenSet = true; } return *this; @@ -143,61 +143,62 @@ JsonValue Statistics::Jsonize() const { JsonValue payload; - if(m_aggregationEndTimeHasBeenSet) + if(m_queueIdHasBeenSet) { - payload.WithString("aggregationEndTime", m_aggregationEndTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("queueId", m_queueId); + } - if(m_aggregationStartTimeHasBeenSet) + if(m_fleetIdHasBeenSet) { - payload.WithString("aggregationStartTime", m_aggregationStartTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("fleetId", m_fleetId); + } - if(m_costInUsdHasBeenSet) + if(m_jobIdHasBeenSet) { - payload.WithObject("costInUsd", m_costInUsd.Jsonize()); + payload.WithString("jobId", m_jobId); } - if(m_countHasBeenSet) + if(m_jobNameHasBeenSet) { - payload.WithInteger("count", m_count); + payload.WithString("jobName", m_jobName); } - if(m_fleetIdHasBeenSet) + if(m_userIdHasBeenSet) { - payload.WithString("fleetId", m_fleetId); + payload.WithString("userId", m_userId); } - if(m_instanceTypeHasBeenSet) + if(m_usageTypeHasBeenSet) { - payload.WithString("instanceType", m_instanceType); - + payload.WithString("usageType", UsageTypeMapper::GetNameForUsageType(m_usageType)); } - if(m_jobIdHasBeenSet) + if(m_licenseProductHasBeenSet) { - payload.WithString("jobId", m_jobId); + payload.WithString("licenseProduct", m_licenseProduct); } - if(m_jobNameHasBeenSet) + if(m_instanceTypeHasBeenSet) { - payload.WithString("jobName", m_jobName); + payload.WithString("instanceType", m_instanceType); } - if(m_licenseProductHasBeenSet) + if(m_countHasBeenSet) { - payload.WithString("licenseProduct", m_licenseProduct); + payload.WithInteger("count", m_count); } - if(m_queueIdHasBeenSet) + if(m_costInUsdHasBeenSet) { - payload.WithString("queueId", m_queueId); + payload.WithObject("costInUsd", m_costInUsd.Jsonize()); } @@ -207,15 +208,14 @@ JsonValue Statistics::Jsonize() const } - if(m_usageTypeHasBeenSet) + if(m_aggregationStartTimeHasBeenSet) { - payload.WithString("usageType", UsageTypeMapper::GetNameForUsageType(m_usageType)); + payload.WithString("aggregationStartTime", m_aggregationStartTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_userIdHasBeenSet) + if(m_aggregationEndTimeHasBeenSet) { - payload.WithString("userId", m_userId); - + payload.WithString("aggregationEndTime", m_aggregationEndTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } return payload; diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/Stats.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/Stats.cpp index e436528c51d..03467430c14 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/Stats.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/Stats.cpp @@ -19,12 +19,12 @@ 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_max(0.0), + m_maxHasBeenSet(false), + m_avg(0.0), + m_avgHasBeenSet(false), m_sum(0.0), m_sumHasBeenSet(false) { @@ -38,11 +38,11 @@ Stats::Stats(JsonView jsonValue) Stats& Stats::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("avg")) + if(jsonValue.ValueExists("min")) { - m_avg = jsonValue.GetDouble("avg"); + m_min = jsonValue.GetDouble("min"); - m_avgHasBeenSet = true; + m_minHasBeenSet = true; } if(jsonValue.ValueExists("max")) @@ -52,11 +52,11 @@ Stats& Stats::operator =(JsonView jsonValue) m_maxHasBeenSet = true; } - if(jsonValue.ValueExists("min")) + if(jsonValue.ValueExists("avg")) { - m_min = jsonValue.GetDouble("min"); + m_avg = jsonValue.GetDouble("avg"); - m_minHasBeenSet = true; + m_avgHasBeenSet = true; } if(jsonValue.ValueExists("sum")) @@ -73,9 +73,9 @@ JsonValue Stats::Jsonize() const { JsonValue payload; - if(m_avgHasBeenSet) + if(m_minHasBeenSet) { - payload.WithDouble("avg", m_avg); + payload.WithDouble("min", m_min); } @@ -85,9 +85,9 @@ JsonValue Stats::Jsonize() const } - if(m_minHasBeenSet) + if(m_avgHasBeenSet) { - payload.WithDouble("min", m_min); + payload.WithDouble("avg", m_avg); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepAmountCapability.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepAmountCapability.cpp index c1c3bce1bb4..1b70b6a1e4d 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/StepAmountCapability.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepAmountCapability.cpp @@ -19,11 +19,11 @@ namespace Model { StepAmountCapability::StepAmountCapability() : - m_max(0.0), - m_maxHasBeenSet(false), + m_nameHasBeenSet(false), m_min(0.0), m_minHasBeenSet(false), - m_nameHasBeenSet(false), + m_max(0.0), + m_maxHasBeenSet(false), m_value(0.0), m_valueHasBeenSet(false) { @@ -37,11 +37,11 @@ StepAmountCapability::StepAmountCapability(JsonView jsonValue) StepAmountCapability& StepAmountCapability::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("max")) + if(jsonValue.ValueExists("name")) { - m_max = jsonValue.GetDouble("max"); + m_name = jsonValue.GetString("name"); - m_maxHasBeenSet = true; + m_nameHasBeenSet = true; } if(jsonValue.ValueExists("min")) @@ -51,11 +51,11 @@ StepAmountCapability& StepAmountCapability::operator =(JsonView jsonValue) m_minHasBeenSet = true; } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("max")) { - m_name = jsonValue.GetString("name"); + m_max = jsonValue.GetDouble("max"); - m_nameHasBeenSet = true; + m_maxHasBeenSet = true; } if(jsonValue.ValueExists("value")) @@ -72,9 +72,9 @@ JsonValue StepAmountCapability::Jsonize() const { JsonValue payload; - if(m_maxHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithDouble("max", m_max); + payload.WithString("name", m_name); } @@ -84,9 +84,9 @@ JsonValue StepAmountCapability::Jsonize() const } - if(m_nameHasBeenSet) + if(m_maxHasBeenSet) { - payload.WithString("name", m_name); + payload.WithDouble("max", m_max); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepAttributeCapability.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepAttributeCapability.cpp index b5f20f7fa6c..7eac49f0688 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/StepAttributeCapability.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepAttributeCapability.cpp @@ -19,9 +19,9 @@ namespace Model { StepAttributeCapability::StepAttributeCapability() : - m_allOfHasBeenSet(false), + m_nameHasBeenSet(false), m_anyOfHasBeenSet(false), - m_nameHasBeenSet(false) + m_allOfHasBeenSet(false) { } @@ -33,14 +33,11 @@ StepAttributeCapability::StepAttributeCapability(JsonView jsonValue) StepAttributeCapability& StepAttributeCapability::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("allOf")) + if(jsonValue.ValueExists("name")) { - 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; + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; } if(jsonValue.ValueExists("anyOf")) @@ -53,11 +50,14 @@ StepAttributeCapability& StepAttributeCapability::operator =(JsonView jsonValue) m_anyOfHasBeenSet = true; } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("allOf")) { - m_name = jsonValue.GetString("name"); - - m_nameHasBeenSet = true; + 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; } return *this; @@ -67,14 +67,9 @@ JsonValue StepAttributeCapability::Jsonize() const { JsonValue payload; - if(m_allOfHasBeenSet) + if(m_nameHasBeenSet) { - 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)); + payload.WithString("name", m_name); } @@ -89,9 +84,14 @@ JsonValue StepAttributeCapability::Jsonize() const } - if(m_nameHasBeenSet) + if(m_allOfHasBeenSet) { - payload.WithString("name", m_name); + 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)); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepConsumer.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepConsumer.cpp index 6d1408204e4..e1fe980456f 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/StepConsumer.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepConsumer.cpp @@ -19,9 +19,9 @@ namespace Model { StepConsumer::StepConsumer() : + m_stepIdHasBeenSet(false), m_status(DependencyConsumerResolutionStatus::NOT_SET), - m_statusHasBeenSet(false), - m_stepIdHasBeenSet(false) + m_statusHasBeenSet(false) { } @@ -33,18 +33,18 @@ StepConsumer::StepConsumer(JsonView jsonValue) StepConsumer& StepConsumer::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("stepId")) { - m_status = DependencyConsumerResolutionStatusMapper::GetDependencyConsumerResolutionStatusForName(jsonValue.GetString("status")); + m_stepId = jsonValue.GetString("stepId"); - m_statusHasBeenSet = true; + m_stepIdHasBeenSet = true; } - if(jsonValue.ValueExists("stepId")) + if(jsonValue.ValueExists("status")) { - m_stepId = jsonValue.GetString("stepId"); + m_status = DependencyConsumerResolutionStatusMapper::GetDependencyConsumerResolutionStatusForName(jsonValue.GetString("status")); - m_stepIdHasBeenSet = true; + m_statusHasBeenSet = true; } return *this; @@ -54,17 +54,17 @@ JsonValue StepConsumer::Jsonize() const { JsonValue payload; - if(m_statusHasBeenSet) - { - payload.WithString("status", DependencyConsumerResolutionStatusMapper::GetNameForDependencyConsumerResolutionStatus(m_status)); - } - if(m_stepIdHasBeenSet) { payload.WithString("stepId", m_stepId); } + if(m_statusHasBeenSet) + { + payload.WithString("status", DependencyConsumerResolutionStatusMapper::GetNameForDependencyConsumerResolutionStatus(m_status)); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepDependency.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepDependency.cpp index 81676a93cd6..363f342baa3 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/StepDependency.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepDependency.cpp @@ -19,9 +19,9 @@ namespace Model { StepDependency::StepDependency() : + m_stepIdHasBeenSet(false), m_status(DependencyConsumerResolutionStatus::NOT_SET), - m_statusHasBeenSet(false), - m_stepIdHasBeenSet(false) + m_statusHasBeenSet(false) { } @@ -33,18 +33,18 @@ StepDependency::StepDependency(JsonView jsonValue) StepDependency& StepDependency::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("stepId")) { - m_status = DependencyConsumerResolutionStatusMapper::GetDependencyConsumerResolutionStatusForName(jsonValue.GetString("status")); + m_stepId = jsonValue.GetString("stepId"); - m_statusHasBeenSet = true; + m_stepIdHasBeenSet = true; } - if(jsonValue.ValueExists("stepId")) + if(jsonValue.ValueExists("status")) { - m_stepId = jsonValue.GetString("stepId"); + m_status = DependencyConsumerResolutionStatusMapper::GetDependencyConsumerResolutionStatusForName(jsonValue.GetString("status")); - m_stepIdHasBeenSet = true; + m_statusHasBeenSet = true; } return *this; @@ -54,17 +54,17 @@ JsonValue StepDependency::Jsonize() const { JsonValue payload; - if(m_statusHasBeenSet) - { - payload.WithString("status", DependencyConsumerResolutionStatusMapper::GetNameForDependencyConsumerResolutionStatus(m_status)); - } - if(m_stepIdHasBeenSet) { payload.WithString("stepId", m_stepId); } + if(m_statusHasBeenSet) + { + payload.WithString("status", DependencyConsumerResolutionStatusMapper::GetNameForDependencyConsumerResolutionStatus(m_status)); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsEntity.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsEntity.cpp index f740ee7141f..f25aee3ecac 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsEntity.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsEntity.cpp @@ -19,11 +19,11 @@ namespace Model { StepDetailsEntity::StepDetailsEntity() : - m_dependenciesHasBeenSet(false), m_jobIdHasBeenSet(false), - m_schemaVersionHasBeenSet(false), m_stepIdHasBeenSet(false), - m_templateHasBeenSet(false) + m_schemaVersionHasBeenSet(false), + m_templateHasBeenSet(false), + m_dependenciesHasBeenSet(false) { } @@ -35,16 +35,6 @@ StepDetailsEntity::StepDetailsEntity(JsonView 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"); @@ -52,18 +42,18 @@ StepDetailsEntity& StepDetailsEntity::operator =(JsonView jsonValue) m_jobIdHasBeenSet = true; } - if(jsonValue.ValueExists("schemaVersion")) + if(jsonValue.ValueExists("stepId")) { - m_schemaVersion = jsonValue.GetString("schemaVersion"); + m_stepId = jsonValue.GetString("stepId"); - m_schemaVersionHasBeenSet = true; + m_stepIdHasBeenSet = true; } - if(jsonValue.ValueExists("stepId")) + if(jsonValue.ValueExists("schemaVersion")) { - m_stepId = jsonValue.GetString("stepId"); + m_schemaVersion = jsonValue.GetString("schemaVersion"); - m_stepIdHasBeenSet = true; + m_schemaVersionHasBeenSet = true; } if(jsonValue.ValueExists("template")) @@ -73,6 +63,16 @@ StepDetailsEntity& StepDetailsEntity::operator =(JsonView jsonValue) m_templateHasBeenSet = true; } + 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; + } + return *this; } @@ -80,32 +80,21 @@ 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) + if(m_stepIdHasBeenSet) { - payload.WithString("schemaVersion", m_schemaVersion); + payload.WithString("stepId", m_stepId); } - if(m_stepIdHasBeenSet) + if(m_schemaVersionHasBeenSet) { - payload.WithString("stepId", m_stepId); + payload.WithString("schemaVersion", m_schemaVersion); } @@ -117,6 +106,17 @@ JsonValue StepDetailsEntity::Jsonize() const } } + 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)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsError.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsError.cpp index 642e13e1427..80e18b2309b 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsError.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepDetailsError.cpp @@ -19,11 +19,11 @@ namespace Model { StepDetailsError::StepDetailsError() : + m_jobIdHasBeenSet(false), + m_stepIdHasBeenSet(false), m_code(JobEntityErrorCode::NOT_SET), m_codeHasBeenSet(false), - m_jobIdHasBeenSet(false), - m_messageHasBeenSet(false), - m_stepIdHasBeenSet(false) + m_messageHasBeenSet(false) { } @@ -35,32 +35,32 @@ StepDetailsError::StepDetailsError(JsonView jsonValue) StepDetailsError& StepDetailsError::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("code")) + if(jsonValue.ValueExists("jobId")) { - m_code = JobEntityErrorCodeMapper::GetJobEntityErrorCodeForName(jsonValue.GetString("code")); + m_jobId = jsonValue.GetString("jobId"); - m_codeHasBeenSet = true; + m_jobIdHasBeenSet = true; } - if(jsonValue.ValueExists("jobId")) + if(jsonValue.ValueExists("stepId")) { - m_jobId = jsonValue.GetString("jobId"); + m_stepId = jsonValue.GetString("stepId"); - m_jobIdHasBeenSet = true; + m_stepIdHasBeenSet = true; } - if(jsonValue.ValueExists("message")) + if(jsonValue.ValueExists("code")) { - m_message = jsonValue.GetString("message"); + m_code = JobEntityErrorCodeMapper::GetJobEntityErrorCodeForName(jsonValue.GetString("code")); - m_messageHasBeenSet = true; + m_codeHasBeenSet = true; } - if(jsonValue.ValueExists("stepId")) + if(jsonValue.ValueExists("message")) { - m_stepId = jsonValue.GetString("stepId"); + m_message = jsonValue.GetString("message"); - m_stepIdHasBeenSet = true; + m_messageHasBeenSet = true; } return *this; @@ -70,26 +70,26 @@ 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) + if(m_stepIdHasBeenSet) { - payload.WithString("message", m_message); + payload.WithString("stepId", m_stepId); } - if(m_stepIdHasBeenSet) + if(m_codeHasBeenSet) { - payload.WithString("stepId", m_stepId); + payload.WithString("code", JobEntityErrorCodeMapper::GetNameForJobEntityErrorCode(m_code)); + } + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepRequiredCapabilities.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepRequiredCapabilities.cpp index e7a3723fd1b..c96dd68224c 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/StepRequiredCapabilities.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepRequiredCapabilities.cpp @@ -19,8 +19,8 @@ namespace Model { StepRequiredCapabilities::StepRequiredCapabilities() : - m_amountsHasBeenSet(false), - m_attributesHasBeenSet(false) + m_attributesHasBeenSet(false), + m_amountsHasBeenSet(false) { } @@ -32,16 +32,6 @@ StepRequiredCapabilities::StepRequiredCapabilities(JsonView 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"); @@ -52,6 +42,16 @@ StepRequiredCapabilities& StepRequiredCapabilities::operator =(JsonView jsonValu m_attributesHasBeenSet = true; } + 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; + } + return *this; } @@ -59,25 +59,25 @@ JsonValue StepRequiredCapabilities::Jsonize() const { JsonValue payload; - if(m_amountsHasBeenSet) + if(m_attributesHasBeenSet) { - Aws::Utils::Array amountsJsonList(m_amounts.size()); - for(unsigned amountsIndex = 0; amountsIndex < amountsJsonList.GetLength(); ++amountsIndex) + Aws::Utils::Array attributesJsonList(m_attributes.size()); + for(unsigned attributesIndex = 0; attributesIndex < attributesJsonList.GetLength(); ++attributesIndex) { - amountsJsonList[amountsIndex].AsObject(m_amounts[amountsIndex].Jsonize()); + attributesJsonList[attributesIndex].AsObject(m_attributes[attributesIndex].Jsonize()); } - payload.WithArray("amounts", std::move(amountsJsonList)); + payload.WithArray("attributes", std::move(attributesJsonList)); } - if(m_attributesHasBeenSet) + if(m_amountsHasBeenSet) { - Aws::Utils::Array attributesJsonList(m_attributes.size()); - for(unsigned attributesIndex = 0; attributesIndex < attributesJsonList.GetLength(); ++attributesIndex) + Aws::Utils::Array amountsJsonList(m_amounts.size()); + for(unsigned amountsIndex = 0; amountsIndex < amountsJsonList.GetLength(); ++amountsIndex) { - attributesJsonList[attributesIndex].AsObject(m_attributes[attributesIndex].Jsonize()); + amountsJsonList[amountsIndex].AsObject(m_amounts[amountsIndex].Jsonize()); } - payload.WithArray("attributes", std::move(attributesJsonList)); + payload.WithArray("amounts", std::move(amountsJsonList)); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepSearchSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepSearchSummary.cpp index d7a02597a53..7d329af8ee5 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/StepSearchSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepSearchSummary.cpp @@ -19,22 +19,22 @@ namespace Model { StepSearchSummary::StepSearchSummary() : - m_createdAtHasBeenSet(false), - m_endedAtHasBeenSet(false), + m_stepIdHasBeenSet(false), m_jobIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_nameHasBeenSet(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) + m_targetTaskRunStatus(StepTargetTaskRunStatus::NOT_SET), + m_targetTaskRunStatusHasBeenSet(false), + m_taskRunStatusCountsHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_endedAtHasBeenSet(false), + m_parameterSpaceHasBeenSet(false) { } @@ -46,25 +46,32 @@ StepSearchSummary::StepSearchSummary(JsonView jsonValue) StepSearchSummary& StepSearchSummary::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("stepId")) { - m_createdAt = jsonValue.GetString("createdAt"); + m_stepId = jsonValue.GetString("stepId"); - m_createdAtHasBeenSet = true; + m_stepIdHasBeenSet = true; } - if(jsonValue.ValueExists("endedAt")) + if(jsonValue.ValueExists("jobId")) { - m_endedAt = jsonValue.GetString("endedAt"); + m_jobId = jsonValue.GetString("jobId"); - m_endedAtHasBeenSet = true; + m_jobIdHasBeenSet = true; } - if(jsonValue.ValueExists("jobId")) + if(jsonValue.ValueExists("queueId")) { - m_jobId = jsonValue.GetString("jobId"); + m_queueId = jsonValue.GetString("queueId"); - m_jobIdHasBeenSet = true; + m_queueIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; } if(jsonValue.ValueExists("lifecycleStatus")) @@ -81,63 +88,56 @@ StepSearchSummary& StepSearchSummary::operator =(JsonView jsonValue) m_lifecycleStatusMessageHasBeenSet = true; } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("taskRunStatus")) { - m_name = jsonValue.GetString("name"); + m_taskRunStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("taskRunStatus")); - m_nameHasBeenSet = true; + m_taskRunStatusHasBeenSet = true; } - if(jsonValue.ValueExists("parameterSpace")) + if(jsonValue.ValueExists("targetTaskRunStatus")) { - m_parameterSpace = jsonValue.GetObject("parameterSpace"); + m_targetTaskRunStatus = StepTargetTaskRunStatusMapper::GetStepTargetTaskRunStatusForName(jsonValue.GetString("targetTaskRunStatus")); - m_parameterSpaceHasBeenSet = true; + m_targetTaskRunStatusHasBeenSet = true; } - if(jsonValue.ValueExists("queueId")) + if(jsonValue.ValueExists("taskRunStatusCounts")) { - m_queueId = jsonValue.GetString("queueId"); - - m_queueIdHasBeenSet = true; + 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("startedAt")) + if(jsonValue.ValueExists("createdAt")) { - m_startedAt = jsonValue.GetString("startedAt"); + m_createdAt = jsonValue.GetString("createdAt"); - m_startedAtHasBeenSet = true; + m_createdAtHasBeenSet = true; } - if(jsonValue.ValueExists("stepId")) + if(jsonValue.ValueExists("startedAt")) { - m_stepId = jsonValue.GetString("stepId"); + m_startedAt = jsonValue.GetString("startedAt"); - m_stepIdHasBeenSet = true; + m_startedAtHasBeenSet = true; } - if(jsonValue.ValueExists("targetTaskRunStatus")) + if(jsonValue.ValueExists("endedAt")) { - m_targetTaskRunStatus = StepTargetTaskRunStatusMapper::GetStepTargetTaskRunStatusForName(jsonValue.GetString("targetTaskRunStatus")); + m_endedAt = jsonValue.GetString("endedAt"); - m_targetTaskRunStatusHasBeenSet = true; + m_endedAtHasBeenSet = true; } - if(jsonValue.ValueExists("taskRunStatus")) + if(jsonValue.ValueExists("parameterSpace")) { - m_taskRunStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("taskRunStatus")); - - m_taskRunStatusHasBeenSet = true; - } + m_parameterSpace = jsonValue.GetObject("parameterSpace"); - 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; + m_parameterSpaceHasBeenSet = true; } return *this; @@ -147,14 +147,10 @@ JsonValue StepSearchSummary::Jsonize() const { JsonValue payload; - if(m_createdAtHasBeenSet) + if(m_stepIdHasBeenSet) { - payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } + payload.WithString("stepId", m_stepId); - if(m_endedAtHasBeenSet) - { - payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } if(m_jobIdHasBeenSet) @@ -163,14 +159,9 @@ JsonValue StepSearchSummary::Jsonize() const } - if(m_lifecycleStatusHasBeenSet) - { - payload.WithString("lifecycleStatus", StepLifecycleStatusMapper::GetNameForStepLifecycleStatus(m_lifecycleStatus)); - } - - if(m_lifecycleStatusMessageHasBeenSet) + if(m_queueIdHasBeenSet) { - payload.WithString("lifecycleStatusMessage", m_lifecycleStatusMessage); + payload.WithString("queueId", m_queueId); } @@ -180,27 +171,20 @@ JsonValue StepSearchSummary::Jsonize() const } - if(m_parameterSpaceHasBeenSet) + if(m_lifecycleStatusHasBeenSet) { - payload.WithObject("parameterSpace", m_parameterSpace.Jsonize()); - + payload.WithString("lifecycleStatus", StepLifecycleStatusMapper::GetNameForStepLifecycleStatus(m_lifecycleStatus)); } - if(m_queueIdHasBeenSet) + if(m_lifecycleStatusMessageHasBeenSet) { - payload.WithString("queueId", m_queueId); - - } + payload.WithString("lifecycleStatusMessage", m_lifecycleStatusMessage); - if(m_startedAtHasBeenSet) - { - payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_stepIdHasBeenSet) + if(m_taskRunStatusHasBeenSet) { - payload.WithString("stepId", m_stepId); - + payload.WithString("taskRunStatus", TaskRunStatusMapper::GetNameForTaskRunStatus(m_taskRunStatus)); } if(m_targetTaskRunStatusHasBeenSet) @@ -208,11 +192,6 @@ JsonValue StepSearchSummary::Jsonize() const payload.WithString("targetTaskRunStatus", StepTargetTaskRunStatusMapper::GetNameForStepTargetTaskRunStatus(m_targetTaskRunStatus)); } - if(m_taskRunStatusHasBeenSet) - { - payload.WithString("taskRunStatus", TaskRunStatusMapper::GetNameForTaskRunStatus(m_taskRunStatus)); - } - if(m_taskRunStatusCountsHasBeenSet) { JsonValue taskRunStatusCountsJsonMap; @@ -224,6 +203,27 @@ JsonValue StepSearchSummary::Jsonize() const } + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_startedAtHasBeenSet) + { + payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_endedAtHasBeenSet) + { + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_parameterSpaceHasBeenSet) + { + payload.WithObject("parameterSpace", m_parameterSpace.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StepSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StepSummary.cpp index 10ee41375d3..c4c21526b51 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/StepSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StepSummary.cpp @@ -19,23 +19,23 @@ namespace Model { StepSummary::StepSummary() : - m_createdAtHasBeenSet(false), - m_createdByHasBeenSet(false), - m_dependencyCountsHasBeenSet(false), - m_endedAtHasBeenSet(false), + m_stepIdHasBeenSet(false), + m_nameHasBeenSet(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_targetTaskRunStatus(StepTargetTaskRunStatus::NOT_SET), + m_targetTaskRunStatusHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), m_updatedAtHasBeenSet(false), - m_updatedByHasBeenSet(false) + m_updatedByHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_endedAtHasBeenSet(false), + m_dependencyCountsHasBeenSet(false) { } @@ -47,32 +47,18 @@ StepSummary::StepSummary(JsonView 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")) + if(jsonValue.ValueExists("stepId")) { - m_dependencyCounts = jsonValue.GetObject("dependencyCounts"); + m_stepId = jsonValue.GetString("stepId"); - m_dependencyCountsHasBeenSet = true; + m_stepIdHasBeenSet = true; } - if(jsonValue.ValueExists("endedAt")) + if(jsonValue.ValueExists("name")) { - m_endedAt = jsonValue.GetString("endedAt"); + m_name = jsonValue.GetString("name"); - m_endedAtHasBeenSet = true; + m_nameHasBeenSet = true; } if(jsonValue.ValueExists("lifecycleStatus")) @@ -89,25 +75,21 @@ StepSummary& StepSummary::operator =(JsonView jsonValue) m_lifecycleStatusMessageHasBeenSet = true; } - if(jsonValue.ValueExists("name")) - { - m_name = jsonValue.GetString("name"); - - m_nameHasBeenSet = true; - } - - if(jsonValue.ValueExists("startedAt")) + if(jsonValue.ValueExists("taskRunStatus")) { - m_startedAt = jsonValue.GetString("startedAt"); + m_taskRunStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("taskRunStatus")); - m_startedAtHasBeenSet = true; + m_taskRunStatusHasBeenSet = true; } - if(jsonValue.ValueExists("stepId")) + if(jsonValue.ValueExists("taskRunStatusCounts")) { - m_stepId = jsonValue.GetString("stepId"); - - m_stepIdHasBeenSet = true; + 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("targetTaskRunStatus")) @@ -117,21 +99,18 @@ StepSummary& StepSummary::operator =(JsonView jsonValue) m_targetTaskRunStatusHasBeenSet = true; } - if(jsonValue.ValueExists("taskRunStatus")) + if(jsonValue.ValueExists("createdAt")) { - m_taskRunStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("taskRunStatus")); + m_createdAt = jsonValue.GetString("createdAt"); - m_taskRunStatusHasBeenSet = true; + m_createdAtHasBeenSet = true; } - if(jsonValue.ValueExists("taskRunStatusCounts")) + if(jsonValue.ValueExists("createdBy")) { - Aws::Map taskRunStatusCountsJsonMap = jsonValue.GetObject("taskRunStatusCounts").GetAllObjects(); - for(auto& taskRunStatusCountsItem : taskRunStatusCountsJsonMap) - { - m_taskRunStatusCounts[TaskRunStatusMapper::GetTaskRunStatusForName(taskRunStatusCountsItem.first)] = taskRunStatusCountsItem.second.AsInteger(); - } - m_taskRunStatusCountsHasBeenSet = true; + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; } if(jsonValue.ValueExists("updatedAt")) @@ -148,43 +127,37 @@ StepSummary& StepSummary::operator =(JsonView jsonValue) m_updatedByHasBeenSet = true; } - return *this; -} - -JsonValue StepSummary::Jsonize() const -{ - JsonValue payload; - - if(m_createdAtHasBeenSet) + if(jsonValue.ValueExists("startedAt")) { - payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + m_startedAt = jsonValue.GetString("startedAt"); + + m_startedAtHasBeenSet = true; } - if(m_createdByHasBeenSet) + if(jsonValue.ValueExists("endedAt")) { - payload.WithString("createdBy", m_createdBy); + m_endedAt = jsonValue.GetString("endedAt"); + m_endedAtHasBeenSet = true; } - if(m_dependencyCountsHasBeenSet) + if(jsonValue.ValueExists("dependencyCounts")) { - payload.WithObject("dependencyCounts", m_dependencyCounts.Jsonize()); + m_dependencyCounts = jsonValue.GetObject("dependencyCounts"); + m_dependencyCountsHasBeenSet = true; } - if(m_endedAtHasBeenSet) - { - payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } + return *this; +} - if(m_lifecycleStatusHasBeenSet) - { - payload.WithString("lifecycleStatus", StepLifecycleStatusMapper::GetNameForStepLifecycleStatus(m_lifecycleStatus)); - } +JsonValue StepSummary::Jsonize() const +{ + JsonValue payload; - if(m_lifecycleStatusMessageHasBeenSet) + if(m_stepIdHasBeenSet) { - payload.WithString("lifecycleStatusMessage", m_lifecycleStatusMessage); + payload.WithString("stepId", m_stepId); } @@ -194,20 +167,15 @@ JsonValue StepSummary::Jsonize() const } - if(m_startedAtHasBeenSet) + if(m_lifecycleStatusHasBeenSet) { - payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("lifecycleStatus", StepLifecycleStatusMapper::GetNameForStepLifecycleStatus(m_lifecycleStatus)); } - if(m_stepIdHasBeenSet) + if(m_lifecycleStatusMessageHasBeenSet) { - payload.WithString("stepId", m_stepId); - - } + payload.WithString("lifecycleStatusMessage", m_lifecycleStatusMessage); - if(m_targetTaskRunStatusHasBeenSet) - { - payload.WithString("targetTaskRunStatus", StepTargetTaskRunStatusMapper::GetNameForStepTargetTaskRunStatus(m_targetTaskRunStatus)); } if(m_taskRunStatusHasBeenSet) @@ -226,6 +194,22 @@ JsonValue StepSummary::Jsonize() const } + if(m_targetTaskRunStatusHasBeenSet) + { + payload.WithString("targetTaskRunStatus", StepTargetTaskRunStatusMapper::GetNameForStepTargetTaskRunStatus(m_targetTaskRunStatus)); + } + + if(m_createdAtHasBeenSet) + { + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + + } + if(m_updatedAtHasBeenSet) { payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); @@ -237,6 +221,22 @@ JsonValue StepSummary::Jsonize() const } + if(m_startedAtHasBeenSet) + { + payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_endedAtHasBeenSet) + { + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_dependencyCountsHasBeenSet) + { + payload.WithObject("dependencyCounts", m_dependencyCounts.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/StorageProfileSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/StorageProfileSummary.cpp index b61f14f6bc7..df0ed73564c 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/StorageProfileSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/StorageProfileSummary.cpp @@ -19,10 +19,10 @@ namespace Model { StorageProfileSummary::StorageProfileSummary() : + m_storageProfileIdHasBeenSet(false), m_displayNameHasBeenSet(false), m_osFamily(StorageProfileOperatingSystemFamily::NOT_SET), - m_osFamilyHasBeenSet(false), - m_storageProfileIdHasBeenSet(false) + m_osFamilyHasBeenSet(false) { } @@ -34,6 +34,13 @@ StorageProfileSummary::StorageProfileSummary(JsonView jsonValue) StorageProfileSummary& StorageProfileSummary::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("storageProfileId")) + { + m_storageProfileId = jsonValue.GetString("storageProfileId"); + + m_storageProfileIdHasBeenSet = true; + } + if(jsonValue.ValueExists("displayName")) { m_displayName = jsonValue.GetString("displayName"); @@ -48,13 +55,6 @@ StorageProfileSummary& StorageProfileSummary::operator =(JsonView jsonValue) m_osFamilyHasBeenSet = true; } - if(jsonValue.ValueExists("storageProfileId")) - { - m_storageProfileId = jsonValue.GetString("storageProfileId"); - - m_storageProfileIdHasBeenSet = true; - } - return *this; } @@ -62,6 +62,12 @@ JsonValue StorageProfileSummary::Jsonize() const { JsonValue payload; + if(m_storageProfileIdHasBeenSet) + { + payload.WithString("storageProfileId", m_storageProfileId); + + } + if(m_displayNameHasBeenSet) { payload.WithString("displayName", m_displayName); @@ -73,12 +79,6 @@ JsonValue StorageProfileSummary::Jsonize() const payload.WithString("osFamily", StorageProfileOperatingSystemFamilyMapper::GetNameForStorageProfileOperatingSystemFamily(m_osFamily)); } - if(m_storageProfileIdHasBeenSet) - { - payload.WithString("storageProfileId", m_storageProfileId); - - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/TaskParameterValue.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/TaskParameterValue.cpp index 8e70501c57b..3054eec3f9a 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/TaskParameterValue.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/TaskParameterValue.cpp @@ -19,10 +19,10 @@ namespace Model { TaskParameterValue::TaskParameterValue() : - m_floatHasBeenSet(false), m_intHasBeenSet(false), - m_pathHasBeenSet(false), - m_stringHasBeenSet(false) + m_floatHasBeenSet(false), + m_stringHasBeenSet(false), + m_pathHasBeenSet(false) { } @@ -34,13 +34,6 @@ TaskParameterValue::TaskParameterValue(JsonView 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"); @@ -48,11 +41,11 @@ TaskParameterValue& TaskParameterValue::operator =(JsonView jsonValue) m_intHasBeenSet = true; } - if(jsonValue.ValueExists("path")) + if(jsonValue.ValueExists("float")) { - m_path = jsonValue.GetString("path"); + m_float = jsonValue.GetString("float"); - m_pathHasBeenSet = true; + m_floatHasBeenSet = true; } if(jsonValue.ValueExists("string")) @@ -62,6 +55,13 @@ TaskParameterValue& TaskParameterValue::operator =(JsonView jsonValue) m_stringHasBeenSet = true; } + if(jsonValue.ValueExists("path")) + { + m_path = jsonValue.GetString("path"); + + m_pathHasBeenSet = true; + } + return *this; } @@ -69,21 +69,15 @@ 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) + if(m_floatHasBeenSet) { - payload.WithString("path", m_path); + payload.WithString("float", m_float); } @@ -93,6 +87,12 @@ JsonValue TaskParameterValue::Jsonize() const } + if(m_pathHasBeenSet) + { + payload.WithString("path", m_path); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/TaskRunSessionActionDefinition.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/TaskRunSessionActionDefinition.cpp index 85edaf1d13a..95a3a84097e 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/TaskRunSessionActionDefinition.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/TaskRunSessionActionDefinition.cpp @@ -19,9 +19,9 @@ namespace Model { TaskRunSessionActionDefinition::TaskRunSessionActionDefinition() : - m_parametersHasBeenSet(false), + m_taskIdHasBeenSet(false), m_stepIdHasBeenSet(false), - m_taskIdHasBeenSet(false) + m_parametersHasBeenSet(false) { } @@ -33,14 +33,11 @@ TaskRunSessionActionDefinition::TaskRunSessionActionDefinition(JsonView jsonValu TaskRunSessionActionDefinition& TaskRunSessionActionDefinition::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("parameters")) + if(jsonValue.ValueExists("taskId")) { - Aws::Map parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); - for(auto& parametersItem : parametersJsonMap) - { - m_parameters[parametersItem.first] = parametersItem.second.AsObject(); - } - m_parametersHasBeenSet = true; + m_taskId = jsonValue.GetString("taskId"); + + m_taskIdHasBeenSet = true; } if(jsonValue.ValueExists("stepId")) @@ -50,11 +47,14 @@ TaskRunSessionActionDefinition& TaskRunSessionActionDefinition::operator =(JsonV m_stepIdHasBeenSet = true; } - if(jsonValue.ValueExists("taskId")) + if(jsonValue.ValueExists("parameters")) { - m_taskId = jsonValue.GetString("taskId"); - - m_taskIdHasBeenSet = true; + Aws::Map parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); + for(auto& parametersItem : parametersJsonMap) + { + m_parameters[parametersItem.first] = parametersItem.second.AsObject(); + } + m_parametersHasBeenSet = true; } return *this; @@ -64,14 +64,9 @@ JsonValue TaskRunSessionActionDefinition::Jsonize() const { JsonValue payload; - if(m_parametersHasBeenSet) + if(m_taskIdHasBeenSet) { - JsonValue parametersJsonMap; - for(auto& parametersItem : m_parameters) - { - parametersJsonMap.WithObject(parametersItem.first, parametersItem.second.Jsonize()); - } - payload.WithObject("parameters", std::move(parametersJsonMap)); + payload.WithString("taskId", m_taskId); } @@ -81,9 +76,14 @@ JsonValue TaskRunSessionActionDefinition::Jsonize() const } - if(m_taskIdHasBeenSet) + if(m_parametersHasBeenSet) { - payload.WithString("taskId", m_taskId); + JsonValue parametersJsonMap; + for(auto& parametersItem : m_parameters) + { + parametersJsonMap.WithObject(parametersItem.first, parametersItem.second.Jsonize()); + } + payload.WithObject("parameters", std::move(parametersJsonMap)); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/TaskRunSessionActionDefinitionSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/TaskRunSessionActionDefinitionSummary.cpp index 7acc242c205..a9ee8c6b4b3 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/TaskRunSessionActionDefinitionSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/TaskRunSessionActionDefinitionSummary.cpp @@ -19,8 +19,8 @@ namespace Model { TaskRunSessionActionDefinitionSummary::TaskRunSessionActionDefinitionSummary() : - m_stepIdHasBeenSet(false), - m_taskIdHasBeenSet(false) + m_taskIdHasBeenSet(false), + m_stepIdHasBeenSet(false) { } @@ -32,18 +32,18 @@ TaskRunSessionActionDefinitionSummary::TaskRunSessionActionDefinitionSummary(Jso TaskRunSessionActionDefinitionSummary& TaskRunSessionActionDefinitionSummary::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("stepId")) + if(jsonValue.ValueExists("taskId")) { - m_stepId = jsonValue.GetString("stepId"); + m_taskId = jsonValue.GetString("taskId"); - m_stepIdHasBeenSet = true; + m_taskIdHasBeenSet = true; } - if(jsonValue.ValueExists("taskId")) + if(jsonValue.ValueExists("stepId")) { - m_taskId = jsonValue.GetString("taskId"); + m_stepId = jsonValue.GetString("stepId"); - m_taskIdHasBeenSet = true; + m_stepIdHasBeenSet = true; } return *this; @@ -53,15 +53,15 @@ JsonValue TaskRunSessionActionDefinitionSummary::Jsonize() const { JsonValue payload; - if(m_stepIdHasBeenSet) + if(m_taskIdHasBeenSet) { - payload.WithString("stepId", m_stepId); + payload.WithString("taskId", m_taskId); } - if(m_taskIdHasBeenSet) + if(m_stepIdHasBeenSet) { - payload.WithString("taskId", m_taskId); + payload.WithString("stepId", m_stepId); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/TaskSearchSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/TaskSearchSummary.cpp index a66f5d05564..df179099977 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/TaskSearchSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/TaskSearchSummary.cpp @@ -19,19 +19,19 @@ namespace Model { TaskSearchSummary::TaskSearchSummary() : - m_endedAtHasBeenSet(false), - m_failureRetryCount(0), - m_failureRetryCountHasBeenSet(false), + m_taskIdHasBeenSet(false), + m_stepIdHasBeenSet(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) + m_parametersHasBeenSet(false), + m_failureRetryCount(0), + m_failureRetryCountHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_endedAtHasBeenSet(false) { } @@ -43,18 +43,18 @@ TaskSearchSummary::TaskSearchSummary(JsonView jsonValue) TaskSearchSummary& TaskSearchSummary::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("endedAt")) + if(jsonValue.ValueExists("taskId")) { - m_endedAt = jsonValue.GetString("endedAt"); + m_taskId = jsonValue.GetString("taskId"); - m_endedAtHasBeenSet = true; + m_taskIdHasBeenSet = true; } - if(jsonValue.ValueExists("failureRetryCount")) + if(jsonValue.ValueExists("stepId")) { - m_failureRetryCount = jsonValue.GetInteger("failureRetryCount"); + m_stepId = jsonValue.GetString("stepId"); - m_failureRetryCountHasBeenSet = true; + m_stepIdHasBeenSet = true; } if(jsonValue.ValueExists("jobId")) @@ -64,16 +64,6 @@ TaskSearchSummary& TaskSearchSummary::operator =(JsonView jsonValue) 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"); @@ -88,32 +78,42 @@ TaskSearchSummary& TaskSearchSummary::operator =(JsonView jsonValue) m_runStatusHasBeenSet = true; } - if(jsonValue.ValueExists("startedAt")) + if(jsonValue.ValueExists("targetRunStatus")) { - m_startedAt = jsonValue.GetString("startedAt"); + m_targetRunStatus = TaskTargetRunStatusMapper::GetTaskTargetRunStatusForName(jsonValue.GetString("targetRunStatus")); - m_startedAtHasBeenSet = true; + m_targetRunStatusHasBeenSet = true; } - if(jsonValue.ValueExists("stepId")) + if(jsonValue.ValueExists("parameters")) { - m_stepId = jsonValue.GetString("stepId"); + Aws::Map parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); + for(auto& parametersItem : parametersJsonMap) + { + m_parameters[parametersItem.first] = parametersItem.second.AsObject(); + } + m_parametersHasBeenSet = true; + } - m_stepIdHasBeenSet = true; + if(jsonValue.ValueExists("failureRetryCount")) + { + m_failureRetryCount = jsonValue.GetInteger("failureRetryCount"); + + m_failureRetryCountHasBeenSet = true; } - if(jsonValue.ValueExists("targetRunStatus")) + if(jsonValue.ValueExists("startedAt")) { - m_targetRunStatus = TaskTargetRunStatusMapper::GetTaskTargetRunStatusForName(jsonValue.GetString("targetRunStatus")); + m_startedAt = jsonValue.GetString("startedAt"); - m_targetRunStatusHasBeenSet = true; + m_startedAtHasBeenSet = true; } - if(jsonValue.ValueExists("taskId")) + if(jsonValue.ValueExists("endedAt")) { - m_taskId = jsonValue.GetString("taskId"); + m_endedAt = jsonValue.GetString("endedAt"); - m_taskIdHasBeenSet = true; + m_endedAtHasBeenSet = true; } return *this; @@ -123,14 +123,15 @@ JsonValue TaskSearchSummary::Jsonize() const { JsonValue payload; - if(m_endedAtHasBeenSet) + if(m_taskIdHasBeenSet) { - payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("taskId", m_taskId); + } - if(m_failureRetryCountHasBeenSet) + if(m_stepIdHasBeenSet) { - payload.WithInteger("failureRetryCount", m_failureRetryCount); + payload.WithString("stepId", m_stepId); } @@ -140,17 +141,6 @@ JsonValue TaskSearchSummary::Jsonize() const } - 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); @@ -162,26 +152,36 @@ JsonValue TaskSearchSummary::Jsonize() const payload.WithString("runStatus", TaskRunStatusMapper::GetNameForTaskRunStatus(m_runStatus)); } - if(m_startedAtHasBeenSet) + if(m_targetRunStatusHasBeenSet) { - payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("targetRunStatus", TaskTargetRunStatusMapper::GetNameForTaskTargetRunStatus(m_targetRunStatus)); } - if(m_stepIdHasBeenSet) + if(m_parametersHasBeenSet) { - payload.WithString("stepId", m_stepId); + JsonValue parametersJsonMap; + for(auto& parametersItem : m_parameters) + { + parametersJsonMap.WithObject(parametersItem.first, parametersItem.second.Jsonize()); + } + payload.WithObject("parameters", std::move(parametersJsonMap)); } - if(m_targetRunStatusHasBeenSet) + if(m_failureRetryCountHasBeenSet) { - payload.WithString("targetRunStatus", TaskTargetRunStatusMapper::GetNameForTaskTargetRunStatus(m_targetRunStatus)); + payload.WithInteger("failureRetryCount", m_failureRetryCount); + } - if(m_taskIdHasBeenSet) + if(m_startedAtHasBeenSet) { - payload.WithString("taskId", m_taskId); + payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + if(m_endedAtHasBeenSet) + { + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } return payload; diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/TaskSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/TaskSummary.cpp index 0d7dd9ebd72..fc818287cdb 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/TaskSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/TaskSummary.cpp @@ -19,21 +19,21 @@ namespace Model { TaskSummary::TaskSummary() : + m_taskIdHasBeenSet(false), 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_failureRetryCount(0), + m_failureRetryCountHasBeenSet(false), + m_parametersHasBeenSet(false), + m_startedAtHasBeenSet(false), + m_endedAtHasBeenSet(false), m_updatedAtHasBeenSet(false), - m_updatedByHasBeenSet(false) + m_updatedByHasBeenSet(false), + m_latestSessionActionIdHasBeenSet(false) { } @@ -45,6 +45,13 @@ TaskSummary::TaskSummary(JsonView jsonValue) TaskSummary& TaskSummary::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("taskId")) + { + m_taskId = jsonValue.GetString("taskId"); + + m_taskIdHasBeenSet = true; + } + if(jsonValue.ValueExists("createdAt")) { m_createdAt = jsonValue.GetString("createdAt"); @@ -59,25 +66,25 @@ TaskSummary& TaskSummary::operator =(JsonView jsonValue) m_createdByHasBeenSet = true; } - if(jsonValue.ValueExists("endedAt")) + if(jsonValue.ValueExists("runStatus")) { - m_endedAt = jsonValue.GetString("endedAt"); + m_runStatus = TaskRunStatusMapper::GetTaskRunStatusForName(jsonValue.GetString("runStatus")); - m_endedAtHasBeenSet = true; + m_runStatusHasBeenSet = true; } - if(jsonValue.ValueExists("failureRetryCount")) + if(jsonValue.ValueExists("targetRunStatus")) { - m_failureRetryCount = jsonValue.GetInteger("failureRetryCount"); + m_targetRunStatus = TaskTargetRunStatusMapper::GetTaskTargetRunStatusForName(jsonValue.GetString("targetRunStatus")); - m_failureRetryCountHasBeenSet = true; + m_targetRunStatusHasBeenSet = true; } - if(jsonValue.ValueExists("latestSessionActionId")) + if(jsonValue.ValueExists("failureRetryCount")) { - m_latestSessionActionId = jsonValue.GetString("latestSessionActionId"); + m_failureRetryCount = jsonValue.GetInteger("failureRetryCount"); - m_latestSessionActionIdHasBeenSet = true; + m_failureRetryCountHasBeenSet = true; } if(jsonValue.ValueExists("parameters")) @@ -90,13 +97,6 @@ TaskSummary& TaskSummary::operator =(JsonView jsonValue) 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"); @@ -104,18 +104,11 @@ TaskSummary& TaskSummary::operator =(JsonView jsonValue) m_startedAtHasBeenSet = true; } - if(jsonValue.ValueExists("targetRunStatus")) - { - m_targetRunStatus = TaskTargetRunStatusMapper::GetTaskTargetRunStatusForName(jsonValue.GetString("targetRunStatus")); - - m_targetRunStatusHasBeenSet = true; - } - - if(jsonValue.ValueExists("taskId")) + if(jsonValue.ValueExists("endedAt")) { - m_taskId = jsonValue.GetString("taskId"); + m_endedAt = jsonValue.GetString("endedAt"); - m_taskIdHasBeenSet = true; + m_endedAtHasBeenSet = true; } if(jsonValue.ValueExists("updatedAt")) @@ -132,6 +125,13 @@ TaskSummary& TaskSummary::operator =(JsonView jsonValue) m_updatedByHasBeenSet = true; } + if(jsonValue.ValueExists("latestSessionActionId")) + { + m_latestSessionActionId = jsonValue.GetString("latestSessionActionId"); + + m_latestSessionActionIdHasBeenSet = true; + } + return *this; } @@ -139,6 +139,12 @@ JsonValue TaskSummary::Jsonize() const { JsonValue payload; + if(m_taskIdHasBeenSet) + { + payload.WithString("taskId", m_taskId); + + } + if(m_createdAtHasBeenSet) { payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); @@ -150,20 +156,19 @@ JsonValue TaskSummary::Jsonize() const } - if(m_endedAtHasBeenSet) + if(m_runStatusHasBeenSet) { - payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("runStatus", TaskRunStatusMapper::GetNameForTaskRunStatus(m_runStatus)); } - if(m_failureRetryCountHasBeenSet) + if(m_targetRunStatusHasBeenSet) { - payload.WithInteger("failureRetryCount", m_failureRetryCount); - + payload.WithString("targetRunStatus", TaskTargetRunStatusMapper::GetNameForTaskTargetRunStatus(m_targetRunStatus)); } - if(m_latestSessionActionIdHasBeenSet) + if(m_failureRetryCountHasBeenSet) { - payload.WithString("latestSessionActionId", m_latestSessionActionId); + payload.WithInteger("failureRetryCount", m_failureRetryCount); } @@ -178,25 +183,14 @@ JsonValue TaskSummary::Jsonize() const } - 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) + if(m_endedAtHasBeenSet) { - payload.WithString("taskId", m_taskId); - + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } if(m_updatedAtHasBeenSet) @@ -210,6 +204,12 @@ JsonValue TaskSummary::Jsonize() const } + if(m_latestSessionActionIdHasBeenSet) + { + payload.WithString("latestSessionActionId", m_latestSessionActionId); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ThrottlingException.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ThrottlingException.cpp index 74ee706c916..00236902b83 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ThrottlingException.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ThrottlingException.cpp @@ -20,12 +20,12 @@ namespace Model { ThrottlingException::ThrottlingException() : - m_contextHasBeenSet(false), m_messageHasBeenSet(false), + m_serviceCodeHasBeenSet(false), m_quotaCodeHasBeenSet(false), m_retryAfterSeconds(0), m_retryAfterSecondsHasBeenSet(false), - m_serviceCodeHasBeenSet(false) + m_contextHasBeenSet(false) { } @@ -37,16 +37,6 @@ ThrottlingException::ThrottlingException(JsonView 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"); @@ -54,6 +44,13 @@ ThrottlingException& ThrottlingException::operator =(JsonView jsonValue) m_messageHasBeenSet = true; } + if(jsonValue.ValueExists("serviceCode")) + { + m_serviceCode = jsonValue.GetString("serviceCode"); + + m_serviceCodeHasBeenSet = true; + } + if(jsonValue.ValueExists("quotaCode")) { m_quotaCode = jsonValue.GetString("quotaCode"); @@ -61,11 +58,14 @@ ThrottlingException& ThrottlingException::operator =(JsonView jsonValue) m_quotaCodeHasBeenSet = true; } - if(jsonValue.ValueExists("serviceCode")) + if(jsonValue.ValueExists("context")) { - m_serviceCode = jsonValue.GetString("serviceCode"); - - m_serviceCodeHasBeenSet = true; + Aws::Map contextJsonMap = jsonValue.GetObject("context").GetAllObjects(); + for(auto& contextItem : contextJsonMap) + { + m_context[contextItem.first] = contextItem.second.AsString(); + } + m_contextHasBeenSet = true; } return *this; @@ -75,20 +75,15 @@ JsonValue ThrottlingException::Jsonize() const { JsonValue payload; - if(m_contextHasBeenSet) + if(m_messageHasBeenSet) { - JsonValue contextJsonMap; - for(auto& contextItem : m_context) - { - contextJsonMap.WithString(contextItem.first, contextItem.second); - } - payload.WithObject("context", std::move(contextJsonMap)); + payload.WithString("message", m_message); } - if(m_messageHasBeenSet) + if(m_serviceCodeHasBeenSet) { - payload.WithString("message", m_message); + payload.WithString("serviceCode", m_serviceCode); } @@ -98,9 +93,14 @@ JsonValue ThrottlingException::Jsonize() const } - if(m_serviceCodeHasBeenSet) + if(m_contextHasBeenSet) { - payload.WithString("serviceCode", m_serviceCode); + JsonValue contextJsonMap; + for(auto& contextItem : m_context) + { + contextJsonMap.WithString(contextItem.first, contextItem.second); + } + payload.WithObject("context", std::move(contextJsonMap)); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateBudgetRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateBudgetRequest.cpp index 445a3dcc80e..bec4c90767d 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateBudgetRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateBudgetRequest.cpp @@ -14,19 +14,19 @@ 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_budgetIdHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_descriptionHasBeenSet(false), m_status(BudgetStatus::NOT_SET), - m_statusHasBeenSet(false) + m_statusHasBeenSet(false), + m_approximateDollarLimit(0.0), + m_approximateDollarLimitHasBeenSet(false), + m_actionsToAddHasBeenSet(false), + m_actionsToRemoveHasBeenSet(false), + m_scheduleHasBeenSet(false) { } @@ -34,26 +34,21 @@ Aws::String UpdateBudgetRequest::SerializePayload() const { JsonValue payload; - if(m_actionsToAddHasBeenSet) + if(m_displayNameHasBeenSet) { - 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)); + payload.WithString("displayName", m_displayName); } - if(m_actionsToRemoveHasBeenSet) + if(m_descriptionHasBeenSet) { - 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)); + payload.WithString("description", m_description); + + } + if(m_statusHasBeenSet) + { + payload.WithString("status", BudgetStatusMapper::GetNameForBudgetStatus(m_status)); } if(m_approximateDollarLimitHasBeenSet) @@ -62,15 +57,25 @@ Aws::String UpdateBudgetRequest::SerializePayload() const } - if(m_descriptionHasBeenSet) + if(m_actionsToAddHasBeenSet) { - payload.WithString("description", m_description); + 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_displayNameHasBeenSet) + if(m_actionsToRemoveHasBeenSet) { - payload.WithString("displayName", m_displayName); + 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)); } @@ -80,11 +85,6 @@ Aws::String UpdateBudgetRequest::SerializePayload() const } - if(m_statusHasBeenSet) - { - payload.WithString("status", BudgetStatusMapper::GetNameForBudgetStatus(m_status)); - } - return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFarmRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFarmRequest.cpp index bc90e284754..b0fa9d46a8d 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFarmRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFarmRequest.cpp @@ -13,9 +13,9 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateFarmRequest::UpdateFarmRequest() : - m_descriptionHasBeenSet(false), + m_farmIdHasBeenSet(false), m_displayNameHasBeenSet(false), - m_farmIdHasBeenSet(false) + m_descriptionHasBeenSet(false) { } @@ -23,15 +23,15 @@ Aws::String UpdateFarmRequest::SerializePayload() const { JsonValue payload; - if(m_descriptionHasBeenSet) + if(m_displayNameHasBeenSet) { - payload.WithString("description", m_description); + payload.WithString("displayName", m_displayName); } - if(m_displayNameHasBeenSet) + if(m_descriptionHasBeenSet) { - payload.WithString("displayName", m_displayName); + payload.WithString("description", m_description); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFleetRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFleetRequest.cpp index 29afbe2f442..32eae4ac671 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFleetRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateFleetRequest.cpp @@ -16,16 +16,16 @@ 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_displayNameHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_roleArnHasBeenSet(false), m_minWorkerCount(0), m_minWorkerCountHasBeenSet(false), - m_roleArnHasBeenSet(false) + m_maxWorkerCount(0), + m_maxWorkerCountHasBeenSet(false), + m_configurationHasBeenSet(false) { } @@ -33,9 +33,9 @@ Aws::String UpdateFleetRequest::SerializePayload() const { JsonValue payload; - if(m_configurationHasBeenSet) + if(m_displayNameHasBeenSet) { - payload.WithObject("configuration", m_configuration.Jsonize()); + payload.WithString("displayName", m_displayName); } @@ -45,27 +45,27 @@ Aws::String UpdateFleetRequest::SerializePayload() const } - if(m_displayNameHasBeenSet) + if(m_roleArnHasBeenSet) { - payload.WithString("displayName", m_displayName); + payload.WithString("roleArn", m_roleArn); } - if(m_maxWorkerCountHasBeenSet) + if(m_minWorkerCountHasBeenSet) { - payload.WithInteger("maxWorkerCount", m_maxWorkerCount); + payload.WithInteger("minWorkerCount", m_minWorkerCount); } - if(m_minWorkerCountHasBeenSet) + if(m_maxWorkerCountHasBeenSet) { - payload.WithInteger("minWorkerCount", m_minWorkerCount); + payload.WithInteger("maxWorkerCount", m_maxWorkerCount); } - if(m_roleArnHasBeenSet) + if(m_configurationHasBeenSet) { - payload.WithString("roleArn", m_roleArn); + payload.WithObject("configuration", m_configuration.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateJobRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateJobRequest.cpp index b19157485b5..60c555bbea7 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateJobRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateJobRequest.cpp @@ -17,18 +17,18 @@ UpdateJobRequest::UpdateJobRequest() : m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false), m_jobIdHasBeenSet(false), - m_lifecycleStatus(UpdateJobLifecycleStatus::NOT_SET), - m_lifecycleStatusHasBeenSet(false), + m_targetTaskRunStatus(JobTargetTaskRunStatus::NOT_SET), + m_targetTaskRunStatusHasBeenSet(false), + m_priority(0), + m_priorityHasBeenSet(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) + m_lifecycleStatus(UpdateJobLifecycleStatus::NOT_SET), + m_lifecycleStatusHasBeenSet(false) { } @@ -36,32 +36,32 @@ Aws::String UpdateJobRequest::SerializePayload() const { JsonValue payload; - if(m_lifecycleStatusHasBeenSet) + if(m_targetTaskRunStatusHasBeenSet) { - payload.WithString("lifecycleStatus", UpdateJobLifecycleStatusMapper::GetNameForUpdateJobLifecycleStatus(m_lifecycleStatus)); + payload.WithString("targetTaskRunStatus", JobTargetTaskRunStatusMapper::GetNameForJobTargetTaskRunStatus(m_targetTaskRunStatus)); } - if(m_maxFailedTasksCountHasBeenSet) + if(m_priorityHasBeenSet) { - payload.WithInteger("maxFailedTasksCount", m_maxFailedTasksCount); + payload.WithInteger("priority", m_priority); } - if(m_maxRetriesPerTaskHasBeenSet) + if(m_maxFailedTasksCountHasBeenSet) { - payload.WithInteger("maxRetriesPerTask", m_maxRetriesPerTask); + payload.WithInteger("maxFailedTasksCount", m_maxFailedTasksCount); } - if(m_priorityHasBeenSet) + if(m_maxRetriesPerTaskHasBeenSet) { - payload.WithInteger("priority", m_priority); + payload.WithInteger("maxRetriesPerTask", m_maxRetriesPerTask); } - if(m_targetTaskRunStatusHasBeenSet) + if(m_lifecycleStatusHasBeenSet) { - payload.WithString("targetTaskRunStatus", JobTargetTaskRunStatusMapper::GetNameForJobTargetTaskRunStatus(m_targetTaskRunStatus)); + payload.WithString("lifecycleStatus", UpdateJobLifecycleStatusMapper::GetNameForUpdateJobLifecycleStatus(m_lifecycleStatus)); } return payload.View().WriteReadable(); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateMonitorRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateMonitorRequest.cpp index 860d3e095c0..266036cea6c 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateMonitorRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateMonitorRequest.cpp @@ -13,10 +13,10 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateMonitorRequest::UpdateMonitorRequest() : - m_displayNameHasBeenSet(false), m_monitorIdHasBeenSet(false), - m_roleArnHasBeenSet(false), - m_subdomainHasBeenSet(false) + m_subdomainHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_roleArnHasBeenSet(false) { } @@ -24,21 +24,21 @@ Aws::String UpdateMonitorRequest::SerializePayload() const { JsonValue payload; - if(m_displayNameHasBeenSet) + if(m_subdomainHasBeenSet) { - payload.WithString("displayName", m_displayName); + payload.WithString("subdomain", m_subdomain); } - if(m_roleArnHasBeenSet) + if(m_displayNameHasBeenSet) { - payload.WithString("roleArn", m_roleArn); + payload.WithString("displayName", m_displayName); } - if(m_subdomainHasBeenSet) + if(m_roleArnHasBeenSet) { - payload.WithString("subdomain", m_subdomain); + payload.WithString("roleArn", m_roleArn); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueEnvironmentRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueEnvironmentRequest.cpp index 43d69f77d14..f75d4903026 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueEnvironmentRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueEnvironmentRequest.cpp @@ -17,13 +17,13 @@ UpdateQueueEnvironmentRequest::UpdateQueueEnvironmentRequest() : m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), m_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_queueEnvironmentIdHasBeenSet(false), m_priority(0), m_priorityHasBeenSet(false), - m_queueEnvironmentIdHasBeenSet(false), - m_queueIdHasBeenSet(false), - m_templateHasBeenSet(false), m_templateType(EnvironmentTemplateType::NOT_SET), - m_templateTypeHasBeenSet(false) + m_templateTypeHasBeenSet(false), + m_templateHasBeenSet(false) { } @@ -37,15 +37,15 @@ Aws::String UpdateQueueEnvironmentRequest::SerializePayload() const } - if(m_templateHasBeenSet) + if(m_templateTypeHasBeenSet) { - payload.WithString("template", m_template); - + payload.WithString("templateType", EnvironmentTemplateTypeMapper::GetNameForEnvironmentTemplateType(m_templateType)); } - if(m_templateTypeHasBeenSet) + if(m_templateHasBeenSet) { - payload.WithString("templateType", EnvironmentTemplateTypeMapper::GetNameForEnvironmentTemplateType(m_templateType)); + payload.WithString("template", m_template); + } return payload.View().WriteReadable(); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueFleetAssociationRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueFleetAssociationRequest.cpp index 65142d7cddc..8c3a4229027 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueFleetAssociationRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueFleetAssociationRequest.cpp @@ -14,8 +14,8 @@ using namespace Aws::Utils; UpdateQueueFleetAssociationRequest::UpdateQueueFleetAssociationRequest() : m_farmIdHasBeenSet(false), - m_fleetIdHasBeenSet(false), m_queueIdHasBeenSet(false), + m_fleetIdHasBeenSet(false), m_status(UpdateQueueFleetAssociationStatus::NOT_SET), m_statusHasBeenSet(false) { diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueRequest.cpp index 0f566686dfb..b05e4ea9408 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateQueueRequest.cpp @@ -14,21 +14,21 @@ 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_farmIdHasBeenSet(false), + m_queueIdHasBeenSet(false), + m_displayNameHasBeenSet(false), + m_descriptionHasBeenSet(false), m_defaultBudgetAction(DefaultQueueBudgetAction::NOT_SET), m_defaultBudgetActionHasBeenSet(false), - m_descriptionHasBeenSet(false), - m_displayNameHasBeenSet(false), - m_farmIdHasBeenSet(false), m_jobAttachmentSettingsHasBeenSet(false), + m_roleArnHasBeenSet(false), m_jobRunAsUserHasBeenSet(false), - m_queueIdHasBeenSet(false), m_requiredFileSystemLocationNamesToAddHasBeenSet(false), m_requiredFileSystemLocationNamesToRemoveHasBeenSet(false), - m_roleArnHasBeenSet(false) + m_allowedStorageProfileIdsToAddHasBeenSet(false), + m_allowedStorageProfileIdsToRemoveHasBeenSet(false) { } @@ -36,25 +36,15 @@ Aws::String UpdateQueueRequest::SerializePayload() const { JsonValue payload; - if(m_allowedStorageProfileIdsToAddHasBeenSet) + if(m_displayNameHasBeenSet) { - 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)); + payload.WithString("displayName", m_displayName); } - if(m_allowedStorageProfileIdsToRemoveHasBeenSet) + if(m_descriptionHasBeenSet) { - 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)); + payload.WithString("description", m_description); } @@ -63,21 +53,15 @@ Aws::String UpdateQueueRequest::SerializePayload() const payload.WithString("defaultBudgetAction", DefaultQueueBudgetActionMapper::GetNameForDefaultQueueBudgetAction(m_defaultBudgetAction)); } - if(m_descriptionHasBeenSet) - { - payload.WithString("description", m_description); - - } - - if(m_displayNameHasBeenSet) + if(m_jobAttachmentSettingsHasBeenSet) { - payload.WithString("displayName", m_displayName); + payload.WithObject("jobAttachmentSettings", m_jobAttachmentSettings.Jsonize()); } - if(m_jobAttachmentSettingsHasBeenSet) + if(m_roleArnHasBeenSet) { - payload.WithObject("jobAttachmentSettings", m_jobAttachmentSettings.Jsonize()); + payload.WithString("roleArn", m_roleArn); } @@ -109,9 +93,25 @@ Aws::String UpdateQueueRequest::SerializePayload() const } - if(m_roleArnHasBeenSet) + if(m_allowedStorageProfileIdsToAddHasBeenSet) { - payload.WithString("roleArn", m_roleArn); + 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)); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateSessionRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateSessionRequest.cpp index 4dc8b028957..08d338c98fe 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateSessionRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateSessionRequest.cpp @@ -17,8 +17,8 @@ UpdateSessionRequest::UpdateSessionRequest() : m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), m_farmIdHasBeenSet(false), - m_jobIdHasBeenSet(false), m_queueIdHasBeenSet(false), + m_jobIdHasBeenSet(false), m_sessionIdHasBeenSet(false), m_targetLifecycleStatus(SessionLifecycleTargetStatus::NOT_SET), m_targetLifecycleStatusHasBeenSet(false) diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStepRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStepRequest.cpp index 844ff5dc2c7..6c11f3a2029 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStepRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStepRequest.cpp @@ -17,8 +17,8 @@ UpdateStepRequest::UpdateStepRequest() : m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), m_farmIdHasBeenSet(false), - m_jobIdHasBeenSet(false), m_queueIdHasBeenSet(false), + m_jobIdHasBeenSet(false), m_stepIdHasBeenSet(false), m_targetTaskRunStatus(StepTargetTaskRunStatus::NOT_SET), m_targetTaskRunStatusHasBeenSet(false) diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStorageProfileRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStorageProfileRequest.cpp index 329feeed102..8ed50d24803 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStorageProfileRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateStorageProfileRequest.cpp @@ -16,13 +16,13 @@ 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_storageProfileIdHasBeenSet(false), + m_displayNameHasBeenSet(false), m_osFamily(StorageProfileOperatingSystemFamily::NOT_SET), m_osFamilyHasBeenSet(false), - m_storageProfileIdHasBeenSet(false) + m_fileSystemLocationsToAddHasBeenSet(false), + m_fileSystemLocationsToRemoveHasBeenSet(false) { } @@ -36,6 +36,11 @@ Aws::String UpdateStorageProfileRequest::SerializePayload() const } + if(m_osFamilyHasBeenSet) + { + payload.WithString("osFamily", StorageProfileOperatingSystemFamilyMapper::GetNameForStorageProfileOperatingSystemFamily(m_osFamily)); + } + if(m_fileSystemLocationsToAddHasBeenSet) { Aws::Utils::Array fileSystemLocationsToAddJsonList(m_fileSystemLocationsToAdd.size()); @@ -58,11 +63,6 @@ Aws::String UpdateStorageProfileRequest::SerializePayload() const } - if(m_osFamilyHasBeenSet) - { - payload.WithString("osFamily", StorageProfileOperatingSystemFamilyMapper::GetNameForStorageProfileOperatingSystemFamily(m_osFamily)); - } - return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateTaskRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateTaskRequest.cpp index 5bf93e320ca..67926020e3c 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateTaskRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateTaskRequest.cpp @@ -17,12 +17,12 @@ UpdateTaskRequest::UpdateTaskRequest() : m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), m_farmIdHasBeenSet(false), - m_jobIdHasBeenSet(false), m_queueIdHasBeenSet(false), + m_jobIdHasBeenSet(false), m_stepIdHasBeenSet(false), + m_taskIdHasBeenSet(false), m_targetRunStatus(TaskTargetRunStatus::NOT_SET), - m_targetRunStatusHasBeenSet(false), - m_taskIdHasBeenSet(false) + m_targetRunStatusHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerRequest.cpp index 19884a847ed..66747a56e2e 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerRequest.cpp @@ -13,13 +13,13 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateWorkerRequest::UpdateWorkerRequest() : - m_capabilitiesHasBeenSet(false), m_farmIdHasBeenSet(false), m_fleetIdHasBeenSet(false), - m_hostPropertiesHasBeenSet(false), + m_workerIdHasBeenSet(false), m_status(UpdatedWorkerStatus::NOT_SET), m_statusHasBeenSet(false), - m_workerIdHasBeenSet(false) + m_capabilitiesHasBeenSet(false), + m_hostPropertiesHasBeenSet(false) { } @@ -27,6 +27,11 @@ Aws::String UpdateWorkerRequest::SerializePayload() const { JsonValue payload; + if(m_statusHasBeenSet) + { + payload.WithString("status", UpdatedWorkerStatusMapper::GetNameForUpdatedWorkerStatus(m_status)); + } + if(m_capabilitiesHasBeenSet) { payload.WithObject("capabilities", m_capabilities.Jsonize()); @@ -39,11 +44,6 @@ Aws::String UpdateWorkerRequest::SerializePayload() const } - 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/UpdateWorkerScheduleRequest.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerScheduleRequest.cpp index c9d62f9009d..eda336e4e50 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerScheduleRequest.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdateWorkerScheduleRequest.cpp @@ -15,8 +15,8 @@ using namespace Aws::Utils; UpdateWorkerScheduleRequest::UpdateWorkerScheduleRequest() : m_farmIdHasBeenSet(false), m_fleetIdHasBeenSet(false), - m_updatedSessionActionsHasBeenSet(false), - m_workerIdHasBeenSet(false) + m_workerIdHasBeenSet(false), + m_updatedSessionActionsHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/UpdatedSessionActionInfo.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/UpdatedSessionActionInfo.cpp index 284a1c88593..26989ef8613 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/UpdatedSessionActionInfo.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/UpdatedSessionActionInfo.cpp @@ -21,14 +21,14 @@ 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) + m_endedAtHasBeenSet(false), + m_updatedAtHasBeenSet(false), + m_progressPercent(0.0), + m_progressPercentHasBeenSet(false) { } @@ -47,13 +47,6 @@ UpdatedSessionActionInfo& UpdatedSessionActionInfo::operator =(JsonView jsonValu m_completedStatusHasBeenSet = true; } - if(jsonValue.ValueExists("endedAt")) - { - m_endedAt = jsonValue.GetString("endedAt"); - - m_endedAtHasBeenSet = true; - } - if(jsonValue.ValueExists("processExitCode")) { m_processExitCode = jsonValue.GetInteger("processExitCode"); @@ -68,18 +61,18 @@ UpdatedSessionActionInfo& UpdatedSessionActionInfo::operator =(JsonView jsonValu m_progressMessageHasBeenSet = true; } - if(jsonValue.ValueExists("progressPercent")) + if(jsonValue.ValueExists("startedAt")) { - m_progressPercent = jsonValue.GetDouble("progressPercent"); + m_startedAt = jsonValue.GetString("startedAt"); - m_progressPercentHasBeenSet = true; + m_startedAtHasBeenSet = true; } - if(jsonValue.ValueExists("startedAt")) + if(jsonValue.ValueExists("endedAt")) { - m_startedAt = jsonValue.GetString("startedAt"); + m_endedAt = jsonValue.GetString("endedAt"); - m_startedAtHasBeenSet = true; + m_endedAtHasBeenSet = true; } if(jsonValue.ValueExists("updatedAt")) @@ -89,6 +82,13 @@ UpdatedSessionActionInfo& UpdatedSessionActionInfo::operator =(JsonView jsonValu m_updatedAtHasBeenSet = true; } + if(jsonValue.ValueExists("progressPercent")) + { + m_progressPercent = jsonValue.GetDouble("progressPercent"); + + m_progressPercentHasBeenSet = true; + } + return *this; } @@ -101,11 +101,6 @@ JsonValue UpdatedSessionActionInfo::Jsonize() const 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); @@ -118,15 +113,14 @@ JsonValue UpdatedSessionActionInfo::Jsonize() const } - if(m_progressPercentHasBeenSet) + if(m_startedAtHasBeenSet) { - payload.WithDouble("progressPercent", m_progressPercent); - + payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_startedAtHasBeenSet) + if(m_endedAtHasBeenSet) { - payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } if(m_updatedAtHasBeenSet) @@ -134,6 +128,12 @@ JsonValue UpdatedSessionActionInfo::Jsonize() const payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } + if(m_progressPercentHasBeenSet) + { + payload.WithDouble("progressPercent", m_progressPercent); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/VCpuCountRange.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/VCpuCountRange.cpp index bbe48638e91..616a76a5547 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/VCpuCountRange.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/VCpuCountRange.cpp @@ -19,10 +19,10 @@ namespace Model { VCpuCountRange::VCpuCountRange() : - m_max(0), - m_maxHasBeenSet(false), m_min(0), - m_minHasBeenSet(false) + m_minHasBeenSet(false), + m_max(0), + m_maxHasBeenSet(false) { } @@ -34,18 +34,18 @@ VCpuCountRange::VCpuCountRange(JsonView jsonValue) VCpuCountRange& VCpuCountRange::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("max")) + if(jsonValue.ValueExists("min")) { - m_max = jsonValue.GetInteger("max"); + m_min = jsonValue.GetInteger("min"); - m_maxHasBeenSet = true; + m_minHasBeenSet = true; } - if(jsonValue.ValueExists("min")) + if(jsonValue.ValueExists("max")) { - m_min = jsonValue.GetInteger("min"); + m_max = jsonValue.GetInteger("max"); - m_minHasBeenSet = true; + m_maxHasBeenSet = true; } return *this; @@ -55,15 +55,15 @@ JsonValue VCpuCountRange::Jsonize() const { JsonValue payload; - if(m_maxHasBeenSet) + if(m_minHasBeenSet) { - payload.WithInteger("max", m_max); + payload.WithInteger("min", m_min); } - if(m_minHasBeenSet) + if(m_maxHasBeenSet) { - payload.WithInteger("min", m_min); + payload.WithInteger("max", m_max); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ValidationException.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ValidationException.cpp index 9b7f83867d0..d05a20d17b9 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ValidationException.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ValidationException.cpp @@ -19,11 +19,11 @@ namespace Model { ValidationException::ValidationException() : - m_contextHasBeenSet(false), - m_fieldListHasBeenSet(false), m_messageHasBeenSet(false), m_reason(ValidationExceptionReason::NOT_SET), - m_reasonHasBeenSet(false) + m_reasonHasBeenSet(false), + m_fieldListHasBeenSet(false), + m_contextHasBeenSet(false) { } @@ -35,14 +35,18 @@ ValidationException::ValidationException(JsonView jsonValue) ValidationException& ValidationException::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("context")) + if(jsonValue.ValueExists("message")) { - Aws::Map contextJsonMap = jsonValue.GetObject("context").GetAllObjects(); - for(auto& contextItem : contextJsonMap) - { - m_context[contextItem.first] = contextItem.second.AsString(); - } - m_contextHasBeenSet = true; + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("reason")) + { + m_reason = ValidationExceptionReasonMapper::GetValidationExceptionReasonForName(jsonValue.GetString("reason")); + + m_reasonHasBeenSet = true; } if(jsonValue.ValueExists("fieldList")) @@ -55,18 +59,14 @@ ValidationException& ValidationException::operator =(JsonView jsonValue) m_fieldListHasBeenSet = true; } - if(jsonValue.ValueExists("message")) - { - m_message = jsonValue.GetString("message"); - - m_messageHasBeenSet = true; - } - - if(jsonValue.ValueExists("reason")) + if(jsonValue.ValueExists("context")) { - m_reason = ValidationExceptionReasonMapper::GetValidationExceptionReasonForName(jsonValue.GetString("reason")); - - m_reasonHasBeenSet = true; + Aws::Map contextJsonMap = jsonValue.GetObject("context").GetAllObjects(); + for(auto& contextItem : contextJsonMap) + { + m_context[contextItem.first] = contextItem.second.AsString(); + } + m_contextHasBeenSet = true; } return *this; @@ -76,17 +76,17 @@ JsonValue ValidationException::Jsonize() const { JsonValue payload; - if(m_contextHasBeenSet) + if(m_messageHasBeenSet) { - JsonValue contextJsonMap; - for(auto& contextItem : m_context) - { - contextJsonMap.WithString(contextItem.first, contextItem.second); - } - payload.WithObject("context", std::move(contextJsonMap)); + payload.WithString("message", m_message); } + if(m_reasonHasBeenSet) + { + payload.WithString("reason", ValidationExceptionReasonMapper::GetNameForValidationExceptionReason(m_reason)); + } + if(m_fieldListHasBeenSet) { Aws::Utils::Array fieldListJsonList(m_fieldList.size()); @@ -98,15 +98,15 @@ JsonValue ValidationException::Jsonize() const } - if(m_messageHasBeenSet) + if(m_contextHasBeenSet) { - payload.WithString("message", m_message); - - } + JsonValue contextJsonMap; + for(auto& contextItem : m_context) + { + contextJsonMap.WithString(contextItem.first, contextItem.second); + } + payload.WithObject("context", std::move(contextJsonMap)); - if(m_reasonHasBeenSet) - { - payload.WithString("reason", ValidationExceptionReasonMapper::GetNameForValidationExceptionReason(m_reason)); } return payload; diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/ValidationExceptionField.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/ValidationExceptionField.cpp index 48f4de5b744..99d39225172 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/ValidationExceptionField.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/ValidationExceptionField.cpp @@ -19,8 +19,8 @@ namespace Model { ValidationExceptionField::ValidationExceptionField() : - m_messageHasBeenSet(false), - m_nameHasBeenSet(false) + m_nameHasBeenSet(false), + m_messageHasBeenSet(false) { } @@ -32,18 +32,18 @@ ValidationExceptionField::ValidationExceptionField(JsonView jsonValue) ValidationExceptionField& ValidationExceptionField::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("message")) + if(jsonValue.ValueExists("name")) { - m_message = jsonValue.GetString("message"); + m_name = jsonValue.GetString("name"); - m_messageHasBeenSet = true; + m_nameHasBeenSet = true; } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("message")) { - m_name = jsonValue.GetString("name"); + m_message = jsonValue.GetString("message"); - m_nameHasBeenSet = true; + m_messageHasBeenSet = true; } return *this; @@ -53,15 +53,15 @@ JsonValue ValidationExceptionField::Jsonize() const { JsonValue payload; - if(m_messageHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithString("message", m_message); + payload.WithString("name", m_name); } - if(m_nameHasBeenSet) + if(m_messageHasBeenSet) { - payload.WithString("name", m_name); + payload.WithString("message", m_message); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/WindowsUser.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/WindowsUser.cpp index 3dd9f5cf9be..f51aaca0ea5 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/WindowsUser.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/WindowsUser.cpp @@ -19,8 +19,8 @@ namespace Model { WindowsUser::WindowsUser() : - m_passwordArnHasBeenSet(false), - m_userHasBeenSet(false) + m_userHasBeenSet(false), + m_passwordArnHasBeenSet(false) { } @@ -32,18 +32,18 @@ WindowsUser::WindowsUser(JsonView jsonValue) WindowsUser& WindowsUser::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("passwordArn")) + if(jsonValue.ValueExists("user")) { - m_passwordArn = jsonValue.GetString("passwordArn"); + m_user = jsonValue.GetString("user"); - m_passwordArnHasBeenSet = true; + m_userHasBeenSet = true; } - if(jsonValue.ValueExists("user")) + if(jsonValue.ValueExists("passwordArn")) { - m_user = jsonValue.GetString("user"); + m_passwordArn = jsonValue.GetString("passwordArn"); - m_userHasBeenSet = true; + m_passwordArnHasBeenSet = true; } return *this; @@ -53,15 +53,15 @@ JsonValue WindowsUser::Jsonize() const { JsonValue payload; - if(m_passwordArnHasBeenSet) + if(m_userHasBeenSet) { - payload.WithString("passwordArn", m_passwordArn); + payload.WithString("user", m_user); } - if(m_userHasBeenSet) + if(m_passwordArnHasBeenSet) { - payload.WithString("user", m_user); + payload.WithString("passwordArn", m_passwordArn); } diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSearchSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSearchSummary.cpp index 043b079efcf..9e971bfa7bb 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSearchSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSearchSummary.cpp @@ -19,15 +19,15 @@ namespace Model { WorkerSearchSummary::WorkerSearchSummary() : - m_createdAtHasBeenSet(false), - m_createdByHasBeenSet(false), m_fleetIdHasBeenSet(false), - m_hostPropertiesHasBeenSet(false), + m_workerIdHasBeenSet(false), m_status(WorkerStatus::NOT_SET), m_statusHasBeenSet(false), - m_updatedAtHasBeenSet(false), + m_hostPropertiesHasBeenSet(false), + m_createdByHasBeenSet(false), + m_createdAtHasBeenSet(false), m_updatedByHasBeenSet(false), - m_workerIdHasBeenSet(false) + m_updatedAtHasBeenSet(false) { } @@ -39,25 +39,25 @@ WorkerSearchSummary::WorkerSearchSummary(JsonView jsonValue) WorkerSearchSummary& WorkerSearchSummary::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("createdAt")) + if(jsonValue.ValueExists("fleetId")) { - m_createdAt = jsonValue.GetString("createdAt"); + m_fleetId = jsonValue.GetString("fleetId"); - m_createdAtHasBeenSet = true; + m_fleetIdHasBeenSet = true; } - if(jsonValue.ValueExists("createdBy")) + if(jsonValue.ValueExists("workerId")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_workerId = jsonValue.GetString("workerId"); - m_createdByHasBeenSet = true; + m_workerIdHasBeenSet = true; } - if(jsonValue.ValueExists("fleetId")) + if(jsonValue.ValueExists("status")) { - m_fleetId = jsonValue.GetString("fleetId"); + m_status = WorkerStatusMapper::GetWorkerStatusForName(jsonValue.GetString("status")); - m_fleetIdHasBeenSet = true; + m_statusHasBeenSet = true; } if(jsonValue.ValueExists("hostProperties")) @@ -67,18 +67,18 @@ WorkerSearchSummary& WorkerSearchSummary::operator =(JsonView jsonValue) m_hostPropertiesHasBeenSet = true; } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("createdBy")) { - m_status = WorkerStatusMapper::GetWorkerStatusForName(jsonValue.GetString("status")); + m_createdBy = jsonValue.GetString("createdBy"); - m_statusHasBeenSet = true; + m_createdByHasBeenSet = true; } - if(jsonValue.ValueExists("updatedAt")) + if(jsonValue.ValueExists("createdAt")) { - m_updatedAt = jsonValue.GetString("updatedAt"); + m_createdAt = jsonValue.GetString("createdAt"); - m_updatedAtHasBeenSet = true; + m_createdAtHasBeenSet = true; } if(jsonValue.ValueExists("updatedBy")) @@ -88,11 +88,11 @@ WorkerSearchSummary& WorkerSearchSummary::operator =(JsonView jsonValue) m_updatedByHasBeenSet = true; } - if(jsonValue.ValueExists("workerId")) + if(jsonValue.ValueExists("updatedAt")) { - m_workerId = jsonValue.GetString("workerId"); + m_updatedAt = jsonValue.GetString("updatedAt"); - m_workerIdHasBeenSet = true; + m_updatedAtHasBeenSet = true; } return *this; @@ -102,21 +102,21 @@ JsonValue WorkerSearchSummary::Jsonize() const { JsonValue payload; - if(m_createdAtHasBeenSet) + if(m_fleetIdHasBeenSet) { - payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("fleetId", m_fleetId); + } - if(m_createdByHasBeenSet) + if(m_workerIdHasBeenSet) { - payload.WithString("createdBy", m_createdBy); + payload.WithString("workerId", m_workerId); } - if(m_fleetIdHasBeenSet) + if(m_statusHasBeenSet) { - payload.WithString("fleetId", m_fleetId); - + payload.WithString("status", WorkerStatusMapper::GetNameForWorkerStatus(m_status)); } if(m_hostPropertiesHasBeenSet) @@ -125,14 +125,15 @@ JsonValue WorkerSearchSummary::Jsonize() const } - if(m_statusHasBeenSet) + if(m_createdByHasBeenSet) { - payload.WithString("status", WorkerStatusMapper::GetNameForWorkerStatus(m_status)); + payload.WithString("createdBy", m_createdBy); + } - if(m_updatedAtHasBeenSet) + if(m_createdAtHasBeenSet) { - payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } if(m_updatedByHasBeenSet) @@ -141,10 +142,9 @@ JsonValue WorkerSearchSummary::Jsonize() const } - if(m_workerIdHasBeenSet) + if(m_updatedAtHasBeenSet) { - payload.WithString("workerId", m_workerId); - + payload.WithString("updatedAt", m_updatedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } return payload; diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSessionSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSessionSummary.cpp index 944507045ab..181229ef70a 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSessionSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSessionSummary.cpp @@ -19,13 +19,13 @@ namespace Model { WorkerSessionSummary::WorkerSessionSummary() : - m_endedAtHasBeenSet(false), + m_sessionIdHasBeenSet(false), + m_queueIdHasBeenSet(false), m_jobIdHasBeenSet(false), + m_startedAtHasBeenSet(false), m_lifecycleStatus(SessionLifecycleStatus::NOT_SET), m_lifecycleStatusHasBeenSet(false), - m_queueIdHasBeenSet(false), - m_sessionIdHasBeenSet(false), - m_startedAtHasBeenSet(false), + m_endedAtHasBeenSet(false), m_targetLifecycleStatus(SessionLifecycleTargetStatus::NOT_SET), m_targetLifecycleStatusHasBeenSet(false) { @@ -39,46 +39,46 @@ WorkerSessionSummary::WorkerSessionSummary(JsonView jsonValue) WorkerSessionSummary& WorkerSessionSummary::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("endedAt")) + if(jsonValue.ValueExists("sessionId")) { - m_endedAt = jsonValue.GetString("endedAt"); + m_sessionId = jsonValue.GetString("sessionId"); - m_endedAtHasBeenSet = true; + m_sessionIdHasBeenSet = true; } - if(jsonValue.ValueExists("jobId")) + if(jsonValue.ValueExists("queueId")) { - m_jobId = jsonValue.GetString("jobId"); + m_queueId = jsonValue.GetString("queueId"); - m_jobIdHasBeenSet = true; + m_queueIdHasBeenSet = true; } - if(jsonValue.ValueExists("lifecycleStatus")) + if(jsonValue.ValueExists("jobId")) { - m_lifecycleStatus = SessionLifecycleStatusMapper::GetSessionLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); + m_jobId = jsonValue.GetString("jobId"); - m_lifecycleStatusHasBeenSet = true; + m_jobIdHasBeenSet = true; } - if(jsonValue.ValueExists("queueId")) + if(jsonValue.ValueExists("startedAt")) { - m_queueId = jsonValue.GetString("queueId"); + m_startedAt = jsonValue.GetString("startedAt"); - m_queueIdHasBeenSet = true; + m_startedAtHasBeenSet = true; } - if(jsonValue.ValueExists("sessionId")) + if(jsonValue.ValueExists("lifecycleStatus")) { - m_sessionId = jsonValue.GetString("sessionId"); + m_lifecycleStatus = SessionLifecycleStatusMapper::GetSessionLifecycleStatusForName(jsonValue.GetString("lifecycleStatus")); - m_sessionIdHasBeenSet = true; + m_lifecycleStatusHasBeenSet = true; } - if(jsonValue.ValueExists("startedAt")) + if(jsonValue.ValueExists("endedAt")) { - m_startedAt = jsonValue.GetString("startedAt"); + m_endedAt = jsonValue.GetString("endedAt"); - m_startedAtHasBeenSet = true; + m_endedAtHasBeenSet = true; } if(jsonValue.ValueExists("targetLifecycleStatus")) @@ -95,20 +95,10 @@ JsonValue WorkerSessionSummary::Jsonize() const { JsonValue payload; - if(m_endedAtHasBeenSet) - { - payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - - if(m_jobIdHasBeenSet) + if(m_sessionIdHasBeenSet) { - payload.WithString("jobId", m_jobId); - - } + payload.WithString("sessionId", m_sessionId); - if(m_lifecycleStatusHasBeenSet) - { - payload.WithString("lifecycleStatus", SessionLifecycleStatusMapper::GetNameForSessionLifecycleStatus(m_lifecycleStatus)); } if(m_queueIdHasBeenSet) @@ -117,9 +107,9 @@ JsonValue WorkerSessionSummary::Jsonize() const } - if(m_sessionIdHasBeenSet) + if(m_jobIdHasBeenSet) { - payload.WithString("sessionId", m_sessionId); + payload.WithString("jobId", m_jobId); } @@ -128,6 +118,16 @@ JsonValue WorkerSessionSummary::Jsonize() const payload.WithString("startedAt", m_startedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } + if(m_lifecycleStatusHasBeenSet) + { + payload.WithString("lifecycleStatus", SessionLifecycleStatusMapper::GetNameForSessionLifecycleStatus(m_lifecycleStatus)); + } + + if(m_endedAtHasBeenSet) + { + payload.WithString("endedAt", m_endedAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + if(m_targetLifecycleStatusHasBeenSet) { payload.WithString("targetLifecycleStatus", SessionLifecycleTargetStatusMapper::GetNameForSessionLifecycleTargetStatus(m_targetLifecycleStatus)); diff --git a/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSummary.cpp b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSummary.cpp index 9dd1d235875..f32e7304760 100644 --- a/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSummary.cpp +++ b/generated/src/aws-cpp-sdk-deadline/source/model/WorkerSummary.cpp @@ -19,17 +19,17 @@ namespace Model { WorkerSummary::WorkerSummary() : - m_createdAtHasBeenSet(false), - m_createdByHasBeenSet(false), + m_workerIdHasBeenSet(false), m_farmIdHasBeenSet(false), m_fleetIdHasBeenSet(false), - m_hostPropertiesHasBeenSet(false), - m_logHasBeenSet(false), m_status(WorkerStatus::NOT_SET), m_statusHasBeenSet(false), + m_hostPropertiesHasBeenSet(false), + m_logHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_createdByHasBeenSet(false), m_updatedAtHasBeenSet(false), - m_updatedByHasBeenSet(false), - m_workerIdHasBeenSet(false) + m_updatedByHasBeenSet(false) { } @@ -41,18 +41,11 @@ WorkerSummary::WorkerSummary(JsonView jsonValue) WorkerSummary& WorkerSummary::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("createdAt")) - { - m_createdAt = jsonValue.GetString("createdAt"); - - m_createdAtHasBeenSet = true; - } - - if(jsonValue.ValueExists("createdBy")) + if(jsonValue.ValueExists("workerId")) { - m_createdBy = jsonValue.GetString("createdBy"); + m_workerId = jsonValue.GetString("workerId"); - m_createdByHasBeenSet = true; + m_workerIdHasBeenSet = true; } if(jsonValue.ValueExists("farmId")) @@ -69,6 +62,13 @@ WorkerSummary& WorkerSummary::operator =(JsonView jsonValue) m_fleetIdHasBeenSet = true; } + if(jsonValue.ValueExists("status")) + { + m_status = WorkerStatusMapper::GetWorkerStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + if(jsonValue.ValueExists("hostProperties")) { m_hostProperties = jsonValue.GetObject("hostProperties"); @@ -83,11 +83,18 @@ WorkerSummary& WorkerSummary::operator =(JsonView jsonValue) m_logHasBeenSet = true; } - if(jsonValue.ValueExists("status")) + if(jsonValue.ValueExists("createdAt")) { - m_status = WorkerStatusMapper::GetWorkerStatusForName(jsonValue.GetString("status")); + m_createdAt = jsonValue.GetString("createdAt"); - m_statusHasBeenSet = true; + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdBy")) + { + m_createdBy = jsonValue.GetString("createdBy"); + + m_createdByHasBeenSet = true; } if(jsonValue.ValueExists("updatedAt")) @@ -104,13 +111,6 @@ WorkerSummary& WorkerSummary::operator =(JsonView jsonValue) m_updatedByHasBeenSet = true; } - if(jsonValue.ValueExists("workerId")) - { - m_workerId = jsonValue.GetString("workerId"); - - m_workerIdHasBeenSet = true; - } - return *this; } @@ -118,14 +118,9 @@ JsonValue WorkerSummary::Jsonize() const { JsonValue payload; - if(m_createdAtHasBeenSet) - { - payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - - if(m_createdByHasBeenSet) + if(m_workerIdHasBeenSet) { - payload.WithString("createdBy", m_createdBy); + payload.WithString("workerId", m_workerId); } @@ -141,6 +136,11 @@ JsonValue WorkerSummary::Jsonize() const } + if(m_statusHasBeenSet) + { + payload.WithString("status", WorkerStatusMapper::GetNameForWorkerStatus(m_status)); + } + if(m_hostPropertiesHasBeenSet) { payload.WithObject("hostProperties", m_hostProperties.Jsonize()); @@ -153,9 +153,15 @@ JsonValue WorkerSummary::Jsonize() const } - if(m_statusHasBeenSet) + if(m_createdAtHasBeenSet) { - payload.WithString("status", WorkerStatusMapper::GetNameForWorkerStatus(m_status)); + payload.WithString("createdAt", m_createdAt.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_createdByHasBeenSet) + { + payload.WithString("createdBy", m_createdBy); + } if(m_updatedAtHasBeenSet) @@ -169,12 +175,6 @@ JsonValue WorkerSummary::Jsonize() const } - if(m_workerIdHasBeenSet) - { - payload.WithString("workerId", m_workerId); - - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/LambdaClient.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/LambdaClient.h index b6a9ca64dcd..2abd0daabf7 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/LambdaClient.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/LambdaClient.h @@ -956,6 +956,33 @@ namespace Lambda return SubmitAsync(&LambdaClient::GetFunctionEventInvokeConfig, request, handler, context); } + /** + *

      Returns your function's recursive + * loop detection configuration.

      See Also:

      AWS + * API Reference

      + */ + virtual Model::GetFunctionRecursionConfigOutcome GetFunctionRecursionConfig(const Model::GetFunctionRecursionConfigRequest& request) const; + + /** + * A Callable wrapper for GetFunctionRecursionConfig that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetFunctionRecursionConfigOutcomeCallable GetFunctionRecursionConfigCallable(const GetFunctionRecursionConfigRequestT& request) const + { + return SubmitCallable(&LambdaClient::GetFunctionRecursionConfig, request); + } + + /** + * An Async wrapper for GetFunctionRecursionConfig that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetFunctionRecursionConfigAsync(const GetFunctionRecursionConfigRequestT& request, const GetFunctionRecursionConfigResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&LambdaClient::GetFunctionRecursionConfig, request, handler, context); + } + /** *

      Returns details about a Lambda function URL.

      See Also:

      AWS @@ -1762,6 +1789,42 @@ namespace Lambda return SubmitAsync(&LambdaClient::PutFunctionEventInvokeConfig, request, handler, context); } + /** + *

      Sets your function's recursive + * loop detection configuration.

      When you configure a Lambda function to + * output to the same service or resource that invokes the function, it's possible + * to create an infinite recursive loop. For example, a Lambda function might write + * a message to an Amazon Simple Queue Service (Amazon SQS) queue, which then + * invokes the same function. This invocation causes the function to write another + * message to the queue, which in turn invokes the function again.

      Lambda + * can detect certain types of recursive loops shortly after they occur. When + * Lambda detects a recursive loop and your function's recursive loop detection + * configuration is set to Terminate, it stops your function being + * invoked and notifies you.

      See Also:

      AWS + * API Reference

      + */ + virtual Model::PutFunctionRecursionConfigOutcome PutFunctionRecursionConfig(const Model::PutFunctionRecursionConfigRequest& request) const; + + /** + * A Callable wrapper for PutFunctionRecursionConfig that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::PutFunctionRecursionConfigOutcomeCallable PutFunctionRecursionConfigCallable(const PutFunctionRecursionConfigRequestT& request) const + { + return SubmitCallable(&LambdaClient::PutFunctionRecursionConfig, request); + } + + /** + * An Async wrapper for PutFunctionRecursionConfig that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void PutFunctionRecursionConfigAsync(const PutFunctionRecursionConfigRequestT& request, const PutFunctionRecursionConfigResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&LambdaClient::PutFunctionRecursionConfig, request, handler, context); + } + /** *

      Adds a provisioned concurrency configuration to a function's alias or * version.

      See Also:

      #include #include +#include #include #include #include @@ -61,6 +62,7 @@ #include #include #include +#include #include #include #include @@ -142,6 +144,7 @@ namespace Aws class GetFunctionConcurrencyRequest; class GetFunctionConfigurationRequest; class GetFunctionEventInvokeConfigRequest; + class GetFunctionRecursionConfigRequest; class GetFunctionUrlConfigRequest; class GetLayerVersionRequest; class GetLayerVersionByArnRequest; @@ -168,6 +171,7 @@ namespace Aws class PutFunctionCodeSigningConfigRequest; class PutFunctionConcurrencyRequest; class PutFunctionEventInvokeConfigRequest; + class PutFunctionRecursionConfigRequest; class PutProvisionedConcurrencyConfigRequest; class PutRuntimeManagementConfigRequest; class RemoveLayerVersionPermissionRequest; @@ -210,6 +214,7 @@ namespace Aws typedef Aws::Utils::Outcome GetFunctionConcurrencyOutcome; typedef Aws::Utils::Outcome GetFunctionConfigurationOutcome; typedef Aws::Utils::Outcome GetFunctionEventInvokeConfigOutcome; + typedef Aws::Utils::Outcome GetFunctionRecursionConfigOutcome; typedef Aws::Utils::Outcome GetFunctionUrlConfigOutcome; typedef Aws::Utils::Outcome GetLayerVersionOutcome; typedef Aws::Utils::Outcome GetLayerVersionByArnOutcome; @@ -236,6 +241,7 @@ namespace Aws typedef Aws::Utils::Outcome PutFunctionCodeSigningConfigOutcome; typedef Aws::Utils::Outcome PutFunctionConcurrencyOutcome; typedef Aws::Utils::Outcome PutFunctionEventInvokeConfigOutcome; + typedef Aws::Utils::Outcome PutFunctionRecursionConfigOutcome; typedef Aws::Utils::Outcome PutProvisionedConcurrencyConfigOutcome; typedef Aws::Utils::Outcome PutRuntimeManagementConfigOutcome; typedef Aws::Utils::Outcome RemoveLayerVersionPermissionOutcome; @@ -278,6 +284,7 @@ namespace Aws typedef std::future GetFunctionConcurrencyOutcomeCallable; typedef std::future GetFunctionConfigurationOutcomeCallable; typedef std::future GetFunctionEventInvokeConfigOutcomeCallable; + typedef std::future GetFunctionRecursionConfigOutcomeCallable; typedef std::future GetFunctionUrlConfigOutcomeCallable; typedef std::future GetLayerVersionOutcomeCallable; typedef std::future GetLayerVersionByArnOutcomeCallable; @@ -304,6 +311,7 @@ namespace Aws typedef std::future PutFunctionCodeSigningConfigOutcomeCallable; typedef std::future PutFunctionConcurrencyOutcomeCallable; typedef std::future PutFunctionEventInvokeConfigOutcomeCallable; + typedef std::future PutFunctionRecursionConfigOutcomeCallable; typedef std::future PutProvisionedConcurrencyConfigOutcomeCallable; typedef std::future PutRuntimeManagementConfigOutcomeCallable; typedef std::future RemoveLayerVersionPermissionOutcomeCallable; @@ -349,6 +357,7 @@ namespace Aws typedef std::function&) > GetFunctionConcurrencyResponseReceivedHandler; typedef std::function&) > GetFunctionConfigurationResponseReceivedHandler; typedef std::function&) > GetFunctionEventInvokeConfigResponseReceivedHandler; + typedef std::function&) > GetFunctionRecursionConfigResponseReceivedHandler; typedef std::function&) > GetFunctionUrlConfigResponseReceivedHandler; typedef std::function&) > GetLayerVersionResponseReceivedHandler; typedef std::function&) > GetLayerVersionByArnResponseReceivedHandler; @@ -375,6 +384,7 @@ namespace Aws typedef std::function&) > PutFunctionCodeSigningConfigResponseReceivedHandler; typedef std::function&) > PutFunctionConcurrencyResponseReceivedHandler; typedef std::function&) > PutFunctionEventInvokeConfigResponseReceivedHandler; + typedef std::function&) > PutFunctionRecursionConfigResponseReceivedHandler; typedef std::function&) > PutProvisionedConcurrencyConfigResponseReceivedHandler; typedef std::function&) > PutRuntimeManagementConfigResponseReceivedHandler; typedef std::function&) > RemoveLayerVersionPermissionResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/CreateEventSourceMappingRequest.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/CreateEventSourceMappingRequest.h index c31444b4257..6cfd493dcd7 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/CreateEventSourceMappingRequest.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/CreateEventSourceMappingRequest.h @@ -142,16 +142,16 @@ namespace Model *

      The maximum amount of time, in seconds, that Lambda spends gathering records * before invoking the function. You can configure * MaximumBatchingWindowInSeconds to any value from 0 seconds to 300 - * seconds in increments of seconds.

      For streams and Amazon SQS event - * sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed - * Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching - * window is 500 ms. Note that because you can only change + * seconds in increments of seconds.

      For Kinesis, DynamoDB, and Amazon SQS + * event sources, the default batching window is 0 seconds. For Amazon MSK, + * Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default + * batching window is 500 ms. Note that because you can only change * MaximumBatchingWindowInSeconds in increments of seconds, you cannot * revert back to the 500 ms default batching window after you have changed it. To * restore the default batching window, you must create a new event source - * mapping.

      Related setting: For streams and Amazon SQS event sources, when - * you set BatchSize to a value greater than 10, you must set - * MaximumBatchingWindowInSeconds to at least 1.

      + * mapping.

      Related setting: For Kinesis, DynamoDB, and Amazon SQS event + * sources, when you set BatchSize to a value greater than 10, you + * must set MaximumBatchingWindowInSeconds to at least 1.

      */ inline int GetMaximumBatchingWindowInSeconds() const{ return m_maximumBatchingWindowInSeconds; } inline bool MaximumBatchingWindowInSecondsHasBeenSet() const { return m_maximumBatchingWindowInSecondsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/CreateFunctionRequest.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/CreateFunctionRequest.h index 4fd93a69f4a..c3c65e17898 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/CreateFunctionRequest.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/CreateFunctionRequest.h @@ -71,11 +71,17 @@ namespace Model ///@{ /** *

      The identifier of the function's runtime. - * Runtime is required if the deployment package is a .zip file archive.

      The - * following list includes deprecated runtimes. For more information, see Runtime - * deprecation policy.

      + * href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html"> + * runtime. Runtime is required if the deployment package is a .zip file + * archive. Specifying a runtime results in an error if you're deploying a function + * using a container image.

      The following list includes deprecated runtimes. + * Lambda blocks creating new functions and updating existing functions shortly + * after each runtime is deprecated. For more information, see Runtime + * use after deprecation.

      For a list of all currently supported + * runtimes, see Supported + * runtimes.

      */ inline const Runtime& GetRuntime() const{ return m_runtime; } inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/CreateFunctionResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/CreateFunctionResult.h index b4f0942471b..712f1534944 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/CreateFunctionResult.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/CreateFunctionResult.h @@ -85,11 +85,17 @@ namespace Model ///@{ /** *

      The identifier of the function's runtime. - * Runtime is required if the deployment package is a .zip file archive.

      The - * following list includes deprecated runtimes. For more information, see Runtime - * deprecation policy.

      + * href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html"> + * runtime. Runtime is required if the deployment package is a .zip file + * archive. Specifying a runtime results in an error if you're deploying a function + * using a container image.

      The following list includes deprecated runtimes. + * Lambda blocks creating new functions and updating existing functions shortly + * after each runtime is deprecated. For more information, see Runtime + * use after deprecation.

      For a list of all currently supported + * runtimes, see Supported + * runtimes.

      */ inline const Runtime& GetRuntime() const{ return m_runtime; } inline void SetRuntime(const Runtime& value) { m_runtime = value; } diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/FunctionConfiguration.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/FunctionConfiguration.h index 75f93336d6a..8d26c319f16 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/FunctionConfiguration.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/FunctionConfiguration.h @@ -87,11 +87,17 @@ namespace Model ///@{ /** *

      The identifier of the function's runtime. - * Runtime is required if the deployment package is a .zip file archive.

      The - * following list includes deprecated runtimes. For more information, see Runtime - * deprecation policy.

      + * href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html"> + * runtime. Runtime is required if the deployment package is a .zip file + * archive. Specifying a runtime results in an error if you're deploying a function + * using a container image.

      The following list includes deprecated runtimes. + * Lambda blocks creating new functions and updating existing functions shortly + * after each runtime is deprecated. For more information, see Runtime + * use after deprecation.

      For a list of all currently supported + * runtimes, see Supported + * runtimes.

      */ inline const Runtime& GetRuntime() const{ return m_runtime; } inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetFunctionConfigurationResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetFunctionConfigurationResult.h index ddc74237997..aa7556a8476 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetFunctionConfigurationResult.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetFunctionConfigurationResult.h @@ -85,11 +85,17 @@ namespace Model ///@{ /** *

      The identifier of the function's runtime. - * Runtime is required if the deployment package is a .zip file archive.

      The - * following list includes deprecated runtimes. For more information, see Runtime - * deprecation policy.

      + * href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html"> + * runtime. Runtime is required if the deployment package is a .zip file + * archive. Specifying a runtime results in an error if you're deploying a function + * using a container image.

      The following list includes deprecated runtimes. + * Lambda blocks creating new functions and updating existing functions shortly + * after each runtime is deprecated. For more information, see Runtime + * use after deprecation.

      For a list of all currently supported + * runtimes, see Supported + * runtimes.

      */ inline const Runtime& GetRuntime() const{ return m_runtime; } inline void SetRuntime(const Runtime& value) { m_runtime = value; } diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetFunctionRecursionConfigRequest.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetFunctionRecursionConfigRequest.h new file mode 100644 index 00000000000..dbd2d5ea0ca --- /dev/null +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetFunctionRecursionConfigRequest.h @@ -0,0 +1,56 @@ +/** + * 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 Lambda +{ +namespace Model +{ + + /** + */ + class GetFunctionRecursionConfigRequest : public LambdaRequest + { + public: + AWS_LAMBDA_API GetFunctionRecursionConfigRequest(); + + // 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 "GetFunctionRecursionConfig"; } + + AWS_LAMBDA_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

      + */ + inline const Aws::String& GetFunctionName() const{ return m_functionName; } + inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; } + inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; } + inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); } + inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); } + inline GetFunctionRecursionConfigRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;} + inline GetFunctionRecursionConfigRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;} + inline GetFunctionRecursionConfigRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;} + ///@} + private: + + Aws::String m_functionName; + bool m_functionNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace Lambda +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetFunctionRecursionConfigResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetFunctionRecursionConfigResult.h new file mode 100644 index 00000000000..58e1d732868 --- /dev/null +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetFunctionRecursionConfigResult.h @@ -0,0 +1,73 @@ +/** + * 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 Lambda +{ +namespace Model +{ + class GetFunctionRecursionConfigResult + { + public: + AWS_LAMBDA_API GetFunctionRecursionConfigResult(); + AWS_LAMBDA_API GetFunctionRecursionConfigResult(const Aws::AmazonWebServiceResult& result); + AWS_LAMBDA_API GetFunctionRecursionConfigResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

      If your function's recursive loop detection configuration is + * Allow, Lambda doesn't take any action when it detects your function + * being invoked as part of a recursive loop.

      If your function's recursive + * loop detection configuration is Terminate, Lambda stops your + * function being invoked and notifies you when it detects your function being + * invoked as part of a recursive loop.

      By default, Lambda sets your + * function's configuration to Terminate. You can update this + * configuration using the PutFunctionRecursionConfig action.

      + */ + inline const RecursiveLoop& GetRecursiveLoop() const{ return m_recursiveLoop; } + inline void SetRecursiveLoop(const RecursiveLoop& value) { m_recursiveLoop = value; } + inline void SetRecursiveLoop(RecursiveLoop&& value) { m_recursiveLoop = std::move(value); } + inline GetFunctionRecursionConfigResult& WithRecursiveLoop(const RecursiveLoop& value) { SetRecursiveLoop(value); return *this;} + inline GetFunctionRecursionConfigResult& WithRecursiveLoop(RecursiveLoop&& value) { SetRecursiveLoop(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 GetFunctionRecursionConfigResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetFunctionRecursionConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetFunctionRecursionConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + RecursiveLoop m_recursiveLoop; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Lambda +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetLayerVersionByArnResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetLayerVersionByArnResult.h index 24b8e8bbfd8..472ec18e4fe 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetLayerVersionByArnResult.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetLayerVersionByArnResult.h @@ -114,8 +114,11 @@ namespace Model /** *

      The layer's compatible runtimes.

      The following list includes * deprecated runtimes. For more information, see Runtime - * deprecation policy.

      + * href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels">Runtime + * use after deprecation.

      For a list of all currently supported + * runtimes, see Supported + * runtimes.

      */ inline const Aws::Vector& GetCompatibleRuntimes() const{ return m_compatibleRuntimes; } inline void SetCompatibleRuntimes(const Aws::Vector& value) { m_compatibleRuntimes = value; } diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetLayerVersionResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetLayerVersionResult.h index 3fbfc651635..99228212c8f 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetLayerVersionResult.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/GetLayerVersionResult.h @@ -114,8 +114,11 @@ namespace Model /** *

      The layer's compatible runtimes.

      The following list includes * deprecated runtimes. For more information, see Runtime - * deprecation policy.

      + * href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels">Runtime + * use after deprecation.

      For a list of all currently supported + * runtimes, see Supported + * runtimes.

      */ inline const Aws::Vector& GetCompatibleRuntimes() const{ return m_compatibleRuntimes; } inline void SetCompatibleRuntimes(const Aws::Vector& value) { m_compatibleRuntimes = value; } diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/LayerVersionsListItem.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/LayerVersionsListItem.h index 5d1c1e2f9e4..953a3b65699 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/LayerVersionsListItem.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/LayerVersionsListItem.h @@ -99,8 +99,11 @@ namespace Model /** *

      The layer's compatible runtimes.

      The following list includes * deprecated runtimes. For more information, see Runtime - * deprecation policy.

      + * href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels">Runtime + * use after deprecation.

      For a list of all currently supported + * runtimes, see Supported + * runtimes.

      */ inline const Aws::Vector& GetCompatibleRuntimes() const{ return m_compatibleRuntimes; } inline bool CompatibleRuntimesHasBeenSet() const { return m_compatibleRuntimesHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/ListLayerVersionsRequest.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/ListLayerVersionsRequest.h index 9824ba54b08..b7ef135b293 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/ListLayerVersionsRequest.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/ListLayerVersionsRequest.h @@ -42,10 +42,13 @@ namespace Model ///@{ /** - *

      A runtime identifier. For example, java21.

      The following - * list includes deprecated runtimes. For more information, see Runtime - * deprecation policy.

      + *

      A runtime identifier.

      The following list includes deprecated runtimes. + * For more information, see Runtime + * use after deprecation.

      For a list of all currently supported + * runtimes, see Supported + * runtimes.

      */ inline const Runtime& GetCompatibleRuntime() const{ return m_compatibleRuntime; } inline bool CompatibleRuntimeHasBeenSet() const { return m_compatibleRuntimeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/ListLayersRequest.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/ListLayersRequest.h index fddc70d97c4..f04b61c9ff2 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/ListLayersRequest.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/ListLayersRequest.h @@ -42,10 +42,13 @@ namespace Model ///@{ /** - *

      A runtime identifier. For example, java21.

      The following - * list includes deprecated runtimes. For more information, see Runtime - * deprecation policy.

      + *

      A runtime identifier.

      The following list includes deprecated runtimes. + * For more information, see Runtime + * use after deprecation.

      For a list of all currently supported + * runtimes, see Supported + * runtimes.

      */ inline const Runtime& GetCompatibleRuntime() const{ return m_compatibleRuntime; } inline bool CompatibleRuntimeHasBeenSet() const { return m_compatibleRuntimeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PreconditionFailedException.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PreconditionFailedException.h index 3e0ad3f10bf..285196b88a3 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PreconditionFailedException.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PreconditionFailedException.h @@ -25,9 +25,12 @@ namespace Model /** *

      The RevisionId provided does not match the latest RevisionId for the Lambda - * function or alias. Call the GetFunction or the - * GetAlias API operation to retrieve the latest RevisionId for your - * resource.

      See Also:

      • For AddPermission and RemovePermission + * API operations: Call GetPolicy to retrieve the latest + * RevisionId for your resource.

      • For all other API + * operations: Call GetFunction or GetAlias to + * retrieve the latest RevisionId for your resource.

      See + * Also:

      AWS * API Reference

      */ diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PublishLayerVersionResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PublishLayerVersionResult.h index fbd41f4e1d0..535803dcb47 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PublishLayerVersionResult.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PublishLayerVersionResult.h @@ -114,8 +114,11 @@ namespace Model /** *

      The layer's compatible runtimes.

      The following list includes * deprecated runtimes. For more information, see Runtime - * deprecation policy.

      + * href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels">Runtime + * use after deprecation.

      For a list of all currently supported + * runtimes, see Supported + * runtimes.

      */ inline const Aws::Vector& GetCompatibleRuntimes() const{ return m_compatibleRuntimes; } inline void SetCompatibleRuntimes(const Aws::Vector& value) { m_compatibleRuntimes = value; } diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PublishVersionResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PublishVersionResult.h index a3b8bf74004..029dc0824a2 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PublishVersionResult.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PublishVersionResult.h @@ -85,11 +85,17 @@ namespace Model ///@{ /** *

      The identifier of the function's runtime. - * Runtime is required if the deployment package is a .zip file archive.

      The - * following list includes deprecated runtimes. For more information, see Runtime - * deprecation policy.

      + * href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html"> + * runtime. Runtime is required if the deployment package is a .zip file + * archive. Specifying a runtime results in an error if you're deploying a function + * using a container image.

      The following list includes deprecated runtimes. + * Lambda blocks creating new functions and updating existing functions shortly + * after each runtime is deprecated. For more information, see Runtime + * use after deprecation.

      For a list of all currently supported + * runtimes, see Supported + * runtimes.

      */ inline const Runtime& GetRuntime() const{ return m_runtime; } inline void SetRuntime(const Runtime& value) { m_runtime = value; } diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutFunctionRecursionConfigRequest.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutFunctionRecursionConfigRequest.h new file mode 100644 index 00000000000..4ae449009a2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutFunctionRecursionConfigRequest.h @@ -0,0 +1,95 @@ +/** + * 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 Lambda +{ +namespace Model +{ + + /** + */ + class PutFunctionRecursionConfigRequest : public LambdaRequest + { + public: + AWS_LAMBDA_API PutFunctionRecursionConfigRequest(); + + // 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 "PutFunctionRecursionConfig"; } + + AWS_LAMBDA_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

      The name or ARN of the Lambda function.

      Name + * formats

      • Function name – + * my-function.

      • Function ARN – + * arn:aws:lambda:us-west-2:123456789012:function:my-function.

        + *
      • Partial ARN – + * 123456789012:function:my-function.

      The length + * constraint applies only to the full ARN. If you specify only the function name, + * it is limited to 64 characters in length.

      + */ + inline const Aws::String& GetFunctionName() const{ return m_functionName; } + inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; } + inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; } + inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); } + inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); } + inline PutFunctionRecursionConfigRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;} + inline PutFunctionRecursionConfigRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;} + inline PutFunctionRecursionConfigRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;} + ///@} + + ///@{ + /** + *

      If you set your function's recursive loop detection configuration to + * Allow, Lambda doesn't take any action when it detects your function + * being invoked as part of a recursive loop. We recommend that you only use this + * setting if your design intentionally uses a Lambda function to write data back + * to the same Amazon Web Services resource that invokes it.

      If you set your + * function's recursive loop detection configuration to Terminate, + * Lambda stops your function being invoked and notifies you when it detects your + * function being invoked as part of a recursive loop.

      By default, Lambda + * sets your function's configuration to Terminate.

      + *

      If your design intentionally uses a Lambda function to write data back to the + * same Amazon Web Services resource that invokes the function, then use caution + * and implement suitable guard rails to prevent unexpected charges being billed to + * your Amazon Web Services account. To learn more about best practices for using + * recursive invocation patterns, see Recursive + * patterns that cause run-away Lambda functions in Serverless Land.

      + * + */ + inline const RecursiveLoop& GetRecursiveLoop() const{ return m_recursiveLoop; } + inline bool RecursiveLoopHasBeenSet() const { return m_recursiveLoopHasBeenSet; } + inline void SetRecursiveLoop(const RecursiveLoop& value) { m_recursiveLoopHasBeenSet = true; m_recursiveLoop = value; } + inline void SetRecursiveLoop(RecursiveLoop&& value) { m_recursiveLoopHasBeenSet = true; m_recursiveLoop = std::move(value); } + inline PutFunctionRecursionConfigRequest& WithRecursiveLoop(const RecursiveLoop& value) { SetRecursiveLoop(value); return *this;} + inline PutFunctionRecursionConfigRequest& WithRecursiveLoop(RecursiveLoop&& value) { SetRecursiveLoop(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_functionName; + bool m_functionNameHasBeenSet = false; + + RecursiveLoop m_recursiveLoop; + bool m_recursiveLoopHasBeenSet = false; + }; + +} // namespace Model +} // namespace Lambda +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutFunctionRecursionConfigResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutFunctionRecursionConfigResult.h new file mode 100644 index 00000000000..ef535525cb7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/PutFunctionRecursionConfigResult.h @@ -0,0 +1,71 @@ +/** + * 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 Lambda +{ +namespace Model +{ + class PutFunctionRecursionConfigResult + { + public: + AWS_LAMBDA_API PutFunctionRecursionConfigResult(); + AWS_LAMBDA_API PutFunctionRecursionConfigResult(const Aws::AmazonWebServiceResult& result); + AWS_LAMBDA_API PutFunctionRecursionConfigResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

      The status of your function's recursive loop detection configuration.

      + *

      When this value is set to Allowand Lambda detects your function + * being invoked as part of a recursive loop, it doesn't take any action.

      + *

      When this value is set to Terminate and Lambda detects your + * function being invoked as part of a recursive loop, it stops your function being + * invoked and notifies you.

      + */ + inline const RecursiveLoop& GetRecursiveLoop() const{ return m_recursiveLoop; } + inline void SetRecursiveLoop(const RecursiveLoop& value) { m_recursiveLoop = value; } + inline void SetRecursiveLoop(RecursiveLoop&& value) { m_recursiveLoop = std::move(value); } + inline PutFunctionRecursionConfigResult& WithRecursiveLoop(const RecursiveLoop& value) { SetRecursiveLoop(value); return *this;} + inline PutFunctionRecursionConfigResult& WithRecursiveLoop(RecursiveLoop&& value) { SetRecursiveLoop(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 PutFunctionRecursionConfigResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline PutFunctionRecursionConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline PutFunctionRecursionConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + RecursiveLoop m_recursiveLoop; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Lambda +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/RecursiveLoop.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/RecursiveLoop.h new file mode 100644 index 00000000000..6f6b1eedfe3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/RecursiveLoop.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 Lambda +{ +namespace Model +{ + enum class RecursiveLoop + { + NOT_SET, + Allow, + Terminate + }; + +namespace RecursiveLoopMapper +{ +AWS_LAMBDA_API RecursiveLoop GetRecursiveLoopForName(const Aws::String& name); + +AWS_LAMBDA_API Aws::String GetNameForRecursiveLoop(RecursiveLoop value); +} // namespace RecursiveLoopMapper +} // namespace Model +} // namespace Lambda +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateEventSourceMappingRequest.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateEventSourceMappingRequest.h index 4d6bef41038..a6cd649dcdb 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateEventSourceMappingRequest.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateEventSourceMappingRequest.h @@ -128,16 +128,16 @@ namespace Model *

      The maximum amount of time, in seconds, that Lambda spends gathering records * before invoking the function. You can configure * MaximumBatchingWindowInSeconds to any value from 0 seconds to 300 - * seconds in increments of seconds.

      For streams and Amazon SQS event - * sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed - * Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching - * window is 500 ms. Note that because you can only change + * seconds in increments of seconds.

      For Kinesis, DynamoDB, and Amazon SQS + * event sources, the default batching window is 0 seconds. For Amazon MSK, + * Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default + * batching window is 500 ms. Note that because you can only change * MaximumBatchingWindowInSeconds in increments of seconds, you cannot * revert back to the 500 ms default batching window after you have changed it. To * restore the default batching window, you must create a new event source - * mapping.

      Related setting: For streams and Amazon SQS event sources, when - * you set BatchSize to a value greater than 10, you must set - * MaximumBatchingWindowInSeconds to at least 1.

      + * mapping.

      Related setting: For Kinesis, DynamoDB, and Amazon SQS event + * sources, when you set BatchSize to a value greater than 10, you + * must set MaximumBatchingWindowInSeconds to at least 1.

      */ inline int GetMaximumBatchingWindowInSeconds() const{ return m_maximumBatchingWindowInSeconds; } inline bool MaximumBatchingWindowInSecondsHasBeenSet() const { return m_maximumBatchingWindowInSecondsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateFunctionCodeResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateFunctionCodeResult.h index ce987daa76a..07061160499 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateFunctionCodeResult.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateFunctionCodeResult.h @@ -85,11 +85,17 @@ namespace Model ///@{ /** *

      The identifier of the function's runtime. - * Runtime is required if the deployment package is a .zip file archive.

      The - * following list includes deprecated runtimes. For more information, see Runtime - * deprecation policy.

      + * href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html"> + * runtime. Runtime is required if the deployment package is a .zip file + * archive. Specifying a runtime results in an error if you're deploying a function + * using a container image.

      The following list includes deprecated runtimes. + * Lambda blocks creating new functions and updating existing functions shortly + * after each runtime is deprecated. For more information, see Runtime + * use after deprecation.

      For a list of all currently supported + * runtimes, see Supported + * runtimes.

      */ inline const Runtime& GetRuntime() const{ return m_runtime; } inline void SetRuntime(const Runtime& value) { m_runtime = value; } diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateFunctionConfigurationRequest.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateFunctionConfigurationRequest.h index 39a3f43f30e..dc9bcf0e676 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateFunctionConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateFunctionConfigurationRequest.h @@ -172,11 +172,17 @@ namespace Model ///@{ /** *

      The identifier of the function's runtime. - * Runtime is required if the deployment package is a .zip file archive.

      The - * following list includes deprecated runtimes. For more information, see Runtime - * deprecation policy.

      + * href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html"> + * runtime. Runtime is required if the deployment package is a .zip file + * archive. Specifying a runtime results in an error if you're deploying a function + * using a container image.

      The following list includes deprecated runtimes. + * Lambda blocks creating new functions and updating existing functions shortly + * after each runtime is deprecated. For more information, see Runtime + * use after deprecation.

      For a list of all currently supported + * runtimes, see Supported + * runtimes.

      */ inline const Runtime& GetRuntime() const{ return m_runtime; } inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateFunctionConfigurationResult.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateFunctionConfigurationResult.h index 305db1f4b45..72692a4bccf 100644 --- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateFunctionConfigurationResult.h +++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/UpdateFunctionConfigurationResult.h @@ -85,11 +85,17 @@ namespace Model ///@{ /** *

      The identifier of the function's runtime. - * Runtime is required if the deployment package is a .zip file archive.

      The - * following list includes deprecated runtimes. For more information, see Runtime - * deprecation policy.

      + * href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html"> + * runtime. Runtime is required if the deployment package is a .zip file + * archive. Specifying a runtime results in an error if you're deploying a function + * using a container image.

      The following list includes deprecated runtimes. + * Lambda blocks creating new functions and updating existing functions shortly + * after each runtime is deprecated. For more information, see Runtime + * use after deprecation.

      For a list of all currently supported + * runtimes, see Supported + * runtimes.

      */ inline const Runtime& GetRuntime() const{ return m_runtime; } inline void SetRuntime(const Runtime& value) { m_runtime = value; } diff --git a/generated/src/aws-cpp-sdk-lambda/source/LambdaClient.cpp b/generated/src/aws-cpp-sdk-lambda/source/LambdaClient.cpp index aa4621d784d..a73af461ffb 100644 --- a/generated/src/aws-cpp-sdk-lambda/source/LambdaClient.cpp +++ b/generated/src/aws-cpp-sdk-lambda/source/LambdaClient.cpp @@ -48,6 +48,7 @@ #include #include #include +#include #include #include #include @@ -74,6 +75,7 @@ #include #include #include +#include #include #include #include @@ -1108,6 +1110,40 @@ GetFunctionEventInvokeConfigOutcome LambdaClient::GetFunctionEventInvokeConfig(c {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetFunctionRecursionConfigOutcome LambdaClient::GetFunctionRecursionConfig(const GetFunctionRecursionConfigRequest& request) const +{ + AWS_OPERATION_GUARD(GetFunctionRecursionConfig); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetFunctionRecursionConfig, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FunctionNameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetFunctionRecursionConfig", "Required field: FunctionName, is not set"); + return GetFunctionRecursionConfigOutcome(Aws::Client::AWSError(LambdaErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FunctionName]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetFunctionRecursionConfig, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetFunctionRecursionConfig, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetFunctionRecursionConfig", + {{ 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( + [&]()-> GetFunctionRecursionConfigOutcome { + 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, GetFunctionRecursionConfig, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/2024-08-31/functions/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFunctionName()); + endpointResolutionOutcome.GetResult().AddPathSegments("/recursion-config"); + return GetFunctionRecursionConfigOutcome(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()}}); +} + GetFunctionUrlConfigOutcome LambdaClient::GetFunctionUrlConfig(const GetFunctionUrlConfigRequest& request) const { AWS_OPERATION_GUARD(GetFunctionUrlConfig); @@ -1988,6 +2024,40 @@ PutFunctionEventInvokeConfigOutcome LambdaClient::PutFunctionEventInvokeConfig(c {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +PutFunctionRecursionConfigOutcome LambdaClient::PutFunctionRecursionConfig(const PutFunctionRecursionConfigRequest& request) const +{ + AWS_OPERATION_GUARD(PutFunctionRecursionConfig); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, PutFunctionRecursionConfig, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.FunctionNameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("PutFunctionRecursionConfig", "Required field: FunctionName, is not set"); + return PutFunctionRecursionConfigOutcome(Aws::Client::AWSError(LambdaErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FunctionName]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, PutFunctionRecursionConfig, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, PutFunctionRecursionConfig, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".PutFunctionRecursionConfig", + {{ 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( + [&]()-> PutFunctionRecursionConfigOutcome { + 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, PutFunctionRecursionConfig, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/2024-08-31/functions/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetFunctionName()); + endpointResolutionOutcome.GetResult().AddPathSegments("/recursion-config"); + return PutFunctionRecursionConfigOutcome(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()}}); +} + PutProvisionedConcurrencyConfigOutcome LambdaClient::PutProvisionedConcurrencyConfig(const PutProvisionedConcurrencyConfigRequest& request) const { AWS_OPERATION_GUARD(PutProvisionedConcurrencyConfig); diff --git a/generated/src/aws-cpp-sdk-lambda/source/model/GetFunctionRecursionConfigRequest.cpp b/generated/src/aws-cpp-sdk-lambda/source/model/GetFunctionRecursionConfigRequest.cpp new file mode 100644 index 00000000000..b52857c266c --- /dev/null +++ b/generated/src/aws-cpp-sdk-lambda/source/model/GetFunctionRecursionConfigRequest.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::Lambda::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetFunctionRecursionConfigRequest::GetFunctionRecursionConfigRequest() : + m_functionNameHasBeenSet(false) +{ +} + +Aws::String GetFunctionRecursionConfigRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-lambda/source/model/GetFunctionRecursionConfigResult.cpp b/generated/src/aws-cpp-sdk-lambda/source/model/GetFunctionRecursionConfigResult.cpp new file mode 100644 index 00000000000..638773e455d --- /dev/null +++ b/generated/src/aws-cpp-sdk-lambda/source/model/GetFunctionRecursionConfigResult.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::Lambda::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetFunctionRecursionConfigResult::GetFunctionRecursionConfigResult() : + m_recursiveLoop(RecursiveLoop::NOT_SET) +{ +} + +GetFunctionRecursionConfigResult::GetFunctionRecursionConfigResult(const Aws::AmazonWebServiceResult& result) + : GetFunctionRecursionConfigResult() +{ + *this = result; +} + +GetFunctionRecursionConfigResult& GetFunctionRecursionConfigResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("RecursiveLoop")) + { + m_recursiveLoop = RecursiveLoopMapper::GetRecursiveLoopForName(jsonValue.GetString("RecursiveLoop")); + + } + + + 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-lambda/source/model/PutFunctionRecursionConfigRequest.cpp b/generated/src/aws-cpp-sdk-lambda/source/model/PutFunctionRecursionConfigRequest.cpp new file mode 100644 index 00000000000..8d2491aa032 --- /dev/null +++ b/generated/src/aws-cpp-sdk-lambda/source/model/PutFunctionRecursionConfigRequest.cpp @@ -0,0 +1,36 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Lambda::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +PutFunctionRecursionConfigRequest::PutFunctionRecursionConfigRequest() : + m_functionNameHasBeenSet(false), + m_recursiveLoop(RecursiveLoop::NOT_SET), + m_recursiveLoopHasBeenSet(false) +{ +} + +Aws::String PutFunctionRecursionConfigRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_recursiveLoopHasBeenSet) + { + payload.WithString("RecursiveLoop", RecursiveLoopMapper::GetNameForRecursiveLoop(m_recursiveLoop)); + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-lambda/source/model/PutFunctionRecursionConfigResult.cpp b/generated/src/aws-cpp-sdk-lambda/source/model/PutFunctionRecursionConfigResult.cpp new file mode 100644 index 00000000000..03e127481b4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-lambda/source/model/PutFunctionRecursionConfigResult.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::Lambda::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +PutFunctionRecursionConfigResult::PutFunctionRecursionConfigResult() : + m_recursiveLoop(RecursiveLoop::NOT_SET) +{ +} + +PutFunctionRecursionConfigResult::PutFunctionRecursionConfigResult(const Aws::AmazonWebServiceResult& result) + : PutFunctionRecursionConfigResult() +{ + *this = result; +} + +PutFunctionRecursionConfigResult& PutFunctionRecursionConfigResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("RecursiveLoop")) + { + m_recursiveLoop = RecursiveLoopMapper::GetRecursiveLoopForName(jsonValue.GetString("RecursiveLoop")); + + } + + + 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-lambda/source/model/RecursiveLoop.cpp b/generated/src/aws-cpp-sdk-lambda/source/model/RecursiveLoop.cpp new file mode 100644 index 00000000000..81b64064152 --- /dev/null +++ b/generated/src/aws-cpp-sdk-lambda/source/model/RecursiveLoop.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 Lambda + { + namespace Model + { + namespace RecursiveLoopMapper + { + + static const int Allow_HASH = HashingUtils::HashString("Allow"); + static const int Terminate_HASH = HashingUtils::HashString("Terminate"); + + + RecursiveLoop GetRecursiveLoopForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == Allow_HASH) + { + return RecursiveLoop::Allow; + } + else if (hashCode == Terminate_HASH) + { + return RecursiveLoop::Terminate; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return RecursiveLoop::NOT_SET; + } + + Aws::String GetNameForRecursiveLoop(RecursiveLoop enumValue) + { + switch(enumValue) + { + case RecursiveLoop::NOT_SET: + return {}; + case RecursiveLoop::Allow: + return "Allow"; + case RecursiveLoop::Terminate: + return "Terminate"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace RecursiveLoopMapper + } // namespace Model + } // namespace Lambda +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ssm-sap/include/aws/ssm-sap/model/Application.h b/generated/src/aws-cpp-sdk-ssm-sap/include/aws/ssm-sap/model/Application.h index d8e0737758d..fd5b6c4c25e 100644 --- a/generated/src/aws-cpp-sdk-ssm-sap/include/aws/ssm-sap/model/Application.h +++ b/generated/src/aws-cpp-sdk-ssm-sap/include/aws/ssm-sap/model/Application.h @@ -161,6 +161,22 @@ namespace Model inline Application& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} inline Application& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} ///@} + + ///@{ + /** + *

      The Amazon Resource Names of the associated AWS Systems Manager for SAP + * applications.

      + */ + inline const Aws::Vector& GetAssociatedApplicationArns() const{ return m_associatedApplicationArns; } + inline bool AssociatedApplicationArnsHasBeenSet() const { return m_associatedApplicationArnsHasBeenSet; } + inline void SetAssociatedApplicationArns(const Aws::Vector& value) { m_associatedApplicationArnsHasBeenSet = true; m_associatedApplicationArns = value; } + inline void SetAssociatedApplicationArns(Aws::Vector&& value) { m_associatedApplicationArnsHasBeenSet = true; m_associatedApplicationArns = std::move(value); } + inline Application& WithAssociatedApplicationArns(const Aws::Vector& value) { SetAssociatedApplicationArns(value); return *this;} + inline Application& WithAssociatedApplicationArns(Aws::Vector&& value) { SetAssociatedApplicationArns(std::move(value)); return *this;} + inline Application& AddAssociatedApplicationArns(const Aws::String& value) { m_associatedApplicationArnsHasBeenSet = true; m_associatedApplicationArns.push_back(value); return *this; } + inline Application& AddAssociatedApplicationArns(Aws::String&& value) { m_associatedApplicationArnsHasBeenSet = true; m_associatedApplicationArns.push_back(std::move(value)); return *this; } + inline Application& AddAssociatedApplicationArns(const char* value) { m_associatedApplicationArnsHasBeenSet = true; m_associatedApplicationArns.push_back(value); return *this; } + ///@} private: Aws::String m_id; @@ -189,6 +205,9 @@ namespace Model Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; + + Aws::Vector m_associatedApplicationArns; + bool m_associatedApplicationArnsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ssm-sap/include/aws/ssm-sap/model/Database.h b/generated/src/aws-cpp-sdk-ssm-sap/include/aws/ssm-sap/model/Database.h index f35561007af..cdc4fdf447c 100644 --- a/generated/src/aws-cpp-sdk-ssm-sap/include/aws/ssm-sap/model/Database.h +++ b/generated/src/aws-cpp-sdk-ssm-sap/include/aws/ssm-sap/model/Database.h @@ -186,6 +186,22 @@ namespace Model inline Database& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;} inline Database& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

      The Amazon Resource Names of the connected AWS Systems Manager for SAP + * components.

      + */ + inline const Aws::Vector& GetConnectedComponentArns() const{ return m_connectedComponentArns; } + inline bool ConnectedComponentArnsHasBeenSet() const { return m_connectedComponentArnsHasBeenSet; } + inline void SetConnectedComponentArns(const Aws::Vector& value) { m_connectedComponentArnsHasBeenSet = true; m_connectedComponentArns = value; } + inline void SetConnectedComponentArns(Aws::Vector&& value) { m_connectedComponentArnsHasBeenSet = true; m_connectedComponentArns = std::move(value); } + inline Database& WithConnectedComponentArns(const Aws::Vector& value) { SetConnectedComponentArns(value); return *this;} + inline Database& WithConnectedComponentArns(Aws::Vector&& value) { SetConnectedComponentArns(std::move(value)); return *this;} + inline Database& AddConnectedComponentArns(const Aws::String& value) { m_connectedComponentArnsHasBeenSet = true; m_connectedComponentArns.push_back(value); return *this; } + inline Database& AddConnectedComponentArns(Aws::String&& value) { m_connectedComponentArnsHasBeenSet = true; m_connectedComponentArns.push_back(std::move(value)); return *this; } + inline Database& AddConnectedComponentArns(const char* value) { m_connectedComponentArnsHasBeenSet = true; m_connectedComponentArns.push_back(value); return *this; } + ///@} private: Aws::String m_applicationId; @@ -220,6 +236,9 @@ namespace Model Aws::Utils::DateTime m_lastUpdated; bool m_lastUpdatedHasBeenSet = false; + + Aws::Vector m_connectedComponentArns; + bool m_connectedComponentArnsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ssm-sap/source/model/Application.cpp b/generated/src/aws-cpp-sdk-ssm-sap/source/model/Application.cpp index b2bddd130f7..bb82c46032e 100644 --- a/generated/src/aws-cpp-sdk-ssm-sap/source/model/Application.cpp +++ b/generated/src/aws-cpp-sdk-ssm-sap/source/model/Application.cpp @@ -30,7 +30,8 @@ Application::Application() : m_discoveryStatusHasBeenSet(false), m_componentsHasBeenSet(false), m_lastUpdatedHasBeenSet(false), - m_statusMessageHasBeenSet(false) + m_statusMessageHasBeenSet(false), + m_associatedApplicationArnsHasBeenSet(false) { } @@ -108,6 +109,16 @@ Application& Application::operator =(JsonView jsonValue) m_statusMessageHasBeenSet = true; } + if(jsonValue.ValueExists("AssociatedApplicationArns")) + { + Aws::Utils::Array associatedApplicationArnsJsonList = jsonValue.GetArray("AssociatedApplicationArns"); + for(unsigned associatedApplicationArnsIndex = 0; associatedApplicationArnsIndex < associatedApplicationArnsJsonList.GetLength(); ++associatedApplicationArnsIndex) + { + m_associatedApplicationArns.push_back(associatedApplicationArnsJsonList[associatedApplicationArnsIndex].AsString()); + } + m_associatedApplicationArnsHasBeenSet = true; + } + return *this; } @@ -170,6 +181,17 @@ JsonValue Application::Jsonize() const } + if(m_associatedApplicationArnsHasBeenSet) + { + Aws::Utils::Array associatedApplicationArnsJsonList(m_associatedApplicationArns.size()); + for(unsigned associatedApplicationArnsIndex = 0; associatedApplicationArnsIndex < associatedApplicationArnsJsonList.GetLength(); ++associatedApplicationArnsIndex) + { + associatedApplicationArnsJsonList[associatedApplicationArnsIndex].AsString(m_associatedApplicationArns[associatedApplicationArnsIndex]); + } + payload.WithArray("AssociatedApplicationArns", std::move(associatedApplicationArnsJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-ssm-sap/source/model/Database.cpp b/generated/src/aws-cpp-sdk-ssm-sap/source/model/Database.cpp index 8fd62728605..a3fefafb7fd 100644 --- a/generated/src/aws-cpp-sdk-ssm-sap/source/model/Database.cpp +++ b/generated/src/aws-cpp-sdk-ssm-sap/source/model/Database.cpp @@ -32,7 +32,8 @@ Database::Database() : m_primaryHostHasBeenSet(false), m_sQLPort(0), m_sQLPortHasBeenSet(false), - m_lastUpdatedHasBeenSet(false) + m_lastUpdatedHasBeenSet(false), + m_connectedComponentArnsHasBeenSet(false) { } @@ -124,6 +125,16 @@ Database& Database::operator =(JsonView jsonValue) m_lastUpdatedHasBeenSet = true; } + if(jsonValue.ValueExists("ConnectedComponentArns")) + { + Aws::Utils::Array connectedComponentArnsJsonList = jsonValue.GetArray("ConnectedComponentArns"); + for(unsigned connectedComponentArnsIndex = 0; connectedComponentArnsIndex < connectedComponentArnsJsonList.GetLength(); ++connectedComponentArnsIndex) + { + m_connectedComponentArns.push_back(connectedComponentArnsJsonList[connectedComponentArnsIndex].AsString()); + } + m_connectedComponentArnsHasBeenSet = true; + } + return *this; } @@ -199,6 +210,17 @@ JsonValue Database::Jsonize() const payload.WithDouble("LastUpdated", m_lastUpdated.SecondsWithMSPrecision()); } + if(m_connectedComponentArnsHasBeenSet) + { + Aws::Utils::Array connectedComponentArnsJsonList(m_connectedComponentArns.size()); + for(unsigned connectedComponentArnsIndex = 0; connectedComponentArnsIndex < connectedComponentArnsJsonList.GetLength(); ++connectedComponentArnsIndex) + { + connectedComponentArnsJsonList[connectedComponentArnsIndex].AsString(m_connectedComponentArns[connectedComponentArnsIndex]); + } + payload.WithArray("ConnectedComponentArns", std::move(connectedComponentArnsJsonList)); + + } + return payload; } 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 790cb17440b..71adc2649a0 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.386" +#define AWS_SDK_VERSION_STRING "1.11.387" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 386 +#define AWS_SDK_VERSION_PATCH 387 diff --git a/tools/code-generation/api-descriptions/bedrock-2023-04-20.normal.json b/tools/code-generation/api-descriptions/bedrock-2023-04-20.normal.json index 03c4c77137b..4509dc60683 100644 --- a/tools/code-generation/api-descriptions/bedrock-2023-04-20.normal.json +++ b/tools/code-generation/api-descriptions/bedrock-2023-04-20.normal.json @@ -115,6 +115,27 @@ "documentation":"

      Creates a fine-tuning job to customize a base model.

      You specify the base foundation model and the location of the training data. After the model-customization job completes successfully, your custom model resource will be ready to use. Amazon Bedrock returns validation loss metrics and output generations after the job completes.

      For information on the format of training and validation data, see Prepare the datasets.

      Model-customization jobs are asynchronous and the completion time depends on the base model and the training/validation data size. To monitor a job, use the GetModelCustomizationJob operation to retrieve the job status.

      For more information, see Custom models in the Amazon Bedrock User Guide.

      ", "idempotent":true }, + "CreateModelInvocationJob":{ + "name":"CreateModelInvocationJob", + "http":{ + "method":"POST", + "requestUri":"/model-invocation-job", + "responseCode":200 + }, + "input":{"shape":"CreateModelInvocationJobRequest"}, + "output":{"shape":"CreateModelInvocationJobResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

      Creates a job to invoke a model on multiple prompts (batch inference). Format your data according to Format your inference data and upload it to an Amazon S3 bucket. For more information, see Create a batch inference job.

      The response returns a jobArn that you can use to stop or get details about the job. You can check the status of the job by sending a GetModelCustomizationJob request.

      ", + "idempotent":true + }, "CreateProvisionedModelThroughput":{ "name":"CreateProvisionedModelThroughput", "http":{ @@ -321,6 +342,24 @@ ], "documentation":"

      Retrieves the properties associated with a model-customization job, including the status of the job. For more information, see Custom models in the Amazon Bedrock User Guide.

      " }, + "GetModelInvocationJob":{ + "name":"GetModelInvocationJob", + "http":{ + "method":"GET", + "requestUri":"/model-invocation-job/{jobIdentifier}", + "responseCode":200 + }, + "input":{"shape":"GetModelInvocationJobRequest"}, + "output":{"shape":"GetModelInvocationJobResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

      Gets details about a batch inference job. For more information, see View details about a batch inference job

      " + }, "GetModelInvocationLoggingConfiguration":{ "name":"GetModelInvocationLoggingConfiguration", "http":{ @@ -459,6 +498,23 @@ ], "documentation":"

      Returns a list of model customization jobs that you have submitted. You can filter the jobs to return based on one or more criteria.

      For more information, see Custom models in the Amazon Bedrock User Guide.

      " }, + "ListModelInvocationJobs":{ + "name":"ListModelInvocationJobs", + "http":{ + "method":"GET", + "requestUri":"/model-invocation-jobs", + "responseCode":200 + }, + "input":{"shape":"ListModelInvocationJobsRequest"}, + "output":{"shape":"ListModelInvocationJobsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

      Lists all batch inference jobs in the account. For more information, see View details about a batch inference job.

      " + }, "ListProvisionedModelThroughputs":{ "name":"ListProvisionedModelThroughputs", "http":{ @@ -551,6 +607,25 @@ "documentation":"

      Stops an active model customization job. For more information, see Custom models in the Amazon Bedrock User Guide.

      ", "idempotent":true }, + "StopModelInvocationJob":{ + "name":"StopModelInvocationJob", + "http":{ + "method":"POST", + "requestUri":"/model-invocation-job/{jobIdentifier}/stop", + "responseCode":200 + }, + "input":{"shape":"StopModelInvocationJobRequest"}, + "output":{"shape":"StopModelInvocationJobResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

      Stops a batch inference job. You're only charged for tokens that were already processed. For more information, see Stop a batch inference job.

      " + }, "TagResource":{ "name":"TagResource", "http":{ @@ -1029,6 +1104,61 @@ } } }, + "CreateModelInvocationJobRequest":{ + "type":"structure", + "required":[ + "jobName", + "roleArn", + "modelId", + "inputDataConfig", + "outputDataConfig" + ], + "members":{ + "jobName":{ + "shape":"ModelInvocationJobName", + "documentation":"

      A name to give the batch inference job.

      " + }, + "roleArn":{ + "shape":"RoleArn", + "documentation":"

      The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference. You can use the console to create a default service role or follow the steps at Create a service role for batch inference.

      " + }, + "clientRequestToken":{ + "shape":"ModelInvocationIdempotencyToken", + "documentation":"

      A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

      ", + "idempotencyToken":true + }, + "modelId":{ + "shape":"ModelId", + "documentation":"

      The unique identifier of the foundation model to use for the batch inference job.

      " + }, + "inputDataConfig":{ + "shape":"ModelInvocationJobInputDataConfig", + "documentation":"

      Details about the location of the input to the batch inference job.

      " + }, + "outputDataConfig":{ + "shape":"ModelInvocationJobOutputDataConfig", + "documentation":"

      Details about the location of the output of the batch inference job.

      " + }, + "timeoutDurationInHours":{ + "shape":"ModelInvocationJobTimeoutDurationInHours", + "documentation":"

      The number of hours after which to force the batch inference job to time out.

      " + }, + "tags":{ + "shape":"TagList", + "documentation":"

      Any tags to associate with the batch inference job. For more information, see Tagging Amazon Bedrock resources.

      " + } + } + }, + "CreateModelInvocationJobResponse":{ + "type":"structure", + "required":["jobArn"], + "members":{ + "jobArn":{ + "shape":"ModelInvocationJobArn", + "documentation":"

      The Amazon Resource Name (ARN) of the batch inference job.

      " + } + } + }, "CreateProvisionedModelThroughputRequest":{ "type":"structure", "required":[ @@ -2112,6 +2242,87 @@ } } }, + "GetModelInvocationJobRequest":{ + "type":"structure", + "required":["jobIdentifier"], + "members":{ + "jobIdentifier":{ + "shape":"ModelInvocationJobIdentifier", + "documentation":"

      The Amazon Resource Name (ARN) of the batch inference job.

      ", + "location":"uri", + "locationName":"jobIdentifier" + } + } + }, + "GetModelInvocationJobResponse":{ + "type":"structure", + "required":[ + "jobArn", + "modelId", + "roleArn", + "submitTime", + "inputDataConfig", + "outputDataConfig" + ], + "members":{ + "jobArn":{ + "shape":"ModelInvocationJobArn", + "documentation":"

      The Amazon Resource Name (ARN) of the batch inference job.

      " + }, + "jobName":{ + "shape":"ModelInvocationJobName", + "documentation":"

      The name of the batch inference job.

      " + }, + "modelId":{ + "shape":"ModelId", + "documentation":"

      The unique identifier of the foundation model used for model inference.

      " + }, + "clientRequestToken":{ + "shape":"ModelInvocationIdempotencyToken", + "documentation":"

      A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

      " + }, + "roleArn":{ + "shape":"RoleArn", + "documentation":"

      The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference. You can use the console to create a default service role or follow the steps at Create a service role for batch inference.

      " + }, + "status":{ + "shape":"ModelInvocationJobStatus", + "documentation":"

      The status of the batch inference job.

      " + }, + "message":{ + "shape":"Message", + "documentation":"

      If the batch inference job failed, this field contains a message describing why the job failed.

      " + }, + "submitTime":{ + "shape":"Timestamp", + "documentation":"

      The time at which the batch inference job was submitted.

      " + }, + "lastModifiedTime":{ + "shape":"Timestamp", + "documentation":"

      The time at which the batch inference job was last modified.

      " + }, + "endTime":{ + "shape":"Timestamp", + "documentation":"

      The time at which the batch inference job ended.

      " + }, + "inputDataConfig":{ + "shape":"ModelInvocationJobInputDataConfig", + "documentation":"

      Details about the location of the input to the batch inference job.

      " + }, + "outputDataConfig":{ + "shape":"ModelInvocationJobOutputDataConfig", + "documentation":"

      Details about the location of the output of the batch inference job.

      " + }, + "timeoutDurationInHours":{ + "shape":"ModelInvocationJobTimeoutDurationInHours", + "documentation":"

      The number of hours after which batch inference job was set to time out.

      " + }, + "jobExpirationTime":{ + "shape":"Timestamp", + "documentation":"

      The time at which the batch inference job times or timed out.

      " + } + } + }, "GetModelInvocationLoggingConfigurationRequest":{ "type":"structure", "members":{ @@ -3445,6 +3656,72 @@ } } }, + "ListModelInvocationJobsRequest":{ + "type":"structure", + "members":{ + "submitTimeAfter":{ + "shape":"Timestamp", + "documentation":"

      Specify a time to filter for batch inference jobs that were submitted after the time you specify.

      ", + "location":"querystring", + "locationName":"submitTimeAfter" + }, + "submitTimeBefore":{ + "shape":"Timestamp", + "documentation":"

      Specify a time to filter for batch inference jobs that were submitted before the time you specify.

      ", + "location":"querystring", + "locationName":"submitTimeBefore" + }, + "statusEquals":{ + "shape":"ModelInvocationJobStatus", + "documentation":"

      Specify a status to filter for batch inference jobs whose statuses match the string you specify.

      ", + "location":"querystring", + "locationName":"statusEquals" + }, + "nameContains":{ + "shape":"ModelInvocationJobName", + "documentation":"

      Specify a string to filter for batch inference jobs whose names contain the string.

      ", + "location":"querystring", + "locationName":"nameContains" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

      The maximum number of results to return. If there are more results than the number that you specify, a nextToken value is returned. Use the nextToken in a request to return the next batch of results.

      ", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

      If there were more results than the value you specified in the maxResults field in a previous ListModelInvocationJobs request, the response would have returned a nextToken value. To see the next batch of results, send the nextToken value in another request.

      ", + "location":"querystring", + "locationName":"nextToken" + }, + "sortBy":{ + "shape":"SortJobsBy", + "documentation":"

      An attribute by which to sort the results.

      ", + "location":"querystring", + "locationName":"sortBy" + }, + "sortOrder":{ + "shape":"SortOrder", + "documentation":"

      Specifies whether to sort the results by ascending or descending order.

      ", + "location":"querystring", + "locationName":"sortOrder" + } + } + }, + "ListModelInvocationJobsResponse":{ + "type":"structure", + "members":{ + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

      If there are more results than can fit in the response, a nextToken is returned. Use the nextToken in a request to return the next batch of results.

      " + }, + "invocationJobSummaries":{ + "shape":"ModelInvocationJobSummaries", + "documentation":"

      A list of items, each of which contains a summary about a batch inference job.

      " + } + } + }, "ListProvisionedModelThroughputsRequest":{ "type":"structure", "members":{ @@ -3573,6 +3850,12 @@ "max":1000, "min":1 }, + "Message":{ + "type":"string", + "max":2048, + "min":0, + "sensitive":true + }, "MetricFloat":{ "type":"float", "box":true @@ -3754,12 +4037,190 @@ "type":"list", "member":{"shape":"ModelCustomization"} }, + "ModelId":{ + "type":"string", + "max":2048, + "min":1, + "pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-:]{1,63}/[a-z0-9]{12}$)|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}$)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(([0-9a-zA-Z][_-]?)+)" + }, "ModelIdentifier":{ "type":"string", "max":2048, "min":1, "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}(([:][a-z0-9-]{1,63}){0,2})?/[a-z0-9]{12})|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})))|(([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|(([0-9a-zA-Z][_-]?)+)" }, + "ModelInvocationIdempotencyToken":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[a-zA-Z0-9]{1,256}(-*[a-zA-Z0-9]){0,256}" + }, + "ModelInvocationJobArn":{ + "type":"string", + "max":1011, + "min":0, + "pattern":"(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-invocation-job/[a-z0-9]{12})" + }, + "ModelInvocationJobIdentifier":{ + "type":"string", + "max":1011, + "min":0, + "pattern":"((arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:model-invocation-job/)?[a-z0-9]{12})" + }, + "ModelInvocationJobInputDataConfig":{ + "type":"structure", + "members":{ + "s3InputDataConfig":{ + "shape":"ModelInvocationJobS3InputDataConfig", + "documentation":"

      Contains the configuration of the S3 location of the input data.

      " + } + }, + "documentation":"

      Details about the location of the input to the batch inference job.

      ", + "union":true + }, + "ModelInvocationJobName":{ + "type":"string", + "max":63, + "min":1, + "pattern":"[a-zA-Z0-9]{1,63}(-*[a-zA-Z0-9\\+\\-\\.]){0,63}" + }, + "ModelInvocationJobOutputDataConfig":{ + "type":"structure", + "members":{ + "s3OutputDataConfig":{ + "shape":"ModelInvocationJobS3OutputDataConfig", + "documentation":"

      Contains the configuration of the S3 location of the output data.

      " + } + }, + "documentation":"

      Contains the configuration of the S3 location of the output data.

      ", + "union":true + }, + "ModelInvocationJobS3InputDataConfig":{ + "type":"structure", + "required":["s3Uri"], + "members":{ + "s3InputFormat":{ + "shape":"S3InputFormat", + "documentation":"

      The format of the input data.

      " + }, + "s3Uri":{ + "shape":"S3Uri", + "documentation":"

      The S3 location of the input data.

      " + } + }, + "documentation":"

      Contains the configuration of the S3 location of the output data.

      " + }, + "ModelInvocationJobS3OutputDataConfig":{ + "type":"structure", + "required":["s3Uri"], + "members":{ + "s3Uri":{ + "shape":"S3Uri", + "documentation":"

      The S3 location of the output data.

      " + }, + "s3EncryptionKeyId":{ + "shape":"KmsKeyId", + "documentation":"

      The unique identifier of the key that encrypts the S3 location of the output data.

      " + } + }, + "documentation":"

      Contains the configuration of the S3 location of the output data.

      " + }, + "ModelInvocationJobStatus":{ + "type":"string", + "enum":[ + "Submitted", + "InProgress", + "Completed", + "Failed", + "Stopping", + "Stopped", + "PartiallyCompleted", + "Expired", + "Validating", + "Scheduled" + ] + }, + "ModelInvocationJobSummaries":{ + "type":"list", + "member":{"shape":"ModelInvocationJobSummary"} + }, + "ModelInvocationJobSummary":{ + "type":"structure", + "required":[ + "jobArn", + "jobName", + "modelId", + "roleArn", + "submitTime", + "inputDataConfig", + "outputDataConfig" + ], + "members":{ + "jobArn":{ + "shape":"ModelInvocationJobArn", + "documentation":"

      The Amazon Resource Name (ARN) of the batch inference job.

      " + }, + "jobName":{ + "shape":"ModelInvocationJobName", + "documentation":"

      The name of the batch inference job.

      " + }, + "modelId":{ + "shape":"ModelId", + "documentation":"

      The unique identifier of the foundation model used for model inference.

      " + }, + "clientRequestToken":{ + "shape":"ModelInvocationIdempotencyToken", + "documentation":"

      A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

      " + }, + "roleArn":{ + "shape":"RoleArn", + "documentation":"

      The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference. You can use the console to create a default service role or follow the steps at Create a service role for batch inference.

      " + }, + "status":{ + "shape":"ModelInvocationJobStatus", + "documentation":"

      The status of the batch inference job.

      " + }, + "message":{ + "shape":"Message", + "documentation":"

      If the batch inference job failed, this field contains a message describing why the job failed.

      " + }, + "submitTime":{ + "shape":"Timestamp", + "documentation":"

      The time at which the batch inference job was submitted.

      " + }, + "lastModifiedTime":{ + "shape":"Timestamp", + "documentation":"

      The time at which the batch inference job was last modified.

      " + }, + "endTime":{ + "shape":"Timestamp", + "documentation":"

      The time at which the batch inference job ended.

      " + }, + "inputDataConfig":{ + "shape":"ModelInvocationJobInputDataConfig", + "documentation":"

      Details about the location of the input to the batch inference job.

      " + }, + "outputDataConfig":{ + "shape":"ModelInvocationJobOutputDataConfig", + "documentation":"

      Details about the location of the output of the batch inference job.

      " + }, + "timeoutDurationInHours":{ + "shape":"ModelInvocationJobTimeoutDurationInHours", + "documentation":"

      The number of hours after which the batch inference job was set to time out.

      " + }, + "jobExpirationTime":{ + "shape":"Timestamp", + "documentation":"

      The time at which the batch inference job times or timed out.

      " + } + }, + "documentation":"

      A summary of a batch inference job.

      " + }, + "ModelInvocationJobTimeoutDurationInHours":{ + "type":"integer", + "box":true, + "max":168, + "min":24 + }, "ModelModality":{ "type":"string", "enum":[ @@ -3930,6 +4391,7 @@ }, "RoleArn":{ "type":"string", + "documentation":"

      ARN of a IAM role

      ", "max":2048, "min":0, "pattern":"arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/.+" @@ -3949,6 +4411,10 @@ }, "documentation":"

      S3 configuration for storing log data.

      " }, + "S3InputFormat":{ + "type":"string", + "enum":["JSONL"] + }, "S3Uri":{ "type":"string", "max":1024, @@ -4038,6 +4504,23 @@ "members":{ } }, + "StopModelInvocationJobRequest":{ + "type":"structure", + "required":["jobIdentifier"], + "members":{ + "jobIdentifier":{ + "shape":"ModelInvocationJobIdentifier", + "documentation":"

      The Amazon Resource Name (ARN) of the batch inference job to stop.

      ", + "location":"uri", + "locationName":"jobIdentifier" + } + } + }, + "StopModelInvocationJobResponse":{ + "type":"structure", + "members":{ + } + }, "String":{"type":"string"}, "SubnetId":{ "type":"string", @@ -4119,7 +4602,7 @@ "type":"string", "max":1011, "min":20, - "pattern":".*(^[a-zA-Z0-9][a-zA-Z0-9\\-]*$)|(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:([0-9]{12}|)((:(fine-tuning-job|model-customization-job|custom-model)/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}(/[a-z0-9]{12})$)|(:provisioned-model/[a-z0-9]{12}$)|(:guardrail/[a-z0-9]+$)|(:evaluation-job/[a-z0-9]{12}$))).*" + "pattern":".*(^[a-zA-Z0-9][a-zA-Z0-9\\-]*$)|(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:([0-9]{12}|)((:(fine-tuning-job|model-customization-job|custom-model)/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}(/[a-z0-9]{12})$)|(:guardrail/[a-z0-9]+$)|(:(provisioned-model|model-invocation-job|model-evaluation-job|evaluation-job|model-import-job|imported-model)/[a-z0-9]{12}$))).*" }, "ThrottlingException":{ "type":"structure", diff --git a/tools/code-generation/api-descriptions/codebuild-2016-10-06.normal.json b/tools/code-generation/api-descriptions/codebuild-2016-10-06.normal.json index 4a82970858c..7954ea37912 100644 --- a/tools/code-generation/api-descriptions/codebuild-2016-10-06.normal.json +++ b/tools/code-generation/api-descriptions/codebuild-2016-10-06.normal.json @@ -1607,6 +1607,10 @@ "documentation":"

      The compute fleet overflow behavior.

      " }, "vpcConfig":{"shape":"VpcConfig"}, + "imageId":{ + "shape":"NonEmptyString", + "documentation":"

      The Amazon Machine Image (AMI) of the compute fleet.

      " + }, "fleetServiceRole":{ "shape":"NonEmptyString", "documentation":"

      The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User Guide.

      " @@ -2112,7 +2116,8 @@ "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER", "LINUX_LAMBDA_CONTAINER", - "ARM_LAMBDA_CONTAINER" + "ARM_LAMBDA_CONTAINER", + "MAC_ARM" ] }, "EnvironmentVariable":{ @@ -2227,6 +2232,10 @@ "documentation":"

      The compute fleet overflow behavior.

      " }, "vpcConfig":{"shape":"VpcConfig"}, + "imageId":{ + "shape":"NonEmptyString", + "documentation":"

      The Amazon Machine Image (AMI) of the compute fleet.

      " + }, "fleetServiceRole":{ "shape":"NonEmptyString", "documentation":"

      The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User Guide.

      " @@ -2253,7 +2262,9 @@ "enum":[ "CREATE_FAILED", "UPDATE_FAILED", - "ACTION_REQUIRED" + "ACTION_REQUIRED", + "PENDING_DELETION", + "INSUFFICIENT_CAPACITY" ] }, "FleetName":{ @@ -4530,6 +4541,10 @@ "documentation":"

      The compute fleet overflow behavior.

      " }, "vpcConfig":{"shape":"VpcConfig"}, + "imageId":{ + "shape":"NonEmptyString", + "documentation":"

      The Amazon Machine Image (AMI) of the compute fleet.

      " + }, "fleetServiceRole":{ "shape":"NonEmptyString", "documentation":"

      The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User Guide.

      " 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 index af88bacfe4d..d4efd087827 100644 --- a/tools/code-generation/api-descriptions/deadline-2023-10-12.normal.json +++ b/tools/code-generation/api-descriptions/deadline-2023-10-12.normal.json @@ -2,9 +2,10 @@ "version":"2.0", "metadata":{ "apiVersion":"2023-10-12", + "auth":["aws.auth#sigv4"], "endpointPrefix":"deadline", - "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"AWSDeadlineCloud", "serviceId":"deadline", "signatureVersion":"v4", @@ -311,7 +312,7 @@ {"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.

      ", + "documentation":"

      Creates a job. A job is a set of instructions that AWS Deadline Cloud uses to schedule and run work on available workers. For more information, see Deadline Cloud jobs.

      ", "endpoint":{"hostPrefix":"management."}, "idempotent":true }, @@ -599,7 +600,7 @@ {"shape":"ConflictException"}, {"shape":"ValidationException"} ], - "documentation":"

      Deletes a queue.

      ", + "documentation":"

      Deletes a queue.

      You can't recover the jobs in a queue if you delete the queue. Deleting the queue also deletes the jobs in that queue.

      ", "endpoint":{"hostPrefix":"management."}, "idempotent":true }, @@ -1688,7 +1689,7 @@ {"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.

      ", + "documentation":"

      Starts an asynchronous request for getting aggregated statistics about queues and farms. Get the statistics using the GetSessionsStatisticsAggregation operation. You can only have one running aggregation for your Deadline Cloud farm. Call the GetSessionsStatisticsAggregation operation and check the status field to see if an aggregation is running. Statistics are available for 1 hour after you call the StartSessionsStatisticsAggregation operation.

      ", "endpoint":{"hostPrefix":"management."} }, "TagResource":{ @@ -1810,7 +1811,7 @@ {"shape":"ConflictException"}, {"shape":"ValidationException"} ], - "documentation":"

      Updates a job.

      ", + "documentation":"

      Updates a job.

      When you change the status of the job to ARCHIVED, the job can't be scheduled or archived.

      An archived jobs and its steps and tasks are deleted after 120 days. The job can't be recovered.

      ", "endpoint":{"hostPrefix":"management."}, "idempotent":true }, @@ -2024,13 +2025,13 @@ "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.

      " + }, + "max":{ + "shape":"MinZeroMaxInteger", + "documentation":"

      The maximum GPU for the accelerator.

      " } }, "documentation":"

      The range for the GPU fleet acceleration.

      " @@ -2039,13 +2040,13 @@ "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.

      " + }, + "max":{ + "shape":"MinZeroMaxInteger", + "documentation":"

      The maximum amount of memory to use for the accelerator, measured in MiB.

      " } }, "documentation":"

      The range for memory, in MiB, to use for the accelerator.

      " @@ -2062,11 +2063,11 @@ "type":"structure", "required":["message"], "members":{ + "message":{"shape":"String"}, "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":{ @@ -2081,7 +2082,7 @@ }, "AggregationId":{ "type":"string", - "pattern":"^[0-9a-f]{32}$" + "pattern":"[0-9a-f]{32}" }, "AllowedStorageProfileIds":{ "type":"list", @@ -2093,7 +2094,7 @@ "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})+$" + "pattern":"([a-zA-Z][a-zA-Z0-9]{0,63}:)?amount(\\.[a-zA-Z][a-zA-Z0-9]{0,63})+" }, "AssignedEnvironmentEnterSessionActionDefinition":{ "type":"structure", @@ -2120,27 +2121,27 @@ "AssignedSession":{ "type":"structure", "required":[ - "jobId", - "logConfiguration", "queueId", - "sessionActions" + "jobId", + "sessionActions", + "logConfiguration" ], "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.

      " }, + "jobId":{ + "shape":"JobId", + "documentation":"

      The job ID for the assigned session.

      " + }, "sessionActions":{ "shape":"AssignedSessionActions", "documentation":"

      The session actions to apply to the assigned session.

      " + }, + "logConfiguration":{ + "shape":"LogConfiguration", + "documentation":"

      The log configuration for the worker's assigned session.

      " } }, "documentation":"

      The assigned session for the worker.

      " @@ -2148,17 +2149,17 @@ "AssignedSessionAction":{ "type":"structure", "required":[ - "definition", - "sessionActionId" + "sessionActionId", + "definition" ], "members":{ - "definition":{ - "shape":"AssignedSessionActionDefinition", - "documentation":"

      The definition of the assigned session action.

      " - }, "sessionActionId":{ "shape":"SessionActionId", "documentation":"

      The session action ID for the assigned session.

      " + }, + "definition":{ + "shape":"AssignedSessionActionDefinition", + "documentation":"

      The definition of the assigned session action.

      " } }, "documentation":"

      The action for a session defined by the session action ID.

      " @@ -2174,13 +2175,13 @@ "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.

      " + }, + "syncInputJobAttachments":{ + "shape":"AssignedSyncInputJobAttachmentsSessionActionDefinition", + "documentation":"

      The job attachment to sync with an assigned session action.

      " } }, "documentation":"

      The definition of the assigned session action.

      ", @@ -2208,22 +2209,22 @@ "AssignedTaskRunSessionActionDefinition":{ "type":"structure", "required":[ - "parameters", + "taskId", "stepId", - "taskId" + "parameters" ], "members":{ - "parameters":{ - "shape":"TaskParameters", - "documentation":"

      The parameters to include.

      " + "taskId":{ + "shape":"TaskId", + "documentation":"

      The task ID.

      " }, "stepId":{ "shape":"StepId", "documentation":"

      The step ID.

      " }, - "taskId":{ - "shape":"TaskId", - "documentation":"

      The task ID.

      " + "parameters":{ + "shape":"TaskParameters", + "documentation":"

      The parameters to include.

      " } }, "documentation":"

      The specific task, step, and parameters to include.

      " @@ -2232,10 +2233,10 @@ "type":"structure", "required":[ "farmId", - "identityStoreId", - "membershipLevel", "principalId", - "principalType" + "principalType", + "identityStoreId", + "membershipLevel" ], "members":{ "farmId":{ @@ -2244,14 +2245,6 @@ "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.

      ", @@ -2261,6 +2254,14 @@ "principalType":{ "shape":"PrincipalType", "documentation":"

      The principal type of the member to associate with the farm.

      " + }, + "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.

      " } } }, @@ -2274,10 +2275,10 @@ "required":[ "farmId", "fleetId", - "identityStoreId", - "membershipLevel", "principalId", - "principalType" + "principalType", + "identityStoreId", + "membershipLevel" ], "members":{ "farmId":{ @@ -2292,14 +2293,6 @@ "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.

      ", @@ -2309,6 +2302,14 @@ "principalType":{ "shape":"PrincipalType", "documentation":"

      The member's principal type to associate with the fleet.

      " + }, + "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.

      " } } }, @@ -2321,12 +2322,12 @@ "type":"structure", "required":[ "farmId", - "identityStoreId", + "queueId", "jobId", - "membershipLevel", "principalId", "principalType", - "queueId" + "identityStoreId", + "membershipLevel" ], "members":{ "farmId":{ @@ -2335,9 +2336,11 @@ "location":"uri", "locationName":"farmId" }, - "identityStoreId":{ - "shape":"IdentityStoreId", - "documentation":"

      The member's identity store ID to associate with the job.

      " + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID to associate to the member.

      ", + "location":"uri", + "locationName":"queueId" }, "jobId":{ "shape":"JobId", @@ -2345,10 +2348,6 @@ "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.

      ", @@ -2359,11 +2358,13 @@ "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" + "identityStoreId":{ + "shape":"IdentityStoreId", + "documentation":"

      The member's identity store ID to associate with the job.

      " + }, + "membershipLevel":{ + "shape":"MembershipLevel", + "documentation":"

      The principal's membership level for the associated job.

      " } } }, @@ -2376,11 +2377,11 @@ "type":"structure", "required":[ "farmId", - "identityStoreId", - "membershipLevel", + "queueId", "principalId", "principalType", - "queueId" + "identityStoreId", + "membershipLevel" ], "members":{ "farmId":{ @@ -2389,13 +2390,11 @@ "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.

      " + "queueId":{ + "shape":"QueueId", + "documentation":"

      The ID of the queue to associate to the member.

      ", + "location":"uri", + "locationName":"queueId" }, "principalId":{ "shape":"IdentityCenterPrincipalId", @@ -2407,11 +2406,13 @@ "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" + "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.

      " } } }, @@ -2560,8 +2561,8 @@ "required":[ "farmId", "fleetId", - "queueId", - "workerId" + "workerId", + "queueId" ], "members":{ "farmId":{ @@ -2576,17 +2577,17 @@ "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" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID of the worker assuming the queue role.

      ", + "location":"querystring", + "locationName":"queueId" } } }, @@ -2604,13 +2605,13 @@ "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.

      " + }, + "fileSystem":{ + "shape":"JobAttachmentsFileSystem", + "documentation":"

      The file system.

      " } }, "documentation":"

      The attachments for jobs.

      " @@ -2619,13 +2620,13 @@ "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})+$" + "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})$" + "pattern":"[a-zA-Z_]([a-zA-Z0-9_\\-]{0,99})" }, "AttributeCapabilityValuesList":{ "type":"list", @@ -2652,19 +2653,15 @@ "type":"structure", "required":[ "accessKeyId", - "expiration", "secretAccessKey", - "sessionToken" + "sessionToken", + "expiration" ], "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.

      " @@ -2672,6 +2669,10 @@ "sessionToken":{ "shape":"SessionToken", "documentation":"

      The IAM session token

      " + }, + "expiration":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

      The expiration date and time of the IAM credentials.

      " } }, "documentation":"

      The Identity and Access Management credentials.

      ", @@ -2692,8 +2693,8 @@ "required":[ "farmId", "fleetId", - "identifiers", - "workerId" + "workerId", + "identifiers" ], "members":{ "farmId":{ @@ -2708,15 +2709,15 @@ "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" + }, + "identifiers":{ + "shape":"JobEntityIdentifiers", + "documentation":"

      The job identifiers to include within the job entity batch details.

      " } } }, @@ -2745,21 +2746,21 @@ "BudgetActionToAdd":{ "type":"structure", "required":[ - "thresholdPercentage", - "type" + "type", + "thresholdPercentage" ], "members":{ - "description":{ - "shape":"Description", - "documentation":"

      A description for the budget action to add.

      " + "type":{ + "shape":"BudgetActionType", + "documentation":"

      The type of 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.

      " + "description":{ + "shape":"Description", + "documentation":"

      A description for the budget action to add.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " } }, "documentation":"

      The budget action to add.

      " @@ -2767,17 +2768,17 @@ "BudgetActionToRemove":{ "type":"structure", "required":[ - "thresholdPercentage", - "type" + "type", + "thresholdPercentage" ], "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.

      " + }, + "thresholdPercentage":{ + "shape":"ThresholdPercentage", + "documentation":"

      The percentage threshold for the budget action to remove.

      " } }, "documentation":"

      The budget action to remove.

      " @@ -2803,7 +2804,7 @@ }, "BudgetId":{ "type":"string", - "pattern":"^budget-[0-9a-f]{32}$" + "pattern":"budget-[0-9a-f]{32}" }, "BudgetSchedule":{ "type":"structure", @@ -2830,59 +2831,61 @@ "BudgetSummary":{ "type":"structure", "required":[ - "approximateDollarLimit", "budgetId", - "createdAt", - "createdBy", - "displayName", - "status", "usageTrackingResource", - "usages" + "status", + "displayName", + "approximateDollarLimit", + "usages", + "createdBy", + "createdAt" ], "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.

      " + "usageTrackingResource":{ + "shape":"UsageTrackingResource", + "documentation":"

      The resource used to track expenditure in the budget.

      " }, "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.

      " + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The display name of the budget summary to update.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, - "updatedBy":{ - "shape":"UpdatedBy", - "documentation":"

      The user or system that updated this resource.

      " + "description":{ + "shape":"Description", + "documentation":"

      The description of the budget summary.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      ", + "deprecated":true, + "deprecatedMessage":"ListBudgets no longer supports description. Use GetBudget if description is needed." }, - "usageTrackingResource":{ - "shape":"UsageTrackingResource", - "documentation":"

      The resource used to track expenditure in the budget.

      " + "approximateDollarLimit":{ + "shape":"ConsumedUsageLimit", + "documentation":"

      The approximate dollar limit of the budget.

      " }, "usages":{ "shape":"ConsumedUsages", "documentation":"

      The consumed usage for the budget.

      " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user or system that created this resource.

      " + }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The date and time the resource was created.

      " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

      The user or system that updated this resource.

      " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

      The date and time the resource was updated.

      " } }, "documentation":"

      The budget summary.

      " @@ -2932,10 +2935,6 @@ "resourceType" ], "members":{ - "context":{ - "shape":"ExceptionContext", - "documentation":"

      Information about the resources in use when the exception was thrown.

      " - }, "message":{"shape":"String"}, "reason":{ "shape":"ConflictExceptionReason", @@ -2948,6 +2947,10 @@ "resourceType":{ "shape":"String", "documentation":"

      The type of the resource in use.

      " + }, + "context":{ + "shape":"ExceptionContext", + "documentation":"

      Information about the resources in use when the exception was thrown.

      " } }, "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.

      ", @@ -3036,22 +3039,14 @@ "CreateBudgetRequest":{ "type":"structure", "required":[ - "actions", - "approximateDollarLimit", - "displayName", "farmId", - "schedule", - "usageTrackingResource" + "usageTrackingResource", + "displayName", + "approximateDollarLimit", + "actions", + "schedule" ], "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.

      ", @@ -3059,27 +3054,35 @@ "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.

      " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The display name of the budget.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " + }, + "description":{ + "shape":"Description", + "documentation":"

      The description of the budget.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " + }, + "approximateDollarLimit":{ + "shape":"ConsumedUsageLimit", + "documentation":"

      The dollar limit based on consumed usage.

      " + }, + "actions":{ + "shape":"BudgetActionsToAdd", + "documentation":"

      The budget actions to specify what happens when the budget runs out.

      " + }, + "schedule":{ + "shape":"BudgetSchedule", + "documentation":"

      The schedule to associate with this budget.

      " } } }, @@ -3104,13 +3107,13 @@ "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.

      " + "documentation":"

      The display name of the farm.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " + }, + "description":{ + "shape":"Description", + "documentation":"

      The description of the farm.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, "kmsKeyArn":{ "shape":"KmsKeyArn", @@ -3135,11 +3138,11 @@ "CreateFleetRequest":{ "type":"structure", "required":[ - "configuration", - "displayName", "farmId", + "displayName", + "roleArn", "maxWorkerCount", - "roleArn" + "configuration" ], "members":{ "clientToken":{ @@ -3149,36 +3152,36 @@ "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.

      " + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The display name of the fleet.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, - "minWorkerCount":{ - "shape":"MinZeroMaxInteger", - "documentation":"

      The minimum number of workers for the fleet.

      " + "description":{ + "shape":"Description", + "documentation":"

      The description of the fleet.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, "roleArn":{ "shape":"IamRoleArn", "documentation":"

      The IAM role ARN for the role that the fleet's workers will use.

      " }, + "minWorkerCount":{ + "shape":"MinZeroMaxInteger", + "documentation":"

      The minimum number of workers for the fleet.

      " + }, + "maxWorkerCount":{ + "shape":"MinZeroMaxInteger", + "documentation":"

      The maximum number of workers for the fleet.

      " + }, + "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.

      " + }, "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.

      " @@ -3199,15 +3202,23 @@ "type":"structure", "required":[ "farmId", - "priority", "queueId", "template", - "templateType" + "templateType", + "priority" ], "members":{ - "attachments":{ - "shape":"Attachments", - "documentation":"

      The attachments for the job. Attach files required for the job to run to a render job.

      " + "farmId":{ + "shape":"FarmId", + "documentation":"

      The farm ID of the farm to connect to the job.

      ", + "location":"uri", + "locationName":"farmId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

      The ID of the queue that the job is submitted to.

      ", + "location":"uri", + "locationName":"queueId" }, "clientToken":{ "shape":"ClientToken", @@ -3216,33 +3227,25 @@ "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" + "template":{ + "shape":"JobTemplate", + "documentation":"

      The job template to use for this job.

      " }, - "maxFailedTasksCount":{ - "shape":"MaxFailedTasksCount", - "documentation":"

      The number of task failures before the job stops running and is marked as FAILED.

      " + "templateType":{ + "shape":"JobTemplateType", + "documentation":"

      The file type for the job template.

      " }, - "maxRetriesPerTask":{ - "shape":"MaxRetriesPerTask", - "documentation":"

      The maximum number of retries for a job.

      " + "priority":{ + "shape":"JobPriority", + "documentation":"

      The priority of the job on a scale of 0 to 100. The highest priority (first scheduled) is 100. When two jobs have the same priority, the oldest job is scheduled first.

      " }, "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" + "attachments":{ + "shape":"Attachments", + "documentation":"

      The attachments for the job. Attach files required for the job to run to a render job.

      " }, "storageProfileId":{ "shape":"StorageProfileId", @@ -3250,15 +3253,15 @@ }, "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.

      " + "documentation":"

      The initial job status when it is created. Jobs that are created with a SUSPENDED status will not run until manually requeued.

      " }, - "template":{ - "shape":"JobTemplate", - "documentation":"

      The job template to use for this job.

      " + "maxFailedTasksCount":{ + "shape":"MaxFailedTasksCount", + "documentation":"

      The number of task failures before the job stops running and is marked as FAILED.

      " }, - "templateType":{ - "shape":"JobTemplateType", - "documentation":"

      The file type for the job template.

      " + "maxRetriesPerTask":{ + "shape":"MaxRetriesPerTask", + "documentation":"

      The maximum number of retries for each task.

      " } } }, @@ -3282,9 +3285,9 @@ "CreateLicenseEndpointRequest":{ "type":"structure", "required":[ - "securityGroupIds", + "vpcId", "subnetIds", - "vpcId" + "securityGroupIds" ], "members":{ "clientToken":{ @@ -3294,21 +3297,21 @@ "location":"header", "locationName":"X-Amz-Client-Token" }, - "securityGroupIds":{ - "shape":"CreateLicenseEndpointRequestSecurityGroupIdsList", - "documentation":"

      The security group IDs.

      " + "vpcId":{ + "shape":"VpcId", + "documentation":"

      The VPC (virtual private cloud) ID to use with the license endpoint.

      " }, "subnetIds":{ "shape":"CreateLicenseEndpointRequestSubnetIdsList", "documentation":"

      The subnet IDs.

      " }, + "securityGroupIds":{ + "shape":"CreateLicenseEndpointRequestSecurityGroupIdsList", + "documentation":"

      The security group 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.

      " } } }, @@ -3339,8 +3342,8 @@ "required":[ "displayName", "identityCenterInstanceArn", - "roleArn", - "subdomain" + "subdomain", + "roleArn" ], "members":{ "clientToken":{ @@ -3352,36 +3355,36 @@ }, "displayName":{ "shape":"ResourceName", - "documentation":"

      The name that you give the monitor that is displayed in the Deadline Cloud console.

      " + "documentation":"

      The name that you give the monitor that is displayed in the Deadline Cloud console.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, "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.

      " + }, + "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.

      " } } }, "CreateMonitorResponse":{ "type":"structure", "required":[ - "identityCenterApplicationArn", - "monitorId" + "monitorId", + "identityCenterApplicationArn" ], "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.

      " + }, + "identityCenterApplicationArn":{ + "shape":"IdentityCenterApplicationArn", + "documentation":"

      The Amazon Resource Name (ARN) that IAM Identity Center assigns to the monitor.

      " } } }, @@ -3389,10 +3392,10 @@ "type":"structure", "required":[ "farmId", - "priority", "queueId", - "template", - "templateType" + "priority", + "templateType", + "template" ], "members":{ "clientToken":{ @@ -3408,23 +3411,23 @@ "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.

      " + "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.

      " }, "templateType":{ "shape":"EnvironmentTemplateType", "documentation":"

      The template's file type, JSON or YAML.

      " + }, + "template":{ + "shape":"EnvironmentTemplate", + "documentation":"

      The environment template to use in the queue.

      " } } }, @@ -3442,8 +3445,8 @@ "type":"structure", "required":[ "farmId", - "fleetId", - "queueId" + "queueId", + "fleetId" ], "members":{ "farmId":{ @@ -3452,13 +3455,13 @@ "location":"uri", "locationName":"farmId" }, - "fleetId":{ - "shape":"FleetId", - "documentation":"

      The fleet ID.

      " - }, "queueId":{ "shape":"QueueId", "documentation":"

      The queue ID.

      " + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

      The fleet ID.

      " } } }, @@ -3470,14 +3473,10 @@ "CreateQueueRequest":{ "type":"structure", "required":[ - "displayName", - "farmId" + "farmId", + "displayName" ], "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.

      ", @@ -3485,28 +3484,32 @@ "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" }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The display name of the queue.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " + }, + "description":{ + "shape":"Description", + "documentation":"

      The description of the queue.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " + }, + "defaultBudgetAction":{ + "shape":"DefaultQueueBudgetAction", + "documentation":"

      The default action to take on a queue if a budget isn't configured.

      " + }, "jobAttachmentSettings":{ "shape":"JobAttachmentSettings", "documentation":"

      The job attachment settings for the queue. These are the Amazon S3 bucket name and the Amazon S3 prefix.

      " }, + "roleArn":{ + "shape":"IamRoleArn", + "documentation":"

      The IAM role ARN that workers will use while running jobs for this queue.

      " + }, "jobRunAsUser":{ "shape":"JobRunAsUser", "documentation":"

      The jobs in the queue run as the specified POSIX user.

      " @@ -3515,9 +3518,9 @@ "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.

      " + "allowedStorageProfileIds":{ + "shape":"AllowedStorageProfileIds", + "documentation":"

      The storage profile IDs to include in the queue.

      " }, "tags":{ "shape":"Tags", @@ -3538,8 +3541,8 @@ "CreateStorageProfileRequest":{ "type":"structure", "required":[ - "displayName", "farmId", + "displayName", "osFamily" ], "members":{ @@ -3550,23 +3553,23 @@ "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.

      " + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The display name of the storage profile.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, "osFamily":{ "shape":"StorageProfileOperatingSystemFamily", "documentation":"

      The type of operating system (OS) for the storage profile.

      " + }, + "fileSystemLocations":{ + "shape":"FileSystemLocationsList", + "documentation":"

      File system paths to include in the storage profile.

      " } } }, @@ -3587,13 +3590,6 @@ "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.

      ", @@ -3609,6 +3605,13 @@ "hostProperties":{ "shape":"HostPropertiesRequest", "documentation":"

      The IP address and host name of the worker.

      " + }, + "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" } } }, @@ -3650,13 +3653,13 @@ "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.

      " + }, + "storageProfileId":{ + "shape":"StorageProfileId", + "documentation":"

      The storage profile ID.

      " } }, "documentation":"

      The details of a customer managed fleet configuration.

      " @@ -3672,12 +3675,24 @@ "CustomerManagedWorkerCapabilities":{ "type":"structure", "required":[ - "cpuArchitectureType", + "vCpuCount", "memoryMiB", "osFamily", - "vCpuCount" + "cpuArchitectureType" ], "members":{ + "vCpuCount":{ + "shape":"VCpuCountRange", + "documentation":"

      The vCPU count for the customer manged worker capabilities.

      " + }, + "memoryMiB":{ + "shape":"MemoryMiBRange", + "documentation":"

      The memory (MiB).

      " + }, + "acceleratorTypes":{ + "shape":"AcceleratorTypes", + "documentation":"

      The accelerator types for the customer managed worker capabilities.

      " + }, "acceleratorCount":{ "shape":"AcceleratorCountRange", "documentation":"

      The range of the accelerator.

      " @@ -3686,9 +3701,9 @@ "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.

      " + "osFamily":{ + "shape":"CustomerManagedFleetOperatingSystemFamily", + "documentation":"

      The operating system (OS) family.

      " }, "cpuArchitectureType":{ "shape":"CpuArchitectureType", @@ -3701,18 +3716,6 @@ "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.

      " @@ -3720,15 +3723,11 @@ "DateTimeFilterExpression":{ "type":"structure", "required":[ - "dateTime", "name", - "operator" + "operator", + "dateTime" ], "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.

      " @@ -3736,6 +3735,10 @@ "operator":{ "shape":"ComparisonOperator", "documentation":"

      The type of comparison to use to filter the results.

      " + }, + "dateTime":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

      The date and time.

      " } }, "documentation":"

      The time stamp in date-time format.

      " @@ -3751,21 +3754,21 @@ "DeleteBudgetRequest":{ "type":"structure", "required":[ - "budgetId", - "farmId" + "farmId", + "budgetId" ], "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" + }, + "budgetId":{ + "shape":"BudgetId", + "documentation":"

      The budget ID of the budget to delete.

      ", + "location":"uri", + "locationName":"budgetId" } } }, @@ -3888,8 +3891,8 @@ "type":"structure", "required":[ "farmId", - "queueEnvironmentId", - "queueId" + "queueId", + "queueEnvironmentId" ], "members":{ "farmId":{ @@ -3898,17 +3901,17 @@ "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" + }, + "queueEnvironmentId":{ + "shape":"QueueEnvironmentId", + "documentation":"

      The queue environment ID of the queue environment to delete.

      ", + "location":"uri", + "locationName":"queueEnvironmentId" } } }, @@ -3921,8 +3924,8 @@ "type":"structure", "required":[ "farmId", - "fleetId", - "queueId" + "queueId", + "fleetId" ], "members":{ "farmId":{ @@ -3931,17 +3934,17 @@ "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" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

      The fleet ID of the queue-fleet association.

      ", + "location":"uri", + "locationName":"fleetId" } } }, @@ -4049,20 +4052,12 @@ "DependencyCounts":{ "type":"structure", "required":[ - "consumersResolved", - "consumersUnresolved", "dependenciesResolved", - "dependenciesUnresolved" + "dependenciesUnresolved", + "consumersResolved", + "consumersUnresolved" ], "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.

      " @@ -4070,6 +4065,14 @@ "dependenciesUnresolved":{ "shape":"Integer", "documentation":"

      The number of unresolved dependencies.

      " + }, + "consumersResolved":{ + "shape":"Integer", + "documentation":"

      The number of consumers resolved.

      " + }, + "consumersUnresolved":{ + "shape":"Integer", + "documentation":"

      The number of unresolved consumers.

      " } }, "documentation":"

      The number of dependencies for the consumer.

      " @@ -4147,9 +4150,9 @@ "type":"structure", "required":[ "farmId", + "queueId", "jobId", - "principalId", - "queueId" + "principalId" ], "members":{ "farmId":{ @@ -4158,6 +4161,12 @@ "location":"uri", "locationName":"farmId" }, + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID connected to a job for which you're disassociating a member.

      ", + "location":"uri", + "locationName":"queueId" + }, "jobId":{ "shape":"JobId", "documentation":"

      The job ID to disassociate from a member in a job.

      ", @@ -4169,12 +4178,6 @@ "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" } } }, @@ -4187,8 +4190,8 @@ "type":"structure", "required":[ "farmId", - "principalId", - "queueId" + "queueId", + "principalId" ], "members":{ "farmId":{ @@ -4197,17 +4200,17 @@ "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" + }, + "principalId":{ + "shape":"IdentityCenterPrincipalId", + "documentation":"

      A member's principal ID to disassociate from a queue.

      ", + "location":"uri", + "locationName":"principalId" } } }, @@ -4218,7 +4221,7 @@ }, "DnsName":{ "type":"string", - "pattern":"^vpce-[\\w]+-[\\w]+.vpce-svc-[\\w]+.*.vpce.amazonaws.com$" + "pattern":"vpce-[\\w]+-[\\w]+.vpce-svc-[\\w]+.*.vpce.amazonaws.com" }, "Document":{ "type":"structure", @@ -4246,14 +4249,14 @@ "Ec2EbsVolume":{ "type":"structure", "members":{ - "iops":{ - "shape":"EbsIops", - "documentation":"

      The IOPS per volume.

      " - }, "sizeGiB":{ "shape":"Integer", "documentation":"

      The EBS volume size in GiB.

      " }, + "iops":{ + "shape":"EbsIops", + "documentation":"

      The IOPS per volume.

      " + }, "throughputMiB":{ "shape":"EbsThroughputMiB", "documentation":"

      The throughput per volume in MiB.

      " @@ -4279,20 +4282,20 @@ "EnvironmentDetailsEntity":{ "type":"structure", "required":[ - "environmentId", "jobId", + "environmentId", "schemaVersion", "template" ], "members":{ - "environmentId":{ - "shape":"EnvironmentId", - "documentation":"

      The environment ID.

      " - }, "jobId":{ "shape":"JobId", "documentation":"

      The job ID.

      " }, + "environmentId":{ + "shape":"EnvironmentId", + "documentation":"

      The environment ID.

      " + }, "schemaVersion":{ "shape":"String", "documentation":"

      The schema version in the environment.

      " @@ -4307,23 +4310,23 @@ "EnvironmentDetailsError":{ "type":"structure", "required":[ - "code", - "environmentId", "jobId", + "environmentId", + "code", "message" ], "members":{ - "code":{ - "shape":"JobEntityErrorCode", - "documentation":"

      The error code.

      " + "jobId":{ + "shape":"JobId", + "documentation":"

      The job ID.

      " }, "environmentId":{ "shape":"EnvironmentId", "documentation":"

      The environment ID.

      " }, - "jobId":{ - "shape":"JobId", - "documentation":"

      The job ID.

      " + "code":{ + "shape":"JobEntityErrorCode", + "documentation":"

      The error code.

      " }, "message":{ "shape":"String", @@ -4335,17 +4338,17 @@ "EnvironmentDetailsIdentifiers":{ "type":"structure", "required":[ - "environmentId", - "jobId" + "jobId", + "environmentId" ], "members":{ - "environmentId":{ - "shape":"EnvironmentId", - "documentation":"

      The environment ID.

      " - }, "jobId":{ "shape":"JobId", "documentation":"

      The job ID.

      " + }, + "environmentId":{ + "shape":"EnvironmentId", + "documentation":"

      The environment ID.

      " } }, "documentation":"

      The IDs of the job and environment.

      " @@ -4398,7 +4401,7 @@ "type":"string", "max":1024, "min":1, - "pattern":"^(STEP:step-[0-9a-f]{32}:.*)|(JOB:job-[0-9a-f]{32}:.*)$" + "pattern":"(STEP:step-[0-9a-f]{32}:.*)|(JOB:job-[0-9a-f]{32}:.*)" }, "EnvironmentName":{"type":"string"}, "EnvironmentTemplate":{ @@ -4421,30 +4424,22 @@ }, "FarmId":{ "type":"string", - "pattern":"^farm-[0-9a-f]{32}$" + "pattern":"farm-[0-9a-f]{32}" }, "FarmMember":{ "type":"structure", "required":[ "farmId", - "identityStoreId", - "membershipLevel", "principalId", - "principalType" + "principalType", + "identityStoreId", + "membershipLevel" ], "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.

      " @@ -4452,10 +4447,18 @@ "principalType":{ "shape":"PrincipalType", "documentation":"

      The principal type of the farm member.

      " - } - }, - "documentation":"

      The member of a farm.

      " - }, + }, + "identityStoreId":{ + "shape":"IdentityStoreId", + "documentation":"

      The identity store ID of the farm member.

      " + }, + "membershipLevel":{ + "shape":"MembershipLevel", + "documentation":"

      The farm member's membership level.

      " + } + }, + "documentation":"

      The member of a farm.

      " + }, "FarmMembers":{ "type":"list", "member":{"shape":"FarmMember"} @@ -4467,32 +4470,32 @@ "FarmSummary":{ "type":"structure", "required":[ - "createdAt", - "createdBy", + "farmId", "displayName", - "farmId" + "createdAt", + "createdBy" ], "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.

      " }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The display name of the farm.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " + }, "kmsKeyArn":{ "shape":"KmsKeyArn", "documentation":"

      The ARN for the KMS key.

      " }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The date and time the resource was created.

      " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user or system that created this resource.

      " + }, "updatedAt":{ "shape":"UpdatedAt", "documentation":"

      The date and time the resource was updated.

      " @@ -4507,17 +4510,17 @@ "FieldSortExpression":{ "type":"structure", "required":[ - "name", - "sortOrder" + "sortOrder", + "name" ], "members":{ - "name":{ - "shape":"String", - "documentation":"

      The name of the field.

      " - }, "sortOrder":{ "shape":"SortOrder", "documentation":"

      The sort order for the field.

      " + }, + "name":{ + "shape":"String", + "documentation":"

      The name of the field.

      " } }, "documentation":"

      The field sorting order and name of the field.

      " @@ -4550,7 +4553,7 @@ "type":"string", "max":64, "min":1, - "pattern":"^[0-9A-Za-z ]*$", + "pattern":"[0-9A-Za-z ]*", "sensitive":true }, "FileSystemLocationType":{ @@ -4569,17 +4572,17 @@ "FixedBudgetSchedule":{ "type":"structure", "required":[ - "endTime", - "startTime" + "startTime", + "endTime" ], "members":{ - "endTime":{ - "shape":"EndsAt", - "documentation":"

      When the budget ends.

      " - }, "startTime":{ "shape":"StartsAt", "documentation":"

      When the budget starts.

      " + }, + "endTime":{ + "shape":"EndsAt", + "documentation":"

      When the budget ends.

      " } }, "documentation":"

      The details of a fixed budget schedule.

      " @@ -4593,21 +4596,21 @@ "FleetAmountCapability":{ "type":"structure", "required":[ - "min", - "name" + "name", + "min" ], "members":{ - "max":{ - "shape":"Float", - "documentation":"

      The maximum amount of the fleet worker capability.

      " + "name":{ + "shape":"AmountCapabilityName", + "documentation":"

      The name of the fleet capability.

      " }, "min":{ "shape":"Float", "documentation":"

      The minimum amount of fleet worker capability.

      " }, - "name":{ - "shape":"AmountCapabilityName", - "documentation":"

      The name of the fleet capability.

      " + "max":{ + "shape":"Float", + "documentation":"

      The maximum amount of the fleet worker capability.

      " } }, "documentation":"

      The fleet amount and attribute capabilities.

      " @@ -4667,17 +4670,17 @@ }, "FleetId":{ "type":"string", - "pattern":"^fleet-[0-9a-f]{32}$" + "pattern":"fleet-[0-9a-f]{32}" }, "FleetMember":{ "type":"structure", "required":[ "farmId", "fleetId", - "identityStoreId", - "membershipLevel", "principalId", - "principalType" + "principalType", + "identityStoreId", + "membershipLevel" ], "members":{ "farmId":{ @@ -4688,14 +4691,6 @@ "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.

      " @@ -4703,6 +4698,14 @@ "principalType":{ "shape":"PrincipalType", "documentation":"

      The principal type of the fleet member.

      " + }, + "identityStoreId":{ + "shape":"IdentityStoreId", + "documentation":"

      The identity store ID.

      " + }, + "membershipLevel":{ + "shape":"MembershipLevel", + "documentation":"

      The fleet member's membership level.

      " } }, "documentation":"

      The fleet member.

      " @@ -4728,22 +4731,54 @@ "FleetSummary":{ "type":"structure", "required":[ - "configuration", - "createdAt", - "createdBy", - "displayName", - "farmId", "fleetId", - "maxWorkerCount", - "minWorkerCount", + "farmId", + "displayName", "status", - "workerCount" + "workerCount", + "minWorkerCount", + "maxWorkerCount", + "configuration", + "createdAt", + "createdBy" ], "members":{ + "fleetId":{ + "shape":"FleetId", + "documentation":"

      The fleet ID.

      " + }, + "farmId":{ + "shape":"FarmId", + "documentation":"

      The farm ID.

      " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The display name of the fleet summary to update.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " + }, + "status":{ + "shape":"FleetStatus", + "documentation":"

      The status of the fleet.

      " + }, "autoScalingStatus":{ "shape":"AutoScalingStatus", "documentation":"

      The Auto Scaling status of a fleet.

      " }, + "targetWorkerCount":{ + "shape":"Integer", + "documentation":"

      The target number of workers in a fleet.

      " + }, + "workerCount":{ + "shape":"Integer", + "documentation":"

      The number of workers in the fleet summary.

      " + }, + "minWorkerCount":{ + "shape":"MinZeroMaxInteger", + "documentation":"

      The minimum number of workers in the fleet.

      " + }, + "maxWorkerCount":{ + "shape":"MinZeroMaxInteger", + "documentation":"

      The maximum number of workers specified in the fleet.

      " + }, "configuration":{ "shape":"FleetConfiguration", "documentation":"

      The configuration details for the fleet.

      " @@ -4756,34 +4791,6 @@ "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.

      " @@ -4791,10 +4798,6 @@ "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.

      " @@ -4807,99 +4810,99 @@ "type":"string", "max":26, "min":1, - "pattern":"^[-]?(0|[1-9][0-9]*)([.][0-9]+)?([eE][+-]?[0-9]+)?$" + "pattern":"[-]?(0|[1-9][0-9]*)([.][0-9]+)?([eE][+-]?[0-9]+)?" }, "GetBudgetRequest":{ "type":"structure", "required":[ - "budgetId", - "farmId" + "farmId", + "budgetId" ], "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" + }, + "budgetId":{ + "shape":"BudgetId", + "documentation":"

      The budget ID.

      ", + "location":"uri", + "locationName":"budgetId" } } }, "GetBudgetResponse":{ "type":"structure", "required":[ - "actions", - "approximateDollarLimit", "budgetId", - "createdAt", - "createdBy", + "usageTrackingResource", + "status", "displayName", + "approximateDollarLimit", + "usages", + "actions", "schedule", - "status", - "usageTrackingResource", - "usages" + "createdBy", + "createdAt" ], "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.

      " + "usageTrackingResource":{ + "shape":"UsageTrackingResource", + "documentation":"

      The resource that the budget is tracking usage for.

      " }, - "createdBy":{ - "shape":"CreatedBy", - "documentation":"

      The user or system that created this resource.

      " + "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.

      " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The display name of the budget.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, "description":{ "shape":"Description", - "documentation":"

      The description of the budget.

      " + "documentation":"

      The description of the budget.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, - "displayName":{ - "shape":"ResourceName", - "documentation":"

      The display name of the budget.

      " + "approximateDollarLimit":{ + "shape":"ConsumedUsageLimit", + "documentation":"

      The consumed usage limit for the budget.

      " }, - "queueStoppedAt":{ - "shape":"UpdatedAt", - "documentation":"

      The date and time the queue stopped.

      " + "usages":{ + "shape":"ConsumedUsages", + "documentation":"

      The usages of the budget.

      " + }, + "actions":{ + "shape":"ResponseBudgetActionList", + "documentation":"

      The budget actions for the budget.

      " }, "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.

      " + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user or system that created this resource.

      " }, - "updatedAt":{ - "shape":"UpdatedAt", - "documentation":"

      The date and time the resource was updated.

      " + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The date and time the resource was created.

      " }, "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.

      " + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

      The date and time the resource was updated.

      " }, - "usages":{ - "shape":"ConsumedUsages", - "documentation":"

      The usages of the budget.

      " + "queueStoppedAt":{ + "shape":"UpdatedAt", + "documentation":"

      The date and time the queue stopped.

      " } } }, @@ -4918,37 +4921,37 @@ "GetFarmResponse":{ "type":"structure", "required":[ - "createdAt", - "createdBy", - "displayName", "farmId", - "kmsKeyArn" + "displayName", + "kmsKeyArn", + "createdAt", + "createdBy" ], "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.

      " + "farmId":{ + "shape":"FarmId", + "documentation":"

      The farm ID of the farm to get.

      " }, "displayName":{ "shape":"ResourceName", - "documentation":"

      The display name of the farm.

      " + "documentation":"

      The display name of the farm.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, - "farmId":{ - "shape":"FarmId", - "documentation":"

      The farm ID of the farm to get.

      " + "description":{ + "shape":"Description", + "documentation":"

      The description of the farm.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, "kmsKeyArn":{ "shape":"KmsKeyArn", "documentation":"

      The ARN of the KMS key used on the farm.

      " }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The date and time the resource was created.

      " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user or system that created this resource.

      " + }, "updatedAt":{ "shape":"UpdatedAt", "documentation":"

      The date and time the resource was updated.

      " @@ -4983,74 +4986,78 @@ "GetFleetResponse":{ "type":"structure", "required":[ - "configuration", - "createdAt", - "createdBy", - "displayName", - "farmId", "fleetId", - "maxWorkerCount", + "farmId", + "displayName", + "status", + "workerCount", "minWorkerCount", + "maxWorkerCount", + "configuration", "roleArn", - "status", - "workerCount" + "createdAt", + "createdBy" ], "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.

      " + "fleetId":{ + "shape":"FleetId", + "documentation":"

      The fleet ID.

      " }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

      The date and time the resource was created.

      " + "farmId":{ + "shape":"FarmId", + "documentation":"

      The farm ID of the farm in the fleet.

      " }, - "createdBy":{ - "shape":"CreatedBy", - "documentation":"

      The user or system that created this resource.

      " + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The display name of the fleet.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, "description":{ "shape":"Description", - "documentation":"

      The description of the fleet.

      " + "documentation":"

      The description of the fleet.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, - "displayName":{ - "shape":"ResourceName", - "documentation":"

      The display name of the fleet.

      " + "status":{ + "shape":"FleetStatus", + "documentation":"

      The Auto Scaling status of the fleet.

      " }, - "farmId":{ - "shape":"FarmId", - "documentation":"

      The farm ID of the farm in the fleet.

      " + "autoScalingStatus":{ + "shape":"AutoScalingStatus", + "documentation":"

      The Auto Scaling status of the fleet. Either GROWING, STEADY, or SHRINKING.

      " }, - "fleetId":{ - "shape":"FleetId", - "documentation":"

      The fleet ID.

      " + "targetWorkerCount":{ + "shape":"Integer", + "documentation":"

      The number of target workers in the fleet.

      " }, - "maxWorkerCount":{ - "shape":"MinZeroMaxInteger", - "documentation":"

      The maximum number of workers specified in the fleet.

      " + "workerCount":{ + "shape":"Integer", + "documentation":"

      The number of workers in the fleet.

      " }, "minWorkerCount":{ "shape":"MinZeroMaxInteger", "documentation":"

      The minimum number of workers specified in the fleet.

      " }, + "maxWorkerCount":{ + "shape":"MinZeroMaxInteger", + "documentation":"

      The maximum number of workers specified in the fleet.

      " + }, + "configuration":{ + "shape":"FleetConfiguration", + "documentation":"

      The configuration setting for the fleet.

      " + }, + "capabilities":{ + "shape":"FleetCapabilities", + "documentation":"

      Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.

      " + }, "roleArn":{ "shape":"IamRoleArn", "documentation":"

      The IAM role ARN.

      " }, - "status":{ - "shape":"FleetStatus", - "documentation":"

      The Auto Scaling status of the fleet.

      " + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The date and time the resource was created.

      " }, - "targetWorkerCount":{ - "shape":"Integer", - "documentation":"

      The number of target workers in the fleet.

      " + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user or system that created this resource.

      " }, "updatedAt":{ "shape":"UpdatedAt", @@ -5059,31 +5066,27 @@ "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.

      " + "jobDetails":{ + "shape":"JobDetailsError", + "documentation":"

      The job 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.

      " + }, + "environmentDetails":{ + "shape":"EnvironmentDetailsError", + "documentation":"

      The environment details for the failed job entity.

      " } }, "documentation":"

      The error for the job entity.

      ", @@ -5120,94 +5123,94 @@ "GetJobResponse":{ "type":"structure", "required":[ - "createdAt", - "createdBy", "jobId", + "name", "lifecycleStatus", "lifecycleStatusMessage", - "name", - "priority" + "priority", + "createdAt", + "createdBy" ], "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.

      " }, + "name":{ + "shape":"JobName", + "documentation":"

      The name of the job.

      " + }, "lifecycleStatus":{ "shape":"JobLifecycleStatus", - "documentation":"

      The life cycle status for the job.

      " + "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.

      " + "priority":{ + "shape":"JobPriority", + "documentation":"

      The job priority.

      " }, - "maxRetriesPerTask":{ - "shape":"MaxRetriesPerTask", - "documentation":"

      The maximum number of retries per failed tasks.

      " + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The date and time the resource was created.

      " }, - "name":{ - "shape":"JobName", - "documentation":"

      The name of the job.

      " + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user or system that created this resource.

      " }, - "parameters":{ - "shape":"JobParameters", - "documentation":"

      The parameters for the job.

      " + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

      The date and time the resource was updated.

      " }, - "priority":{ - "shape":"JobPriority", - "documentation":"

      The job priority.

      " + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

      The user or system that updated this resource.

      " }, "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.

      " + "endedAt":{ + "shape":"EndedAt", + "documentation":"

      The date and time the resource ended running.

      " }, "taskRunStatus":{ "shape":"TaskRunStatus", "documentation":"

      The task run status for the job.

      " }, + "targetTaskRunStatus":{ + "shape":"JobTargetTaskRunStatus", + "documentation":"

      The task status with which the job started.

      " + }, "taskRunStatusCounts":{ "shape":"TaskRunStatusCounts", "documentation":"

      The number of tasks running on the job.

      " }, - "updatedAt":{ - "shape":"UpdatedAt", - "documentation":"

      The date and time the resource was updated.

      " + "storageProfileId":{ + "shape":"StorageProfileId", + "documentation":"

      The storage profile ID associated with the job.

      " }, - "updatedBy":{ - "shape":"UpdatedBy", - "documentation":"

      The user or system that updated this resource.

      " + "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.

      " + }, + "parameters":{ + "shape":"JobParameters", + "documentation":"

      The parameters for the job.

      " + }, + "attachments":{ + "shape":"Attachments", + "documentation":"

      The attachments for the job.

      " + }, + "description":{ + "shape":"JobDescription", + "documentation":"

      The description of the job.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " } } }, @@ -5231,18 +5234,10 @@ "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.

      " @@ -5251,13 +5246,21 @@ "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.

      " + }, + "dnsName":{ + "shape":"DnsName", + "documentation":"

      The DNS name.

      " + }, "subnetIds":{ "shape":"GetLicenseEndpointResponseSubnetIdsList", "documentation":"

      The subnet IDs.

      " }, - "vpcId":{ - "shape":"VpcId", - "documentation":"

      The VCP(virtual private cloud) ID associated with the license endpoint.

      " + "securityGroupIds":{ + "shape":"GetLicenseEndpointResponseSecurityGroupIdsList", + "documentation":"

      The security group IDs for the license endpoint.

      " } } }, @@ -5288,48 +5291,52 @@ "GetMonitorResponse":{ "type":"structure", "required":[ - "createdAt", - "createdBy", - "displayName", - "identityCenterApplicationArn", - "identityCenterInstanceArn", "monitorId", - "roleArn", + "displayName", "subdomain", - "url" + "url", + "roleArn", + "identityCenterInstanceArn", + "identityCenterApplicationArn", + "createdAt", + "createdBy" ], "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.

      " + "monitorId":{ + "shape":"MonitorId", + "documentation":"

      The unique identifier for the monitor.

      " }, "displayName":{ "shape":"ResourceName", - "documentation":"

      The name used to identify the monitor on the Deadline Cloud console.

      " + "documentation":"

      The name used to identify the monitor on the Deadline Cloud console.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, - "identityCenterApplicationArn":{ - "shape":"IdentityCenterApplicationArn", - "documentation":"

      The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the monitor when it was created.

      " + "subdomain":{ + "shape":"Subdomain", + "documentation":"

      The subdomain used for the monitor URL. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.

      " + }, + "url":{ + "shape":"Url", + "documentation":"

      The complete URL of the monitor. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.

      " + }, + "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.

      " }, "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.

      " + "identityCenterApplicationArn":{ + "shape":"IdentityCenterApplicationArn", + "documentation":"

      The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the monitor when it was created.

      " }, - "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.

      " + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The UNIX timestamp of the date and time that the monitor was created.

      " }, - "subdomain":{ - "shape":"Subdomain", - "documentation":"

      The subdomain used for the monitor URL. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.

      " + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user name of the person that created the monitor.

      " }, "updatedAt":{ "shape":"UpdatedAt", @@ -5338,10 +5345,6 @@ "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.

      " } } }, @@ -5349,8 +5352,8 @@ "type":"structure", "required":[ "farmId", - "queueEnvironmentId", - "queueId" + "queueId", + "queueEnvironmentId" ], "members":{ "farmId":{ @@ -5359,39 +5362,35 @@ "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" + }, + "queueEnvironmentId":{ + "shape":"QueueEnvironmentId", + "documentation":"

      The queue environment ID.

      ", + "location":"uri", + "locationName":"queueEnvironmentId" } } }, "GetQueueEnvironmentResponse":{ "type":"structure", "required":[ - "createdAt", - "createdBy", + "queueEnvironmentId", "name", "priority", - "queueEnvironmentId", + "templateType", "template", - "templateType" + "createdAt", + "createdBy" ], "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.>

      " + "queueEnvironmentId":{ + "shape":"QueueEnvironmentId", + "documentation":"

      The queue environment ID.

      " }, "name":{ "shape":"EnvironmentName", @@ -5401,17 +5400,21 @@ "shape":"Priority", "documentation":"

      The priority of the queue environment.

      " }, - "queueEnvironmentId":{ - "shape":"QueueEnvironmentId", - "documentation":"

      The queue environment ID.

      " + "templateType":{ + "shape":"EnvironmentTemplateType", + "documentation":"

      The type of template for the queue environment.

      " }, "template":{ "shape":"EnvironmentTemplate", "documentation":"

      The template for the queue environment.

      " }, - "templateType":{ - "shape":"EnvironmentTemplateType", - "documentation":"

      The type of template for the queue environment.

      " + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The date and time the resource was created.

      " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user or system that created this resource.>

      " }, "updatedAt":{ "shape":"UpdatedAt", @@ -5427,8 +5430,8 @@ "type":"structure", "required":[ "farmId", - "fleetId", - "queueId" + "queueId", + "fleetId" ], "members":{ "farmId":{ @@ -5437,50 +5440,50 @@ "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" + }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

      The fleet ID for the queue-fleet association.

      ", + "location":"uri", + "locationName":"fleetId" } } }, "GetQueueFleetAssociationResponse":{ "type":"structure", "required":[ - "createdAt", - "createdBy", - "fleetId", "queueId", - "status" + "fleetId", + "status", + "createdAt", + "createdBy" ], "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.

      " + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID for the queue-fleet association.

      " }, "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.

      " }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The date and time the resource was created.

      " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user or system that created this resource.

      " + }, "updatedAt":{ "shape":"UpdatedAt", "documentation":"

      The date and time the resource was updated.

      " @@ -5515,70 +5518,70 @@ "GetQueueResponse":{ "type":"structure", "required":[ - "createdAt", - "createdBy", - "defaultBudgetAction", + "queueId", "displayName", "farmId", - "queueId", - "status" + "status", + "defaultBudgetAction", + "createdAt", + "createdBy" ], "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.

      " + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID.

      " }, - "defaultBudgetAction":{ - "shape":"DefaultQueueBudgetAction", - "documentation":"

      The default action taken on a queue if a budget wasn't configured.

      " + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The display name of the queue.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, "description":{ "shape":"Description", - "documentation":"

      The description of the queue.

      " - }, - "displayName":{ - "shape":"ResourceName", - "documentation":"

      The display name of the queue.

      " + "documentation":"

      The description of the queue.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, "farmId":{ "shape":"FarmId", "documentation":"

      The farm ID for the queue.

      " }, + "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.

      " + }, + "defaultBudgetAction":{ + "shape":"DefaultQueueBudgetAction", + "documentation":"

      The default action taken on a queue if a budget wasn't configured.

      " + }, + "blockedReason":{ + "shape":"QueueBlockedReason", + "documentation":"

      The reason the queue was blocked.

      " + }, "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.

      " + "roleArn":{ + "shape":"IamRoleArn", + "documentation":"

      The IAM role ARN.

      " }, "requiredFileSystemLocationNames":{ "shape":"RequiredFileSystemLocationNames", "documentation":"

      A list of the required file system location names in the queue.

      " }, - "roleArn":{ - "shape":"IamRoleArn", - "documentation":"

      The IAM role ARN.

      " + "allowedStorageProfileIds":{ + "shape":"AllowedStorageProfileIds", + "documentation":"

      The storage profile IDs for the queue.

      " }, - "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.

      " + "jobRunAsUser":{ + "shape":"JobRunAsUser", + "documentation":"

      The jobs in the queue ran as this specified POSIX user.

      " + }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The date and time the resource was created.

      " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user or system that created this resource.

      " }, "updatedAt":{ "shape":"UpdatedAt", @@ -5594,8 +5597,8 @@ "type":"structure", "required":[ "farmId", - "jobId", "queueId", + "jobId", "sessionActionId" ], "members":{ @@ -5605,18 +5608,18 @@ "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" }, + "jobId":{ + "shape":"JobId", + "documentation":"

      The job ID for the session.

      ", + "location":"uri", + "locationName":"jobId" + }, "sessionActionId":{ "shape":"SessionActionId", "documentation":"

      The session action ID for the session.

      ", @@ -5628,51 +5631,51 @@ "GetSessionActionResponse":{ "type":"structure", "required":[ - "definition", "sessionActionId", + "status", "sessionId", - "status" + "definition" ], "members":{ - "definition":{ - "shape":"SessionActionDefinition", - "documentation":"

      The session action definition.

      " + "sessionActionId":{ + "shape":"SessionActionId", + "documentation":"

      The session action ID.

      " + }, + "status":{ + "shape":"SessionActionStatus", + "documentation":"

      The status of the session action.

      " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

      The date and time the resource started running.

      " }, "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.

      " + "workerUpdatedAt":{ + "shape":"Timestamp", + "documentation":"

      The Linux timestamp of the date and time the session action was last updated.

      " }, "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.

      " + "processExitCode":{ + "shape":"ProcessExitCode", + "documentation":"

      The exit code to exit the session.

      " }, - "workerUpdatedAt":{ - "shape":"Timestamp", - "documentation":"

      The Linux timestamp of the date and time the session action was last updated.

      " + "progressMessage":{ + "shape":"SessionActionProgressMessage", + "documentation":"

      The message that communicates the progress of the session action.

      " + }, + "definition":{ + "shape":"SessionActionDefinition", + "documentation":"

      The session action definition.

      " } } }, @@ -5680,8 +5683,8 @@ "type":"structure", "required":[ "farmId", - "jobId", "queueId", + "jobId", "sessionId" ], "members":{ @@ -5691,18 +5694,18 @@ "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" }, + "jobId":{ + "shape":"JobId", + "documentation":"

      The job ID for the session.

      ", + "location":"uri", + "locationName":"jobId" + }, "sessionId":{ "shape":"SessionId", "documentation":"

      The session ID.

      ", @@ -5714,45 +5717,41 @@ "GetSessionResponse":{ "type":"structure", "required":[ - "fleetId", - "lifecycleStatus", - "log", "sessionId", + "fleetId", + "workerId", "startedAt", - "workerId" + "log", + "lifecycleStatus" ], "members":{ - "endedAt":{ - "shape":"EndedAt", - "documentation":"

      The date and time the resource ended running.

      " + "sessionId":{ + "shape":"SessionId", + "documentation":"

      The session ID.

      " }, "fleetId":{ "shape":"FleetId", "documentation":"

      The fleet ID for the session.

      " }, - "hostProperties":{ - "shape":"HostPropertiesResponse", - "documentation":"

      Provides the Amazon EC2 properties of the host.

      " + "workerId":{ + "shape":"WorkerId", + "documentation":"

      The worker ID for the session.

      " }, - "lifecycleStatus":{ - "shape":"SessionLifecycleStatus", - "documentation":"

      The life cycle status of the session.

      " + "startedAt":{ + "shape":"StartedAt", + "documentation":"

      The date and time the resource started running.

      " }, "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.

      " + "lifecycleStatus":{ + "shape":"SessionLifecycleStatus", + "documentation":"

      The life cycle status of the session.

      " }, - "targetLifecycleStatus":{ - "shape":"SessionLifecycleTargetStatus", - "documentation":"

      The life cycle status with which the session started.

      " + "endedAt":{ + "shape":"EndedAt", + "documentation":"

      The date and time the resource ended running.

      " }, "updatedAt":{ "shape":"UpdatedAt", @@ -5762,9 +5761,13 @@ "shape":"UpdatedBy", "documentation":"

      The user or system that updated this resource.

      " }, - "workerId":{ - "shape":"WorkerId", - "documentation":"

      The worker ID for the session.

      " + "targetLifecycleStatus":{ + "shape":"SessionLifecycleTargetStatus", + "documentation":"

      The life cycle status with which the session started.

      " + }, + "hostProperties":{ + "shape":"HostPropertiesResponse", + "documentation":"

      Provides the Amazon EC2 properties of the host.

      " }, "workerLog":{ "shape":"LogConfiguration", @@ -5775,22 +5778,22 @@ "GetSessionsStatisticsAggregationRequest":{ "type":"structure", "required":[ - "aggregationId", - "farmId" + "farmId", + "aggregationId" ], "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" }, + "aggregationId":{ + "shape":"AggregationId", + "documentation":"

      The identifier returned by the StartSessionsStatisticsAggregation operation that identifies the aggregated statistics.

      ", + "location":"querystring", + "locationName":"aggregationId" + }, "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.

      ", @@ -5809,17 +5812,17 @@ "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.

      " }, + "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.

      " + }, "status":{ "shape":"SessionsStatisticsAggregationStatus", - "documentation":"

      The status of the aggregated results.

      " + "documentation":"

      The status of the aggregated results. An aggregation may fail or time out if the results are too large. If this happens, you can call the StartSessionsStatisticsAggregation operation after you reduce the aggregation time frame, reduce the number of queues or fleets in the aggregation, or increase the period length.

      If you call the StartSessionsStatisticsAggregation operation when the status is IN_PROGRESS, you will receive a ThrottlingException.

      " }, "statusMessage":{ "shape":"String", @@ -5831,8 +5834,8 @@ "type":"structure", "required":[ "farmId", - "jobId", "queueId", + "jobId", "stepId" ], "members":{ @@ -5842,18 +5845,18 @@ "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" }, + "jobId":{ + "shape":"JobId", + "documentation":"

      The job ID for the step.

      ", + "location":"uri", + "locationName":"jobId" + }, "stepId":{ "shape":"StepId", "documentation":"

      The step ID.

      ", @@ -5865,34 +5868,22 @@ "GetStepResponse":{ "type":"structure", "required":[ - "createdAt", - "createdBy", - "lifecycleStatus", - "name", "stepId", + "name", + "lifecycleStatus", "taskRunStatus", - "taskRunStatusCounts" + "taskRunStatusCounts", + "createdAt", + "createdBy" ], "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.

      " + "stepId":{ + "shape":"StepId", + "documentation":"

      The step ID.

      " }, - "endedAt":{ - "shape":"EndedAt", - "documentation":"

      The date and time the resource ended running.

      " + "name":{ + "shape":"StepName", + "documentation":"

      The name of the step.

      " }, "lifecycleStatus":{ "shape":"StepLifecycleStatus", @@ -5902,30 +5893,6 @@ "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.

      " @@ -5934,6 +5901,18 @@ "shape":"TaskRunStatusCounts", "documentation":"

      The number of tasks running on the job.

      " }, + "targetTaskRunStatus":{ + "shape":"StepTargetTaskRunStatus", + "documentation":"

      The task status with which the job started.

      " + }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The date and time the resource was created.

      " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user or system that created this resource.

      " + }, "updatedAt":{ "shape":"UpdatedAt", "documentation":"

      The date and time the resource was updated.

      " @@ -5941,6 +5920,30 @@ "updatedBy":{ "shape":"UpdatedBy", "documentation":"

      The user or system that updated this resource.

      " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

      The date and time the resource started running.

      " + }, + "endedAt":{ + "shape":"EndedAt", + "documentation":"

      The date and time the resource ended running.

      " + }, + "dependencyCounts":{ + "shape":"DependencyCounts", + "documentation":"

      The number of dependencies in the step.

      " + }, + "requiredCapabilities":{ + "shape":"StepRequiredCapabilities", + "documentation":"

      The required capabilities of the step.

      " + }, + "parameterSpace":{ + "shape":"ParameterSpace", + "documentation":"

      A list of step parameters and the combination expression for the step.

      " + }, + "description":{ + "shape":"StepDescription", + "documentation":"

      The description of the step.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " } } }, @@ -5975,26 +5978,26 @@ "GetStorageProfileForQueueResponse":{ "type":"structure", "required":[ + "storageProfileId", "displayName", - "osFamily", - "storageProfileId" + "osFamily" ], "members":{ + "storageProfileId":{ + "shape":"StorageProfileId", + "documentation":"

      The storage profile ID.

      " + }, "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.

      " + "documentation":"

      The display name of the storage profile connected to a queue.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, "osFamily":{ "shape":"StorageProfileOperatingSystemFamily", "documentation":"

      The operating system of the storage profile in the queue.

      " }, - "storageProfileId":{ - "shape":"StorageProfileId", - "documentation":"

      The storage profile ID.

      " + "fileSystemLocations":{ + "shape":"FileSystemLocationsList", + "documentation":"

      The location of the files for the storage profile within the queue.

      " } } }, @@ -6022,36 +6025,32 @@ "GetStorageProfileResponse":{ "type":"structure", "required":[ - "createdAt", - "createdBy", + "storageProfileId", "displayName", "osFamily", - "storageProfileId" + "createdAt", + "createdBy" ], "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.

      " + "storageProfileId":{ + "shape":"StorageProfileId", + "documentation":"

      The storage profile ID.

      " }, "displayName":{ "shape":"ResourceName", - "documentation":"

      The display name of the storage profile.

      " - }, - "fileSystemLocations":{ - "shape":"FileSystemLocationsList", - "documentation":"

      The location of the files for the storage profile.

      " + "documentation":"

      The display name of the storage profile.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, "osFamily":{ "shape":"StorageProfileOperatingSystemFamily", "documentation":"

      The operating system (OS) for the storage profile.

      " }, - "storageProfileId":{ - "shape":"StorageProfileId", - "documentation":"

      The storage profile 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.

      " }, "updatedAt":{ "shape":"UpdatedAt", @@ -6060,6 +6059,10 @@ "updatedBy":{ "shape":"UpdatedBy", "documentation":"

      The user or system that updated this resource.

      " + }, + "fileSystemLocations":{ + "shape":"FileSystemLocationsList", + "documentation":"

      The location of the files for the storage profile.

      " } } }, @@ -6067,8 +6070,8 @@ "type":"structure", "required":[ "farmId", - "jobId", "queueId", + "jobId", "stepId", "taskId" ], @@ -6077,13 +6080,7 @@ "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" + "locationName":"farmId" }, "queueId":{ "shape":"QueueId", @@ -6091,6 +6088,12 @@ "location":"uri", "locationName":"queueId" }, + "jobId":{ + "shape":"JobId", + "documentation":"

      The job ID of the job connected to the task.

      ", + "location":"uri", + "locationName":"jobId" + }, "stepId":{ "shape":"StepId", "documentation":"

      The step ID for the step connected to the task.

      ", @@ -6108,12 +6111,16 @@ "GetTaskResponse":{ "type":"structure", "required":[ + "taskId", "createdAt", "createdBy", - "runStatus", - "taskId" + "runStatus" ], "members":{ + "taskId":{ + "shape":"TaskId", + "documentation":"

      The task ID.

      " + }, "createdAt":{ "shape":"CreatedAt", "documentation":"

      The date and time the resource was created.

      " @@ -6122,37 +6129,29 @@ "shape":"CreatedBy", "documentation":"

      The user or system that created this resource.

      " }, - "endedAt":{ - "shape":"EndedAt", - "documentation":"

      The date and time the resource ended running.

      " + "runStatus":{ + "shape":"TaskRunStatus", + "documentation":"

      The run status for the task.

      " + }, + "targetRunStatus":{ + "shape":"TaskTargetRunStatus", + "documentation":"

      The run status with which to start the task.

      " }, "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.

      " + "endedAt":{ + "shape":"EndedAt", + "documentation":"

      The date and time the resource ended running.

      " }, "updatedAt":{ "shape":"UpdatedAt", @@ -6161,6 +6160,10 @@ "updatedBy":{ "shape":"UpdatedBy", "documentation":"

      The user or system that updated this resource.

      " + }, + "latestSessionActionId":{ + "shape":"SessionActionId", + "documentation":"

      The latest session ID for the task.

      " } } }, @@ -6195,21 +6198,17 @@ "GetWorkerResponse":{ "type":"structure", "required":[ - "createdAt", - "createdBy", + "workerId", "farmId", "fleetId", "status", - "workerId" + "createdAt", + "createdBy" ], "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.

      " + "workerId":{ + "shape":"WorkerId", + "documentation":"

      The worker ID.

      " }, "farmId":{ "shape":"FarmId", @@ -6223,13 +6222,21 @@ "shape":"HostPropertiesResponse", "documentation":"

      The host properties for the worker.

      " }, + "status":{ + "shape":"WorkerStatus", + "documentation":"

      The status of the worker.

      " + }, "log":{ "shape":"LogConfiguration", "documentation":"

      The logs for the associated worker.

      " }, - "status":{ - "shape":"WorkerStatus", - "documentation":"

      The status of the worker.

      " + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The date and time the resource was created.

      " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user or system that created this resource.

      " }, "updatedAt":{ "shape":"UpdatedAt", @@ -6238,27 +6245,23 @@ "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}$" + "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.

      " + }, + "hostName":{ + "shape":"HostName", + "documentation":"

      The host name.

      " } }, "documentation":"

      The host property details.

      " @@ -6266,6 +6269,14 @@ "HostPropertiesResponse":{ "type":"structure", "members":{ + "ipAddresses":{ + "shape":"IpAddresses", + "documentation":"

      The IP address of the host.

      " + }, + "hostName":{ + "shape":"HostName", + "documentation":"

      The host name.

      " + }, "ec2InstanceArn":{ "shape":"String", "documentation":"

      The ARN of the host EC2 instance.

      " @@ -6273,42 +6284,34 @@ "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+=,.@-]+$" + "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}$" + "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}$" + "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}$" + "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]+$" + "pattern":"[a-zA-Z0-9]+\\.[a-zA-Z0-9]+" }, "InstanceTypes":{ "type":"list", @@ -6320,7 +6323,7 @@ "type":"string", "max":20, "min":1, - "pattern":"^[-]?(0|[1-9][0-9]*)$" + "pattern":"[-]?(0|[1-9][0-9]*)" }, "Integer":{ "type":"integer", @@ -6360,7 +6363,7 @@ }, "IpV4Address":{ "type":"string", - "pattern":"^(?:[0-9]{1,3}\\.){3}[0-9]{1,3}$" + "pattern":"(?:[0-9]{1,3}\\.){3}[0-9]{1,3}" }, "IpV4Addresses":{ "type":"list", @@ -6368,7 +6371,7 @@ }, "IpV6Address":{ "type":"string", - "pattern":"^(?:[A-F0-9]{1,4}:){7}[A-F0-9]{1,4}$" + "pattern":"(?:[A-F0-9]{1,4}:){7}[A-F0-9]{1,4}" }, "IpV6Addresses":{ "type":"list", @@ -6377,17 +6380,17 @@ "JobAttachmentDetailsEntity":{ "type":"structure", "required":[ - "attachments", - "jobId" + "jobId", + "attachments" ], "members":{ - "attachments":{ - "shape":"Attachments", - "documentation":"

      The job attachments.

      " - }, "jobId":{ "shape":"JobId", "documentation":"

      The job ID.

      " + }, + "attachments":{ + "shape":"Attachments", + "documentation":"

      The job attachments.

      " } }, "documentation":"

      The job attachments.

      " @@ -6395,19 +6398,19 @@ "JobAttachmentDetailsError":{ "type":"structure", "required":[ - "code", "jobId", + "code", "message" ], "members":{ - "code":{ - "shape":"JobEntityErrorCode", - "documentation":"

      The error code.

      " - }, "jobId":{ "shape":"JobId", "documentation":"

      The job ID.

      " }, + "code":{ + "shape":"JobEntityErrorCode", + "documentation":"

      The error code.

      " + }, "message":{ "shape":"String", "documentation":"

      The error message detailing the error's cause.

      " @@ -6429,17 +6432,17 @@ "JobAttachmentSettings":{ "type":"structure", "required":[ - "rootPrefix", - "s3BucketName" + "s3BucketName", + "rootPrefix" ], "members":{ - "rootPrefix":{ - "shape":"S3Prefix", - "documentation":"

      The root prefix.

      " - }, "s3BucketName":{ "shape":"S3BucketName", "documentation":"

      The Amazon S3 bucket name.

      " + }, + "rootPrefix":{ + "shape":"S3Prefix", + "documentation":"

      The root prefix.

      " } }, "documentation":"

      The job attachment settings. These are the Amazon S3 bucket name and the Amazon S3 prefix.

      " @@ -6465,14 +6468,14 @@ "schemaVersion" ], "members":{ - "jobAttachmentSettings":{ - "shape":"JobAttachmentSettings", - "documentation":"

      The job attachment settings.

      " - }, "jobId":{ "shape":"JobId", "documentation":"

      The job ID.

      " }, + "jobAttachmentSettings":{ + "shape":"JobAttachmentSettings", + "documentation":"

      The job attachment settings.

      " + }, "jobRunAsUser":{ "shape":"JobRunAsUser", "documentation":"

      The user name and group that the job uses when run.

      " @@ -6481,21 +6484,21 @@ "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.

      " }, + "parameters":{ + "shape":"JobParameters", + "documentation":"

      The parameters.

      " + }, "schemaVersion":{ "shape":"String", "documentation":"

      The schema version.

      " + }, + "pathMappingRules":{ + "shape":"PathMappingRules", + "documentation":"

      The path mapping rules.

      " } }, "documentation":"

      The job details for a specific job.

      " @@ -6503,19 +6506,19 @@ "JobDetailsError":{ "type":"structure", "required":[ - "code", "jobId", + "code", "message" ], "members":{ - "code":{ - "shape":"JobEntityErrorCode", - "documentation":"

      The error code.

      " - }, "jobId":{ "shape":"JobId", "documentation":"

      The job ID.

      " }, + "code":{ + "shape":"JobEntityErrorCode", + "documentation":"

      The error code.

      " + }, "message":{ "shape":"String", "documentation":"

      The error message detailing the error's cause.

      " @@ -6537,21 +6540,21 @@ "JobEntity":{ "type":"structure", "members":{ - "environmentDetails":{ - "shape":"EnvironmentDetailsEntity", - "documentation":"

      The environment details for the job entity.

      " + "jobDetails":{ + "shape":"JobDetailsEntity", + "documentation":"

      The job details.

      " }, "jobAttachmentDetails":{ "shape":"JobAttachmentDetailsEntity", "documentation":"

      The job attachment details.

      " }, - "jobDetails":{ - "shape":"JobDetailsEntity", - "documentation":"

      The job details.

      " - }, "stepDetails":{ "shape":"StepDetailsEntity", "documentation":"

      The step details.

      " + }, + "environmentDetails":{ + "shape":"EnvironmentDetailsEntity", + "documentation":"

      The environment details for the job entity.

      " } }, "documentation":"

      The details of a job entity.

      ", @@ -6577,21 +6580,21 @@ "JobEntityIdentifiersUnion":{ "type":"structure", "members":{ - "environmentDetails":{ - "shape":"EnvironmentDetailsIdentifiers", - "documentation":"

      The environment details.

      " + "jobDetails":{ + "shape":"JobDetailsIdentifiers", + "documentation":"

      The job details.

      " }, "jobAttachmentDetails":{ "shape":"JobAttachmentDetailsIdentifiers", "documentation":"

      The job attachment details.

      " }, - "jobDetails":{ - "shape":"JobDetailsIdentifiers", - "documentation":"

      The job details.

      " - }, "stepDetails":{ "shape":"StepDetailsIdentifiers", "documentation":"

      The step details.

      " + }, + "environmentDetails":{ + "shape":"EnvironmentDetailsIdentifiers", + "documentation":"

      The environment details.

      " } }, "documentation":"

      The details of a job entity identifier.

      ", @@ -6599,7 +6602,7 @@ }, "JobId":{ "type":"string", - "pattern":"^job-[0-9a-f]{32}$" + "pattern":"job-[0-9a-f]{32}" }, "JobLifecycleStatus":{ "type":"string", @@ -6619,30 +6622,26 @@ "type":"structure", "required":[ "farmId", - "identityStoreId", + "queueId", "jobId", - "membershipLevel", "principalId", "principalType", - "queueId" + "identityStoreId", + "membershipLevel" ], "members":{ "farmId":{ "shape":"FarmId", "documentation":"

      The farm ID.

      " }, - "identityStoreId":{ - "shape":"IdentityStoreId", - "documentation":"

      The identity store ID.

      " + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue 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.

      " @@ -6651,9 +6650,13 @@ "shape":"PrincipalType", "documentation":"

      The principal type of the job member.

      " }, - "queueId":{ - "shape":"QueueId", - "documentation":"

      The queue ID.

      " + "identityStoreId":{ + "shape":"IdentityStoreId", + "documentation":"

      The identity store ID.

      " + }, + "membershipLevel":{ + "shape":"MembershipLevel", + "documentation":"

      The job member's membership level.

      " } }, "documentation":"

      The details for a job member.

      " @@ -6670,21 +6673,21 @@ "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.

      " + "float":{ + "shape":"FloatString", + "documentation":"

      A double precision IEEE-754 floating point number represented as a string.

      " }, "string":{ "shape":"ParameterString", "documentation":"

      A UTF-8 string.

      " + }, + "path":{ + "shape":"PathString", + "documentation":"

      A file system path represented as a string.

      " } }, "documentation":"

      The details of job parameters.

      ", @@ -6710,13 +6713,13 @@ "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.

      " + }, + "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.

      " } }, "documentation":"

      Identifies the user for a job.

      " @@ -6728,25 +6731,17 @@ "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.

      " + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID.

      " + }, + "name":{ + "shape":"JobName", + "documentation":"

      The job name.

      " }, "lifecycleStatus":{ "shape":"JobLifecycleStatus", @@ -6756,6 +6751,22 @@ "shape":"String", "documentation":"

      The life cycle status message.

      " }, + "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.

      " + }, + "targetTaskRunStatus":{ + "shape":"JobTargetTaskRunStatus", + "documentation":"

      The task status to start with on the job.

      " + }, + "taskRunStatusCounts":{ + "shape":"TaskRunStatusCounts", + "documentation":"

      The number of tasks running on the job.

      " + }, + "priority":{ + "shape":"JobPriority", + "documentation":"

      The job priority.

      " + }, "maxFailedTasksCount":{ "shape":"MaxFailedTasksCount", "documentation":"

      The number of task failures before the job stops running and is marked as FAILED.

      " @@ -6764,33 +6775,25 @@ "shape":"MaxRetriesPerTask", "documentation":"

      The maximum number of retries for a job.

      " }, - "name":{ - "shape":"JobName", - "documentation":"

      The job name.

      " + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user or system that created this resource.

      " }, - "priority":{ - "shape":"JobPriority", - "documentation":"

      The job priority.

      " + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The date and time the resource was created.

      " }, - "queueId":{ - "shape":"QueueId", - "documentation":"

      The queue ID.

      " + "endedAt":{ + "shape":"EndedAt", + "documentation":"

      The date and time the resource ended running.

      " }, "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.

      " + "jobParameters":{ + "shape":"JobParameters", + "documentation":"

      The job parameters.

      " } }, "documentation":"

      The details of a job search.

      " @@ -6802,31 +6805,23 @@ "JobSummary":{ "type":"structure", "required":[ - "createdAt", - "createdBy", "jobId", + "name", "lifecycleStatus", "lifecycleStatusMessage", - "name", - "priority" + "priority", + "createdAt", + "createdBy" ], "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.

      " }, + "name":{ + "shape":"JobName", + "documentation":"

      The job name.

      " + }, "lifecycleStatus":{ "shape":"JobLifecycleStatus", "documentation":"

      The life cycle status.

      " @@ -6835,45 +6830,53 @@ "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.

      " }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The date and time the resource was created.

      " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user or system that created this resource.

      " + }, + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

      The date and time the resource was updated.

      " + }, + "updatedBy":{ + "shape":"UpdatedBy", + "documentation":"

      The user or system that updated this resource.

      " + }, "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.

      " + "endedAt":{ + "shape":"EndedAt", + "documentation":"

      The date and time the resource ended running.

      " }, "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.

      " }, + "targetTaskRunStatus":{ + "shape":"JobTargetTaskRunStatus", + "documentation":"

      The task status to start with on 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.

      " + "maxFailedTasksCount":{ + "shape":"MaxFailedTasksCount", + "documentation":"

      The number of task failures before the job stops running and is marked as FAILED.

      " }, - "updatedBy":{ - "shape":"UpdatedBy", - "documentation":"

      The user or system that updated this resource.

      " + "maxRetriesPerTask":{ + "shape":"MaxRetriesPerTask", + "documentation":"

      The maximum number of retries for a job.

      " } }, "documentation":"

      A summary of job details.

      " @@ -6904,11 +6907,11 @@ }, "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}$" + "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}$" + "pattern":"le-[0-9a-f]{32}" }, "LicenseEndpointStatus":{ "type":"string", @@ -6953,17 +6956,17 @@ "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" + }, + "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" } } }, @@ -6985,6 +6988,12 @@ "type":"structure", "required":["farmId"], "members":{ + "nextToken":{ + "shape":"String", + "documentation":"

      The token for the next set of results, or null to start from the beginning.

      ", + "location":"querystring", + "locationName":"nextToken" + }, "farmId":{ "shape":"FarmId", "documentation":"

      The farm ID associated with the budgets.

      ", @@ -6997,12 +7006,6 @@ "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.

      ", @@ -7015,13 +7018,13 @@ "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.

      " + }, + "budgets":{ + "shape":"BudgetSummaries", + "documentation":"

      The budgets to include on the list.

      " } } }, @@ -7035,17 +7038,17 @@ "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" + }, + "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" } } }, @@ -7066,12 +7069,6 @@ "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.

      ", @@ -7083,6 +7080,12 @@ "documentation":"

      The principal ID of the member to list on the farm.

      ", "location":"querystring", "locationName":"principalId" + }, + "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" } } }, @@ -7090,13 +7093,13 @@ "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.

      " + }, + "farms":{ + "shape":"FarmSummaries", + "documentation":"

      Farms on the list.

      " } } }, @@ -7119,17 +7122,17 @@ "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" + }, + "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" } } }, @@ -7151,41 +7154,41 @@ "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" }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The display names of a list of fleets.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      ", + "location":"querystring", + "locationName":"displayName" + }, "status":{ "shape":"FleetStatus", "documentation":"

      The status of the fleet.

      ", "location":"querystring", "locationName":"status" + }, + "nextToken":{ + "shape":"String", + "documentation":"

      The token for the next set of results, or null to start from the beginning.

      ", + "location":"querystring", + "locationName":"nextToken" + }, + "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" } } }, @@ -7207,8 +7210,8 @@ "type":"structure", "required":[ "farmId", - "jobId", - "queueId" + "queueId", + "jobId" ], "members":{ "farmId":{ @@ -7217,29 +7220,29 @@ "location":"uri", "locationName":"farmId" }, + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID to include on the list.

      ", + "location":"uri", + "locationName":"queueId" + }, "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" + "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" } } }, @@ -7270,18 +7273,6 @@ "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.

      ", @@ -7293,6 +7284,18 @@ "documentation":"

      The queue ID for the job.

      ", "location":"uri", "locationName":"queueId" + }, + "nextToken":{ + "shape":"String", + "documentation":"

      The token for the next set of results, or null to start from the beginning.

      ", + "location":"querystring", + "locationName":"nextToken" + }, + "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" } } }, @@ -7313,17 +7316,17 @@ "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" + }, + "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" } } }, @@ -7351,17 +7354,17 @@ "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" + }, + "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" } } }, @@ -7382,17 +7385,17 @@ "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" + }, + "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" } } }, @@ -7400,13 +7403,13 @@ "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.

      " + }, + "monitors":{ + "shape":"MonitorSummaries", + "documentation":"

      A list of MonitorSummary objects that describe your monitors in the Deadline Cloud.

      " } } }, @@ -7423,11 +7426,11 @@ "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" + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID for the queue environment list.

      ", + "location":"uri", + "locationName":"queueId" }, "nextToken":{ "shape":"String", @@ -7435,11 +7438,11 @@ "location":"querystring", "locationName":"nextToken" }, - "queueId":{ - "shape":"QueueId", - "documentation":"

      The queue ID for the queue environment list.

      ", - "location":"uri", - "locationName":"queueId" + "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" } } }, @@ -7467,29 +7470,29 @@ "location":"uri", "locationName":"farmId" }, + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID for the queue-fleet association list.

      ", + "location":"querystring", + "locationName":"queueId" + }, "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.

      ", + "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":"queueId" + "locationName":"maxResults" } } }, @@ -7497,13 +7500,13 @@ "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.

      " + }, + "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.

      " } } }, @@ -7520,11 +7523,11 @@ "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" + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID to include on the list.

      ", + "location":"uri", + "locationName":"queueId" }, "nextToken":{ "shape":"String", @@ -7532,11 +7535,11 @@ "location":"querystring", "locationName":"nextToken" }, - "queueId":{ - "shape":"QueueId", - "documentation":"

      The queue ID to include on the list.

      ", - "location":"uri", - "locationName":"queueId" + "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" } } }, @@ -7564,21 +7567,9 @@ "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.

      ", + "documentation":"

      The principal IDs to include in the list of queues.

      ", "location":"querystring", "locationName":"principalId" }, @@ -7587,6 +7578,18 @@ "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" + }, + "nextToken":{ + "shape":"String", + "documentation":"

      The token for the next set of results, or null to start from the beginning.

      ", + "location":"querystring", + "locationName":"nextToken" + }, + "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" } } }, @@ -7594,13 +7597,13 @@ "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.

      " + }, + "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.

      " } } }, @@ -7608,8 +7611,8 @@ "type":"structure", "required":[ "farmId", - "jobId", - "queueId" + "queueId", + "jobId" ], "members":{ "farmId":{ @@ -7618,30 +7621,18 @@ "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" }, + "jobId":{ + "shape":"JobId", + "documentation":"

      The job ID for the session actions list.

      ", + "location":"uri", + "locationName":"jobId" + }, "sessionId":{ "shape":"SessionId", "documentation":"

      The session ID to include on the sessions action list.

      ", @@ -7653,6 +7644,18 @@ "documentation":"

      The task ID for the session actions list.

      ", "location":"querystring", "locationName":"taskId" + }, + "nextToken":{ + "shape":"String", + "documentation":"

      The token for the next set of results, or null to start from the beginning.

      ", + "location":"querystring", + "locationName":"nextToken" + }, + "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" } } }, @@ -7660,13 +7663,13 @@ "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.

      " + }, + "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.

      " } } }, @@ -7690,11 +7693,11 @@ "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" + "workerId":{ + "shape":"WorkerId", + "documentation":"

      The worker ID for the session.

      ", + "location":"uri", + "locationName":"workerId" }, "nextToken":{ "shape":"String", @@ -7702,11 +7705,11 @@ "location":"querystring", "locationName":"nextToken" }, - "workerId":{ - "shape":"WorkerId", - "documentation":"

      The worker ID for the session.

      ", - "location":"uri", - "locationName":"workerId" + "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" } } }, @@ -7714,13 +7717,13 @@ "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.

      " + }, + "nextToken":{ + "shape":"String", + "documentation":"

      The token for the next set of results, or null to start from the beginning.

      " } } }, @@ -7732,15 +7735,21 @@ "type":"structure", "required":[ "farmId", - "jobId", - "queueId" + "queueId", + "jobId" ], "members":{ "farmId":{ "shape":"FarmId", "documentation":"

      The farm ID for the list of sessions.

      ", "location":"uri", - "locationName":"farmId" + "locationName":"farmId" + }, + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID for the list of sessions

      ", + "location":"uri", + "locationName":"queueId" }, "jobId":{ "shape":"JobId", @@ -7748,23 +7757,17 @@ "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" + "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" } } }, @@ -7772,13 +7775,13 @@ "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.

      " + }, + "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.

      " } } }, @@ -7786,8 +7789,8 @@ "type":"structure", "required":[ "farmId", - "jobId", "queueId", + "jobId", "stepId" ], "members":{ @@ -7797,17 +7800,23 @@ "location":"uri", "locationName":"farmId" }, + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID for the step consumer.

      ", + "location":"uri", + "locationName":"queueId" + }, "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" + "stepId":{ + "shape":"StepId", + "documentation":"

      The step ID to include on the list.

      ", + "location":"uri", + "locationName":"stepId" }, "nextToken":{ "shape":"String", @@ -7815,17 +7824,11 @@ "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" + "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" } } }, @@ -7853,8 +7856,8 @@ "type":"structure", "required":[ "farmId", - "jobId", "queueId", + "jobId", "stepId" ], "members":{ @@ -7864,17 +7867,23 @@ "location":"uri", "locationName":"farmId" }, + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID for the step dependencies list.

      ", + "location":"uri", + "locationName":"queueId" + }, "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" + "stepId":{ + "shape":"StepId", + "documentation":"

      The step ID to include on the list.

      ", + "location":"uri", + "locationName":"stepId" }, "nextToken":{ "shape":"String", @@ -7882,17 +7891,11 @@ "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" + "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" } } }, @@ -7920,8 +7923,8 @@ "type":"structure", "required":[ "farmId", - "jobId", - "queueId" + "queueId", + "jobId" ], "members":{ "farmId":{ @@ -7930,29 +7933,29 @@ "location":"uri", "locationName":"farmId" }, + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID to include on the list of steps.

      ", + "location":"uri", + "locationName":"queueId" + }, "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" + "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" } } }, @@ -7960,13 +7963,13 @@ "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.

      " + }, + "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.

      " } } }, @@ -7983,11 +7986,11 @@ "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" + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID for the storage profile.

      ", + "location":"uri", + "locationName":"queueId" }, "nextToken":{ "shape":"String", @@ -7995,11 +7998,11 @@ "location":"querystring", "locationName":"nextToken" }, - "queueId":{ - "shape":"QueueId", - "documentation":"

      The queue ID for the storage profile.

      ", - "location":"uri", - "locationName":"queueId" + "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" } } }, @@ -8007,13 +8010,13 @@ "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.

      " + }, + "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.

      " } } }, @@ -8027,17 +8030,17 @@ "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" + }, + "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" } } }, @@ -8045,13 +8048,13 @@ "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.

      " + }, + "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.

      " } } }, @@ -8080,8 +8083,8 @@ "type":"structure", "required":[ "farmId", - "jobId", "queueId", + "jobId", "stepId" ], "members":{ @@ -8091,17 +8094,23 @@ "location":"uri", "locationName":"farmId" }, + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID connected to the tasks.

      ", + "location":"uri", + "locationName":"queueId" + }, "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" + "stepId":{ + "shape":"StepId", + "documentation":"

      The step ID for the tasks.

      ", + "location":"uri", + "locationName":"stepId" }, "nextToken":{ "shape":"String", @@ -8109,17 +8118,11 @@ "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" + "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" } } }, @@ -8127,13 +8130,13 @@ "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.

      " + }, + "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.

      " } } }, @@ -8156,17 +8159,17 @@ "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" + }, + "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" } } }, @@ -8188,10 +8191,6 @@ "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.

      " @@ -8203,6 +8202,10 @@ "parameters":{ "shape":"LogParameters", "documentation":"

      The parameters for the log configuration.

      " + }, + "error":{ + "shape":"LogError", + "documentation":"

      The log configuration error details.

      " } }, "documentation":"

      Log configuration details.

      " @@ -8238,24 +8241,12 @@ "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.

      " + "rootPathFormat" + ], + "members":{ + "fileSystemLocationName":{ + "shape":"FileSystemLocationName", + "documentation":"

      The file system location name.

      " }, "rootPath":{ "shape":"ManifestPropertiesRootPathString", @@ -8264,6 +8255,18 @@ "rootPathFormat":{ "shape":"PathFormat", "documentation":"

      The format of the root path.

      " + }, + "outputRelativeDirectories":{ + "shape":"OutputRelativeDirectoriesList", + "documentation":"

      The file path relative to the directory.

      " + }, + "inputManifestPath":{ + "shape":"ManifestPropertiesInputManifestPathString", + "documentation":"

      The file path.

      " + }, + "inputManifestHash":{ + "shape":"ManifestPropertiesInputManifestHashString", + "documentation":"

      The has value of the file.

      " } }, "documentation":"

      The details of the manifest that links a job's source information.

      ", @@ -8327,45 +8330,45 @@ "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).

      " + }, + "max":{ + "shape":"MemoryAmountMiB", + "documentation":"

      The maximum 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}$" + "pattern":"[0-9a-z]{1,32}-[.0-9a-z]{1,32}" }, "MeteredProductSummary":{ "type":"structure", "required":[ - "family", - "port", "productId", - "vendor" + "family", + "vendor", + "port" ], "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.

      " }, + "family":{ + "shape":"BoundedString", + "documentation":"

      The family to which the metered product belongs.

      " + }, "vendor":{ "shape":"BoundedString", "documentation":"

      The vendor.

      " + }, + "port":{ + "shape":"PortNumber", + "documentation":"

      The port on which the metered product should run.

      " } }, "documentation":"

      The details of a metered product.

      " @@ -8388,7 +8391,7 @@ }, "MonitorId":{ "type":"string", - "pattern":"^monitor-[0-9a-f]{32}$" + "pattern":"monitor-[0-9a-f]{32}" }, "MonitorSummaries":{ "type":"list", @@ -8397,48 +8400,52 @@ "MonitorSummary":{ "type":"structure", "required":[ - "createdAt", - "createdBy", - "displayName", - "identityCenterApplicationArn", - "identityCenterInstanceArn", "monitorId", - "roleArn", + "displayName", "subdomain", - "url" + "url", + "roleArn", + "identityCenterInstanceArn", + "identityCenterApplicationArn", + "createdAt", + "createdBy" ], "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.

      " + "monitorId":{ + "shape":"MonitorId", + "documentation":"

      The unique identifier for the monitor.

      " }, "displayName":{ "shape":"ResourceName", - "documentation":"

      The name of the monitor that displays on the Deadline Cloud console.

      " + "documentation":"

      The name of the monitor that displays on the Deadline Cloud console.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, - "identityCenterApplicationArn":{ - "shape":"IdentityCenterApplicationArn", - "documentation":"

      The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the monitor when it was created.

      " + "subdomain":{ + "shape":"Subdomain", + "documentation":"

      The subdomain used for the monitor URL. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.

      " + }, + "url":{ + "shape":"Url", + "documentation":"

      The complete URL of the monitor. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.

      " + }, + "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.

      " }, "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.

      " + "identityCenterApplicationArn":{ + "shape":"IdentityCenterApplicationArn", + "documentation":"

      The Amazon Resource Name (ARN) that the IAM Identity Center assigned to the monitor when it was created.

      " }, - "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.

      " + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The UNIX timestamp of the date and time that the monitor was created.

      " }, - "subdomain":{ - "shape":"Subdomain", - "documentation":"

      The subdomain used for the monitor URL. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.

      " + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user name of the person that created the monitor.

      " }, "updatedAt":{ "shape":"UpdatedAt", @@ -8447,10 +8454,6 @@ "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.

      " @@ -8498,17 +8501,17 @@ "ParameterSortExpression":{ "type":"structure", "required":[ - "name", - "sortOrder" + "sortOrder", + "name" ], "members":{ - "name":{ - "shape":"String", - "documentation":"

      The parameter name to sort by.

      " - }, "sortOrder":{ "shape":"SortOrder", "documentation":"

      The sort order for the parameter.

      " + }, + "name":{ + "shape":"String", + "documentation":"

      The parameter name to sort by.

      " } }, "documentation":"

      Organizes parameters according to your specifications.

      " @@ -8517,13 +8520,13 @@ "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.

      " + }, + "combination":{ + "shape":"CombinationExpression", + "documentation":"

      The combination expression to use in the search.

      " } }, "documentation":"

      The details of a search for two or more step parameters.

      " @@ -8548,22 +8551,22 @@ "PathMappingRule":{ "type":"structure", "required":[ - "destinationPath", + "sourcePathFormat", "sourcePath", - "sourcePathFormat" + "destinationPath" ], "members":{ - "destinationPath":{ - "shape":"String", - "documentation":"

      The destination path.

      " + "sourcePathFormat":{ + "shape":"PathFormat", + "documentation":"

      The source path format.

      " }, "sourcePath":{ "shape":"String", "documentation":"

      The source path.

      " }, - "sourcePathFormat":{ - "shape":"PathFormat", - "documentation":"

      The source path format.

      " + "destinationPath":{ + "shape":"String", + "documentation":"

      The destination path.

      " } }, "documentation":"

      The details of a source and destination path.

      ", @@ -8596,17 +8599,17 @@ "PosixUser":{ "type":"structure", "required":[ - "group", - "user" + "user", + "group" ], "members":{ - "group":{ - "shape":"PosixUserGroupString", - "documentation":"

      The name of the POSIX user's group.

      " - }, "user":{ "shape":"PosixUserUserString", "documentation":"

      The name of the POSIX user.

      " + }, + "group":{ + "shape":"PosixUserGroupString", + "documentation":"

      The name of the POSIX user's group.

      " } }, "documentation":"

      The POSIX user.

      " @@ -8615,13 +8618,13 @@ "type":"string", "max":31, "min":0, - "pattern":"^(?:[a-z][a-z0-9-]{0,30})?$" + "pattern":"(?:[a-z][a-z0-9-]{0,30})?" }, "PosixUserUserString":{ "type":"string", "max":31, "min":0, - "pattern":"^(?:[a-z][a-z0-9-]{0,30})?$" + "pattern":"(?:[a-z][a-z0-9-]{0,30})?" }, "PrincipalType":{ "type":"string", @@ -8677,7 +8680,7 @@ }, "QueueEnvironmentId":{ "type":"string", - "pattern":"^queueenv-[0-9a-f]{32}$" + "pattern":"queueenv-[0-9a-f]{32}" }, "QueueEnvironmentSummaries":{ "type":"list", @@ -8686,11 +8689,15 @@ "QueueEnvironmentSummary":{ "type":"structure", "required":[ + "queueEnvironmentId", "name", - "priority", - "queueEnvironmentId" + "priority" ], "members":{ + "queueEnvironmentId":{ + "shape":"QueueEnvironmentId", + "documentation":"

      The queue environment ID.

      " + }, "name":{ "shape":"EnvironmentName", "documentation":"

      The name of the queue environment.

      " @@ -8698,10 +8705,6 @@ "priority":{ "shape":"Priority", "documentation":"

      The queue environment's priority.

      " - }, - "queueEnvironmentId":{ - "shape":"QueueEnvironmentId", - "documentation":"

      The queue environment ID.

      " } }, "documentation":"

      The summary of a queue environment.

      " @@ -8722,33 +8725,33 @@ "QueueFleetAssociationSummary":{ "type":"structure", "required":[ - "createdAt", - "createdBy", - "fleetId", "queueId", - "status" + "fleetId", + "status", + "createdAt", + "createdBy" ], "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.

      " + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID.

      " }, "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.

      " }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The date and time the resource was created.

      " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user or system that created this resource.

      " + }, "updatedAt":{ "shape":"UpdatedAt", "documentation":"

      The date and time the resource was updated.

      " @@ -8762,30 +8765,26 @@ }, "QueueId":{ "type":"string", - "pattern":"^queue-[0-9a-f]{32}$" + "pattern":"queue-[0-9a-f]{32}" }, "QueueMember":{ "type":"structure", "required":[ "farmId", - "identityStoreId", - "membershipLevel", + "queueId", "principalId", "principalType", - "queueId" + "identityStoreId", + "membershipLevel" ], "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.

      " + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID.

      " }, "principalId":{ "shape":"IdentityCenterPrincipalId", @@ -8795,9 +8794,13 @@ "shape":"PrincipalType", "documentation":"

      The principal type of the queue member.

      " }, - "queueId":{ - "shape":"QueueId", - "documentation":"

      The queue ID.

      " + "identityStoreId":{ + "shape":"IdentityStoreId", + "documentation":"

      The identity store ID.

      " + }, + "membershipLevel":{ + "shape":"MembershipLevel", + "documentation":"

      The queue member's membership level.

      " } }, "documentation":"

      The details of a queue member.

      " @@ -8821,35 +8824,15 @@ "QueueSummary":{ "type":"structure", "required":[ - "createdAt", - "createdBy", - "defaultBudgetAction", - "displayName", "farmId", "queueId", - "status" + "displayName", + "status", + "defaultBudgetAction", + "createdAt", + "createdBy" ], "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.

      " @@ -8858,10 +8841,30 @@ "shape":"QueueId", "documentation":"

      The queue ID.

      " }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The display name of the queue summary to update.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " + }, "status":{ "shape":"QueueStatus", "documentation":"

      That status of the queue.

      " }, + "defaultBudgetAction":{ + "shape":"DefaultQueueBudgetAction", + "documentation":"

      The default action taken on a queue summary if a budget wasn't configured.

      " + }, + "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.

      " + }, "updatedAt":{ "shape":"UpdatedAt", "documentation":"

      The date and time the resource was updated.

      " @@ -8892,10 +8895,6 @@ "resourceType" ], "members":{ - "context":{ - "shape":"ExceptionContext", - "documentation":"

      Information about the resources in use when the exception was thrown.

      " - }, "message":{"shape":"String"}, "resourceId":{ "shape":"String", @@ -8904,6 +8903,10 @@ "resourceType":{ "shape":"String", "documentation":"

      The type of the resource that couldn't be found.

      " + }, + "context":{ + "shape":"ExceptionContext", + "documentation":"

      Information about the resources in use when the exception was thrown.

      " } }, "documentation":"

      The requested resource can't be found.

      ", @@ -8916,21 +8919,21 @@ "ResponseBudgetAction":{ "type":"structure", "required":[ - "thresholdPercentage", - "type" + "type", + "thresholdPercentage" ], "members":{ - "description":{ - "shape":"Description", - "documentation":"

      The budget action description.

      " + "type":{ + "shape":"BudgetActionType", + "documentation":"

      The action taken on the budget once scheduling stops.

      " }, "thresholdPercentage":{ "shape":"ThresholdPercentage", "documentation":"

      The percentage threshold for the budget.

      " }, - "type":{ - "shape":"BudgetActionType", - "documentation":"

      The action taken on the budget once scheduling stops.

      " + "description":{ + "shape":"Description", + "documentation":"

      The budget action description.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " } }, "documentation":"

      The details of a budget action.

      " @@ -8979,7 +8982,8 @@ "S3Prefix":{ "type":"string", "max":63, - "min":1 + "min":1, + "pattern":"[a-zA-Z0-9-_/]+" }, "SearchFilterExpression":{ "type":"structure", @@ -8988,10 +8992,6 @@ "shape":"DateTimeFilterExpression", "documentation":"

      Filters based on date and time.

      " }, - "groupFilter":{ - "shape":"SearchGroupedFilterExpressions", - "documentation":"

      Filters by group.

      " - }, "parameterFilter":{ "shape":"ParameterFilterExpression", "documentation":"

      Filters by parameter.

      " @@ -9003,6 +9003,10 @@ "stringFilter":{ "shape":"StringFilterExpression", "documentation":"

      Filters by a string.

      " + }, + "groupFilter":{ + "shape":"SearchGroupedFilterExpressions", + "documentation":"

      Filters by group.

      " } }, "documentation":"

      The type of search filter to apply.

      ", @@ -9036,8 +9040,8 @@ "type":"structure", "required":[ "farmId", - "itemOffset", - "queueIds" + "queueIds", + "itemOffset" ], "members":{ "farmId":{ @@ -9046,10 +9050,18 @@ "location":"uri", "locationName":"farmId" }, + "queueIds":{ + "shape":"SearchJobsRequestQueueIdsList", + "documentation":"

      The queue ID to use in the job search.

      " + }, "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 ().

      " }, + "sortExpressions":{ + "shape":"SearchSortExpressions", + "documentation":"

      The search terms for a resource.

      " + }, "itemOffset":{ "shape":"SearchJobsRequestItemOffsetInteger", "documentation":"

      Defines how far into the scrollable list to start the return of results.

      " @@ -9057,14 +9069,6 @@ "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.

      " } } }, @@ -9110,6 +9114,10 @@ "SearchSortExpression":{ "type":"structure", "members":{ + "userJobsFirst":{ + "shape":"UserJobsFirst", + "documentation":"

      Options for sorting a particular user's jobs first.

      " + }, "fieldSort":{ "shape":"FieldSortExpression", "documentation":"

      Options for sorting by a field.

      " @@ -9117,10 +9125,6 @@ "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.

      ", @@ -9129,15 +9133,15 @@ "SearchSortExpressions":{ "type":"list", "member":{"shape":"SearchSortExpression"}, - "max":1, + "max":5, "min":1 }, "SearchStepsRequest":{ "type":"structure", "required":[ "farmId", - "itemOffset", - "queueIds" + "queueIds", + "itemOffset" ], "members":{ "farmId":{ @@ -9146,29 +9150,29 @@ "location":"uri", "locationName":"farmId" }, + "queueIds":{ + "shape":"SearchStepsRequestQueueIdsList", + "documentation":"

      The queue IDs in the step search.

      " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

      The job ID to use in the step search.

      " + }, "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 ().

      " }, + "sortExpressions":{ + "shape":"SearchSortExpressions", + "documentation":"

      The search terms for a resource.

      " + }, "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.

      " } } }, @@ -9197,14 +9201,14 @@ "totalResults" ], "members":{ - "nextItemOffset":{ - "shape":"NextItemOffset", - "documentation":"

      The next incremental starting point after the defined itemOffset.

      " - }, "steps":{ "shape":"StepSearchSummaries", "documentation":"

      The steps 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.

      " @@ -9215,8 +9219,8 @@ "type":"structure", "required":[ "farmId", - "itemOffset", - "queueIds" + "queueIds", + "itemOffset" ], "members":{ "farmId":{ @@ -9225,29 +9229,29 @@ "location":"uri", "locationName":"farmId" }, + "queueIds":{ + "shape":"SearchTasksRequestQueueIdsList", + "documentation":"

      The queue IDs to include in the search.

      " + }, + "jobId":{ + "shape":"JobId", + "documentation":"

      The job ID for the task search.

      " + }, "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 ().

      " }, + "sortExpressions":{ + "shape":"SearchSortExpressions", + "documentation":"

      The search terms for a resource.

      " + }, "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.

      " } } }, @@ -9276,14 +9280,14 @@ "totalResults" ], "members":{ - "nextItemOffset":{ - "shape":"NextItemOffset", - "documentation":"

      The next incremental starting point after the defined itemOffset.

      " - }, "tasks":{ "shape":"TaskSearchSummaries", "documentation":"

      Tasks 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.

      " @@ -9320,13 +9324,17 @@ "location":"uri", "locationName":"farmId" }, + "fleetIds":{ + "shape":"SearchWorkersRequestFleetIdsList", + "documentation":"

      The fleet ID of the workers to search for.

      " + }, "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.

      " + "sortExpressions":{ + "shape":"SearchSortExpressions", + "documentation":"

      The search terms for a resource.

      " }, "itemOffset":{ "shape":"SearchWorkersRequestItemOffsetInteger", @@ -9335,10 +9343,6 @@ "pageSize":{ "shape":"SearchWorkersRequestPageSizeInteger", "documentation":"

      Specifies the number of items per page for the resource.

      " - }, - "sortExpressions":{ - "shape":"SearchSortExpressions", - "documentation":"

      The search terms for a resource.

      " } } }, @@ -9363,10 +9367,14 @@ "SearchWorkersResponse":{ "type":"structure", "required":[ - "totalResults", - "workers" + "workers", + "totalResults" ], "members":{ + "workers":{ + "shape":"WorkerSearchSummaries", + "documentation":"

      The workers for the search.

      " + }, "nextItemOffset":{ "shape":"NextItemOffset", "documentation":"

      The next incremental starting point after the defined itemOffset.

      " @@ -9374,10 +9382,6 @@ "totalResults":{ "shape":"TotalResults", "documentation":"

      The total number of results in the search.

      " - }, - "workers":{ - "shape":"WorkerSearchSummaries", - "documentation":"

      The workers for the search.

      " } } }, @@ -9387,7 +9391,7 @@ }, "SecurityGroupId":{ "type":"string", - "pattern":"^sg-[\\w]{1,120}$" + "pattern":"sg-[\\w]{1,120}" }, "ServiceManagedEc2FleetConfiguration":{ "type":"structure", @@ -9410,31 +9414,15 @@ "ServiceManagedEc2InstanceCapabilities":{ "type":"structure", "required":[ - "cpuArchitectureType", + "vCpuCount", "memoryMiB", "osFamily", - "vCpuCount" + "cpuArchitectureType" ], "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.

      " + "vCpuCount":{ + "shape":"VCpuCountRange", + "documentation":"

      The amount of vCPU to require for instances in this fleet.

      " }, "memoryMiB":{ "shape":"MemoryMiBRange", @@ -9444,13 +9432,29 @@ "shape":"ServiceManagedFleetOperatingSystemFamily", "documentation":"

      The operating system (OS) family.

      " }, + "cpuArchitectureType":{ + "shape":"CpuArchitectureType", + "documentation":"

      The CPU architecture type.

      " + }, "rootEbsVolume":{ "shape":"Ec2EbsVolume", "documentation":"

      The root EBS volume.

      " }, - "vCpuCount":{ - "shape":"VCpuCountRange", - "documentation":"

      The amount of vCPU to require for instances in this fleet.

      " + "allowedInstanceTypes":{ + "shape":"InstanceTypes", + "documentation":"

      The allowable Amazon EC2 instance types.

      " + }, + "excludedInstanceTypes":{ + "shape":"InstanceTypes", + "documentation":"

      The instance types to exclude from the fleet.

      " + }, + "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.

      " } }, "documentation":"

      The Amazon EC2 instance capabilities.

      " @@ -9477,29 +9481,17 @@ "type":"structure", "required":[ "message", - "quotaCode", "reason", "resourceType", - "serviceCode" + "serviceCode", + "quotaCode" ], "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

      " @@ -9507,6 +9499,18 @@ "serviceCode":{ "shape":"String", "documentation":"

      Identifies the service that exceeded the quota.

      " + }, + "quotaCode":{ + "shape":"String", + "documentation":"

      Identifies the quota that has been exceeded.

      " + }, + "resourceId":{ + "shape":"String", + "documentation":"

      The identifier of the affected resource.

      " + }, + "context":{ + "shape":"ExceptionContext", + "documentation":"

      Information about the resources in use when the exception was thrown.

      " } }, "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.

      ", @@ -9534,13 +9538,13 @@ "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.

      " + }, + "syncInputJobAttachments":{ + "shape":"SyncInputJobAttachmentsSessionActionDefinition", + "documentation":"

      The job attachments to sync with a session action.

      " } }, "documentation":"

      The definition of the session action.

      ", @@ -9557,13 +9561,13 @@ "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.

      " + }, + "syncInputJobAttachments":{ + "shape":"SyncInputJobAttachmentsSessionActionDefinitionSummary", + "documentation":"

      The job attachments to sync with the session action definition.

      " } }, "documentation":"

      The details of a session action definition.

      ", @@ -9571,7 +9575,7 @@ }, "SessionActionId":{ "type":"string", - "pattern":"^sessionaction-[0-9a-f]{32}-(0|([1-9][0-9]{0,9}))$" + "pattern":"sessionaction-[0-9a-f]{32}-(0|([1-9][0-9]{0,9}))" }, "SessionActionIdList":{ "type":"list", @@ -9614,45 +9618,45 @@ "SessionActionSummary":{ "type":"structure", "required":[ - "definition", "sessionActionId", - "status" + "status", + "definition" ], "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.

      " }, + "status":{ + "shape":"SessionActionStatus", + "documentation":"

      The status of 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.

      " + "endedAt":{ + "shape":"EndedAt", + "documentation":"

      The date and time the resource ended running.

      " }, "workerUpdatedAt":{ "shape":"Timestamp", "documentation":"

      The Linux timestamp of the last date and time that the session action was updated.

      " + }, + "progressPercent":{ + "shape":"SessionActionProgressPercent", + "documentation":"

      The completion percentage for the session action.

      " + }, + "definition":{ + "shape":"SessionActionDefinitionSummary", + "documentation":"

      The session action definition.

      " } }, "documentation":"

      The details of a session action.

      " }, "SessionId":{ "type":"string", - "pattern":"^session-[0-9a-f]{32}$" + "pattern":"session-[0-9a-f]{32}" }, "SessionLifecycleStatus":{ "type":"string", @@ -9675,36 +9679,36 @@ "SessionSummary":{ "type":"structure", "required":[ - "fleetId", - "lifecycleStatus", "sessionId", + "fleetId", + "workerId", "startedAt", - "workerId" + "lifecycleStatus" ], "members":{ - "endedAt":{ - "shape":"EndedAt", - "documentation":"

      The date and time the resource ended running.

      " + "sessionId":{ + "shape":"SessionId", + "documentation":"

      The session ID.

      " }, "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.

      " + "workerId":{ + "shape":"WorkerId", + "documentation":"

      The worker 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.

      " + "lifecycleStatus":{ + "shape":"SessionLifecycleStatus", + "documentation":"

      The life cycle status for the session.

      " + }, + "endedAt":{ + "shape":"EndedAt", + "documentation":"

      The date and time the resource ended running.

      " }, "updatedAt":{ "shape":"UpdatedAt", @@ -9714,9 +9718,9 @@ "shape":"UpdatedBy", "documentation":"

      The user or system that updated this resource.

      " }, - "workerId":{ - "shape":"WorkerId", - "documentation":"

      The worker ID.

      " + "targetLifecycleStatus":{ + "shape":"SessionLifecycleTargetStatus", + "documentation":"

      The target life cycle status for the session.

      " } }, "documentation":"

      The summary of a session.

      " @@ -9737,13 +9741,13 @@ "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.

      " + }, + "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.

      " } }, "documentation":"

      Specifies the fleet IDs or queue IDs to return statistics. You can specify only fleet IDs or queue IDS, not both.

      ", @@ -9771,32 +9775,20 @@ "StartSessionsStatisticsAggregationRequest":{ "type":"structure", "required":[ - "endTime", "farmId", - "groupBy", "resourceIds", "startTime", + "endTime", + "groupBy", "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.

      " @@ -9805,13 +9797,25 @@ "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.

      " + "endTime":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

      The Linux timestamp of the date and time that the statistics end.

      " }, "timezone":{ "shape":"Timezone", "documentation":"

      The timezone to use for the statistics. Use UTC notation such as \"UTC+8.\"

      " + }, + "period":{ + "shape":"Period", + "documentation":"

      The period to aggregate the statistics.

      " + }, + "groupBy":{ + "shape":"UsageGroupBy", + "documentation":"

      The field to use to group the statistics.

      " + }, + "statistics":{ + "shape":"UsageStatistics", + "documentation":"

      One to four statistics to return.

      " } } }, @@ -9836,35 +9840,19 @@ "Statistics":{ "type":"structure", "required":[ - "costInUsd", "count", + "costInUsd", "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.

      " + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID.

      " }, "fleetId":{ "shape":"FleetId", "documentation":"

      The fleet ID.

      " }, - "instanceType":{ - "shape":"InstanceType", - "documentation":"

      The type of instance.

      " - }, "jobId":{ "shape":"JobId", "documentation":"

      The job ID.

      " @@ -9873,25 +9861,41 @@ "shape":"JobName", "documentation":"

      The job name.

      " }, + "userId":{ + "shape":"UserId", + "documentation":"

      The user ID.

      " + }, + "usageType":{ + "shape":"UsageType", + "documentation":"

      The type of usage for the statistics.

      " + }, "licenseProduct":{ "shape":"LicenseProduct", "documentation":"

      The licensed product.

      " }, - "queueId":{ - "shape":"QueueId", - "documentation":"

      The queue ID.

      " + "instanceType":{ + "shape":"InstanceType", + "documentation":"

      The type of instance.

      " + }, + "count":{ + "shape":"Integer", + "documentation":"

      The number of instances in a list of statistics.

      " + }, + "costInUsd":{ + "shape":"Stats", + "documentation":"

      How the statistics should appear in USD. Options include: minimum, maximum, average or sum.

      " }, "runtimeInSeconds":{ "shape":"Stats", "documentation":"

      The total aggregated runtime.

      " }, - "usageType":{ - "shape":"UsageType", - "documentation":"

      The type of usage for the statistics.

      " + "aggregationStartTime":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

      The start time for the aggregation.

      " }, - "userId":{ - "shape":"UserId", - "documentation":"

      The user ID.

      " + "aggregationEndTime":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

      The end time for the aggregation.

      " } }, "documentation":"

      A list of statistics for a session.

      " @@ -9903,17 +9907,17 @@ "Stats":{ "type":"structure", "members":{ - "avg":{ + "min":{ "shape":"Double", - "documentation":"

      The average of the usage statistics.

      " + "documentation":"

      The minimum of the usage statistics.

      " }, "max":{ "shape":"Double", "documentation":"

      The maximum among the usage statistics.

      " }, - "min":{ + "avg":{ "shape":"Double", - "documentation":"

      The minimum of the usage statistics.

      " + "documentation":"

      The average of the usage statistics.

      " }, "sum":{ "shape":"Double", @@ -9935,17 +9939,17 @@ "type":"structure", "required":["name"], "members":{ - "max":{ - "shape":"Double", - "documentation":"

      The maximum amount.

      " + "name":{ + "shape":"AmountCapabilityName", + "documentation":"

      The name of the step.

      " }, "min":{ "shape":"Double", "documentation":"

      The minimum amount.

      " }, - "name":{ - "shape":"AmountCapabilityName", - "documentation":"

      The name of the step.

      " + "max":{ + "shape":"Double", + "documentation":"

      The maximum amount.

      " }, "value":{ "shape":"Double", @@ -9962,17 +9966,17 @@ "type":"structure", "required":["name"], "members":{ - "allOf":{ - "shape":"ListAttributeCapabilityValue", - "documentation":"

      Requires all of the step attribute values.

      " + "name":{ + "shape":"AttributeCapabilityName", + "documentation":"

      The name of the step attribute.

      " }, "anyOf":{ "shape":"ListAttributeCapabilityValue", "documentation":"

      Requires any of the step attributes in a given list.

      " }, - "name":{ - "shape":"AttributeCapabilityName", - "documentation":"

      The name of the step attribute.

      " + "allOf":{ + "shape":"ListAttributeCapabilityValue", + "documentation":"

      Requires all of the step attribute values.

      " } }, "documentation":"

      The list of step attributes.

      " @@ -9980,17 +9984,17 @@ "StepConsumer":{ "type":"structure", "required":[ - "status", - "stepId" + "stepId", + "status" ], "members":{ - "status":{ - "shape":"DependencyConsumerResolutionStatus", - "documentation":"

      The step consumer status.

      " - }, "stepId":{ "shape":"StepId", "documentation":"

      The step ID.

      " + }, + "status":{ + "shape":"DependencyConsumerResolutionStatus", + "documentation":"

      The step consumer status.

      " } }, "documentation":"

      The details of a step consumer.

      " @@ -10006,17 +10010,17 @@ "StepDependency":{ "type":"structure", "required":[ - "status", - "stepId" + "stepId", + "status" ], "members":{ - "status":{ - "shape":"DependencyConsumerResolutionStatus", - "documentation":"

      The step dependency status.

      " - }, "stepId":{ "shape":"StepId", "documentation":"

      The step ID.

      " + }, + "status":{ + "shape":"DependencyConsumerResolutionStatus", + "documentation":"

      The step dependency status.

      " } }, "documentation":"

      The details of step dependency.

      " @@ -10030,32 +10034,32 @@ "StepDetailsEntity":{ "type":"structure", "required":[ - "dependencies", "jobId", - "schemaVersion", "stepId", - "template" + "schemaVersion", + "template", + "dependencies" ], "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.

      " }, + "schemaVersion":{ + "shape":"String", + "documentation":"

      The schema version for a step template.

      " + }, "template":{ "shape":"Document", "documentation":"

      The template for a step.

      " + }, + "dependencies":{ + "shape":"DependenciesList", + "documentation":"

      The dependencies for a step.

      " } }, "documentation":"

      The details of a step entity.

      " @@ -10063,27 +10067,27 @@ "StepDetailsError":{ "type":"structure", "required":[ - "code", "jobId", - "message", - "stepId" + "stepId", + "code", + "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.

      " - }, "stepId":{ "shape":"StepId", "documentation":"

      The step ID.

      " + }, + "code":{ + "shape":"JobEntityErrorCode", + "documentation":"

      The error code.

      " + }, + "message":{ + "shape":"String", + "documentation":"

      The error message detailing the error's cause.

      " } }, "documentation":"

      The details of the step error.

      " @@ -10108,7 +10112,7 @@ }, "StepId":{ "type":"string", - "pattern":"^step-[0-9a-f]{32}$" + "pattern":"step-[0-9a-f]{32}" }, "StepLifecycleStatus":{ "type":"string", @@ -10163,17 +10167,17 @@ "StepRequiredCapabilities":{ "type":"structure", "required":[ - "amounts", - "attributes" + "attributes", + "amounts" ], "members":{ - "amounts":{ - "shape":"StepAmountCapabilities", - "documentation":"

      The capability amounts that the step requires.

      " - }, "attributes":{ "shape":"StepAttributeCapabilities", "documentation":"

      The capability attributes that the step requires.

      " + }, + "amounts":{ + "shape":"StepAmountCapabilities", + "documentation":"

      The capability amounts that the step requires.

      " } }, "documentation":"

      The details of required step capabilities.

      " @@ -10185,18 +10189,22 @@ "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.

      " + "stepId":{ + "shape":"StepId", + "documentation":"

      The step ID.

      " }, "jobId":{ "shape":"JobId", "documentation":"

      The job ID.

      " }, + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID.

      " + }, + "name":{ + "shape":"StepName", + "documentation":"

      The step name.

      " + }, "lifecycleStatus":{ "shape":"StepLifecycleStatus", "documentation":"

      The life cycle status.

      " @@ -10205,37 +10213,33 @@ "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.

      " + "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.

      " }, "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.

      " + }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The date and time the resource was created.

      " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

      The date and time the resource started running.

      " + }, + "endedAt":{ + "shape":"EndedAt", + "documentation":"

      The date and time the resource ended running.

      " + }, + "parameterSpace":{ + "shape":"ParameterSpace", + "documentation":"

      The parameters and combination expressions for the search.

      " } }, "documentation":"

      The details of a step search.

      " @@ -10247,30 +10251,22 @@ "StepSummary":{ "type":"structure", "required":[ - "createdAt", - "createdBy", - "lifecycleStatus", - "name", "stepId", + "name", + "lifecycleStatus", "taskRunStatus", - "taskRunStatusCounts" + "taskRunStatusCounts", + "createdAt", + "createdBy" ], "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.

      " + "stepId":{ + "shape":"StepId", + "documentation":"

      The step ID.

      " }, - "endedAt":{ - "shape":"EndedAt", - "documentation":"

      The date and time the resource ended running.

      " + "name":{ + "shape":"StepName", + "documentation":"

      The name of the step.

      " }, "lifecycleStatus":{ "shape":"StepLifecycleStatus", @@ -10280,22 +10276,6 @@ "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.

      " @@ -10304,6 +10284,18 @@ "shape":"TaskRunStatusCounts", "documentation":"

      The number of tasks running on the job.

      " }, + "targetTaskRunStatus":{ + "shape":"StepTargetTaskRunStatus", + "documentation":"

      The task status to start with on 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.

      " + }, "updatedAt":{ "shape":"UpdatedAt", "documentation":"

      The date and time the resource was updated.

      " @@ -10311,6 +10303,18 @@ "updatedBy":{ "shape":"UpdatedBy", "documentation":"

      The user or system that updated this resource.

      " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

      The date and time the resource started running.

      " + }, + "endedAt":{ + "shape":"EndedAt", + "documentation":"

      The date and time the resource ended running.

      " + }, + "dependencyCounts":{ + "shape":"DependencyCounts", + "documentation":"

      The number of dependencies for the step.

      " } }, "documentation":"

      The details for a step.

      " @@ -10328,7 +10332,7 @@ }, "StorageProfileId":{ "type":"string", - "pattern":"^sp-[0-9a-f]{32}$" + "pattern":"sp-[0-9a-f]{32}" }, "StorageProfileOperatingSystemFamily":{ "type":"string", @@ -10345,22 +10349,22 @@ "StorageProfileSummary":{ "type":"structure", "required":[ + "storageProfileId", "displayName", - "osFamily", - "storageProfileId" + "osFamily" ], "members":{ + "storageProfileId":{ + "shape":"StorageProfileId", + "documentation":"

      The storage profile ID.

      " + }, "displayName":{ "shape":"ResourceName", - "documentation":"

      The display name of the storage profile summary to update.

      " + "documentation":"

      The display name of the storage profile summary to update.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, "osFamily":{ "shape":"StorageProfileOperatingSystemFamily", "documentation":"

      The operating system (OS) family.

      " - }, - "storageProfileId":{ - "shape":"StorageProfileId", - "documentation":"

      The storage profile ID.

      " } }, "documentation":"

      The details of a storage profile.

      " @@ -10400,13 +10404,13 @@ }, "Subdomain":{ "type":"string", - "pattern":"^[a-z0-9-]{1,100}$" + "pattern":"[a-z0-9-]{1,100}" }, "SubnetId":{ "type":"string", "max":32, "min":1, - "pattern":"^subnet-[\\w]{1,120}$" + "pattern":"subnet-[\\w]{1,120}" }, "SyncInputJobAttachmentsSessionActionDefinition":{ "type":"structure", @@ -10460,26 +10464,26 @@ }, "TaskId":{ "type":"string", - "pattern":"^task-[0-9a-f]{32}-(0|([1-9][0-9]{0,9}))$" + "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.

      " + "float":{ + "shape":"FloatString", + "documentation":"

      A double precision IEEE-754 floating point number represented as a string.

      " }, "string":{ "shape":"ParameterString", "documentation":"

      A UTF-8 string.

      " + }, + "path":{ + "shape":"PathString", + "documentation":"

      A file system path represented as a string.

      " } }, "documentation":"

      The data types for the task parameters.

      ", @@ -10501,22 +10505,22 @@ "TaskRunSessionActionDefinition":{ "type":"structure", "required":[ - "parameters", + "taskId", "stepId", - "taskId" + "parameters" ], "members":{ - "parameters":{ - "shape":"TaskParameters", - "documentation":"

      The task parameters.

      " + "taskId":{ + "shape":"TaskId", + "documentation":"

      The task ID.

      " }, "stepId":{ "shape":"StepId", "documentation":"

      The step ID.

      " }, - "taskId":{ - "shape":"TaskId", - "documentation":"

      The task ID.

      " + "parameters":{ + "shape":"TaskParameters", + "documentation":"

      The task parameters.

      " } }, "documentation":"

      The task, step, and parameters for the task run in the session action.

      " @@ -10524,17 +10528,17 @@ "TaskRunSessionActionDefinitionSummary":{ "type":"structure", "required":[ - "stepId", - "taskId" + "taskId", + "stepId" ], "members":{ - "stepId":{ - "shape":"StepId", - "documentation":"

      The step ID.

      " - }, "taskId":{ "shape":"TaskId", "documentation":"

      The task ID.

      " + }, + "stepId":{ + "shape":"StepId", + "documentation":"

      The step ID.

      " } }, "documentation":"

      The details of a task run in a session action.

      " @@ -10568,22 +10572,18 @@ "TaskSearchSummary":{ "type":"structure", "members":{ - "endedAt":{ - "shape":"EndedAt", - "documentation":"

      The date and time the resource ended running.

      " + "taskId":{ + "shape":"TaskId", + "documentation":"

      The task ID.

      " }, - "failureRetryCount":{ - "shape":"TaskRetryCount", - "documentation":"

      The number of times that the task failed and was retried.

      " + "stepId":{ + "shape":"StepId", + "documentation":"

      The step ID.

      " }, "jobId":{ "shape":"JobId", "documentation":"

      The job ID.

      " }, - "parameters":{ - "shape":"TaskParameters", - "documentation":"

      The parameters to search for.

      " - }, "queueId":{ "shape":"QueueId", "documentation":"

      The queue ID.

      " @@ -10592,21 +10592,25 @@ "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.

      " + "parameters":{ + "shape":"TaskParameters", + "documentation":"

      The parameters to search for.

      " + }, + "failureRetryCount":{ + "shape":"TaskRetryCount", + "documentation":"

      The number of times that the task failed and was retried.

      " + }, + "startedAt":{ + "shape":"StartedAt", + "documentation":"

      The date and time the resource started running.

      " + }, + "endedAt":{ + "shape":"EndedAt", + "documentation":"

      The date and time the resource ended running.

      " } }, "documentation":"

      The details of a task search.

      " @@ -10618,12 +10622,16 @@ "TaskSummary":{ "type":"structure", "required":[ + "taskId", "createdAt", "createdBy", - "runStatus", - "taskId" + "runStatus" ], "members":{ + "taskId":{ + "shape":"TaskId", + "documentation":"

      The task ID.

      " + }, "createdAt":{ "shape":"CreatedAt", "documentation":"

      The date and time the resource was created.

      " @@ -10632,37 +10640,29 @@ "shape":"CreatedBy", "documentation":"

      The user or system that created this resource.

      " }, - "endedAt":{ - "shape":"EndedAt", - "documentation":"

      The date and time the resource ended running.

      " + "runStatus":{ + "shape":"TaskRunStatus", + "documentation":"

      The run status of the task.

      " + }, + "targetRunStatus":{ + "shape":"TaskTargetRunStatus", + "documentation":"

      The run status on which the started.

      " }, "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.

      " + "endedAt":{ + "shape":"EndedAt", + "documentation":"

      The date and time the resource ended running.

      " }, "updatedAt":{ "shape":"UpdatedAt", @@ -10671,6 +10671,10 @@ "updatedBy":{ "shape":"UpdatedBy", "documentation":"

      The user or system that updated this resource.

      " + }, + "latestSessionActionId":{ + "shape":"SessionActionId", + "documentation":"

      The latest session action for the task.

      " } }, "documentation":"

      The details of a task.

      " @@ -10696,11 +10700,11 @@ "type":"structure", "required":["message"], "members":{ - "context":{ - "shape":"ExceptionContext", - "documentation":"

      Information about the resources in use when the exception was thrown.

      " - }, "message":{"shape":"String"}, + "serviceCode":{ + "shape":"String", + "documentation":"

      Identifies the service that is being throttled.

      " + }, "quotaCode":{ "shape":"String", "documentation":"

      Identifies the quota that is being throttled.

      " @@ -10711,9 +10715,9 @@ "location":"header", "locationName":"Retry-After" }, - "serviceCode":{ - "shape":"String", - "documentation":"

      Identifies the service that is being throttled.

      " + "context":{ + "shape":"ExceptionContext", + "documentation":"

      Information about the resources in use when the exception was thrown.

      " } }, "documentation":"

      Your request exceeded a request rate quota.

      ", @@ -10732,7 +10736,7 @@ "type":"string", "max":9, "min":9, - "pattern":"^UTC[-+][01][0-9]:(30|00)$" + "pattern":"UTC[-+][01][0-9]:(30|00)" }, "TotalResults":{ "type":"integer", @@ -10769,28 +10773,10 @@ "UpdateBudgetRequest":{ "type":"structure", "required":[ - "budgetId", - "farmId" + "farmId", + "budgetId" ], "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.

      ", @@ -10798,27 +10784,45 @@ "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.

      " + "budgetId":{ + "shape":"BudgetId", + "documentation":"

      The budget ID to update.

      ", + "location":"uri", + "locationName":"budgetId" + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The display name of the budget to update.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " + }, + "description":{ + "shape":"Description", + "documentation":"

      The description of the budget to update.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, "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.

      " + }, + "approximateDollarLimit":{ + "shape":"ConsumedUsageLimit", + "documentation":"

      The dollar limit to update on the budget. Based on consumed usage.

      " + }, + "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.

      " + }, + "schedule":{ + "shape":"BudgetSchedule", + "documentation":"

      The schedule to update.

      " } } }, @@ -10831,19 +10835,19 @@ "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" + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The display name of the farm to update.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " + }, + "description":{ + "shape":"Description", + "documentation":"

      The description of the farm to update.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " } } }, @@ -10866,18 +10870,6 @@ "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.

      ", @@ -10890,17 +10882,29 @@ "location":"uri", "locationName":"fleetId" }, - "maxWorkerCount":{ - "shape":"MinZeroMaxInteger", - "documentation":"

      The maximum number of workers in the fleet.

      " + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The display name of the fleet to update.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, - "minWorkerCount":{ - "shape":"MinZeroMaxInteger", - "documentation":"

      The minimum number of workers in the fleet.

      " + "description":{ + "shape":"Description", + "documentation":"

      The description of the fleet to update.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " }, "roleArn":{ "shape":"IamRoleArn", "documentation":"

      The IAM role ARN that the fleet's workers assume while running jobs.

      " + }, + "minWorkerCount":{ + "shape":"MinZeroMaxInteger", + "documentation":"

      The minimum number of workers in the fleet.

      " + }, + "maxWorkerCount":{ + "shape":"MinZeroMaxInteger", + "documentation":"

      The maximum number of workers in the fleet.

      " + }, + "configuration":{ + "shape":"FleetConfiguration", + "documentation":"

      The fleet configuration to update.

      " } } }, @@ -10917,8 +10921,8 @@ "type":"structure", "required":[ "farmId", - "jobId", - "queueId" + "queueId", + "jobId" ], "members":{ "clientToken":{ @@ -10934,15 +10938,25 @@ "location":"uri", "locationName":"farmId" }, + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID of the job to update.

      ", + "location":"uri", + "locationName":"queueId" + }, "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.

      " + "targetTaskRunStatus":{ + "shape":"JobTargetTaskRunStatus", + "documentation":"

      The task status to update the job's tasks to.

      " + }, + "priority":{ + "shape":"JobPriority", + "documentation":"

      The job priority to update.

      " }, "maxFailedTasksCount":{ "shape":"MaxFailedTasksCount", @@ -10952,19 +10966,9 @@ "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.

      " + "lifecycleStatus":{ + "shape":"UpdateJobLifecycleStatus", + "documentation":"

      The status of a job in its lifecycle. When you change the status of the job to ARCHIVED, the job can't be scheduled or archived.

      An archived jobs and its steps and tasks are deleted after 120 days. The job can't be recovered.

      " } } }, @@ -10977,23 +10981,23 @@ "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.

      " + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The new value to use for the monitor's display name.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " + }, + "roleArn":{ + "shape":"IamRoleArn", + "documentation":"

      The Amazon Resource Name (ARN) of the new IAM role to use with the monitor.

      " } } }, @@ -11006,8 +11010,8 @@ "type":"structure", "required":[ "farmId", - "queueEnvironmentId", - "queueId" + "queueId", + "queueEnvironmentId" ], "members":{ "clientToken":{ @@ -11023,9 +11027,11 @@ "location":"uri", "locationName":"farmId" }, - "priority":{ - "shape":"Priority", - "documentation":"

      The priority to update.

      " + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID of the queue environment to update.

      ", + "location":"uri", + "locationName":"queueId" }, "queueEnvironmentId":{ "shape":"QueueEnvironmentId", @@ -11033,19 +11039,17 @@ "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.

      " + "priority":{ + "shape":"Priority", + "documentation":"

      The priority to update.

      " }, "templateType":{ "shape":"EnvironmentTemplateType", "documentation":"

      The template type to update.

      " + }, + "template":{ + "shape":"EnvironmentTemplate", + "documentation":"

      The template to update.

      " } } }, @@ -11058,8 +11062,8 @@ "type":"structure", "required":[ "farmId", - "fleetId", "queueId", + "fleetId", "status" ], "members":{ @@ -11069,18 +11073,18 @@ "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" }, + "fleetId":{ + "shape":"FleetId", + "documentation":"

      The fleet ID to update.

      ", + "location":"uri", + "locationName":"fleetId" + }, "status":{ "shape":"UpdateQueueFleetAssociationStatus", "documentation":"

      The status to update.

      " @@ -11107,14 +11111,6 @@ "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.

      ", @@ -11122,38 +11118,42 @@ "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" }, + "queueId":{ + "shape":"QueueId", + "documentation":"

      The queue ID to update.

      ", + "location":"uri", + "locationName":"queueId" + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The display name of the queue to update.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " + }, + "description":{ + "shape":"Description", + "documentation":"

      The description of the queue to update.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " + }, + "defaultBudgetAction":{ + "shape":"DefaultQueueBudgetAction", + "documentation":"

      The default action to take for a queue update if a budget isn't configured.

      " + }, "jobAttachmentSettings":{ "shape":"JobAttachmentSettings", "documentation":"

      The job attachment settings to update for the queue.

      " }, + "roleArn":{ + "shape":"IamRoleArn", + "documentation":"

      The IAM role ARN that's used to run jobs from this 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.

      " @@ -11162,9 +11162,13 @@ "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.

      " + "allowedStorageProfileIdsToAdd":{ + "shape":"AllowedStorageProfileIds", + "documentation":"

      The storage profile IDs to add.

      " + }, + "allowedStorageProfileIdsToRemove":{ + "shape":"AllowedStorageProfileIds", + "documentation":"

      The storage profile ID to remove.

      " } } }, @@ -11177,8 +11181,8 @@ "type":"structure", "required":[ "farmId", - "jobId", "queueId", + "jobId", "sessionId", "targetLifecycleStatus" ], @@ -11196,17 +11200,17 @@ "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" + "locationName":"queueId" + }, + "jobId":{ + "shape":"JobId", + "documentation":"

      The job ID to update in the session.

      ", + "location":"uri", + "locationName":"jobId" }, "sessionId":{ "shape":"SessionId", @@ -11229,8 +11233,8 @@ "type":"structure", "required":[ "farmId", - "jobId", "queueId", + "jobId", "stepId", "targetTaskRunStatus" ], @@ -11248,18 +11252,18 @@ "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" }, + "jobId":{ + "shape":"JobId", + "documentation":"

      The job ID to update.

      ", + "location":"uri", + "locationName":"jobId" + }, "stepId":{ "shape":"StepId", "documentation":"

      The step ID to update.

      ", @@ -11291,16 +11295,26 @@ "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" }, + "storageProfileId":{ + "shape":"StorageProfileId", + "documentation":"

      The storage profile ID to update.

      ", + "location":"uri", + "locationName":"storageProfileId" + }, + "displayName":{ + "shape":"ResourceName", + "documentation":"

      The display name of the storage profile to update.

      This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

      " + }, + "osFamily":{ + "shape":"StorageProfileOperatingSystemFamily", + "documentation":"

      The OS system to update.

      " + }, "fileSystemLocationsToAdd":{ "shape":"FileSystemLocationsList", "documentation":"

      The file system location names to add.

      " @@ -11308,16 +11322,6 @@ "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" } } }, @@ -11330,11 +11334,11 @@ "type":"structure", "required":[ "farmId", - "jobId", "queueId", + "jobId", "stepId", - "targetRunStatus", - "taskId" + "taskId", + "targetRunStatus" ], "members":{ "clientToken":{ @@ -11350,33 +11354,33 @@ "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" }, + "jobId":{ + "shape":"JobId", + "documentation":"

      The job ID to update.

      ", + "location":"uri", + "locationName":"jobId" + }, "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" + }, + "targetRunStatus":{ + "shape":"TaskTargetRunStatus", + "documentation":"

      The run status with which to start the task.

      " } } }, @@ -11393,10 +11397,6 @@ "workerId" ], "members":{ - "capabilities":{ - "shape":"WorkerCapabilities", - "documentation":"

      The worker capabilities to update.

      " - }, "farmId":{ "shape":"FarmId", "documentation":"

      The farm ID to update.

      ", @@ -11409,19 +11409,23 @@ "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" + }, + "status":{ + "shape":"UpdatedWorkerStatus", + "documentation":"

      The worker status to update.

      " + }, + "capabilities":{ + "shape":"WorkerCapabilities", + "documentation":"

      The worker capabilities to update.

      " + }, + "hostProperties":{ + "shape":"HostPropertiesRequest", + "documentation":"

      The host properties to update.

      " } } }, @@ -11459,15 +11463,15 @@ "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" + }, + "updatedSessionActions":{ + "shape":"UpdatedSessionActions", + "documentation":"

      The session actions associated with the worker schedule to update.

      " } } }, @@ -11509,10 +11513,6 @@ "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.

      " @@ -11521,17 +11521,21 @@ "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.

      " }, + "endedAt":{ + "shape":"SyntheticTimestamp_date_time", + "documentation":"

      The date and time the resource ended running.

      " + }, "updatedAt":{ "shape":"SyntheticTimestamp_date_time", "documentation":"

      The updated time.

      " + }, + "progressPercent":{ + "shape":"SessionActionProgressPercent", + "documentation":"

      The percentage completed.

      " } }, "documentation":"

      The updated session action information as it relates to completion and progress of the session.

      " @@ -11617,13 +11621,13 @@ "type":"structure", "required":["min"], "members":{ - "max":{ - "shape":"MinOneMaxTenThousand", - "documentation":"

      The maximum amount of vCPU.

      " - }, "min":{ "shape":"MinOneMaxTenThousand", "documentation":"

      The minimum amount of vCPU.

      " + }, + "max":{ + "shape":"MinOneMaxTenThousand", + "documentation":"

      The maximum amount of vCPU.

      " } }, "documentation":"

      The allowable range of vCPU processing power for the fleet.

      " @@ -11635,18 +11639,18 @@ "reason" ], "members":{ - "context":{ - "shape":"ExceptionContext", - "documentation":"

      Information about the resources in use when the exception was thrown.

      " + "message":{"shape":"String"}, + "reason":{ + "shape":"ValidationExceptionReason", + "documentation":"

      The reason that the request failed validation.

      " }, "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.

      " + "context":{ + "shape":"ExceptionContext", + "documentation":"

      Information about the resources in use when the exception was thrown.

      " } }, "documentation":"

      The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.

      ", @@ -11659,17 +11663,17 @@ "ValidationExceptionField":{ "type":"structure", "required":[ - "message", - "name" + "name", + "message" ], "members":{ - "message":{ - "shape":"String", - "documentation":"

      The error message for the validation exception.

      " - }, "name":{ "shape":"String", "documentation":"

      The name of the validation exception.

      " + }, + "message":{ + "shape":"String", + "documentation":"

      The error message for the validation exception.

      " } }, "documentation":"

      The details of a validation exception.

      " @@ -11691,22 +11695,22 @@ "type":"string", "max":32, "min":1, - "pattern":"^vpc-[\\w]{1,120}$" + "pattern":"vpc-[\\w]{1,120}" }, "WindowsUser":{ "type":"structure", "required":[ - "passwordArn", - "user" + "user", + "passwordArn" ], "members":{ - "passwordArn":{ - "shape":"WindowsUserPasswordArnString", - "documentation":"

      The password ARN for the Windows user.

      " - }, "user":{ "shape":"WindowsUserUserString", "documentation":"

      The user.

      " + }, + "passwordArn":{ + "shape":"WindowsUserPasswordArnString", + "documentation":"

      The password ARN for the Windows user.

      " } }, "documentation":"

      The Windows user details.

      " @@ -11715,13 +11719,13 @@ "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}$" + "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]*$" + "pattern":"[^\"'/\\[\\]:;|=,+*?<>\\s]*" }, "WorkerAmountCapability":{ "type":"structure", @@ -11791,7 +11795,7 @@ }, "WorkerId":{ "type":"string", - "pattern":"^worker-[0-9a-f]{32}$" + "pattern":"worker-[0-9a-f]{32}" }, "WorkerSearchSummaries":{ "type":"list", @@ -11800,37 +11804,37 @@ "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.

      " + "workerId":{ + "shape":"WorkerId", + "documentation":"

      The worker ID.

      " }, "status":{ "shape":"WorkerStatus", "documentation":"

      The status of the worker search.

      " }, - "updatedAt":{ - "shape":"UpdatedAt", - "documentation":"

      The date and time the resource was updated.

      " + "hostProperties":{ + "shape":"HostPropertiesResponse", + "documentation":"

      Provides the Amazon EC2 instance properties of the worker host.

      " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user or system that created this resource.

      " + }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The date and time the resource was created.

      " }, "updatedBy":{ "shape":"UpdatedBy", "documentation":"

      The user or system that updated this resource.

      " }, - "workerId":{ - "shape":"WorkerId", - "documentation":"

      The worker ID.

      " + "updatedAt":{ + "shape":"UpdatedAt", + "documentation":"

      The date and time the resource was updated.

      " } }, "documentation":"

      The details of a worker search.

      " @@ -11838,37 +11842,37 @@ "WorkerSessionSummary":{ "type":"structure", "required":[ - "jobId", - "lifecycleStatus", - "queueId", "sessionId", - "startedAt" + "queueId", + "jobId", + "startedAt", + "lifecycleStatus" ], "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.

      " + "sessionId":{ + "shape":"SessionId", + "documentation":"

      The session ID for the session action.

      " }, "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.

      " + "jobId":{ + "shape":"JobId", + "documentation":"

      The job ID for the job associated with the worker's session.

      " }, "startedAt":{ "shape":"StartedAt", "documentation":"

      The date and time the resource started running.

      " }, + "lifecycleStatus":{ + "shape":"SessionLifecycleStatus", + "documentation":"

      The life cycle status for the worker's session.

      " + }, + "endedAt":{ + "shape":"EndedAt", + "documentation":"

      The date and time the resource ended running.

      " + }, "targetLifecycleStatus":{ "shape":"SessionLifecycleTargetStatus", "documentation":"

      The life cycle status

      " @@ -11896,21 +11900,17 @@ "WorkerSummary":{ "type":"structure", "required":[ - "createdAt", - "createdBy", + "workerId", "farmId", "fleetId", "status", - "workerId" + "createdAt", + "createdBy" ], "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.

      " + "workerId":{ + "shape":"WorkerId", + "documentation":"

      The worker ID.

      " }, "farmId":{ "shape":"FarmId", @@ -11920,6 +11920,10 @@ "shape":"FleetId", "documentation":"

      The fleet ID.

      " }, + "status":{ + "shape":"WorkerStatus", + "documentation":"

      The status of the worker.

      " + }, "hostProperties":{ "shape":"HostPropertiesResponse", "documentation":"

      The host properties of the worker.

      " @@ -11928,9 +11932,13 @@ "shape":"LogConfiguration", "documentation":"

      The log configuration for the worker.

      " }, - "status":{ - "shape":"WorkerStatus", - "documentation":"

      The status of the worker.

      " + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

      The date and time the resource was created.

      " + }, + "createdBy":{ + "shape":"CreatedBy", + "documentation":"

      The user or system that created this resource.

      " }, "updatedAt":{ "shape":"UpdatedAt", @@ -11939,10 +11947,6 @@ "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.

      " diff --git a/tools/code-generation/api-descriptions/lambda-2015-03-31.normal.json b/tools/code-generation/api-descriptions/lambda-2015-03-31.normal.json index 9b68af5ee89..a12d71c2dfd 100644 --- a/tools/code-generation/api-descriptions/lambda-2015-03-31.normal.json +++ b/tools/code-generation/api-descriptions/lambda-2015-03-31.normal.json @@ -4,10 +4,12 @@ "apiVersion":"2015-03-31", "endpointPrefix":"lambda", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"AWS Lambda", "serviceId":"Lambda", "signatureVersion":"v4", - "uid":"lambda-2015-03-31" + "uid":"lambda-2015-03-31", + "auth":["aws.auth#sigv4"] }, "operations":{ "AddLayerVersionPermission":{ @@ -459,6 +461,23 @@ ], "documentation":"

      Retrieves the configuration for asynchronous invocation for a function, version, or alias.

      To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

      " }, + "GetFunctionRecursionConfig":{ + "name":"GetFunctionRecursionConfig", + "http":{ + "method":"GET", + "requestUri":"/2024-08-31/functions/{FunctionName}/recursion-config", + "responseCode":200 + }, + "input":{"shape":"GetFunctionRecursionConfigRequest"}, + "output":{"shape":"GetFunctionRecursionConfigResponse"}, + "errors":[ + {"shape":"InvalidParameterValueException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ServiceException"} + ], + "documentation":"

      Returns your function's recursive loop detection configuration.

      " + }, "GetFunctionUrlConfig":{ "name":"GetFunctionUrlConfig", "http":{ @@ -973,6 +992,24 @@ ], "documentation":"

      Configures options for asynchronous invocation on a function, version, or alias. If a configuration already exists for a function, version, or alias, this operation overwrites it. If you exclude any settings, they are removed. To set one option without affecting existing settings for other options, use UpdateFunctionEventInvokeConfig.

      By default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous invocation queue for too long, Lambda discards it. To retain discarded events, configure a dead-letter queue with UpdateFunctionConfiguration.

      To send an invocation record to a queue, topic, function, or event bus, specify a destination. You can configure separate destinations for successful invocations (on-success) and events that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a dead-letter queue.

      " }, + "PutFunctionRecursionConfig":{ + "name":"PutFunctionRecursionConfig", + "http":{ + "method":"PUT", + "requestUri":"/2024-08-31/functions/{FunctionName}/recursion-config", + "responseCode":200 + }, + "input":{"shape":"PutFunctionRecursionConfigRequest"}, + "output":{"shape":"PutFunctionRecursionConfigResponse"}, + "errors":[ + {"shape":"InvalidParameterValueException"}, + {"shape":"ResourceConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ServiceException"} + ], + "documentation":"

      Sets your function's recursive loop detection configuration.

      When you configure a Lambda function to output to the same service or resource that invokes the function, it's possible to create an infinite recursive loop. For example, a Lambda function might write a message to an Amazon Simple Queue Service (Amazon SQS) queue, which then invokes the same function. This invocation causes the function to write another message to the queue, which in turn invokes the function again.

      Lambda can detect certain types of recursive loops shortly after they occur. When Lambda detects a recursive loop and your function's recursive loop detection configuration is set to Terminate, it stops your function being invoked and notifies you.

      " + }, "PutProvisionedConcurrencyConfig":{ "name":"PutProvisionedConcurrencyConfig", "http":{ @@ -1762,7 +1799,7 @@ }, "MaximumBatchingWindowInSeconds":{ "shape":"MaximumBatchingWindowInSeconds", - "documentation":"

      The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. You can configure MaximumBatchingWindowInSeconds to any value from 0 seconds to 300 seconds in increments of seconds.

      For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching window is 500 ms. Note that because you can only change MaximumBatchingWindowInSeconds in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it. To restore the default batching window, you must create a new event source mapping.

      Related setting: For streams and Amazon SQS event sources, when you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

      " + "documentation":"

      The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. You can configure MaximumBatchingWindowInSeconds to any value from 0 seconds to 300 seconds in increments of seconds.

      For Kinesis, DynamoDB, and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching window is 500 ms. Note that because you can only change MaximumBatchingWindowInSeconds in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it. To restore the default batching window, you must create a new event source mapping.

      Related setting: For Kinesis, DynamoDB, and Amazon SQS event sources, when you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

      " }, "ParallelizationFactor":{ "shape":"ParallelizationFactor", @@ -1848,7 +1885,7 @@ }, "Runtime":{ "shape":"Runtime", - "documentation":"

      The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive.

      The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

      " + "documentation":"

      The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. Specifying a runtime results in an error if you're deploying a function using a container image.

      The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation.

      For a list of all currently supported runtimes, see Supported runtimes.

      " }, "Role":{ "shape":"RoleArn", @@ -2672,7 +2709,7 @@ }, "Runtime":{ "shape":"Runtime", - "documentation":"

      The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive.

      The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

      " + "documentation":"

      The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. Specifying a runtime results in an error if you're deploying a function using a container image.

      The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation.

      For a list of all currently supported runtimes, see Supported runtimes.

      " }, "Role":{ "shape":"RoleArn", @@ -3084,6 +3121,27 @@ } } }, + "GetFunctionRecursionConfigRequest":{ + "type":"structure", + "required":["FunctionName"], + "members":{ + "FunctionName":{ + "shape":"UnqualifiedFunctionName", + "documentation":"

      ", + "location":"uri", + "locationName":"FunctionName" + } + } + }, + "GetFunctionRecursionConfigResponse":{ + "type":"structure", + "members":{ + "RecursiveLoop":{ + "shape":"RecursiveLoop", + "documentation":"

      If your function's recursive loop detection configuration is Allow, Lambda doesn't take any action when it detects your function being invoked as part of a recursive loop.

      If your function's recursive loop detection configuration is Terminate, Lambda stops your function being invoked and notifies you when it detects your function being invoked as part of a recursive loop.

      By default, Lambda sets your function's configuration to Terminate. You can update this configuration using the PutFunctionRecursionConfig action.

      " + } + } + }, "GetFunctionRequest":{ "type":"structure", "required":["FunctionName"], @@ -3277,7 +3335,7 @@ }, "CompatibleRuntimes":{ "shape":"CompatibleRuntimes", - "documentation":"

      The layer's compatible runtimes.

      The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

      " + "documentation":"

      The layer's compatible runtimes.

      The following list includes deprecated runtimes. For more information, see Runtime use after deprecation.

      For a list of all currently supported runtimes, see Supported runtimes.

      " }, "LicenseInfo":{ "shape":"LicenseInfo", @@ -3992,7 +4050,7 @@ }, "CompatibleRuntimes":{ "shape":"CompatibleRuntimes", - "documentation":"

      The layer's compatible runtimes.

      The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

      " + "documentation":"

      The layer's compatible runtimes.

      The following list includes deprecated runtimes. For more information, see Runtime use after deprecation.

      For a list of all currently supported runtimes, see Supported runtimes.

      " }, "LicenseInfo":{ "shape":"LicenseInfo", @@ -4311,7 +4369,7 @@ "members":{ "CompatibleRuntime":{ "shape":"Runtime", - "documentation":"

      A runtime identifier. For example, java21.

      The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

      ", + "documentation":"

      A runtime identifier.

      The following list includes deprecated runtimes. For more information, see Runtime use after deprecation.

      For a list of all currently supported runtimes, see Supported runtimes.

      ", "location":"querystring", "locationName":"CompatibleRuntime" }, @@ -4359,7 +4417,7 @@ "members":{ "CompatibleRuntime":{ "shape":"Runtime", - "documentation":"

      A runtime identifier. For example, java21.

      The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

      ", + "documentation":"

      A runtime identifier.

      The following list includes deprecated runtimes. For more information, see Runtime use after deprecation.

      For a list of all currently supported runtimes, see Supported runtimes.

      ", "location":"querystring", "locationName":"CompatibleRuntime" }, @@ -4709,7 +4767,7 @@ "documentation":"

      The exception message.

      " } }, - "documentation":"

      The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias API operation to retrieve the latest RevisionId for your resource.

      ", + "documentation":"

      The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.

      • For AddPermission and RemovePermission API operations: Call GetPolicy to retrieve the latest RevisionId for your resource.

      • For all other API operations: Call GetFunction or GetAlias to retrieve the latest RevisionId for your resource.

      ", "error":{"httpStatusCode":412}, "exception":true }, @@ -4843,7 +4901,7 @@ }, "CompatibleRuntimes":{ "shape":"CompatibleRuntimes", - "documentation":"

      The layer's compatible runtimes.

      The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

      " + "documentation":"

      The layer's compatible runtimes.

      The following list includes deprecated runtimes. For more information, see Runtime use after deprecation.

      For a list of all currently supported runtimes, see Supported runtimes.

      " }, "LicenseInfo":{ "shape":"LicenseInfo", @@ -4964,6 +5022,34 @@ } } }, + "PutFunctionRecursionConfigRequest":{ + "type":"structure", + "required":[ + "FunctionName", + "RecursiveLoop" + ], + "members":{ + "FunctionName":{ + "shape":"UnqualifiedFunctionName", + "documentation":"

      The name or ARN of the Lambda function.

      Name formats

      • Function namemy-function.

      • Function ARNarn:aws:lambda:us-west-2:123456789012:function:my-function.

      • Partial ARN123456789012:function:my-function.

      The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

      ", + "location":"uri", + "locationName":"FunctionName" + }, + "RecursiveLoop":{ + "shape":"RecursiveLoop", + "documentation":"

      If you set your function's recursive loop detection configuration to Allow, Lambda doesn't take any action when it detects your function being invoked as part of a recursive loop. We recommend that you only use this setting if your design intentionally uses a Lambda function to write data back to the same Amazon Web Services resource that invokes it.

      If you set your function's recursive loop detection configuration to Terminate, Lambda stops your function being invoked and notifies you when it detects your function being invoked as part of a recursive loop.

      By default, Lambda sets your function's configuration to Terminate.

      If your design intentionally uses a Lambda function to write data back to the same Amazon Web Services resource that invokes the function, then use caution and implement suitable guard rails to prevent unexpected charges being billed to your Amazon Web Services account. To learn more about best practices for using recursive invocation patterns, see Recursive patterns that cause run-away Lambda functions in Serverless Land.

      " + } + } + }, + "PutFunctionRecursionConfigResponse":{ + "type":"structure", + "members":{ + "RecursiveLoop":{ + "shape":"RecursiveLoop", + "documentation":"

      The status of your function's recursive loop detection configuration.

      When this value is set to Allowand Lambda detects your function being invoked as part of a recursive loop, it doesn't take any action.

      When this value is set to Terminate and Lambda detects your function being invoked as part of a recursive loop, it stops your function being invoked and notifies you.

      " + } + } + }, "PutProvisionedConcurrencyConfigRequest":{ "type":"structure", "required":[ @@ -5103,6 +5189,13 @@ "error":{"httpStatusCode":400}, "exception":true }, + "RecursiveLoop":{ + "type":"string", + "enum":[ + "Allow", + "Terminate" + ] + }, "RemoveLayerVersionPermissionRequest":{ "type":"structure", "required":[ @@ -5694,6 +5787,12 @@ "min":1, "pattern":"[a-zA-Z0-9-\\/*:_+=.@-]*" }, + "UnqualifiedFunctionName":{ + "type":"string", + "max":140, + "min":1, + "pattern":"(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)" + }, "UnreservedConcurrentExecutions":{ "type":"integer", "min":0 @@ -5828,7 +5927,7 @@ }, "MaximumBatchingWindowInSeconds":{ "shape":"MaximumBatchingWindowInSeconds", - "documentation":"

      The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. You can configure MaximumBatchingWindowInSeconds to any value from 0 seconds to 300 seconds in increments of seconds.

      For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching window is 500 ms. Note that because you can only change MaximumBatchingWindowInSeconds in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it. To restore the default batching window, you must create a new event source mapping.

      Related setting: For streams and Amazon SQS event sources, when you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

      " + "documentation":"

      The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. You can configure MaximumBatchingWindowInSeconds to any value from 0 seconds to 300 seconds in increments of seconds.

      For Kinesis, DynamoDB, and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching window is 500 ms. Note that because you can only change MaximumBatchingWindowInSeconds in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it. To restore the default batching window, you must create a new event source mapping.

      Related setting: For Kinesis, DynamoDB, and Amazon SQS event sources, when you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

      " }, "DestinationConfig":{ "shape":"DestinationConfig", @@ -5960,7 +6059,7 @@ }, "Runtime":{ "shape":"Runtime", - "documentation":"

      The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive.

      The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

      " + "documentation":"

      The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. Specifying a runtime results in an error if you're deploying a function using a container image.

      The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation.

      For a list of all currently supported runtimes, see Supported runtimes.

      " }, "DeadLetterConfig":{ "shape":"DeadLetterConfig", diff --git a/tools/code-generation/api-descriptions/ssm-sap-2018-05-10.normal.json b/tools/code-generation/api-descriptions/ssm-sap-2018-05-10.normal.json index b86079beb4b..817565f36f3 100644 --- a/tools/code-generation/api-descriptions/ssm-sap-2018-05-10.normal.json +++ b/tools/code-generation/api-descriptions/ssm-sap-2018-05-10.normal.json @@ -2,9 +2,10 @@ "version":"2.0", "metadata":{ "apiVersion":"2018-05-10", + "auth":["aws.auth#sigv4"], "endpointPrefix":"ssm-sap", - "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceAbbreviation":"SsmSap", "serviceFullName":"AWS Systems Manager for SAP", "serviceId":"Ssm Sap", @@ -406,10 +407,18 @@ "StatusMessage":{ "shape":"String", "documentation":"

      The status message.

      " + }, + "AssociatedApplicationArns":{ + "shape":"ApplicationArnList", + "documentation":"

      The Amazon Resource Names of the associated AWS Systems Manager for SAP applications.

      " } }, "documentation":"

      An SAP application registered with AWS Systems Manager for SAP.

      " }, + "ApplicationArnList":{ + "type":"list", + "member":{"shape":"SsmSapArn"} + }, "ApplicationCredential":{ "type":"structure", "required":[ @@ -451,7 +460,9 @@ }, "ApplicationId":{ "type":"string", - "pattern":"[\\w\\d]{1,50}" + "max":60, + "min":1, + "pattern":"[\\w\\d\\.-]+" }, "ApplicationStatus":{ "type":"string", @@ -655,8 +666,14 @@ }, "documentation":"

      The SAP component of your application.

      " }, + "ComponentArnList":{ + "type":"list", + "member":{"shape":"SsmSapArn"} + }, "ComponentId":{ "type":"string", + "max":100, + "min":1, "pattern":"[\\w\\d-]+" }, "ComponentIdList":{ @@ -784,6 +801,10 @@ "LastUpdated":{ "shape":"Timestamp", "documentation":"

      The time at which the database was last updated.

      " + }, + "ConnectedComponentArns":{ + "shape":"ComponentArnList", + "documentation":"

      The Amazon Resource Names of the connected AWS Systems Manager for SAP components.

      " } }, "documentation":"

      The SAP HANA database of the application registered with AWS Systems Manager for SAP.

      " @@ -815,6 +836,8 @@ }, "DatabaseId":{ "type":"string", + "max":300, + "min":1, "pattern":".*[\\w\\d]+" }, "DatabaseIdList":{