/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMakerGeospatial { namespace Model { class StartVectorEnrichmentJobResult { public: AWS_SAGEMAKERGEOSPATIAL_API StartVectorEnrichmentJobResult(); AWS_SAGEMAKERGEOSPATIAL_API StartVectorEnrichmentJobResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKERGEOSPATIAL_API StartVectorEnrichmentJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the Vector Enrichment job.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the Vector Enrichment job.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The Amazon Resource Name (ARN) of the Vector Enrichment job.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Vector Enrichment job.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the Vector Enrichment job.

*/ inline StartVectorEnrichmentJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Vector Enrichment job.

*/ inline StartVectorEnrichmentJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Vector Enrichment job.

*/ inline StartVectorEnrichmentJobResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The creation time.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The creation time.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The creation time.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

The creation time.

*/ inline StartVectorEnrichmentJobResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The creation time.

*/ inline StartVectorEnrichmentJobResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The duration of the Vector Enrichment job, in seconds.

*/ inline int GetDurationInSeconds() const{ return m_durationInSeconds; } /** *

The duration of the Vector Enrichment job, in seconds.

*/ inline void SetDurationInSeconds(int value) { m_durationInSeconds = value; } /** *

The duration of the Vector Enrichment job, in seconds.

*/ inline StartVectorEnrichmentJobResult& WithDurationInSeconds(int value) { SetDurationInSeconds(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 void SetExecutionRoleArn(const Aws::String& value) { 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_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_executionRoleArn.assign(value); } /** *

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

*/ inline StartVectorEnrichmentJobResult& 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 StartVectorEnrichmentJobResult& 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 StartVectorEnrichmentJobResult& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;} /** *

Input configuration information for starting the Vector Enrichment job.

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

Input configuration information for starting the Vector Enrichment job.

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

Input configuration information for starting the Vector Enrichment job.

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

Input configuration information for starting the Vector Enrichment job.

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

Input configuration information for starting the Vector Enrichment job.

*/ inline StartVectorEnrichmentJobResult& 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 void SetJobConfig(const VectorEnrichmentJobConfig& value) { m_jobConfig = value; } /** *

An object containing information about the job configuration.

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

An object containing information about the job configuration.

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

An object containing information about the job configuration.

*/ inline StartVectorEnrichmentJobResult& 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 void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; } /** *

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

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

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

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

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

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

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

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

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

*/ inline StartVectorEnrichmentJobResult& 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 void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the Vector Enrichment job.

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

The name of the Vector Enrichment job.

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

The name of the Vector Enrichment job.

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

The name of the Vector Enrichment job.

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

The name of the Vector Enrichment job.

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

The status of the Vector Enrichment job being started.

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

The status of the Vector Enrichment job being started.

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

The status of the Vector Enrichment job being started.

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

The status of the Vector Enrichment job being started.

*/ inline StartVectorEnrichmentJobResult& WithStatus(const VectorEnrichmentJobStatus& value) { SetStatus(value); return *this;} /** *

The status of the Vector Enrichment job being started.

*/ inline StartVectorEnrichmentJobResult& WithStatus(VectorEnrichmentJobStatus&& value) { SetStatus(std::move(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 void SetTags(const Aws::Map& value) { m_tags = value; } /** *

Each tag consists of a key and a value.

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

Each tag consists of a key and a value.

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

Each tag consists of a key and a value.

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

Each tag consists of a key and a value.

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

Each tag consists of a key and a value.

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

Each tag consists of a key and a value.

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

Each tag consists of a key and a value.

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

Each tag consists of a key and a value.

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

Each tag consists of a key and a value.

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

Each tag consists of a key and a value.

*/ inline StartVectorEnrichmentJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

The type of the Vector Enrichment job.

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

The type of the Vector Enrichment job.

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

The type of the Vector Enrichment job.

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

The type of the Vector Enrichment job.

*/ inline StartVectorEnrichmentJobResult& WithType(const VectorEnrichmentJobType& value) { SetType(value); return *this;} /** *

The type of the Vector Enrichment job.

*/ inline StartVectorEnrichmentJobResult& WithType(VectorEnrichmentJobType&& value) { SetType(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline StartVectorEnrichmentJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartVectorEnrichmentJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartVectorEnrichmentJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::Utils::DateTime m_creationTime; int m_durationInSeconds; Aws::String m_executionRoleArn; VectorEnrichmentJobInputConfig m_inputConfig; VectorEnrichmentJobConfig m_jobConfig; Aws::String m_kmsKeyId; Aws::String m_name; VectorEnrichmentJobStatus m_status; Aws::Map m_tags; VectorEnrichmentJobType m_type; Aws::String m_requestId; }; } // namespace Model } // namespace SageMakerGeospatial } // namespace Aws