/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a deployment job.See Also:
AWS
* API Reference
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 bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the deployment job.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the deployment job.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the deployment job.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the deployment job.
*/ inline DeploymentJob& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the deployment job.
*/ inline DeploymentJob& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the deployment job.
*/ inline DeploymentJob& 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 bool FleetHasBeenSet() const { return m_fleetHasBeenSet; } /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline void SetFleet(const Aws::String& value) { m_fleetHasBeenSet = true; m_fleet = value; } /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline void SetFleet(Aws::String&& value) { m_fleetHasBeenSet = true; m_fleet = std::move(value); } /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline void SetFleet(const char* value) { m_fleetHasBeenSet = true; m_fleet.assign(value); } /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline DeploymentJob& WithFleet(const Aws::String& value) { SetFleet(value); return *this;} /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline DeploymentJob& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline DeploymentJob& 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 bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the deployment job.
*/ inline void SetStatus(const DeploymentStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the deployment job.
*/ inline void SetStatus(DeploymentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the deployment job.
*/ inline DeploymentJob& WithStatus(const DeploymentStatus& value) { SetStatus(value); return *this;} /** *The status of the deployment job.
*/ inline DeploymentJob& WithStatus(DeploymentStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The deployment application configuration.
*/ inline const Aws::VectorThe deployment application configuration.
*/ inline bool DeploymentApplicationConfigsHasBeenSet() const { return m_deploymentApplicationConfigsHasBeenSet; } /** *The deployment application configuration.
*/ inline void SetDeploymentApplicationConfigs(const Aws::VectorThe deployment application configuration.
*/ inline void SetDeploymentApplicationConfigs(Aws::VectorThe deployment application configuration.
*/ inline DeploymentJob& WithDeploymentApplicationConfigs(const Aws::VectorThe deployment application configuration.
*/ inline DeploymentJob& WithDeploymentApplicationConfigs(Aws::VectorThe deployment application configuration.
*/ inline DeploymentJob& AddDeploymentApplicationConfigs(const DeploymentApplicationConfig& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs.push_back(value); return *this; } /** *The deployment application configuration.
*/ inline DeploymentJob& AddDeploymentApplicationConfigs(DeploymentApplicationConfig&& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs.push_back(std::move(value)); return *this; } /** *The deployment configuration.
*/ inline const DeploymentConfig& GetDeploymentConfig() const{ return m_deploymentConfig; } /** *The deployment configuration.
*/ inline bool DeploymentConfigHasBeenSet() const { return m_deploymentConfigHasBeenSet; } /** *The deployment configuration.
*/ inline void SetDeploymentConfig(const DeploymentConfig& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = value; } /** *The deployment configuration.
*/ inline void SetDeploymentConfig(DeploymentConfig&& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = std::move(value); } /** *The deployment configuration.
*/ inline DeploymentJob& WithDeploymentConfig(const DeploymentConfig& value) { SetDeploymentConfig(value); return *this;} /** *The deployment configuration.
*/ inline DeploymentJob& WithDeploymentConfig(DeploymentConfig&& value) { SetDeploymentConfig(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 bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *A short description of the reason why the deployment job failed.
*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *A short description of the reason why the deployment job failed.
*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *A short description of the reason why the deployment job failed.
*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *A short description of the reason why the deployment job failed.
*/ inline DeploymentJob& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *A short description of the reason why the deployment job failed.
*/ inline DeploymentJob& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *A short description of the reason why the deployment job failed.
*/ inline DeploymentJob& 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 bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; } /** *The deployment job failure code.
*/ inline void SetFailureCode(const DeploymentJobErrorCode& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; } /** *The deployment job failure code.
*/ inline void SetFailureCode(DeploymentJobErrorCode&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); } /** *The deployment job failure code.
*/ inline DeploymentJob& WithFailureCode(const DeploymentJobErrorCode& value) { SetFailureCode(value); return *this;} /** *The deployment job failure code.
*/ inline DeploymentJob& 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 bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time, in milliseconds since the epoch, when the deployment job was * created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time, in milliseconds since the epoch, when the deployment job was * created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time, in milliseconds since the epoch, when the deployment job was * created.
*/ inline DeploymentJob& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time, in milliseconds since the epoch, when the deployment job was * created.
*/ inline DeploymentJob& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_fleet; bool m_fleetHasBeenSet = false; DeploymentStatus m_status; bool m_statusHasBeenSet = false; Aws::Vector