7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/proton/Proton_EXPORTS.h>
10#include <aws/proton/model/DeploymentStatus.h>
43 template <
typename ArnT = Aws::String>
45 m_arnHasBeenSet =
true;
46 m_arn = std::forward<ArnT>(value);
48 template <
typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
61 template <
typename CreatedAtT = Aws::Utils::DateTime>
63 m_createdAtHasBeenSet =
true;
64 m_createdAt = std::forward<CreatedAtT>(value);
66 template <
typename CreatedAtT = Aws::Utils::DateTime>
80 m_deploymentStatusHasBeenSet =
true;
81 m_deploymentStatus = value;
95 template <
typename DeploymentStatusMessageT = Aws::String>
97 m_deploymentStatusMessageHasBeenSet =
true;
98 m_deploymentStatusMessage = std::forward<DeploymentStatusMessageT>(value);
100 template <
typename DeploymentStatusMessageT = Aws::String>
113 template <
typename EnvironmentNameT = Aws::String>
115 m_environmentNameHasBeenSet =
true;
116 m_environmentName = std::forward<EnvironmentNameT>(value);
118 template <
typename EnvironmentNameT = Aws::String>
131 template <
typename LastAttemptedDeploymentIdT = Aws::String>
133 m_lastAttemptedDeploymentIdHasBeenSet =
true;
134 m_lastAttemptedDeploymentId = std::forward<LastAttemptedDeploymentIdT>(value);
136 template <
typename LastAttemptedDeploymentIdT = Aws::String>
149 template <
typename LastDeploymentAttemptedAtT = Aws::Utils::DateTime>
151 m_lastDeploymentAttemptedAtHasBeenSet =
true;
152 m_lastDeploymentAttemptedAt = std::forward<LastDeploymentAttemptedAtT>(value);
154 template <
typename LastDeploymentAttemptedAtT = Aws::Utils::DateTime>
167 template <
typename LastDeploymentSucceededAtT = Aws::Utils::DateTime>
169 m_lastDeploymentSucceededAtHasBeenSet =
true;
170 m_lastDeploymentSucceededAt = std::forward<LastDeploymentSucceededAtT>(value);
172 template <
typename LastDeploymentSucceededAtT = Aws::Utils::DateTime>
185 template <
typename LastSucceededDeploymentIdT = Aws::String>
187 m_lastSucceededDeploymentIdHasBeenSet =
true;
188 m_lastSucceededDeploymentId = std::forward<LastSucceededDeploymentIdT>(value);
190 template <
typename LastSucceededDeploymentIdT = Aws::String>
203 template <
typename NameT = Aws::String>
205 m_nameHasBeenSet =
true;
206 m_name = std::forward<NameT>(value);
208 template <
typename NameT = Aws::String>
210 SetName(std::forward<NameT>(value));
221 template <
typename ServiceNameT = Aws::String>
223 m_serviceNameHasBeenSet =
true;
224 m_serviceName = std::forward<ServiceNameT>(value);
226 template <
typename ServiceNameT = Aws::String>
239 template <
typename TemplateMajorVersionT = Aws::String>
241 m_templateMajorVersionHasBeenSet =
true;
242 m_templateMajorVersion = std::forward<TemplateMajorVersionT>(value);
244 template <
typename TemplateMajorVersionT = Aws::String>
257 template <
typename TemplateMinorVersionT = Aws::String>
259 m_templateMinorVersionHasBeenSet =
true;
260 m_templateMinorVersion = std::forward<TemplateMinorVersionT>(value);
262 template <
typename TemplateMinorVersionT = Aws::String>
275 template <
typename TemplateNameT = Aws::String>
277 m_templateNameHasBeenSet =
true;
278 m_templateName = std::forward<TemplateNameT>(value);
280 template <
typename TemplateNameT = Aws::String>
314 bool m_arnHasBeenSet =
false;
315 bool m_createdAtHasBeenSet =
false;
316 bool m_deploymentStatusHasBeenSet =
false;
317 bool m_deploymentStatusMessageHasBeenSet =
false;
318 bool m_environmentNameHasBeenSet =
false;
319 bool m_lastAttemptedDeploymentIdHasBeenSet =
false;
320 bool m_lastDeploymentAttemptedAtHasBeenSet =
false;
321 bool m_lastDeploymentSucceededAtHasBeenSet =
false;
322 bool m_lastSucceededDeploymentIdHasBeenSet =
false;
323 bool m_nameHasBeenSet =
false;
324 bool m_serviceNameHasBeenSet =
false;
325 bool m_templateMajorVersionHasBeenSet =
false;
326 bool m_templateMinorVersionHasBeenSet =
false;
327 bool m_templateNameHasBeenSet =
false;
const Aws::String & GetDeploymentStatusMessage() const
bool CreatedAtHasBeenSet() const
bool LastDeploymentAttemptedAtHasBeenSet() const
void SetLastSucceededDeploymentId(LastSucceededDeploymentIdT &&value)
bool TemplateMinorVersionHasBeenSet() const
bool NameHasBeenSet() const
void SetLastDeploymentSucceededAt(LastDeploymentSucceededAtT &&value)
const Aws::String & GetTemplateName() const
bool LastSucceededDeploymentIdHasBeenSet() const
DeploymentStatus GetDeploymentStatus() const
void SetArn(ArnT &&value)
bool TemplateNameHasBeenSet() const
bool LastAttemptedDeploymentIdHasBeenSet() const
const Aws::String & GetLastAttemptedDeploymentId() const
void SetCreatedAt(CreatedAtT &&value)
ServiceInstanceSummary & WithTemplateName(TemplateNameT &&value)
void SetDeploymentStatusMessage(DeploymentStatusMessageT &&value)
ServiceInstanceSummary & WithTemplateMinorVersion(TemplateMinorVersionT &&value)
void SetLastAttemptedDeploymentId(LastAttemptedDeploymentIdT &&value)
bool LastDeploymentSucceededAtHasBeenSet() const
void SetTemplateMinorVersion(TemplateMinorVersionT &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceInstanceSummary & WithCreatedAt(CreatedAtT &&value)
void SetEnvironmentName(EnvironmentNameT &&value)
bool DeploymentStatusHasBeenSet() const
void SetTemplateName(TemplateNameT &&value)
const Aws::String & GetServiceName() const
const Aws::Utils::DateTime & GetLastDeploymentAttemptedAt() const
void SetName(NameT &&value)
ServiceInstanceSummary & WithLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT &&value)
void SetLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT &&value)
ServiceInstanceSummary & WithDeploymentStatusMessage(DeploymentStatusMessageT &&value)
bool ArnHasBeenSet() const
const Aws::String & GetLastSucceededDeploymentId() const
ServiceInstanceSummary & WithLastAttemptedDeploymentId(LastAttemptedDeploymentIdT &&value)
AWS_PROTON_API ServiceInstanceSummary()=default
ServiceInstanceSummary & WithLastDeploymentSucceededAt(LastDeploymentSucceededAtT &&value)
bool ServiceNameHasBeenSet() const
const Aws::String & GetArn() const
ServiceInstanceSummary & WithTemplateMajorVersion(TemplateMajorVersionT &&value)
ServiceInstanceSummary & WithEnvironmentName(EnvironmentNameT &&value)
ServiceInstanceSummary & WithName(NameT &&value)
bool TemplateMajorVersionHasBeenSet() const
ServiceInstanceSummary & WithDeploymentStatus(DeploymentStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetTemplateMajorVersion(TemplateMajorVersionT &&value)
const Aws::Utils::DateTime & GetLastDeploymentSucceededAt() const
ServiceInstanceSummary & WithLastSucceededDeploymentId(LastSucceededDeploymentIdT &&value)
void SetDeploymentStatus(DeploymentStatus value)
const Aws::String & GetTemplateMinorVersion() const
AWS_PROTON_API ServiceInstanceSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_PROTON_API ServiceInstanceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceInstanceSummary & WithArn(ArnT &&value)
const Aws::String & GetTemplateMajorVersion() const
const Aws::String & GetEnvironmentName() const
bool EnvironmentNameHasBeenSet() const
ServiceInstanceSummary & WithServiceName(ServiceNameT &&value)
void SetServiceName(ServiceNameT &&value)
const Aws::String & GetName() const
bool DeploymentStatusMessageHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue