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>
50 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
51 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
89 inline void SetDeploymentStatusMessage(
const char* value) { m_deploymentStatusMessageHasBeenSet =
true; m_deploymentStatusMessage.assign(value); }
103 inline void SetEnvironmentName(
const char* value) { m_environmentNameHasBeenSet =
true; m_environmentName.assign(value); }
117 inline void SetLastAttemptedDeploymentId(
const char* value) { m_lastAttemptedDeploymentIdHasBeenSet =
true; m_lastAttemptedDeploymentId.assign(value); }
131 inline void SetLastClientRequestToken(
const char* value) { m_lastClientRequestTokenHasBeenSet =
true; m_lastClientRequestToken.assign(value); }
169 inline void SetLastSucceededDeploymentId(
const char* value) { m_lastSucceededDeploymentIdHasBeenSet =
true; m_lastSucceededDeploymentId.assign(value); }
183 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
197 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
211 inline void SetSpec(
const char* value) { m_specHasBeenSet =
true; m_spec.assign(value); }
226 inline void SetTemplateMajorVersion(
const char* value) { m_templateMajorVersionHasBeenSet =
true; m_templateMajorVersion.assign(value); }
241 inline void SetTemplateMinorVersion(
const char* value) { m_templateMinorVersionHasBeenSet =
true; m_templateMinorVersion.assign(value); }
256 inline void SetTemplateName(
const char* value) { m_templateNameHasBeenSet =
true; m_templateName.assign(value); }
264 bool m_arnHasBeenSet =
false;
267 bool m_createdAtHasBeenSet =
false;
270 bool m_deploymentStatusHasBeenSet =
false;
273 bool m_deploymentStatusMessageHasBeenSet =
false;
276 bool m_environmentNameHasBeenSet =
false;
279 bool m_lastAttemptedDeploymentIdHasBeenSet =
false;
282 bool m_lastClientRequestTokenHasBeenSet =
false;
285 bool m_lastDeploymentAttemptedAtHasBeenSet =
false;
288 bool m_lastDeploymentSucceededAtHasBeenSet =
false;
291 bool m_lastSucceededDeploymentIdHasBeenSet =
false;
294 bool m_nameHasBeenSet =
false;
297 bool m_serviceNameHasBeenSet =
false;
300 bool m_specHasBeenSet =
false;
303 bool m_templateMajorVersionHasBeenSet =
false;
306 bool m_templateMinorVersionHasBeenSet =
false;
309 bool m_templateNameHasBeenSet =
false;
bool TemplateMinorVersionHasBeenSet() const
bool EnvironmentNameHasBeenSet() const
bool ServiceNameHasBeenSet() const
const Aws::String & GetArn() const
void SetDeploymentStatusMessage(const Aws::String &value)
void SetTemplateMinorVersion(const Aws::String &value)
ServiceInstance & WithTemplateMinorVersion(const Aws::String &value)
ServiceInstance & WithArn(const char *value)
ServiceInstance & WithTemplateMajorVersion(Aws::String &&value)
void SetTemplateName(const char *value)
void SetTemplateName(const Aws::String &value)
void SetTemplateMinorVersion(Aws::String &&value)
void SetTemplateName(Aws::String &&value)
const Aws::String & GetLastAttemptedDeploymentId() const
const Aws::String & GetSpec() const
ServiceInstance & WithLastSucceededDeploymentId(const Aws::String &value)
void SetLastSucceededDeploymentId(const Aws::String &value)
bool SpecHasBeenSet() const
void SetLastClientRequestToken(const char *value)
void SetLastAttemptedDeploymentId(const char *value)
void SetEnvironmentName(const Aws::String &value)
void SetLastDeploymentSucceededAt(const Aws::Utils::DateTime &value)
void SetTemplateMajorVersion(Aws::String &&value)
void SetName(Aws::String &&value)
ServiceInstance & WithServiceName(const Aws::String &value)
void SetEnvironmentName(Aws::String &&value)
ServiceInstance & WithLastDeploymentAttemptedAt(const Aws::Utils::DateTime &value)
void SetLastDeploymentSucceededAt(Aws::Utils::DateTime &&value)
void SetLastDeploymentAttemptedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetTemplateMajorVersion() const
void SetLastClientRequestToken(const Aws::String &value)
ServiceInstance & WithLastDeploymentSucceededAt(Aws::Utils::DateTime &&value)
ServiceInstance & WithDeploymentStatus(const DeploymentStatus &value)
const Aws::String & GetLastClientRequestToken() const
const Aws::String & GetTemplateName() const
ServiceInstance & WithLastDeploymentSucceededAt(const Aws::Utils::DateTime &value)
ServiceInstance & WithServiceName(Aws::String &&value)
ServiceInstance & WithLastSucceededDeploymentId(const char *value)
ServiceInstance & WithLastClientRequestToken(const char *value)
ServiceInstance & WithTemplateName(Aws::String &&value)
void SetLastClientRequestToken(Aws::String &&value)
ServiceInstance & WithLastDeploymentAttemptedAt(Aws::Utils::DateTime &&value)
bool ArnHasBeenSet() const
void SetDeploymentStatusMessage(const char *value)
ServiceInstance & WithEnvironmentName(Aws::String &&value)
bool LastAttemptedDeploymentIdHasBeenSet() const
const Aws::Utils::DateTime & GetLastDeploymentAttemptedAt() const
bool LastDeploymentAttemptedAtHasBeenSet() const
ServiceInstance & WithSpec(const Aws::String &value)
bool CreatedAtHasBeenSet() const
ServiceInstance & WithCreatedAt(Aws::Utils::DateTime &&value)
bool LastClientRequestTokenHasBeenSet() const
void SetDeploymentStatus(const DeploymentStatus &value)
AWS_PROTON_API ServiceInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceInstance & WithDeploymentStatus(DeploymentStatus &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetSpec(Aws::String &&value)
ServiceInstance & WithTemplateMajorVersion(const char *value)
const Aws::Utils::DateTime & GetLastDeploymentSucceededAt() const
void SetServiceName(const Aws::String &value)
void SetTemplateMajorVersion(const char *value)
void SetLastSucceededDeploymentId(Aws::String &&value)
const DeploymentStatus & GetDeploymentStatus() const
ServiceInstance & WithSpec(const char *value)
ServiceInstance & WithLastAttemptedDeploymentId(const Aws::String &value)
ServiceInstance & WithLastClientRequestToken(const Aws::String &value)
ServiceInstance & WithDeploymentStatusMessage(const Aws::String &value)
void SetLastSucceededDeploymentId(const char *value)
void SetArn(const Aws::String &value)
AWS_PROTON_API ServiceInstance(Aws::Utils::Json::JsonView jsonValue)
bool DeploymentStatusHasBeenSet() const
ServiceInstance & WithTemplateName(const Aws::String &value)
ServiceInstance & WithCreatedAt(const Aws::Utils::DateTime &value)
ServiceInstance & WithTemplateName(const char *value)
void SetEnvironmentName(const char *value)
bool DeploymentStatusMessageHasBeenSet() const
const Aws::String & GetEnvironmentName() const
bool NameHasBeenSet() const
void SetTemplateMajorVersion(const Aws::String &value)
bool TemplateMajorVersionHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetLastAttemptedDeploymentId(const Aws::String &value)
bool LastSucceededDeploymentIdHasBeenSet() const
ServiceInstance & WithLastAttemptedDeploymentId(const char *value)
void SetServiceName(Aws::String &&value)
void SetLastAttemptedDeploymentId(Aws::String &&value)
AWS_PROTON_API ServiceInstance()
ServiceInstance & WithEnvironmentName(const char *value)
const Aws::String & GetName() const
const Aws::String & GetLastSucceededDeploymentId() const
void SetSpec(const Aws::String &value)
ServiceInstance & WithName(const Aws::String &value)
void SetDeploymentStatusMessage(Aws::String &&value)
ServiceInstance & WithName(const char *value)
bool TemplateNameHasBeenSet() const
void SetName(const Aws::String &value)
ServiceInstance & WithEnvironmentName(const Aws::String &value)
void SetArn(const char *value)
ServiceInstance & WithDeploymentStatusMessage(Aws::String &&value)
ServiceInstance & WithServiceName(const char *value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceInstance & WithArn(const Aws::String &value)
ServiceInstance & WithTemplateMinorVersion(Aws::String &&value)
ServiceInstance & WithSpec(Aws::String &&value)
void SetServiceName(const char *value)
const Aws::String & GetServiceName() const
void SetName(const char *value)
ServiceInstance & WithLastSucceededDeploymentId(Aws::String &&value)
bool LastDeploymentSucceededAtHasBeenSet() const
ServiceInstance & WithTemplateMajorVersion(const Aws::String &value)
ServiceInstance & WithLastClientRequestToken(Aws::String &&value)
void SetArn(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetDeploymentStatus(DeploymentStatus &&value)
ServiceInstance & WithArn(Aws::String &&value)
void SetSpec(const char *value)
const Aws::String & GetTemplateMinorVersion() const
const Aws::String & GetDeploymentStatusMessage() const
ServiceInstance & WithTemplateMinorVersion(const char *value)
ServiceInstance & WithDeploymentStatusMessage(const char *value)
ServiceInstance & WithLastAttemptedDeploymentId(Aws::String &&value)
void SetLastDeploymentAttemptedAt(Aws::Utils::DateTime &&value)
void SetTemplateMinorVersion(const char *value)
ServiceInstance & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue