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 LastClientRequestTokenT = Aws::String>
151 m_lastClientRequestTokenHasBeenSet =
true;
152 m_lastClientRequestToken = std::forward<LastClientRequestTokenT>(value);
154 template <
typename LastClientRequestTokenT = Aws::String>
167 template <
typename LastDeploymentAttemptedAtT = Aws::Utils::DateTime>
169 m_lastDeploymentAttemptedAtHasBeenSet =
true;
170 m_lastDeploymentAttemptedAt = std::forward<LastDeploymentAttemptedAtT>(value);
172 template <
typename LastDeploymentAttemptedAtT = Aws::Utils::DateTime>
185 template <
typename LastDeploymentSucceededAtT = Aws::Utils::DateTime>
187 m_lastDeploymentSucceededAtHasBeenSet =
true;
188 m_lastDeploymentSucceededAt = std::forward<LastDeploymentSucceededAtT>(value);
190 template <
typename LastDeploymentSucceededAtT = Aws::Utils::DateTime>
203 template <
typename LastSucceededDeploymentIdT = Aws::String>
205 m_lastSucceededDeploymentIdHasBeenSet =
true;
206 m_lastSucceededDeploymentId = std::forward<LastSucceededDeploymentIdT>(value);
208 template <
typename LastSucceededDeploymentIdT = Aws::String>
221 template <
typename NameT = Aws::String>
223 m_nameHasBeenSet =
true;
224 m_name = std::forward<NameT>(value);
226 template <
typename NameT = Aws::String>
228 SetName(std::forward<NameT>(value));
239 template <
typename ServiceNameT = Aws::String>
241 m_serviceNameHasBeenSet =
true;
242 m_serviceName = std::forward<ServiceNameT>(value);
244 template <
typename ServiceNameT = Aws::String>
257 template <
typename SpecT = Aws::String>
259 m_specHasBeenSet =
true;
260 m_spec = std::forward<SpecT>(value);
262 template <
typename SpecT = Aws::String>
264 SetSpec(std::forward<SpecT>(value));
276 template <
typename TemplateMajorVersionT = Aws::String>
278 m_templateMajorVersionHasBeenSet =
true;
279 m_templateMajorVersion = std::forward<TemplateMajorVersionT>(value);
281 template <
typename TemplateMajorVersionT = Aws::String>
295 template <
typename TemplateMinorVersionT = Aws::String>
297 m_templateMinorVersionHasBeenSet =
true;
298 m_templateMinorVersion = std::forward<TemplateMinorVersionT>(value);
300 template <
typename TemplateMinorVersionT = Aws::String>
314 template <
typename TemplateNameT = Aws::String>
316 m_templateNameHasBeenSet =
true;
317 m_templateName = std::forward<TemplateNameT>(value);
319 template <
typename TemplateNameT = Aws::String>
357 bool m_arnHasBeenSet =
false;
358 bool m_createdAtHasBeenSet =
false;
359 bool m_deploymentStatusHasBeenSet =
false;
360 bool m_deploymentStatusMessageHasBeenSet =
false;
361 bool m_environmentNameHasBeenSet =
false;
362 bool m_lastAttemptedDeploymentIdHasBeenSet =
false;
363 bool m_lastClientRequestTokenHasBeenSet =
false;
364 bool m_lastDeploymentAttemptedAtHasBeenSet =
false;
365 bool m_lastDeploymentSucceededAtHasBeenSet =
false;
366 bool m_lastSucceededDeploymentIdHasBeenSet =
false;
367 bool m_nameHasBeenSet =
false;
368 bool m_serviceNameHasBeenSet =
false;
369 bool m_specHasBeenSet =
false;
370 bool m_templateMajorVersionHasBeenSet =
false;
371 bool m_templateMinorVersionHasBeenSet =
false;
372 bool m_templateNameHasBeenSet =
false;
bool TemplateMinorVersionHasBeenSet() const
bool EnvironmentNameHasBeenSet() const
bool ServiceNameHasBeenSet() const
const Aws::String & GetArn() const
void SetServiceName(ServiceNameT &&value)
void SetArn(ArnT &&value)
ServiceInstance & WithArn(ArnT &&value)
void SetName(NameT &&value)
const Aws::String & GetLastAttemptedDeploymentId() const
const Aws::String & GetSpec() const
void SetSpec(SpecT &&value)
void SetDeploymentStatus(DeploymentStatus value)
ServiceInstance & WithSpec(SpecT &&value)
bool SpecHasBeenSet() const
void SetTemplateMinorVersion(TemplateMinorVersionT &&value)
void SetLastDeploymentSucceededAt(LastDeploymentSucceededAtT &&value)
ServiceInstance & WithName(NameT &&value)
ServiceInstance & WithTemplateMinorVersion(TemplateMinorVersionT &&value)
const Aws::String & GetTemplateMajorVersion() const
void SetEnvironmentName(EnvironmentNameT &&value)
ServiceInstance & WithTemplateMajorVersion(TemplateMajorVersionT &&value)
ServiceInstance & WithDeploymentStatus(DeploymentStatus value)
const Aws::String & GetLastClientRequestToken() const
const Aws::String & GetTemplateName() const
ServiceInstance & WithLastDeploymentSucceededAt(LastDeploymentSucceededAtT &&value)
void SetTemplateName(TemplateNameT &&value)
void SetLastAttemptedDeploymentId(LastAttemptedDeploymentIdT &&value)
bool ArnHasBeenSet() const
void SetLastClientRequestToken(LastClientRequestTokenT &&value)
bool LastAttemptedDeploymentIdHasBeenSet() const
const Aws::Utils::DateTime & GetLastDeploymentAttemptedAt() const
ServiceInstance & WithServiceName(ServiceNameT &&value)
bool LastDeploymentAttemptedAtHasBeenSet() const
bool CreatedAtHasBeenSet() const
bool LastClientRequestTokenHasBeenSet() const
AWS_PROTON_API ServiceInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PROTON_API ServiceInstance()=default
const Aws::Utils::DateTime & GetLastDeploymentSucceededAt() const
ServiceInstance & WithLastAttemptedDeploymentId(LastAttemptedDeploymentIdT &&value)
AWS_PROTON_API ServiceInstance(Aws::Utils::Json::JsonView jsonValue)
bool DeploymentStatusHasBeenSet() const
ServiceInstance & WithCreatedAt(CreatedAtT &&value)
bool DeploymentStatusMessageHasBeenSet() const
const Aws::String & GetEnvironmentName() const
void SetLastSucceededDeploymentId(LastSucceededDeploymentIdT &&value)
bool NameHasBeenSet() const
ServiceInstance & WithLastClientRequestToken(LastClientRequestTokenT &&value)
void SetLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT &&value)
bool TemplateMajorVersionHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool LastSucceededDeploymentIdHasBeenSet() const
ServiceInstance & WithLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT &&value)
DeploymentStatus GetDeploymentStatus() const
const Aws::String & GetName() const
const Aws::String & GetLastSucceededDeploymentId() const
ServiceInstance & WithTemplateName(TemplateNameT &&value)
ServiceInstance & WithDeploymentStatusMessage(DeploymentStatusMessageT &&value)
ServiceInstance & WithEnvironmentName(EnvironmentNameT &&value)
bool TemplateNameHasBeenSet() const
ServiceInstance & WithLastSucceededDeploymentId(LastSucceededDeploymentIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetServiceName() const
bool LastDeploymentSucceededAtHasBeenSet() const
const Aws::String & GetTemplateMinorVersion() const
const Aws::String & GetDeploymentStatusMessage() const
void SetTemplateMajorVersion(TemplateMajorVersionT &&value)
void SetDeploymentStatusMessage(DeploymentStatusMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue