/** * 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 SageMakerGeospatial { namespace Model { /** */ class StartVectorEnrichmentJobRequest : public SageMakerGeospatialRequest { public: AWS_SAGEMAKERGEOSPATIAL_API StartVectorEnrichmentJobRequest(); // 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 "StartVectorEnrichmentJob"; } AWS_SAGEMAKERGEOSPATIAL_API Aws::String SerializePayload() const override; /** *

A unique token that guarantees that the call to this API is idempotent.

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

A unique token that guarantees that the call to this API is idempotent.

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

A unique token that guarantees that the call to this API is idempotent.

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

A unique token that guarantees that the call to this API is idempotent.

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

A unique token that guarantees that the call to this API is idempotent.

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

A unique token that guarantees that the call to this API is idempotent.

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

A unique token that guarantees that the call to this API is idempotent.

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

A unique token that guarantees that the call to this API is idempotent.

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

The Amazon Resource Name (ARN) of the IAM role that you specified for the * job.

*/ inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; } /** *

The Amazon Resource Name (ARN) of the IAM role that you specified for the * job.

*/ inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the IAM role that you specified for the * job.

*/ inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; } /** *

The Amazon Resource Name (ARN) of the IAM role that you specified for the * job.

*/ inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the IAM role that you specified for the * job.

*/ inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the IAM role that you specified for the * job.

*/ inline StartVectorEnrichmentJobRequest& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role that you specified for the * job.

*/ inline StartVectorEnrichmentJobRequest& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role that you specified for the * job.

*/ inline StartVectorEnrichmentJobRequest& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;} /** *

Input configuration information for the Vector Enrichment job.

*/ inline const VectorEnrichmentJobInputConfig& GetInputConfig() const{ return m_inputConfig; } /** *

Input configuration information for the Vector Enrichment job.

*/ inline bool InputConfigHasBeenSet() const { return m_inputConfigHasBeenSet; } /** *

Input configuration information for the Vector Enrichment job.

*/ inline void SetInputConfig(const VectorEnrichmentJobInputConfig& value) { m_inputConfigHasBeenSet = true; m_inputConfig = value; } /** *

Input configuration information for the Vector Enrichment job.

*/ inline void SetInputConfig(VectorEnrichmentJobInputConfig&& value) { m_inputConfigHasBeenSet = true; m_inputConfig = std::move(value); } /** *

Input configuration information for the Vector Enrichment job.

*/ inline StartVectorEnrichmentJobRequest& WithInputConfig(const VectorEnrichmentJobInputConfig& value) { SetInputConfig(value); return *this;} /** *

Input configuration information for the Vector Enrichment job.

*/ inline StartVectorEnrichmentJobRequest& WithInputConfig(VectorEnrichmentJobInputConfig&& value) { SetInputConfig(std::move(value)); return *this;} /** *

An object containing information about the job configuration.

*/ inline const VectorEnrichmentJobConfig& GetJobConfig() const{ return m_jobConfig; } /** *

An object containing information about the job configuration.

*/ inline bool JobConfigHasBeenSet() const { return m_jobConfigHasBeenSet; } /** *

An object containing information about the job configuration.

*/ inline void SetJobConfig(const VectorEnrichmentJobConfig& value) { m_jobConfigHasBeenSet = true; m_jobConfig = value; } /** *

An object containing information about the job configuration.

*/ inline void SetJobConfig(VectorEnrichmentJobConfig&& value) { m_jobConfigHasBeenSet = true; m_jobConfig = std::move(value); } /** *

An object containing information about the job configuration.

*/ inline StartVectorEnrichmentJobRequest& WithJobConfig(const VectorEnrichmentJobConfig& value) { SetJobConfig(value); return *this;} /** *

An object containing information about the job configuration.

*/ inline StartVectorEnrichmentJobRequest& WithJobConfig(VectorEnrichmentJobConfig&& value) { SetJobConfig(std::move(value)); return *this;} /** *

The Key Management Service key ID for server-side encryption.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *

The Key Management Service key ID for server-side encryption.

*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *

The Key Management Service key ID for server-side encryption.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *

The Key Management Service key ID for server-side encryption.

*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *

The Key Management Service key ID for server-side encryption.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *

The Key Management Service key ID for server-side encryption.

*/ inline StartVectorEnrichmentJobRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *

The Key Management Service key ID for server-side encryption.

*/ inline StartVectorEnrichmentJobRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *

The Key Management Service key ID for server-side encryption.

*/ inline StartVectorEnrichmentJobRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *

The name of the Vector Enrichment job.

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

The name of the Vector Enrichment job.

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

The name of the Vector Enrichment job.

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

The name of the Vector Enrichment job.

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

The name of the Vector Enrichment job.

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

The name of the Vector Enrichment job.

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

The name of the Vector Enrichment job.

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

The name of the Vector Enrichment job.

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

Each tag consists of a key and a value.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Each tag consists of a key and a value.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Each tag consists of a key and a value.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Each tag consists of a key and a value.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Each tag consists of a key and a value.

*/ inline StartVectorEnrichmentJobRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Each tag consists of a key and a value.

*/ inline StartVectorEnrichmentJobRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Each tag consists of a key and a value.

*/ inline StartVectorEnrichmentJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

Each tag consists of a key and a value.

*/ inline StartVectorEnrichmentJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Each tag consists of a key and a value.

*/ inline StartVectorEnrichmentJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Each tag consists of a key and a value.

*/ inline StartVectorEnrichmentJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Each tag consists of a key and a value.

*/ inline StartVectorEnrichmentJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Each tag consists of a key and a value.

*/ inline StartVectorEnrichmentJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Each tag consists of a key and a value.

*/ inline StartVectorEnrichmentJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_executionRoleArn; bool m_executionRoleArnHasBeenSet = false; VectorEnrichmentJobInputConfig m_inputConfig; bool m_inputConfigHasBeenSet = false; VectorEnrichmentJobConfig m_jobConfig; bool m_jobConfigHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace SageMakerGeospatial } // namespace Aws