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

The Amazon Resource Name (ARN) of the deployment job.

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

The Amazon Resource Name (ARN) of the deployment job.

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

The Amazon Resource Name (ARN) of the deployment job.

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

The Amazon Resource Name (ARN) of the deployment job.

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

The Amazon Resource Name (ARN) of the deployment job.

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

The Amazon Resource Name (ARN) of the deployment job.

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

The Amazon Resource Name (ARN) of the deployment job.

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

The Amazon Resource Name (ARN) of the fleet.

*/ inline const Aws::String& GetFleet() const{ return m_fleet; } /** *

The Amazon Resource Name (ARN) of the fleet.

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

The Amazon Resource Name (ARN) of the fleet.

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

The Amazon Resource Name (ARN) of the fleet.

*/ inline void SetFleet(const char* value) { m_fleet.assign(value); } /** *

The Amazon Resource Name (ARN) of the fleet.

*/ inline DescribeDeploymentJobResult& WithFleet(const Aws::String& value) { SetFleet(value); return *this;} /** *

The Amazon Resource Name (ARN) of the fleet.

*/ inline DescribeDeploymentJobResult& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the fleet.

*/ inline DescribeDeploymentJobResult& WithFleet(const char* value) { SetFleet(value); return *this;} /** *

The status of the deployment job.

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

The status of the deployment job.

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

The status of the deployment job.

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

The status of the deployment job.

*/ inline DescribeDeploymentJobResult& WithStatus(const DeploymentStatus& value) { SetStatus(value); return *this;} /** *

The status of the deployment job.

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

The deployment configuration.

*/ inline const DeploymentConfig& GetDeploymentConfig() const{ return m_deploymentConfig; } /** *

The deployment configuration.

*/ inline void SetDeploymentConfig(const DeploymentConfig& value) { m_deploymentConfig = value; } /** *

The deployment configuration.

*/ inline void SetDeploymentConfig(DeploymentConfig&& value) { m_deploymentConfig = std::move(value); } /** *

The deployment configuration.

*/ inline DescribeDeploymentJobResult& WithDeploymentConfig(const DeploymentConfig& value) { SetDeploymentConfig(value); return *this;} /** *

The deployment configuration.

*/ inline DescribeDeploymentJobResult& WithDeploymentConfig(DeploymentConfig&& value) { SetDeploymentConfig(std::move(value)); return *this;} /** *

The deployment application configuration.

*/ inline const Aws::Vector& GetDeploymentApplicationConfigs() const{ return m_deploymentApplicationConfigs; } /** *

The deployment application configuration.

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

The deployment application configuration.

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

The deployment application configuration.

*/ inline DescribeDeploymentJobResult& WithDeploymentApplicationConfigs(const Aws::Vector& value) { SetDeploymentApplicationConfigs(value); return *this;} /** *

The deployment application configuration.

*/ inline DescribeDeploymentJobResult& WithDeploymentApplicationConfigs(Aws::Vector&& value) { SetDeploymentApplicationConfigs(std::move(value)); return *this;} /** *

The deployment application configuration.

*/ inline DescribeDeploymentJobResult& AddDeploymentApplicationConfigs(const DeploymentApplicationConfig& value) { m_deploymentApplicationConfigs.push_back(value); return *this; } /** *

The deployment application configuration.

*/ inline DescribeDeploymentJobResult& AddDeploymentApplicationConfigs(DeploymentApplicationConfig&& value) { m_deploymentApplicationConfigs.push_back(std::move(value)); return *this; } /** *

A short description of the reason why the deployment job failed.

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

A short description of the reason why the deployment job failed.

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

A short description of the reason why the deployment job failed.

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

A short description of the reason why the deployment job failed.

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

A short description of the reason why the deployment job failed.

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

A short description of the reason why the deployment job failed.

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

A short description of the reason why the deployment job failed.

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

The deployment job failure code.

*/ inline const DeploymentJobErrorCode& GetFailureCode() const{ return m_failureCode; } /** *

The deployment job failure code.

*/ inline void SetFailureCode(const DeploymentJobErrorCode& value) { m_failureCode = value; } /** *

The deployment job failure code.

*/ inline void SetFailureCode(DeploymentJobErrorCode&& value) { m_failureCode = std::move(value); } /** *

The deployment job failure code.

*/ inline DescribeDeploymentJobResult& WithFailureCode(const DeploymentJobErrorCode& value) { SetFailureCode(value); return *this;} /** *

The deployment job failure code.

*/ inline DescribeDeploymentJobResult& WithFailureCode(DeploymentJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;} /** *

The time, in milliseconds since the epoch, when the deployment job was * created.

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

The time, in milliseconds since the epoch, when the deployment job was * created.

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

The time, in milliseconds since the epoch, when the deployment job was * created.

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

The time, in milliseconds since the epoch, when the deployment job was * created.

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

The time, in milliseconds since the epoch, when the deployment job was * created.

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

A list of robot deployment summaries.

*/ inline const Aws::Vector& GetRobotDeploymentSummary() const{ return m_robotDeploymentSummary; } /** *

A list of robot deployment summaries.

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

A list of robot deployment summaries.

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

A list of robot deployment summaries.

*/ inline DescribeDeploymentJobResult& WithRobotDeploymentSummary(const Aws::Vector& value) { SetRobotDeploymentSummary(value); return *this;} /** *

A list of robot deployment summaries.

*/ inline DescribeDeploymentJobResult& WithRobotDeploymentSummary(Aws::Vector&& value) { SetRobotDeploymentSummary(std::move(value)); return *this;} /** *

A list of robot deployment summaries.

*/ inline DescribeDeploymentJobResult& AddRobotDeploymentSummary(const RobotDeployment& value) { m_robotDeploymentSummary.push_back(value); return *this; } /** *

A list of robot deployment summaries.

*/ inline DescribeDeploymentJobResult& AddRobotDeploymentSummary(RobotDeployment&& value) { m_robotDeploymentSummary.push_back(std::move(value)); return *this; } /** *

The list of all tags added to the specified deployment job.

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

The list of all tags added to the specified deployment job.

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

The list of all tags added to the specified deployment job.

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

The list of all tags added to the specified deployment job.

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

The list of all tags added to the specified deployment job.

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

The list of all tags added to the specified deployment job.

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

The list of all tags added to the specified deployment job.

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

The list of all tags added to the specified deployment job.

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

The list of all tags added to the specified deployment job.

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

The list of all tags added to the specified deployment job.

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

The list of all tags added to the specified deployment job.

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

The list of all tags added to the specified deployment job.

*/ inline DescribeDeploymentJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } private: Aws::String m_arn; Aws::String m_fleet; DeploymentStatus m_status; DeploymentConfig m_deploymentConfig; Aws::Vector m_deploymentApplicationConfigs; Aws::String m_failureReason; DeploymentJobErrorCode m_failureCode; Aws::Utils::DateTime m_createdAt; Aws::Vector m_robotDeploymentSummary; Aws::Map m_tags; }; } // namespace Model } // namespace RoboMaker } // namespace Aws