7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
96 inline void SetSpec(
const char* value) { m_specHasBeenSet =
true; m_spec.assign(value); }
111 inline void SetTemplateMajorVersion(
const char* value) { m_templateMajorVersionHasBeenSet =
true; m_templateMajorVersion.assign(value); }
126 inline void SetTemplateMinorVersion(
const char* value) { m_templateMinorVersionHasBeenSet =
true; m_templateMinorVersion.assign(value); }
141 inline void SetTemplateName(
const char* value) { m_templateNameHasBeenSet =
true; m_templateName.assign(value); }
149 bool m_lastSuccessfulComponentDeploymentIdsHasBeenSet =
false;
151 Aws::String m_lastSuccessfulEnvironmentDeploymentId;
152 bool m_lastSuccessfulEnvironmentDeploymentIdHasBeenSet =
false;
154 Aws::String m_lastSuccessfulServicePipelineDeploymentId;
155 bool m_lastSuccessfulServicePipelineDeploymentIdHasBeenSet =
false;
158 bool m_specHasBeenSet =
false;
161 bool m_templateMajorVersionHasBeenSet =
false;
164 bool m_templateMinorVersionHasBeenSet =
false;
167 bool m_templateNameHasBeenSet =
false;
ServiceInstanceState & WithSpec(Aws::String &&value)
const Aws::String & GetLastSuccessfulEnvironmentDeploymentId() const
const Aws::String & GetLastSuccessfulServicePipelineDeploymentId() const
void SetLastSuccessfulEnvironmentDeploymentId(const Aws::String &value)
bool LastSuccessfulComponentDeploymentIdsHasBeenSet() const
ServiceInstanceState & AddLastSuccessfulComponentDeploymentIds(const Aws::String &value)
void SetTemplateMajorVersion(Aws::String &&value)
ServiceInstanceState & WithLastSuccessfulComponentDeploymentIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetTemplateMajorVersion() const
void SetLastSuccessfulComponentDeploymentIds(const Aws::Vector< Aws::String > &value)
ServiceInstanceState & WithTemplateName(Aws::String &&value)
const Aws::String & GetTemplateName() const
void SetTemplateMinorVersion(const Aws::String &value)
bool TemplateMinorVersionHasBeenSet() const
void SetTemplateMinorVersion(const char *value)
void SetTemplateMajorVersion(const char *value)
void SetLastSuccessfulEnvironmentDeploymentId(const char *value)
void SetLastSuccessfulServicePipelineDeploymentId(const char *value)
ServiceInstanceState & WithLastSuccessfulEnvironmentDeploymentId(const Aws::String &value)
bool LastSuccessfulServicePipelineDeploymentIdHasBeenSet() const
bool SpecHasBeenSet() const
ServiceInstanceState & WithTemplateMinorVersion(const Aws::String &value)
void SetTemplateMajorVersion(const Aws::String &value)
ServiceInstanceState & WithSpec(const Aws::String &value)
ServiceInstanceState & WithLastSuccessfulEnvironmentDeploymentId(const char *value)
ServiceInstanceState & WithTemplateMinorVersion(const char *value)
void SetLastSuccessfulComponentDeploymentIds(Aws::Vector< Aws::String > &&value)
AWS_PROTON_API ServiceInstanceState()
ServiceInstanceState & WithTemplateMajorVersion(const char *value)
void SetSpec(const char *value)
ServiceInstanceState & AddLastSuccessfulComponentDeploymentIds(const char *value)
ServiceInstanceState & WithTemplateMajorVersion(const Aws::String &value)
void SetTemplateMinorVersion(Aws::String &&value)
ServiceInstanceState & WithLastSuccessfulServicePipelineDeploymentId(const Aws::String &value)
void SetTemplateName(Aws::String &&value)
void SetTemplateName(const char *value)
AWS_PROTON_API ServiceInstanceState & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceInstanceState & WithTemplateMajorVersion(Aws::String &&value)
void SetSpec(const Aws::String &value)
void SetLastSuccessfulServicePipelineDeploymentId(Aws::String &&value)
ServiceInstanceState & AddLastSuccessfulComponentDeploymentIds(Aws::String &&value)
ServiceInstanceState & WithTemplateName(const char *value)
ServiceInstanceState & WithLastSuccessfulServicePipelineDeploymentId(const char *value)
const Aws::String & GetSpec() const
bool TemplateMajorVersionHasBeenSet() const
void SetLastSuccessfulServicePipelineDeploymentId(const Aws::String &value)
ServiceInstanceState & WithLastSuccessfulServicePipelineDeploymentId(Aws::String &&value)
bool TemplateNameHasBeenSet() const
void SetSpec(Aws::String &&value)
ServiceInstanceState & WithSpec(const char *value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceInstanceState & WithLastSuccessfulEnvironmentDeploymentId(Aws::String &&value)
ServiceInstanceState & WithTemplateMinorVersion(Aws::String &&value)
const Aws::String & GetTemplateMinorVersion() const
void SetTemplateName(const Aws::String &value)
bool LastSuccessfulEnvironmentDeploymentIdHasBeenSet() const
AWS_PROTON_API ServiceInstanceState(Aws::Utils::Json::JsonView jsonValue)
ServiceInstanceState & WithTemplateName(const Aws::String &value)
ServiceInstanceState & WithLastSuccessfulComponentDeploymentIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetLastSuccessfulComponentDeploymentIds() const
void SetLastSuccessfulEnvironmentDeploymentId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue