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>
49 template<
typename LastSuccessfulComponentDeploymentIdsT = Aws::Vector<Aws::String>>
50 void SetLastSuccessfulComponentDeploymentIds(LastSuccessfulComponentDeploymentIdsT&& value) { m_lastSuccessfulComponentDeploymentIdsHasBeenSet =
true; m_lastSuccessfulComponentDeploymentIds = std::forward<LastSuccessfulComponentDeploymentIdsT>(value); }
51 template<
typename LastSuccessfulComponentDeploymentIdsT = Aws::Vector<Aws::String>>
53 template<
typename LastSuccessfulComponentDeploymentIdsT = Aws::String>
64 template<
typename LastSuccessfulEnvironmentDeploymentIdT = Aws::String>
65 void SetLastSuccessfulEnvironmentDeploymentId(LastSuccessfulEnvironmentDeploymentIdT&& value) { m_lastSuccessfulEnvironmentDeploymentIdHasBeenSet =
true; m_lastSuccessfulEnvironmentDeploymentId = std::forward<LastSuccessfulEnvironmentDeploymentIdT>(value); }
66 template<
typename LastSuccessfulEnvironmentDeploymentIdT = Aws::String>
77 template<
typename LastSuccessfulServicePipelineDeploymentIdT = Aws::String>
78 void SetLastSuccessfulServicePipelineDeploymentId(LastSuccessfulServicePipelineDeploymentIdT&& value) { m_lastSuccessfulServicePipelineDeploymentIdHasBeenSet =
true; m_lastSuccessfulServicePipelineDeploymentId = std::forward<LastSuccessfulServicePipelineDeploymentIdT>(value); }
79 template<
typename LastSuccessfulServicePipelineDeploymentIdT = Aws::String>
89 template<
typename SpecT = Aws::String>
90 void SetSpec(SpecT&& value) { m_specHasBeenSet =
true; m_spec = std::forward<SpecT>(value); }
91 template<
typename SpecT = Aws::String>
102 template<
typename TemplateMajorVersionT = Aws::String>
103 void SetTemplateMajorVersion(TemplateMajorVersionT&& value) { m_templateMajorVersionHasBeenSet =
true; m_templateMajorVersion = std::forward<TemplateMajorVersionT>(value); }
104 template<
typename TemplateMajorVersionT = Aws::String>
115 template<
typename TemplateMinorVersionT = Aws::String>
116 void SetTemplateMinorVersion(TemplateMinorVersionT&& value) { m_templateMinorVersionHasBeenSet =
true; m_templateMinorVersion = std::forward<TemplateMinorVersionT>(value); }
117 template<
typename TemplateMinorVersionT = Aws::String>
128 template<
typename TemplateNameT = Aws::String>
129 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet =
true; m_templateName = std::forward<TemplateNameT>(value); }
130 template<
typename TemplateNameT = Aws::String>
136 bool m_lastSuccessfulComponentDeploymentIdsHasBeenSet =
false;
138 Aws::String m_lastSuccessfulEnvironmentDeploymentId;
139 bool m_lastSuccessfulEnvironmentDeploymentIdHasBeenSet =
false;
141 Aws::String m_lastSuccessfulServicePipelineDeploymentId;
142 bool m_lastSuccessfulServicePipelineDeploymentIdHasBeenSet =
false;
145 bool m_specHasBeenSet =
false;
148 bool m_templateMajorVersionHasBeenSet =
false;
151 bool m_templateMinorVersionHasBeenSet =
false;
154 bool m_templateNameHasBeenSet =
false;
void SetTemplateMinorVersion(TemplateMinorVersionT &&value)
void SetSpec(SpecT &&value)
const Aws::String & GetLastSuccessfulEnvironmentDeploymentId() const
const Aws::String & GetLastSuccessfulServicePipelineDeploymentId() const
bool LastSuccessfulComponentDeploymentIdsHasBeenSet() const
AWS_PROTON_API ServiceInstanceState()=default
void SetTemplateName(TemplateNameT &&value)
ServiceInstanceState & WithTemplateMajorVersion(TemplateMajorVersionT &&value)
const Aws::String & GetTemplateMajorVersion() const
void SetLastSuccessfulComponentDeploymentIds(LastSuccessfulComponentDeploymentIdsT &&value)
const Aws::String & GetTemplateName() const
void SetLastSuccessfulServicePipelineDeploymentId(LastSuccessfulServicePipelineDeploymentIdT &&value)
bool TemplateMinorVersionHasBeenSet() const
void SetLastSuccessfulEnvironmentDeploymentId(LastSuccessfulEnvironmentDeploymentIdT &&value)
ServiceInstanceState & WithSpec(SpecT &&value)
ServiceInstanceState & WithLastSuccessfulComponentDeploymentIds(LastSuccessfulComponentDeploymentIdsT &&value)
ServiceInstanceState & AddLastSuccessfulComponentDeploymentIds(LastSuccessfulComponentDeploymentIdsT &&value)
bool LastSuccessfulServicePipelineDeploymentIdHasBeenSet() const
bool SpecHasBeenSet() const
void SetTemplateMajorVersion(TemplateMajorVersionT &&value)
ServiceInstanceState & WithLastSuccessfulEnvironmentDeploymentId(LastSuccessfulEnvironmentDeploymentIdT &&value)
AWS_PROTON_API ServiceInstanceState & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceInstanceState & WithTemplateName(TemplateNameT &&value)
ServiceInstanceState & WithTemplateMinorVersion(TemplateMinorVersionT &&value)
const Aws::String & GetSpec() const
bool TemplateMajorVersionHasBeenSet() const
ServiceInstanceState & WithLastSuccessfulServicePipelineDeploymentId(LastSuccessfulServicePipelineDeploymentIdT &&value)
bool TemplateNameHasBeenSet() const
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTemplateMinorVersion() const
bool LastSuccessfulEnvironmentDeploymentIdHasBeenSet() const
AWS_PROTON_API ServiceInstanceState(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetLastSuccessfulComponentDeploymentIds() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue