206 lines
6.5 KiB
C
206 lines
6.5 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/codedeploy/model/DeploymentStatus.h>
|
|||
|
|
#include <aws/core/utils/DateTime.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace CodeDeploy
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about the most recent attempted or successful deployment to a
|
|||
|
|
* deployment group.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LastDeploymentInfo">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_CODEDEPLOY_API LastDeploymentInfo
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
LastDeploymentInfo();
|
|||
|
|
LastDeploymentInfo(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
LastDeploymentInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The unique ID of a deployment. </p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The unique ID of a deployment. </p>
|
|||
|
|
*/
|
|||
|
|
inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The unique ID of a deployment. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The unique ID of a deployment. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The unique ID of a deployment. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The unique ID of a deployment. </p>
|
|||
|
|
*/
|
|||
|
|
inline LastDeploymentInfo& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The unique ID of a deployment. </p>
|
|||
|
|
*/
|
|||
|
|
inline LastDeploymentInfo& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> The unique ID of a deployment. </p>
|
|||
|
|
*/
|
|||
|
|
inline LastDeploymentInfo& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the most recent deployment.</p>
|
|||
|
|
*/
|
|||
|
|
inline const DeploymentStatus& GetStatus() const{ return m_status; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the most recent deployment.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the most recent deployment.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetStatus(const DeploymentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the most recent deployment.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetStatus(DeploymentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the most recent deployment.</p>
|
|||
|
|
*/
|
|||
|
|
inline LastDeploymentInfo& WithStatus(const DeploymentStatus& value) { SetStatus(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The status of the most recent deployment.</p>
|
|||
|
|
*/
|
|||
|
|
inline LastDeploymentInfo& WithStatus(DeploymentStatus&& value) { SetStatus(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A timestamp that indicates when the most recent deployment to the deployment
|
|||
|
|
* group was complete.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A timestamp that indicates when the most recent deployment to the deployment
|
|||
|
|
* group was complete.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A timestamp that indicates when the most recent deployment to the deployment
|
|||
|
|
* group was complete.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A timestamp that indicates when the most recent deployment to the deployment
|
|||
|
|
* group was complete.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A timestamp that indicates when the most recent deployment to the deployment
|
|||
|
|
* group was complete.</p>
|
|||
|
|
*/
|
|||
|
|
inline LastDeploymentInfo& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A timestamp that indicates when the most recent deployment to the deployment
|
|||
|
|
* group was complete.</p>
|
|||
|
|
*/
|
|||
|
|
inline LastDeploymentInfo& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A timestamp that indicates when the most recent deployment to the deployment
|
|||
|
|
* group started.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A timestamp that indicates when the most recent deployment to the deployment
|
|||
|
|
* group started.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A timestamp that indicates when the most recent deployment to the deployment
|
|||
|
|
* group started.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A timestamp that indicates when the most recent deployment to the deployment
|
|||
|
|
* group started.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A timestamp that indicates when the most recent deployment to the deployment
|
|||
|
|
* group started.</p>
|
|||
|
|
*/
|
|||
|
|
inline LastDeploymentInfo& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A timestamp that indicates when the most recent deployment to the deployment
|
|||
|
|
* group started.</p>
|
|||
|
|
*/
|
|||
|
|
inline LastDeploymentInfo& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_deploymentId;
|
|||
|
|
bool m_deploymentIdHasBeenSet;
|
|||
|
|
|
|||
|
|
DeploymentStatus m_status;
|
|||
|
|
bool m_statusHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::Utils::DateTime m_endTime;
|
|||
|
|
bool m_endTimeHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::Utils::DateTime m_createTime;
|
|||
|
|
bool m_createTimeHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace CodeDeploy
|
|||
|
|
} // namespace Aws
|