7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codedeploy/model/DeploymentStatus.h>
10#include <aws/core/utils/DateTime.h>
49 template<
typename DeploymentIdT = Aws::String>
50 void SetDeploymentId(DeploymentIdT&& value) { m_deploymentIdHasBeenSet =
true; m_deploymentId = std::forward<DeploymentIdT>(value); }
51 template<
typename DeploymentIdT = Aws::String>
72 template<
typename EndTimeT = Aws::Utils::DateTime>
73 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
74 template<
typename EndTimeT = Aws::Utils::DateTime>
85 template<
typename CreateTimeT = Aws::Utils::DateTime>
86 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet =
true; m_createTime = std::forward<CreateTimeT>(value); }
87 template<
typename CreateTimeT = Aws::Utils::DateTime>
93 bool m_deploymentIdHasBeenSet =
false;
96 bool m_statusHasBeenSet =
false;
99 bool m_endTimeHasBeenSet =
false;
102 bool m_createTimeHasBeenSet =
false;
bool CreateTimeHasBeenSet() const
AWS_CODEDEPLOY_API LastDeploymentInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreateTime(CreateTimeT &&value)
LastDeploymentInfo & WithEndTime(EndTimeT &&value)
LastDeploymentInfo & WithCreateTime(CreateTimeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
bool StatusHasBeenSet() const
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
bool EndTimeHasBeenSet() const
LastDeploymentInfo & WithDeploymentId(DeploymentIdT &&value)
AWS_CODEDEPLOY_API LastDeploymentInfo(Aws::Utils::Json::JsonView jsonValue)
LastDeploymentInfo & WithStatus(DeploymentStatus value)
AWS_CODEDEPLOY_API LastDeploymentInfo()=default
const Aws::String & GetDeploymentId() const
void SetDeploymentId(DeploymentIdT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
DeploymentStatus GetStatus() const
void SetStatus(DeploymentStatus value)
bool DeploymentIdHasBeenSet() const
void SetEndTime(EndTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue