7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/proton/model/TemplateVersionStatus.h>
12#include <aws/proton/model/CompatibleEnvironmentTemplate.h>
13#include <aws/proton/model/ServiceTemplateSupportedComponentSourceType.h>
53 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
54 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
95 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
122 inline void SetMajorVersion(
const char* value) { m_majorVersionHasBeenSet =
true; m_majorVersion.assign(value); }
136 inline void SetMinorVersion(
const char* value) { m_minorVersionHasBeenSet =
true; m_minorVersion.assign(value); }
150 inline void SetRecommendedMinorVersion(
const char* value) { m_recommendedMinorVersionHasBeenSet =
true; m_recommendedMinorVersion.assign(value); }
164 inline void SetSchema(
const char* value) { m_schemaHasBeenSet =
true; m_schema.assign(value); }
190 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
222 inline void SetTemplateName(
const char* value) { m_templateNameHasBeenSet =
true; m_templateName.assign(value); }
230 bool m_arnHasBeenSet =
false;
233 bool m_compatibleEnvironmentTemplatesHasBeenSet =
false;
236 bool m_createdAtHasBeenSet =
false;
239 bool m_descriptionHasBeenSet =
false;
242 bool m_lastModifiedAtHasBeenSet =
false;
245 bool m_majorVersionHasBeenSet =
false;
248 bool m_minorVersionHasBeenSet =
false;
251 bool m_recommendedMinorVersionHasBeenSet =
false;
254 bool m_schemaHasBeenSet =
false;
257 bool m_statusHasBeenSet =
false;
260 bool m_statusMessageHasBeenSet =
false;
263 bool m_supportedComponentSourcesHasBeenSet =
false;
266 bool m_templateNameHasBeenSet =
false;
ServiceTemplateVersion & WithSchema(const Aws::String &value)
ServiceTemplateVersion & WithArn(const char *value)
void SetSupportedComponentSources(const Aws::Vector< ServiceTemplateSupportedComponentSourceType > &value)
ServiceTemplateVersion & WithLastModifiedAt(const Aws::Utils::DateTime &value)
bool StatusHasBeenSet() const
void SetArn(Aws::String &&value)
bool CreatedAtHasBeenSet() const
void SetStatusMessage(Aws::String &&value)
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
ServiceTemplateVersion & WithDescription(const char *value)
bool SupportedComponentSourcesHasBeenSet() const
void SetCompatibleEnvironmentTemplates(Aws::Vector< CompatibleEnvironmentTemplate > &&value)
void SetStatus(const TemplateVersionStatus &value)
void SetMajorVersion(const Aws::String &value)
AWS_PROTON_API ServiceTemplateVersion(Aws::Utils::Json::JsonView jsonValue)
ServiceTemplateVersion & WithArn(Aws::String &&value)
ServiceTemplateVersion & WithRecommendedMinorVersion(const Aws::String &value)
ServiceTemplateVersion & WithMajorVersion(const char *value)
ServiceTemplateVersion & WithLastModifiedAt(Aws::Utils::DateTime &&value)
ServiceTemplateVersion & WithStatusMessage(Aws::String &&value)
ServiceTemplateVersion & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Vector< CompatibleEnvironmentTemplate > & GetCompatibleEnvironmentTemplates() const
const TemplateVersionStatus & GetStatus() const
ServiceTemplateVersion & WithDescription(const Aws::String &value)
void SetDescription(Aws::String &&value)
ServiceTemplateVersion & WithCompatibleEnvironmentTemplates(const Aws::Vector< CompatibleEnvironmentTemplate > &value)
void SetRecommendedMinorVersion(const Aws::String &value)
ServiceTemplateVersion & WithArn(const Aws::String &value)
void SetLastModifiedAt(Aws::Utils::DateTime &&value)
ServiceTemplateVersion & WithDescription(Aws::String &&value)
ServiceTemplateVersion & AddCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplate &&value)
void SetSchema(const Aws::String &value)
void SetStatusMessage(const char *value)
void SetTemplateName(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetSchema(const char *value)
bool MinorVersionHasBeenSet() const
void SetStatus(TemplateVersionStatus &&value)
bool ArnHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedAt() const
void SetSupportedComponentSources(Aws::Vector< ServiceTemplateSupportedComponentSourceType > &&value)
void SetMinorVersion(Aws::String &&value)
const Aws::Vector< ServiceTemplateSupportedComponentSourceType > & GetSupportedComponentSources() const
bool StatusMessageHasBeenSet() const
const Aws::String & GetMajorVersion() const
const Aws::String & GetRecommendedMinorVersion() const
ServiceTemplateVersion & WithSchema(Aws::String &&value)
void SetDescription(const char *value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceTemplateVersion & WithStatusMessage(const char *value)
void SetTemplateName(const char *value)
bool LastModifiedAtHasBeenSet() const
const Aws::String & GetArn() const
ServiceTemplateVersion & WithSchema(const char *value)
bool CompatibleEnvironmentTemplatesHasBeenSet() const
void SetCompatibleEnvironmentTemplates(const Aws::Vector< CompatibleEnvironmentTemplate > &value)
const Aws::Utils::DateTime & GetCreatedAt() const
ServiceTemplateVersion & AddSupportedComponentSources(const ServiceTemplateSupportedComponentSourceType &value)
ServiceTemplateVersion & WithMinorVersion(Aws::String &&value)
ServiceTemplateVersion & WithMajorVersion(const Aws::String &value)
ServiceTemplateVersion & WithRecommendedMinorVersion(Aws::String &&value)
void SetMinorVersion(const Aws::String &value)
void SetRecommendedMinorVersion(const char *value)
void SetArn(const char *value)
bool MajorVersionHasBeenSet() const
AWS_PROTON_API ServiceTemplateVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceTemplateVersion & WithRecommendedMinorVersion(const char *value)
const Aws::String & GetMinorVersion() const
ServiceTemplateVersion & WithTemplateName(Aws::String &&value)
bool DescriptionHasBeenSet() const
void SetSchema(Aws::String &&value)
ServiceTemplateVersion & WithMinorVersion(const char *value)
void SetMajorVersion(const char *value)
const Aws::String & GetStatusMessage() const
AWS_PROTON_API ServiceTemplateVersion()
ServiceTemplateVersion & WithStatusMessage(const Aws::String &value)
void SetStatusMessage(const Aws::String &value)
ServiceTemplateVersion & WithSupportedComponentSources(Aws::Vector< ServiceTemplateSupportedComponentSourceType > &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetRecommendedMinorVersion(Aws::String &&value)
const Aws::String & GetTemplateName() const
void SetArn(const Aws::String &value)
void SetMajorVersion(Aws::String &&value)
ServiceTemplateVersion & WithCreatedAt(const Aws::Utils::DateTime &value)
ServiceTemplateVersion & WithSupportedComponentSources(const Aws::Vector< ServiceTemplateSupportedComponentSourceType > &value)
ServiceTemplateVersion & WithTemplateName(const Aws::String &value)
void SetTemplateName(Aws::String &&value)
ServiceTemplateVersion & AddSupportedComponentSources(ServiceTemplateSupportedComponentSourceType &&value)
void SetDescription(const Aws::String &value)
ServiceTemplateVersion & WithTemplateName(const char *value)
ServiceTemplateVersion & WithMinorVersion(const Aws::String &value)
ServiceTemplateVersion & WithCompatibleEnvironmentTemplates(Aws::Vector< CompatibleEnvironmentTemplate > &&value)
ServiceTemplateVersion & WithStatus(const TemplateVersionStatus &value)
bool TemplateNameHasBeenSet() const
ServiceTemplateVersion & AddCompatibleEnvironmentTemplates(const CompatibleEnvironmentTemplate &value)
ServiceTemplateVersion & WithMajorVersion(Aws::String &&value)
const Aws::String & GetSchema() const
void SetMinorVersion(const char *value)
const Aws::String & GetDescription() const
bool RecommendedMinorVersionHasBeenSet() const
bool SchemaHasBeenSet() const
ServiceTemplateVersion & WithStatus(TemplateVersionStatus &&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