7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/proton/Proton_EXPORTS.h>
11#include <aws/proton/model/CompatibleEnvironmentTemplate.h>
12#include <aws/proton/model/ServiceTemplateSupportedComponentSourceType.h>
13#include <aws/proton/model/TemplateVersionStatus.h>
46 template <
typename ArnT = Aws::String>
48 m_arnHasBeenSet =
true;
49 m_arn = std::forward<ArnT>(value);
51 template <
typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
64 return m_compatibleEnvironmentTemplates;
67 template <
typename CompatibleEnvironmentTemplatesT = Aws::Vector<CompatibleEnvironmentTemplate>>
69 m_compatibleEnvironmentTemplatesHasBeenSet =
true;
70 m_compatibleEnvironmentTemplates = std::forward<CompatibleEnvironmentTemplatesT>(value);
72 template <
typename CompatibleEnvironmentTemplatesT = Aws::Vector<CompatibleEnvironmentTemplate>>
77 template <
typename CompatibleEnvironmentTemplatesT = CompatibleEnvironmentTemplate>
79 m_compatibleEnvironmentTemplatesHasBeenSet =
true;
80 m_compatibleEnvironmentTemplates.emplace_back(std::forward<CompatibleEnvironmentTemplatesT>(value));
91 template <
typename CreatedAtT = Aws::Utils::DateTime>
93 m_createdAtHasBeenSet =
true;
94 m_createdAt = std::forward<CreatedAtT>(value);
96 template <
typename CreatedAtT = Aws::Utils::DateTime>
109 template <
typename DescriptionT = Aws::String>
111 m_descriptionHasBeenSet =
true;
112 m_description = std::forward<DescriptionT>(value);
114 template <
typename DescriptionT = Aws::String>
127 template <
typename LastModifiedAtT = Aws::Utils::DateTime>
129 m_lastModifiedAtHasBeenSet =
true;
130 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
132 template <
typename LastModifiedAtT = Aws::Utils::DateTime>
146 template <
typename MajorVersionT = Aws::String>
148 m_majorVersionHasBeenSet =
true;
149 m_majorVersion = std::forward<MajorVersionT>(value);
151 template <
typename MajorVersionT = Aws::String>
164 template <
typename MinorVersionT = Aws::String>
166 m_minorVersionHasBeenSet =
true;
167 m_minorVersion = std::forward<MinorVersionT>(value);
169 template <
typename MinorVersionT = Aws::String>
182 template <
typename RecommendedMinorVersionT = Aws::String>
184 m_recommendedMinorVersionHasBeenSet =
true;
185 m_recommendedMinorVersion = std::forward<RecommendedMinorVersionT>(value);
187 template <
typename RecommendedMinorVersionT = Aws::String>
200 template <
typename SchemaT = Aws::String>
202 m_schemaHasBeenSet =
true;
203 m_schema = std::forward<SchemaT>(value);
205 template <
typename SchemaT = Aws::String>
219 m_statusHasBeenSet =
true;
234 template <
typename StatusMessageT = Aws::String>
236 m_statusMessageHasBeenSet =
true;
237 m_statusMessage = std::forward<StatusMessageT>(value);
239 template <
typename StatusMessageT = Aws::String>
255 return m_supportedComponentSources;
258 template <
typename SupportedComponentSourcesT = Aws::Vector<ServiceTemplateSupportedComponentSourceType>>
260 m_supportedComponentSourcesHasBeenSet =
true;
261 m_supportedComponentSources = std::forward<SupportedComponentSourcesT>(value);
263 template <
typename SupportedComponentSourcesT = Aws::Vector<ServiceTemplateSupportedComponentSourceType>>
269 m_supportedComponentSourcesHasBeenSet =
true;
270 m_supportedComponentSources.push_back(value);
281 template <
typename TemplateNameT = Aws::String>
283 m_templateNameHasBeenSet =
true;
284 m_templateName = std::forward<TemplateNameT>(value);
286 template <
typename TemplateNameT = Aws::String>
318 bool m_arnHasBeenSet =
false;
319 bool m_compatibleEnvironmentTemplatesHasBeenSet =
false;
320 bool m_createdAtHasBeenSet =
false;
321 bool m_descriptionHasBeenSet =
false;
322 bool m_lastModifiedAtHasBeenSet =
false;
323 bool m_majorVersionHasBeenSet =
false;
324 bool m_minorVersionHasBeenSet =
false;
325 bool m_recommendedMinorVersionHasBeenSet =
false;
326 bool m_schemaHasBeenSet =
false;
327 bool m_statusHasBeenSet =
false;
328 bool m_statusMessageHasBeenSet =
false;
329 bool m_supportedComponentSourcesHasBeenSet =
false;
330 bool m_templateNameHasBeenSet =
false;
void SetTemplateName(TemplateNameT &&value)
bool StatusHasBeenSet() const
bool CreatedAtHasBeenSet() const
void SetLastModifiedAt(LastModifiedAtT &&value)
bool SupportedComponentSourcesHasBeenSet() const
TemplateVersionStatus GetStatus() const
AWS_PROTON_API ServiceTemplateVersion(Aws::Utils::Json::JsonView jsonValue)
AWS_PROTON_API ServiceTemplateVersion()=default
ServiceTemplateVersion & WithSchema(SchemaT &&value)
const Aws::Vector< CompatibleEnvironmentTemplate > & GetCompatibleEnvironmentTemplates() const
void SetCreatedAt(CreatedAtT &&value)
ServiceTemplateVersion & WithCreatedAt(CreatedAtT &&value)
ServiceTemplateVersion & WithMinorVersion(MinorVersionT &&value)
void SetCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplatesT &&value)
ServiceTemplateVersion & WithCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplatesT &&value)
void SetSchema(SchemaT &&value)
bool MinorVersionHasBeenSet() const
ServiceTemplateVersion & AddSupportedComponentSources(ServiceTemplateSupportedComponentSourceType value)
bool ArnHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedAt() const
ServiceTemplateVersion & WithSupportedComponentSources(SupportedComponentSourcesT &&value)
ServiceTemplateVersion & WithDescription(DescriptionT &&value)
const Aws::Vector< ServiceTemplateSupportedComponentSourceType > & GetSupportedComponentSources() const
void SetSupportedComponentSources(SupportedComponentSourcesT &&value)
bool StatusMessageHasBeenSet() const
void SetMinorVersion(MinorVersionT &&value)
const Aws::String & GetMajorVersion() const
const Aws::String & GetRecommendedMinorVersion() const
ServiceTemplateVersion & AddCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplatesT &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(TemplateVersionStatus value)
bool LastModifiedAtHasBeenSet() const
void SetRecommendedMinorVersion(RecommendedMinorVersionT &&value)
const Aws::String & GetArn() const
bool CompatibleEnvironmentTemplatesHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
ServiceTemplateVersion & WithRecommendedMinorVersion(RecommendedMinorVersionT &&value)
ServiceTemplateVersion & WithMajorVersion(MajorVersionT &&value)
bool MajorVersionHasBeenSet() const
AWS_PROTON_API ServiceTemplateVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMinorVersion() const
bool DescriptionHasBeenSet() const
const Aws::String & GetStatusMessage() const
ServiceTemplateVersion & WithStatus(TemplateVersionStatus value)
const Aws::String & GetTemplateName() const
void SetMajorVersion(MajorVersionT &&value)
ServiceTemplateVersion & WithTemplateName(TemplateNameT &&value)
void SetDescription(DescriptionT &&value)
bool TemplateNameHasBeenSet() const
ServiceTemplateVersion & WithStatusMessage(StatusMessageT &&value)
ServiceTemplateVersion & WithLastModifiedAt(LastModifiedAtT &&value)
const Aws::String & GetSchema() const
void SetArn(ArnT &&value)
const Aws::String & GetDescription() const
bool RecommendedMinorVersionHasBeenSet() const
void SetStatusMessage(StatusMessageT &&value)
bool SchemaHasBeenSet() const
ServiceTemplateVersion & WithArn(ArnT &&value)
ServiceTemplateSupportedComponentSourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue