/** * 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 #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Braket { namespace Model { class GetJobResult { public: AWS_BRAKET_API GetJobResult(); AWS_BRAKET_API GetJobResult(const Aws::AmazonWebServiceResult& result); AWS_BRAKET_API GetJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Definition of the Amazon Braket job created. Specifies the container image * the job uses, information about the Python scripts used for entry and training, * and the user-defined metrics used to evaluation the job.

*/ inline const AlgorithmSpecification& GetAlgorithmSpecification() const{ return m_algorithmSpecification; } /** *

Definition of the Amazon Braket job created. Specifies the container image * the job uses, information about the Python scripts used for entry and training, * and the user-defined metrics used to evaluation the job.

*/ inline void SetAlgorithmSpecification(const AlgorithmSpecification& value) { m_algorithmSpecification = value; } /** *

Definition of the Amazon Braket job created. Specifies the container image * the job uses, information about the Python scripts used for entry and training, * and the user-defined metrics used to evaluation the job.

*/ inline void SetAlgorithmSpecification(AlgorithmSpecification&& value) { m_algorithmSpecification = std::move(value); } /** *

Definition of the Amazon Braket job created. Specifies the container image * the job uses, information about the Python scripts used for entry and training, * and the user-defined metrics used to evaluation the job.

*/ inline GetJobResult& WithAlgorithmSpecification(const AlgorithmSpecification& value) { SetAlgorithmSpecification(value); return *this;} /** *

Definition of the Amazon Braket job created. Specifies the container image * the job uses, information about the Python scripts used for entry and training, * and the user-defined metrics used to evaluation the job.

*/ inline GetJobResult& WithAlgorithmSpecification(AlgorithmSpecification&& value) { SetAlgorithmSpecification(std::move(value)); return *this;} /** *

The billable time the Amazon Braket job used to complete.

*/ inline int GetBillableDuration() const{ return m_billableDuration; } /** *

The billable time the Amazon Braket job used to complete.

*/ inline void SetBillableDuration(int value) { m_billableDuration = value; } /** *

The billable time the Amazon Braket job used to complete.

*/ inline GetJobResult& WithBillableDuration(int value) { SetBillableDuration(value); return *this;} /** *

Information about the output locations for job checkpoint data.

*/ inline const JobCheckpointConfig& GetCheckpointConfig() const{ return m_checkpointConfig; } /** *

Information about the output locations for job checkpoint data.

*/ inline void SetCheckpointConfig(const JobCheckpointConfig& value) { m_checkpointConfig = value; } /** *

Information about the output locations for job checkpoint data.

*/ inline void SetCheckpointConfig(JobCheckpointConfig&& value) { m_checkpointConfig = std::move(value); } /** *

Information about the output locations for job checkpoint data.

*/ inline GetJobResult& WithCheckpointConfig(const JobCheckpointConfig& value) { SetCheckpointConfig(value); return *this;} /** *

Information about the output locations for job checkpoint data.

*/ inline GetJobResult& WithCheckpointConfig(JobCheckpointConfig&& value) { SetCheckpointConfig(std::move(value)); return *this;} /** *

The date and time that the Amazon Braket job was created.

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

The date and time that the Amazon Braket job was created.

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

The date and time that the Amazon Braket job was created.

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

The date and time that the Amazon Braket job was created.

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

The date and time that the Amazon Braket job was created.

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

The quantum processing unit (QPU) or simulator used to run the Amazon Braket * job.

*/ inline const DeviceConfig& GetDeviceConfig() const{ return m_deviceConfig; } /** *

The quantum processing unit (QPU) or simulator used to run the Amazon Braket * job.

*/ inline void SetDeviceConfig(const DeviceConfig& value) { m_deviceConfig = value; } /** *

The quantum processing unit (QPU) or simulator used to run the Amazon Braket * job.

*/ inline void SetDeviceConfig(DeviceConfig&& value) { m_deviceConfig = std::move(value); } /** *

The quantum processing unit (QPU) or simulator used to run the Amazon Braket * job.

*/ inline GetJobResult& WithDeviceConfig(const DeviceConfig& value) { SetDeviceConfig(value); return *this;} /** *

The quantum processing unit (QPU) or simulator used to run the Amazon Braket * job.

*/ inline GetJobResult& WithDeviceConfig(DeviceConfig&& value) { SetDeviceConfig(std::move(value)); return *this;} /** *

The date and time that the Amazon Braket job ended.

*/ inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; } /** *

The date and time that the Amazon Braket job ended.

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

The date and time that the Amazon Braket job ended.

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

The date and time that the Amazon Braket job ended.

*/ inline GetJobResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;} /** *

The date and time that the Amazon Braket job ended.

*/ inline GetJobResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;} /** *

Details about the type and time events occurred related to the Amazon Braket * job.

*/ inline const Aws::Vector& GetEvents() const{ return m_events; } /** *

Details about the type and time events occurred related to the Amazon Braket * job.

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

Details about the type and time events occurred related to the Amazon Braket * job.

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

Details about the type and time events occurred related to the Amazon Braket * job.

*/ inline GetJobResult& WithEvents(const Aws::Vector& value) { SetEvents(value); return *this;} /** *

Details about the type and time events occurred related to the Amazon Braket * job.

*/ inline GetJobResult& WithEvents(Aws::Vector&& value) { SetEvents(std::move(value)); return *this;} /** *

Details about the type and time events occurred related to the Amazon Braket * job.

*/ inline GetJobResult& AddEvents(const JobEventDetails& value) { m_events.push_back(value); return *this; } /** *

Details about the type and time events occurred related to the Amazon Braket * job.

*/ inline GetJobResult& AddEvents(JobEventDetails&& value) { m_events.push_back(std::move(value)); return *this; } /** *

A description of the reason why an Amazon Braket job failed, if it * failed.

*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *

A description of the reason why an Amazon Braket job failed, if it * failed.

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

A description of the reason why an Amazon Braket job failed, if it * failed.

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

A description of the reason why an Amazon Braket job failed, if it * failed.

*/ inline void SetFailureReason(const char* value) { m_failureReason.assign(value); } /** *

A description of the reason why an Amazon Braket job failed, if it * failed.

*/ inline GetJobResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *

A description of the reason why an Amazon Braket job failed, if it * failed.

*/ inline GetJobResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *

A description of the reason why an Amazon Braket job failed, if it * failed.

*/ inline GetJobResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *

Algorithm-specific parameters used by an Amazon Braket job that influence the * quality of the traiing job. The values are set with a string of JSON key:value * pairs, where the key is the name of the hyperparameter and the value is the * value of th hyperparameter.

*/ inline const Aws::Map& GetHyperParameters() const{ return m_hyperParameters; } /** *

Algorithm-specific parameters used by an Amazon Braket job that influence the * quality of the traiing job. The values are set with a string of JSON key:value * pairs, where the key is the name of the hyperparameter and the value is the * value of th hyperparameter.

*/ inline void SetHyperParameters(const Aws::Map& value) { m_hyperParameters = value; } /** *

Algorithm-specific parameters used by an Amazon Braket job that influence the * quality of the traiing job. The values are set with a string of JSON key:value * pairs, where the key is the name of the hyperparameter and the value is the * value of th hyperparameter.

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

Algorithm-specific parameters used by an Amazon Braket job that influence the * quality of the traiing job. The values are set with a string of JSON key:value * pairs, where the key is the name of the hyperparameter and the value is the * value of th hyperparameter.

*/ inline GetJobResult& WithHyperParameters(const Aws::Map& value) { SetHyperParameters(value); return *this;} /** *

Algorithm-specific parameters used by an Amazon Braket job that influence the * quality of the traiing job. The values are set with a string of JSON key:value * pairs, where the key is the name of the hyperparameter and the value is the * value of th hyperparameter.

*/ inline GetJobResult& WithHyperParameters(Aws::Map&& value) { SetHyperParameters(std::move(value)); return *this;} /** *

Algorithm-specific parameters used by an Amazon Braket job that influence the * quality of the traiing job. The values are set with a string of JSON key:value * pairs, where the key is the name of the hyperparameter and the value is the * value of th hyperparameter.

*/ inline GetJobResult& AddHyperParameters(const Aws::String& key, const Aws::String& value) { m_hyperParameters.emplace(key, value); return *this; } /** *

Algorithm-specific parameters used by an Amazon Braket job that influence the * quality of the traiing job. The values are set with a string of JSON key:value * pairs, where the key is the name of the hyperparameter and the value is the * value of th hyperparameter.

*/ inline GetJobResult& AddHyperParameters(Aws::String&& key, const Aws::String& value) { m_hyperParameters.emplace(std::move(key), value); return *this; } /** *

Algorithm-specific parameters used by an Amazon Braket job that influence the * quality of the traiing job. The values are set with a string of JSON key:value * pairs, where the key is the name of the hyperparameter and the value is the * value of th hyperparameter.

*/ inline GetJobResult& AddHyperParameters(const Aws::String& key, Aws::String&& value) { m_hyperParameters.emplace(key, std::move(value)); return *this; } /** *

Algorithm-specific parameters used by an Amazon Braket job that influence the * quality of the traiing job. The values are set with a string of JSON key:value * pairs, where the key is the name of the hyperparameter and the value is the * value of th hyperparameter.

*/ inline GetJobResult& AddHyperParameters(Aws::String&& key, Aws::String&& value) { m_hyperParameters.emplace(std::move(key), std::move(value)); return *this; } /** *

Algorithm-specific parameters used by an Amazon Braket job that influence the * quality of the traiing job. The values are set with a string of JSON key:value * pairs, where the key is the name of the hyperparameter and the value is the * value of th hyperparameter.

*/ inline GetJobResult& AddHyperParameters(const char* key, Aws::String&& value) { m_hyperParameters.emplace(key, std::move(value)); return *this; } /** *

Algorithm-specific parameters used by an Amazon Braket job that influence the * quality of the traiing job. The values are set with a string of JSON key:value * pairs, where the key is the name of the hyperparameter and the value is the * value of th hyperparameter.

*/ inline GetJobResult& AddHyperParameters(Aws::String&& key, const char* value) { m_hyperParameters.emplace(std::move(key), value); return *this; } /** *

Algorithm-specific parameters used by an Amazon Braket job that influence the * quality of the traiing job. The values are set with a string of JSON key:value * pairs, where the key is the name of the hyperparameter and the value is the * value of th hyperparameter.

*/ inline GetJobResult& AddHyperParameters(const char* key, const char* value) { m_hyperParameters.emplace(key, value); return *this; } /** *

A list of parameters that specify the name and type of input data and where * it is located.

*/ inline const Aws::Vector& GetInputDataConfig() const{ return m_inputDataConfig; } /** *

A list of parameters that specify the name and type of input data and where * it is located.

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

A list of parameters that specify the name and type of input data and where * it is located.

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

A list of parameters that specify the name and type of input data and where * it is located.

*/ inline GetJobResult& WithInputDataConfig(const Aws::Vector& value) { SetInputDataConfig(value); return *this;} /** *

A list of parameters that specify the name and type of input data and where * it is located.

*/ inline GetJobResult& WithInputDataConfig(Aws::Vector&& value) { SetInputDataConfig(std::move(value)); return *this;} /** *

A list of parameters that specify the name and type of input data and where * it is located.

*/ inline GetJobResult& AddInputDataConfig(const InputFileConfig& value) { m_inputDataConfig.push_back(value); return *this; } /** *

A list of parameters that specify the name and type of input data and where * it is located.

*/ inline GetJobResult& AddInputDataConfig(InputFileConfig&& value) { m_inputDataConfig.push_back(std::move(value)); return *this; } /** *

The resource instances to use while running the hybrid job on Amazon * Braket.

*/ inline const InstanceConfig& GetInstanceConfig() const{ return m_instanceConfig; } /** *

The resource instances to use while running the hybrid job on Amazon * Braket.

*/ inline void SetInstanceConfig(const InstanceConfig& value) { m_instanceConfig = value; } /** *

The resource instances to use while running the hybrid job on Amazon * Braket.

*/ inline void SetInstanceConfig(InstanceConfig&& value) { m_instanceConfig = std::move(value); } /** *

The resource instances to use while running the hybrid job on Amazon * Braket.

*/ inline GetJobResult& WithInstanceConfig(const InstanceConfig& value) { SetInstanceConfig(value); return *this;} /** *

The resource instances to use while running the hybrid job on Amazon * Braket.

*/ inline GetJobResult& WithInstanceConfig(InstanceConfig&& value) { SetInstanceConfig(std::move(value)); return *this;} /** *

The ARN of the Amazon Braket job.

*/ inline const Aws::String& GetJobArn() const{ return m_jobArn; } /** *

The ARN of the Amazon Braket job.

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

The ARN of the Amazon Braket job.

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

The ARN of the Amazon Braket job.

*/ inline void SetJobArn(const char* value) { m_jobArn.assign(value); } /** *

The ARN of the Amazon Braket job.

*/ inline GetJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;} /** *

The ARN of the Amazon Braket job.

*/ inline GetJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;} /** *

The ARN of the Amazon Braket job.

*/ inline GetJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;} /** *

The name of the Amazon Braket job.

*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *

The name of the Amazon Braket job.

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

The name of the Amazon Braket job.

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

The name of the Amazon Braket job.

*/ inline void SetJobName(const char* value) { m_jobName.assign(value); } /** *

The name of the Amazon Braket job.

*/ inline GetJobResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *

