7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/proton/model/DeploymentStatus.h>
49 template<
typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
51 template<
typename ArnT = Aws::String>
61 template<
typename CreatedAtT = Aws::Utils::DateTime>
62 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
63 template<
typename CreatedAtT = Aws::Utils::DateTime>
83 template<
typename DeploymentStatusMessageT = Aws::String>
84 void SetDeploymentStatusMessage(DeploymentStatusMessageT&& value) { m_deploymentStatusMessageHasBeenSet =
true; m_deploymentStatusMessage = std::forward<DeploymentStatusMessageT>(value); }
85 template<
typename DeploymentStatusMessageT = Aws::String>
95 template<
typename EnvironmentNameT = Aws::String>
96 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet =
true; m_environmentName = std::forward<EnvironmentNameT>(value); }
97 template<
typename EnvironmentNameT = Aws::String>
107 template<
typename LastAttemptedDeploymentIdT = Aws::String>
108 void SetLastAttemptedDeploymentId(LastAttemptedDeploymentIdT&& value) { m_lastAttemptedDeploymentIdHasBeenSet =
true; m_lastAttemptedDeploymentId = std::forward<LastAttemptedDeploymentIdT>(value); }
109 template<
typename LastAttemptedDeploymentIdT = Aws::String>
119 template<
typename LastClientRequestTokenT = Aws::String>
120 void SetLastClientRequestToken(LastClientRequestTokenT&& value) { m_lastClientRequestTokenHasBeenSet =
true; m_lastClientRequestToken = std::forward<LastClientRequestTokenT>(value); }
121 template<
typename LastClientRequestTokenT = Aws::String>
131 template<
typename LastDeploymentAttemptedAtT = Aws::Utils::DateTime>
132 void SetLastDeploymentAttemptedAt(LastDeploymentAttemptedAtT&& value) { m_lastDeploymentAttemptedAtHasBeenSet =
true; m_lastDeploymentAttemptedAt = std::forward<LastDeploymentAttemptedAtT>(value); }
133 template<
typename LastDeploymentAttemptedAtT = Aws::Utils::DateTime>
143 template<
typename LastDeploymentSucceededAtT = Aws::Utils::DateTime>
144 void SetLastDeploymentSucceededAt(LastDeploymentSucceededAtT&& value) { m_lastDeploymentSucceededAtHasBeenSet =
true; m_lastDeploymentSucceededAt = std::forward<LastDeploymentSucceededAtT>(value); }
145 template<
typename LastDeploymentSucceededAtT = Aws::Utils::DateTime>
155 template<
typename LastSucceededDeploymentIdT = Aws::String>
156 void SetLastSucceededDeploymentId(LastSucceededDeploymentIdT&& value) { m_lastSucceededDeploymentIdHasBeenSet =
true; m_lastSucceededDeploymentId = std::forward<LastSucceededDeploymentIdT>(value); }
157 template<
typename LastSucceededDeploymentIdT = Aws::String>
167 template<
typename NameT = Aws::String>
168 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
169 template<
typename NameT = Aws::String>
179 template<
typename ServiceNameT = Aws::String>
180 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet =
true; m_serviceName = std::forward<ServiceNameT>(value); }
181 template<
typename ServiceNameT = Aws::String>
191 template<
typename SpecT = Aws::String>
192 void SetSpec(SpecT&& value) { m_specHasBeenSet =
true; m_spec = std::forward<SpecT>(value); }
193 template<
typename SpecT = Aws::String>
204 template<
typename TemplateMajorVersionT = Aws::String>
205 void SetTemplateMajorVersion(TemplateMajorVersionT&& value) { m_templateMajorVersionHasBeenSet =
true; m_templateMajorVersion = std::forward<TemplateMajorVersionT>(value); }
206 template<
typename TemplateMajorVersionT = Aws::String>
217 template<
typename TemplateMinorVersionT = Aws::String>
218 void SetTemplateMinorVersion(TemplateMinorVersionT&& value) { m_templateMinorVersionHasBeenSet =
true; m_templateMinorVersion = std::forward<TemplateMinorVersionT>(value); }
219 template<
typename TemplateMinorVersionT = Aws::String>
230 template<
typename TemplateNameT = Aws::String>
231 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet =
true; m_templateName = std::forward<TemplateNameT>(value); }
232 template<
typename TemplateNameT = Aws::String>
238 bool m_arnHasBeenSet =
false;
241 bool m_createdAtHasBeenSet =
false;
244 bool m_deploymentStatusHasBeenSet =
false;
247 bool m_deploymentStatusMessageHasBeenSet =
false;
250 bool m_environmentNameHasBeenSet =
false;
253 bool m_lastAttemptedDeploymentIdHasBeenSet =
false;
256 bool m_lastClientRequestTokenHasBeenSet =
false;
259 bool m_lastDeploymentAttemptedAtHasBeenSet =
false;
262 bool m_lastDeploymentSucceededAtHasBeenSet =
false;
265 bool m_lastSucceededDeploymentIdHasBeenSet =
false;
268 bool m_nameHasBeenSet =
false;
271 bool m_serviceNameHasBeenSet =
false;
274 bool m_specHasBeenSet =
false;
277 bool m_templateMajorVersionHasBeenSet =
false;
280 bool m_templateMinorVersionHasBeenSet =
false;
283 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