7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/proton/Proton_EXPORTS.h>
43 template <
typename LastSuccessfulComponentDeploymentIdsT = Aws::Vector<Aws::String>>
45 m_lastSuccessfulComponentDeploymentIdsHasBeenSet =
true;
46 m_lastSuccessfulComponentDeploymentIds = std::forward<LastSuccessfulComponentDeploymentIdsT>(value);
48 template <
typename LastSuccessfulComponentDeploymentIdsT = Aws::Vector<Aws::String>>
53 template <
typename LastSuccessfulComponentDeploymentIdsT = Aws::String>
55 m_lastSuccessfulComponentDeploymentIdsHasBeenSet =
true;
56 m_lastSuccessfulComponentDeploymentIds.emplace_back(std::forward<LastSuccessfulComponentDeploymentIdsT>(value));
68 template <
typename LastSuccessfulEnvironmentDeploymentIdT = Aws::String>
70 m_lastSuccessfulEnvironmentDeploymentIdHasBeenSet =
true;
71 m_lastSuccessfulEnvironmentDeploymentId = std::forward<LastSuccessfulEnvironmentDeploymentIdT>(value);
73 template <
typename LastSuccessfulEnvironmentDeploymentIdT = Aws::String>
87 template <
typename LastSuccessfulServicePipelineDeploymentIdT = Aws::String>
89 m_lastSuccessfulServicePipelineDeploymentIdHasBeenSet =
true;
90 m_lastSuccessfulServicePipelineDeploymentId = std::forward<LastSuccessfulServicePipelineDeploymentIdT>(value);
92 template <
typename LastSuccessfulServicePipelineDeploymentIdT = Aws::String>
105 template <
typename SpecT = Aws::String>
107 m_specHasBeenSet =
true;
108 m_spec = std::forward<SpecT>(value);
110 template <
typename SpecT = Aws::String>
112 SetSpec(std::forward<SpecT>(value));
124 template <
typename TemplateMajorVersionT = Aws::String>
126 m_templateMajorVersionHasBeenSet =
true;
127 m_templateMajorVersion = std::forward<TemplateMajorVersionT>(value);
129 template <
typename TemplateMajorVersionT = Aws::String>
143 template <
typename TemplateMinorVersionT = Aws::String>
145 m_templateMinorVersionHasBeenSet =
true;
146 m_templateMinorVersion = std::forward<TemplateMinorVersionT>(value);
148 template <
typename TemplateMinorVersionT = Aws::String>
162 template <
typename TemplateNameT = Aws::String>
164 m_templateNameHasBeenSet =
true;
165 m_templateName = std::forward<TemplateNameT>(value);
167 template <
typename TemplateNameT = Aws::String>
176 Aws::String m_lastSuccessfulEnvironmentDeploymentId;
178 Aws::String m_lastSuccessfulServicePipelineDeploymentId;
187 bool m_lastSuccessfulComponentDeploymentIdsHasBeenSet =
false;
188 bool m_lastSuccessfulEnvironmentDeploymentIdHasBeenSet =
false;
189 bool m_lastSuccessfulServicePipelineDeploymentIdHasBeenSet =
false;
190 bool m_specHasBeenSet =
false;
191 bool m_templateMajorVersionHasBeenSet =
false;
192 bool m_templateMinorVersionHasBeenSet =
false;
193 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