/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMakerGeospatial { namespace Model { class GetEarthObservationJobResult { public: AWS_SAGEMAKERGEOSPATIAL_API GetEarthObservationJobResult(); AWS_SAGEMAKERGEOSPATIAL_API GetEarthObservationJobResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKERGEOSPATIAL_API GetEarthObservationJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the Earth Observation job.

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

The Amazon Resource Name (ARN) of the Earth Observation job.

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

The Amazon Resource Name (ARN) of the Earth Observation job.

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

The Amazon Resource Name (ARN) of the Earth Observation job.

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

The Amazon Resource Name (ARN) of the Earth Observation job.

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

The Amazon Resource Name (ARN) of the Earth Observation job.

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

The Amazon Resource Name (ARN) of the Earth Observation job.

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

The creation time of the initiated Earth Observation job.

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

The creation time of the initiated Earth Observation job.

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

The creation time of the initiated Earth Observation job.

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

The creation time of the initiated Earth Observation job.

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

The creation time of the initiated Earth Observation job.

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

The duration of Earth Observation job, in seconds.

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

The duration of Earth Observation job, in seconds.

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

The duration of Earth Observation job, in seconds.

*/ inline GetEarthObservationJobResult& WithDurationInSeconds(int value) { SetDurationInSeconds(value); return *this;} /** *

Details about the errors generated during the Earth Observation job.

*/ inline const EarthObservationJobErrorDetails& GetErrorDetails() const{ return m_errorDetails; } /** *

Details about the errors generated during the Earth Observation job.

*/ inline void SetErrorDetails(const EarthObservationJobErrorDetails& value) { m_errorDetails = value; } /** *

Details about the errors generated during the Earth Observation job.

*/ inline void SetErrorDetails(EarthObservationJobErrorDetails&& value) { m_errorDetails = std::move(value); } /** *

Details about the errors generated during the Earth Observation job.

*/ inline GetEarthObservationJobResult& WithErrorDetails(const EarthObservationJobErrorDetails& value) { SetErrorDetails(value); return *this;} /** *

Details about the errors generated during the Earth Observation job.

*/ inline GetEarthObservationJobResult& WithErrorDetails(EarthObservationJobErrorDetails&& value) { SetErrorDetails(std::move(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 GetEarthObservationJobResult& 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 GetEarthObservationJobResult& 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 GetEarthObservationJobResult& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;} /** *

Details about the errors generated during ExportEarthObservationJob.

*/ inline const ExportErrorDetails& GetExportErrorDetails() const{ return m_exportErrorDetails; } /** *

Details about the errors generated during ExportEarthObservationJob.

*/ inline void SetExportErrorDetails(const ExportErrorDetails& value) { m_exportErrorDetails = value; } /** *

Details about the errors generated during ExportEarthObservationJob.

*/ inline void SetExportErrorDetails(ExportErrorDetails&& value) { m_exportErrorDetails = std::move(value); } /** *

Details about the errors generated during ExportEarthObservationJob.

*/ inline GetEarthObservationJobResult& WithExportErrorDetails(const ExportErrorDetails& value) { SetExportErrorDetails(value); return *this;} /** *

Details about the errors generated during ExportEarthObservationJob.

*/ inline GetEarthObservationJobResult& WithExportErrorDetails(ExportErrorDetails&& value) { SetExportErrorDetails(std::move(value)); return *this;} /** *

The status of the Earth Observation job.

*/ inline const EarthObservationJobExportStatus& GetExportStatus() const{ return m_exportStatus; } /** *

The status of the Earth Observation job.

*/ inline void SetExportStatus(const EarthObservationJobExportStatus& value) { m_exportStatus = value; } /** *

The status of the Earth Observation job.

*/ inline void SetExportStatus(EarthObservationJobExportStatus&& value) { m_exportStatus = std::move(value); } /** *

The status of the Earth Observation job.

*/ inline GetEarthObservationJobResult& WithExportStatus(const EarthObservationJobExportStatus& value) { SetExportStatus(value); return *this;} /** *

The status of the Earth Observation job.

*/ inline GetEarthObservationJobResult& WithExportStatus(EarthObservationJobExportStatus&& value) { SetExportStatus(std::move(value)); return *this;} /** *

Input data for the Earth Observation job.

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

Input data for the Earth Observation job.

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

Input data for the Earth Observation job.

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

Input data for the Earth Observation job.

*/ inline GetEarthObservationJobResult& WithInputConfig(const InputConfigOutput& value) { SetInputConfig(value); return *this;} /** *

Input data for the Earth Observation job.

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

An object containing information about the job configuration.

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

An object containing information about the job configuration.

*/ inline void SetJobConfig(const JobConfigInput& value) { m_jobConfig = value; } /** *

An object containing information about the job configuration.

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

An object containing information about the job configuration.

*/ inline GetEarthObservationJobResult& WithJobConfig(const JobConfigInput& value) { SetJobConfig(value); return *this;} /** *

An object containing information about the job configuration.

*/ inline GetEarthObservationJobResult& WithJobConfig(JobConfigInput&& 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 GetEarthObservationJobResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *

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

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

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

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

The name of the Earth Observation job.

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

The name of the Earth Observation job.

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

The name of the Earth Observation job.

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

The name of the Earth Observation job.

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

The name of the Earth Observation job.

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

The name of the Earth Observation job.

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

The name of the Earth Observation job.

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

Bands available in the output of an operation.

*/ inline const Aws::Vector& GetOutputBands() const{ return m_outputBands; } /** *

Bands available in the output of an operation.

*/ inline void SetOutputBands(const Aws::Vector& value) { m_outputBands = value; } /** *

Bands available in the output of an operation.

*/ inline void SetOutputBands(Aws::Vector&& value) { m_outputBands = std::move(value); } /** *

Bands available in the output of an operation.

*/ inline GetEarthObservationJobResult& WithOutputBands(const Aws::Vector& value) { SetOutputBands(value); return *this;} /** *

Bands available in the output of an operation.

*/ inline GetEarthObservationJobResult& WithOutputBands(Aws::Vector&& value) { SetOutputBands(std::move(value)); return *this;} /** *

Bands available in the output of an operation.

*/ inline GetEarthObservationJobResult& AddOutputBands(const OutputBand& value) { m_outputBands.push_back(value); return *this; } /** *

Bands available in the output of an operation.

*/ inline GetEarthObservationJobResult& AddOutputBands(OutputBand&& value) { m_outputBands.push_back(std::move(value)); return *this; } /** *

The status of a previously initiated Earth Observation job.

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

The status of a previously initiated Earth Observation job.

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

The status of a previously initiated Earth Observation job.

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

The status of a previously initiated Earth Observation job.

*/ inline GetEarthObservationJobResult& WithStatus(const EarthObservationJobStatus& value) { SetStatus(value); return *this;} /** *

The status of a previously initiated Earth Observation job.

*/ inline GetEarthObservationJobResult& WithStatus(EarthObservationJobStatus&& 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 GetEarthObservationJobResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Each tag consists of a key and a value.

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

Each tag consists of a key and a value.

*/ inline GetEarthObservationJobResult& 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 GetEarthObservationJobResult& 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 GetEarthObservationJobResult& 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 GetEarthObservationJobResult& 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 GetEarthObservationJobResult& 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 GetEarthObservationJobResult& 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 GetEarthObservationJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetEarthObservationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetEarthObservationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetEarthObservationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::Utils::DateTime m_creationTime; int m_durationInSeconds; EarthObservationJobErrorDetails m_errorDetails; Aws::String m_executionRoleArn; ExportErrorDetails m_exportErrorDetails; EarthObservationJobExportStatus m_exportStatus; InputConfigOutput m_inputConfig; JobConfigInput m_jobConfig; Aws::String m_kmsKeyId; Aws::String m_name; Aws::Vector m_outputBands; EarthObservationJobStatus m_status; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace SageMakerGeospatial } // namespace Aws