The name of the Amazon Braket job.

*/ inline GetJobResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *

The name of the Amazon Braket job.

*/ inline GetJobResult& WithJobName(const char* value) { SetJobName(value); return *this;} /** *

The path to the S3 location where job artifacts are stored and the encryption * key used to store them there.

*/ inline const JobOutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; } /** *

The path to the S3 location where job artifacts are stored and the encryption * key used to store them there.

*/ inline void SetOutputDataConfig(const JobOutputDataConfig& value) { m_outputDataConfig = value; } /** *

The path to the S3 location where job artifacts are stored and the encryption * key used to store them there.

*/ inline void SetOutputDataConfig(JobOutputDataConfig&& value) { m_outputDataConfig = std::move(value); } /** *

The path to the S3 location where job artifacts are stored and the encryption * key used to store them there.

*/ inline GetJobResult& WithOutputDataConfig(const JobOutputDataConfig& value) { SetOutputDataConfig(value); return *this;} /** *

The path to the S3 location where job artifacts are stored and the encryption * key used to store them there.

*/ inline GetJobResult& WithOutputDataConfig(JobOutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can assume * to perform tasks on behalf of a user. It can access user resources, run an * Amazon Braket job container on behalf of user, and output resources to the s3 * buckets of a user.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can assume * to perform tasks on behalf of a user. It can access user resources, run an * Amazon Braket job container on behalf of user, and output resources to the s3 * buckets of a user.

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

The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can assume * to perform tasks on behalf of a user. It can access user resources, run an * Amazon Braket job container on behalf of user, and output resources to the s3 * buckets of a user.

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

The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can assume * to perform tasks on behalf of a user. It can access user resources, run an * Amazon Braket job container on behalf of user, and output resources to the s3 * buckets of a user.

*/ inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can assume * to perform tasks on behalf of a user. It can access user resources, run an * Amazon Braket job container on behalf of user, and output resources to the s3 * buckets of a user.

*/ inline GetJobResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can assume * to perform tasks on behalf of a user. It can access user resources, run an * Amazon Braket job container on behalf of user, and output resources to the s3 * buckets of a user.

*/ inline GetJobResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can assume * to perform tasks on behalf of a user. It can access user resources, run an * Amazon Braket job container on behalf of user, and output resources to the s3 * buckets of a user.

*/ inline GetJobResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

The date and time that the Amazon Braket job was started.

*/ inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } /** *

The date and time that the Amazon Braket job was started.

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

The date and time that the Amazon Braket job was started.

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

The date and time that the Amazon Braket job was started.

*/ inline GetJobResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} /** *

The date and time that the Amazon Braket job was started.

*/ inline GetJobResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} /** *

The status of the Amazon Braket job.

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

The status of the Amazon Braket job.

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

The status of the Amazon Braket job.

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

The status of the Amazon Braket job.

*/ inline GetJobResult& WithStatus(const JobPrimaryStatus& value) { SetStatus(value); return *this;} /** *

The status of the Amazon Braket job.

*/ inline GetJobResult& WithStatus(JobPrimaryStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The user-defined criteria that specifies when to stop a job running.

*/ inline const JobStoppingCondition& GetStoppingCondition() const{ return m_stoppingCondition; } /** *

The user-defined criteria that specifies when to stop a job running.

*/ inline void SetStoppingCondition(const JobStoppingCondition& value) { m_stoppingCondition = value; } /** *

The user-defined criteria that specifies when to stop a job running.

*/ inline void SetStoppingCondition(JobStoppingCondition&& value) { m_stoppingCondition = std::move(value); } /** *

The user-defined criteria that specifies when to stop a job running.

*/ inline GetJobResult& WithStoppingCondition(const JobStoppingCondition& value) { SetStoppingCondition(value); return *this;} /** *

The user-defined criteria that specifies when to stop a job running.

*/ inline GetJobResult& WithStoppingCondition(JobStoppingCondition&& value) { SetStoppingCondition(std::move(value)); return *this;} /** *

A tag object that consists of a key and an optional value, used to manage * metadata for Amazon Braket resources.

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

A tag object that consists of a key and an optional value, used to manage * metadata for Amazon Braket resources.

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

A tag object that consists of a key and an optional value, used to manage * metadata for Amazon Braket resources.

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

A tag object that consists of a key and an optional value, used to manage * metadata for Amazon Braket resources.

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

A tag object that consists of a key and an optional value, used to manage * metadata for Amazon Braket resources.

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

A tag object that consists of a key and an optional value, used to manage * metadata for Amazon Braket resources.

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

A tag object that consists of a key and an optional value, used to manage * metadata for Amazon Braket resources.

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

A tag object that consists of a key and an optional value, used to manage * metadata for Amazon Braket resources.

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

A tag object that consists of a key and an optional value, used to manage * metadata for Amazon Braket resources.

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

A tag object that consists of a key and an optional value, used to manage * metadata for Amazon Braket resources.

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

A tag object that consists of a key and an optional value, used to manage * metadata for Amazon Braket resources.

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

A tag object that consists of a key and an optional value, used to manage * metadata for Amazon Braket resources.

*/ inline GetJobResult& 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 GetJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AlgorithmSpecification m_algorithmSpecification; int m_billableDuration; JobCheckpointConfig m_checkpointConfig; Aws::Utils::DateTime m_createdAt; DeviceConfig m_deviceConfig; Aws::Utils::DateTime m_endedAt; Aws::Vector m_events; Aws::String m_failureReason; Aws::Map m_hyperParameters; Aws::Vector m_inputDataConfig; InstanceConfig m_instanceConfig; Aws::String m_jobArn; Aws::String m_jobName; JobOutputDataConfig m_outputDataConfig; Aws::String m_roleArn; Aws::Utils::DateTime m_startedAt; JobPrimaryStatus m_status; JobStoppingCondition m_stoppingCondition; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace Braket } // namespace Aws