/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an application version deployment.See Also:
* AWS
* API Reference
The version label of the application version in the deployment.
*/ inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; } /** *The version label of the application version in the deployment.
*/ inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; } /** *The version label of the application version in the deployment.
*/ inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; } /** *The version label of the application version in the deployment.
*/ inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); } /** *The version label of the application version in the deployment.
*/ inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); } /** *The version label of the application version in the deployment.
*/ inline Deployment& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;} /** *The version label of the application version in the deployment.
*/ inline Deployment& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;} /** *The version label of the application version in the deployment.
*/ inline Deployment& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;} /** *The ID of the deployment. This number increases by one each time that you * deploy source code or change instance configuration settings.
*/ inline long long GetDeploymentId() const{ return m_deploymentId; } /** *The ID of the deployment. This number increases by one each time that you * deploy source code or change instance configuration settings.
*/ inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; } /** *The ID of the deployment. This number increases by one each time that you * deploy source code or change instance configuration settings.
*/ inline void SetDeploymentId(long long value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; } /** *The ID of the deployment. This number increases by one each time that you * deploy source code or change instance configuration settings.
*/ inline Deployment& WithDeploymentId(long long value) { SetDeploymentId(value); return *this;} /** *The status of the deployment:
In Progress
:
* The deployment is in progress.
Deployed
: The
* deployment succeeded.
Failed
: The deployment
* failed.
The status of the deployment:
In Progress
:
* The deployment is in progress.
Deployed
: The
* deployment succeeded.
Failed
: The deployment
* failed.
The status of the deployment:
In Progress
:
* The deployment is in progress.
Deployed
: The
* deployment succeeded.
Failed
: The deployment
* failed.
The status of the deployment:
In Progress
:
* The deployment is in progress.
Deployed
: The
* deployment succeeded.
Failed
: The deployment
* failed.
The status of the deployment:
In Progress
:
* The deployment is in progress.
Deployed
: The
* deployment succeeded.
Failed
: The deployment
* failed.
The status of the deployment:
In Progress
:
* The deployment is in progress.
Deployed
: The
* deployment succeeded.
Failed
: The deployment
* failed.
The status of the deployment:
In Progress
:
* The deployment is in progress.
Deployed
: The
* deployment succeeded.
Failed
: The deployment
* failed.
The status of the deployment:
In Progress
:
* The deployment is in progress.
Deployed
: The
* deployment succeeded.
Failed
: The deployment
* failed.
For in-progress deployments, the time that the deployment started.
For * completed deployments, the time that the deployment ended.
*/ inline const Aws::Utils::DateTime& GetDeploymentTime() const{ return m_deploymentTime; } /** *For in-progress deployments, the time that the deployment started.
For * completed deployments, the time that the deployment ended.
*/ inline bool DeploymentTimeHasBeenSet() const { return m_deploymentTimeHasBeenSet; } /** *For in-progress deployments, the time that the deployment started.
For * completed deployments, the time that the deployment ended.
*/ inline void SetDeploymentTime(const Aws::Utils::DateTime& value) { m_deploymentTimeHasBeenSet = true; m_deploymentTime = value; } /** *For in-progress deployments, the time that the deployment started.
For * completed deployments, the time that the deployment ended.
*/ inline void SetDeploymentTime(Aws::Utils::DateTime&& value) { m_deploymentTimeHasBeenSet = true; m_deploymentTime = std::move(value); } /** *For in-progress deployments, the time that the deployment started.
For * completed deployments, the time that the deployment ended.
*/ inline Deployment& WithDeploymentTime(const Aws::Utils::DateTime& value) { SetDeploymentTime(value); return *this;} /** *For in-progress deployments, the time that the deployment started.
For * completed deployments, the time that the deployment ended.
*/ inline Deployment& WithDeploymentTime(Aws::Utils::DateTime&& value) { SetDeploymentTime(std::move(value)); return *this;} private: Aws::String m_versionLabel; bool m_versionLabelHasBeenSet = false; long long m_deploymentId; bool m_deploymentIdHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_deploymentTime; bool m_deploymentTimeHasBeenSet = false; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws