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

The Amazon Resource Name (ARN) of the synchronization request.

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

The Amazon Resource Name (ARN) of the synchronization request.

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

The Amazon Resource Name (ARN) of the synchronization request.

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

The Amazon Resource Name (ARN) of the synchronization request.

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

The Amazon Resource Name (ARN) of the synchronization request.

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

The Amazon Resource Name (ARN) of the synchronization request.

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

The Amazon Resource Name (ARN) of the synchronization request.

*/ inline SyncDeploymentJobResult& 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 SyncDeploymentJobResult& WithFleet(const Aws::String& value) { SetFleet(value); return *this;} /** *

The Amazon Resource Name (ARN) of the fleet.

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

The Amazon Resource Name (ARN) of the fleet.

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

The status of the synchronization job.

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

The status of the synchronization job.

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

The status of the synchronization job.

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

The status of the synchronization job.

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

The status of the synchronization job.

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

Information about the deployment configuration.

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

Information about the deployment configuration.

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

Information about the deployment configuration.

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

Information about the deployment configuration.

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

Information about the deployment configuration.

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

Information about the deployment application configurations.

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

Information about the deployment application configurations.

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

Information about the deployment application configurations.

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

Information about the deployment application configurations.

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

Information about the deployment application configurations.

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

Information about the deployment application configurations.

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

Information about the deployment application configurations.

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

The failure reason if the job fails.

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

The failure reason if the job fails.

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

The failure reason if the job fails.

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

The failure reason if the job fails.

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

The failure reason if the job fails.

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

The failure reason if the job fails.

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

The failure reason if the job fails.

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

The failure code if the job fails:

InternalServiceError
*

Internal service error.

RobotApplicationCrash
*

Robot application exited abnormally.

*
SimulationApplicationCrash

Simulation application exited * abnormally.

BadPermissionsRobotApplication

Robot * application bundle could not be downloaded.

*
BadPermissionsSimulationApplication

Simulation application * bundle could not be downloaded.

BadPermissionsS3Output
*

Unable to publish outputs to customer-provided S3 bucket.

*
BadPermissionsCloudwatchLogs

Unable to publish logs to * customer-provided CloudWatch Logs resource.

*
SubnetIpLimitExceeded

Subnet IP limit exceeded.

*
ENILimitExceeded

ENI limit exceeded.

*
BadPermissionsUserCredentials

Unable to use the Role * provided.

InvalidBundleRobotApplication

Robot bundle * cannot be extracted (invalid format, bundling error, or other issue).

*
InvalidBundleSimulationApplication

Simulation bundle cannot be * extracted (invalid format, bundling error, or other issue).

*
RobotApplicationVersionMismatchedEtag

Etag for RobotApplication * does not match value during version creation.

*
SimulationApplicationVersionMismatchedEtag

Etag for * SimulationApplication does not match value during version creation.

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

The failure code if the job fails:

InternalServiceError
*

Internal service error.

RobotApplicationCrash
*

Robot application exited abnormally.

*
SimulationApplicationCrash

Simulation application exited * abnormally.

BadPermissionsRobotApplication

Robot * application bundle could not be downloaded.

*
BadPermissionsSimulationApplication

Simulation application * bundle could not be downloaded.

BadPermissionsS3Output
*

Unable to publish outputs to customer-provided S3 bucket.

*
BadPermissionsCloudwatchLogs

Unable to publish logs to * customer-provided CloudWatch Logs resource.

*
SubnetIpLimitExceeded

Subnet IP limit exceeded.

*
ENILimitExceeded

ENI limit exceeded.

*
BadPermissionsUserCredentials

Unable to use the Role * provided.

InvalidBundleRobotApplication

Robot bundle * cannot be extracted (invalid format, bundling error, or other issue).

*
InvalidBundleSimulationApplication

Simulation bundle cannot be * extracted (invalid format, bundling error, or other issue).

*
RobotApplicationVersionMismatchedEtag

Etag for RobotApplication * does not match value during version creation.

*
SimulationApplicationVersionMismatchedEtag

Etag for * SimulationApplication does not match value during version creation.

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

The failure code if the job fails:

InternalServiceError
*

Internal service error.

RobotApplicationCrash
*

Robot application exited abnormally.

*
SimulationApplicationCrash

Simulation application exited * abnormally.

BadPermissionsRobotApplication

Robot * application bundle could not be downloaded.

*
BadPermissionsSimulationApplication

Simulation application * bundle could not be downloaded.

BadPermissionsS3Output
*

Unable to publish outputs to customer-provided S3 bucket.

*
BadPermissionsCloudwatchLogs

Unable to publish logs to * customer-provided CloudWatch Logs resource.

*
SubnetIpLimitExceeded

Subnet IP limit exceeded.

*
ENILimitExceeded

ENI limit exceeded.

*
BadPermissionsUserCredentials

Unable to use the Role * provided.

InvalidBundleRobotApplication

Robot bundle * cannot be extracted (invalid format, bundling error, or other issue).

*
InvalidBundleSimulationApplication

Simulation bundle cannot be * extracted (invalid format, bundling error, or other issue).

*
RobotApplicationVersionMismatchedEtag

Etag for RobotApplication * does not match value during version creation.

*
SimulationApplicationVersionMismatchedEtag

Etag for * SimulationApplication does not match value during version creation.

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

The failure code if the job fails:

InternalServiceError
*

Internal service error.

RobotApplicationCrash
*

Robot application exited abnormally.

*
SimulationApplicationCrash

Simulation application exited * abnormally.

BadPermissionsRobotApplication

Robot * application bundle could not be downloaded.

*
BadPermissionsSimulationApplication

Simulation application * bundle could not be downloaded.

BadPermissionsS3Output
*

Unable to publish outputs to customer-provided S3 bucket.

*
BadPermissionsCloudwatchLogs

Unable to publish logs to * customer-provided CloudWatch Logs resource.

*
SubnetIpLimitExceeded

Subnet IP limit exceeded.

*
ENILimitExceeded

ENI limit exceeded.

*
BadPermissionsUserCredentials

Unable to use the Role * provided.

InvalidBundleRobotApplication

Robot bundle * cannot be extracted (invalid format, bundling error, or other issue).

*
InvalidBundleSimulationApplication

Simulation bundle cannot be * extracted (invalid format, bundling error, or other issue).

*
RobotApplicationVersionMismatchedEtag

Etag for RobotApplication * does not match value during version creation.

*
SimulationApplicationVersionMismatchedEtag

Etag for * SimulationApplication does not match value during version creation.

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

The failure code if the job fails:

InternalServiceError
*

Internal service error.

RobotApplicationCrash
*

Robot application exited abnormally.

*
SimulationApplicationCrash

Simulation application exited * abnormally.

BadPermissionsRobotApplication

Robot * application bundle could not be downloaded.

*
BadPermissionsSimulationApplication

Simulation application * bundle could not be downloaded.

BadPermissionsS3Output
*

Unable to publish outputs to customer-provided S3 bucket.

*
BadPermissionsCloudwatchLogs

Unable to publish logs to * customer-provided CloudWatch Logs resource.

*
SubnetIpLimitExceeded

Subnet IP limit exceeded.

*
ENILimitExceeded

ENI limit exceeded.

*
BadPermissionsUserCredentials

Unable to use the Role * provided.

InvalidBundleRobotApplication

Robot bundle * cannot be extracted (invalid format, bundling error, or other issue).

*
InvalidBundleSimulationApplication

Simulation bundle cannot be * extracted (invalid format, bundling error, or other issue).

*
RobotApplicationVersionMismatchedEtag

Etag for RobotApplication * does not match value during version creation.

*
SimulationApplicationVersionMismatchedEtag

Etag for * SimulationApplication does not match value during version creation.

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

The time, in milliseconds since the epoch, when the fleet was created.

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

The time, in milliseconds since the epoch, when the fleet was created.

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

The time, in milliseconds since the epoch, when the fleet was created.

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

The time, in milliseconds since the epoch, when the fleet was created.

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

The time, in milliseconds since the epoch, when the fleet was created.

*/ inline SyncDeploymentJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(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; }; } // namespace Model } // namespace RoboMaker } // namespace Aws