/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a robot deployment.See Also:
AWS
* API Reference
The robot deployment Amazon Resource Name (ARN).
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The robot deployment Amazon Resource Name (ARN).
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The robot deployment Amazon Resource Name (ARN).
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The robot deployment Amazon Resource Name (ARN).
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The robot deployment Amazon Resource Name (ARN).
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The robot deployment Amazon Resource Name (ARN).
*/ inline RobotDeployment& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The robot deployment Amazon Resource Name (ARN).
*/ inline RobotDeployment& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The robot deployment Amazon Resource Name (ARN).
*/ inline RobotDeployment& WithArn(const char* value) { SetArn(value); return *this;} /** *The time, in milliseconds since the epoch, when the deployment was * started.
*/ inline const Aws::Utils::DateTime& GetDeploymentStartTime() const{ return m_deploymentStartTime; } /** *The time, in milliseconds since the epoch, when the deployment was * started.
*/ inline bool DeploymentStartTimeHasBeenSet() const { return m_deploymentStartTimeHasBeenSet; } /** *The time, in milliseconds since the epoch, when the deployment was * started.
*/ inline void SetDeploymentStartTime(const Aws::Utils::DateTime& value) { m_deploymentStartTimeHasBeenSet = true; m_deploymentStartTime = value; } /** *The time, in milliseconds since the epoch, when the deployment was * started.
*/ inline void SetDeploymentStartTime(Aws::Utils::DateTime&& value) { m_deploymentStartTimeHasBeenSet = true; m_deploymentStartTime = std::move(value); } /** *The time, in milliseconds since the epoch, when the deployment was * started.
*/ inline RobotDeployment& WithDeploymentStartTime(const Aws::Utils::DateTime& value) { SetDeploymentStartTime(value); return *this;} /** *The time, in milliseconds since the epoch, when the deployment was * started.
*/ inline RobotDeployment& WithDeploymentStartTime(Aws::Utils::DateTime&& value) { SetDeploymentStartTime(std::move(value)); return *this;} /** *The time, in milliseconds since the epoch, when the deployment finished.
*/ inline const Aws::Utils::DateTime& GetDeploymentFinishTime() const{ return m_deploymentFinishTime; } /** *The time, in milliseconds since the epoch, when the deployment finished.
*/ inline bool DeploymentFinishTimeHasBeenSet() const { return m_deploymentFinishTimeHasBeenSet; } /** *The time, in milliseconds since the epoch, when the deployment finished.
*/ inline void SetDeploymentFinishTime(const Aws::Utils::DateTime& value) { m_deploymentFinishTimeHasBeenSet = true; m_deploymentFinishTime = value; } /** *The time, in milliseconds since the epoch, when the deployment finished.
*/ inline void SetDeploymentFinishTime(Aws::Utils::DateTime&& value) { m_deploymentFinishTimeHasBeenSet = true; m_deploymentFinishTime = std::move(value); } /** *The time, in milliseconds since the epoch, when the deployment finished.
*/ inline RobotDeployment& WithDeploymentFinishTime(const Aws::Utils::DateTime& value) { SetDeploymentFinishTime(value); return *this;} /** *The time, in milliseconds since the epoch, when the deployment finished.
*/ inline RobotDeployment& WithDeploymentFinishTime(Aws::Utils::DateTime&& value) { SetDeploymentFinishTime(std::move(value)); return *this;} /** *The status of the robot deployment.
*/ inline const RobotStatus& GetStatus() const{ return m_status; } /** *The status of the robot deployment.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the robot deployment.
*/ inline void SetStatus(const RobotStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the robot deployment.
*/ inline void SetStatus(RobotStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the robot deployment.
*/ inline RobotDeployment& WithStatus(const RobotStatus& value) { SetStatus(value); return *this;} /** *The status of the robot deployment.
*/ inline RobotDeployment& WithStatus(RobotStatus&& value) { SetStatus(std::move(value)); return *this;} /** *Information about how the deployment is progressing.
*/ inline const ProgressDetail& GetProgressDetail() const{ return m_progressDetail; } /** *Information about how the deployment is progressing.
*/ inline bool ProgressDetailHasBeenSet() const { return m_progressDetailHasBeenSet; } /** *Information about how the deployment is progressing.
*/ inline void SetProgressDetail(const ProgressDetail& value) { m_progressDetailHasBeenSet = true; m_progressDetail = value; } /** *Information about how the deployment is progressing.
*/ inline void SetProgressDetail(ProgressDetail&& value) { m_progressDetailHasBeenSet = true; m_progressDetail = std::move(value); } /** *Information about how the deployment is progressing.
*/ inline RobotDeployment& WithProgressDetail(const ProgressDetail& value) { SetProgressDetail(value); return *this;} /** *Information about how the deployment is progressing.
*/ inline RobotDeployment& WithProgressDetail(ProgressDetail&& value) { SetProgressDetail(std::move(value)); return *this;} /** *A short description of the reason why the robot deployment failed.
*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *A short description of the reason why the robot deployment failed.
*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *A short description of the reason why the robot deployment failed.
*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *A short description of the reason why the robot deployment failed.
*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *A short description of the reason why the robot deployment failed.
*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *A short description of the reason why the robot deployment failed.
*/ inline RobotDeployment& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *A short description of the reason why the robot deployment failed.
*/ inline RobotDeployment& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *A short description of the reason why the robot deployment failed.
*/ inline RobotDeployment& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *The robot deployment failure code.
*/ inline const DeploymentJobErrorCode& GetFailureCode() const{ return m_failureCode; } /** *The robot deployment failure code.
*/ inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; } /** *The robot deployment failure code.
*/ inline void SetFailureCode(const DeploymentJobErrorCode& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; } /** *The robot deployment failure code.
*/ inline void SetFailureCode(DeploymentJobErrorCode&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); } /** *The robot deployment failure code.
*/ inline RobotDeployment& WithFailureCode(const DeploymentJobErrorCode& value) { SetFailureCode(value); return *this;} /** *The robot deployment failure code.
*/ inline RobotDeployment& WithFailureCode(DeploymentJobErrorCode&& value) { SetFailureCode(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet; Aws::Utils::DateTime m_deploymentStartTime; bool m_deploymentStartTimeHasBeenSet; Aws::Utils::DateTime m_deploymentFinishTime; bool m_deploymentFinishTimeHasBeenSet; RobotStatus m_status; bool m_statusHasBeenSet; ProgressDetail m_progressDetail; bool m_progressDetailHasBeenSet; Aws::String m_failureReason; bool m_failureReasonHasBeenSet; DeploymentJobErrorCode m_failureCode; bool m_failureCodeHasBeenSet; }; } // namespace Model } // namespace RoboMaker } // namespace Aws