7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/proton/ProtonRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/proton/model/TemplateVersionSourceInput.h>
12#include <aws/proton/model/CompatibleEnvironmentTemplateInput.h>
13#include <aws/proton/model/ServiceTemplateSupportedComponentSourceType.h>
14#include <aws/proton/model/Tag.h>
16#include <aws/core/utils/UUID.h>
52 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
82 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
98 inline void SetMajorVersion(
const char* value) { m_majorVersionHasBeenSet =
true; m_majorVersion.assign(value); }
161 inline void SetTemplateName(
const char* value) { m_templateNameHasBeenSet =
true; m_templateName.assign(value); }
169 bool m_clientTokenHasBeenSet =
false;
172 bool m_compatibleEnvironmentTemplatesHasBeenSet =
false;
175 bool m_descriptionHasBeenSet =
false;
178 bool m_majorVersionHasBeenSet =
false;
181 bool m_sourceHasBeenSet =
false;
184 bool m_supportedComponentSourcesHasBeenSet =
false;
187 bool m_tagsHasBeenSet =
false;
190 bool m_templateNameHasBeenSet =
false;
bool CompatibleEnvironmentTemplatesHasBeenSet() const
void SetTemplateName(const char *value)
void SetClientToken(const char *value)
bool TemplateNameHasBeenSet() const
CreateServiceTemplateVersionRequest & WithSupportedComponentSources(const Aws::Vector< ServiceTemplateSupportedComponentSourceType > &value)
const Aws::String & GetDescription() const
AWS_PROTON_API CreateServiceTemplateVersionRequest()
CreateServiceTemplateVersionRequest & WithClientToken(const char *value)
bool TagsHasBeenSet() const
CreateServiceTemplateVersionRequest & WithTemplateName(Aws::String &&value)
void SetSupportedComponentSources(Aws::Vector< ServiceTemplateSupportedComponentSourceType > &&value)
const Aws::String & GetMajorVersion() const
CreateServiceTemplateVersionRequest & WithDescription(const char *value)
void SetDescription(const Aws::String &value)
CreateServiceTemplateVersionRequest & WithClientToken(Aws::String &&value)
CreateServiceTemplateVersionRequest & AddSupportedComponentSources(ServiceTemplateSupportedComponentSourceType &&value)
bool SupportedComponentSourcesHasBeenSet() const
void SetTemplateName(Aws::String &&value)
void SetSource(const TemplateVersionSourceInput &value)
CreateServiceTemplateVersionRequest & WithSource(TemplateVersionSourceInput &&value)
CreateServiceTemplateVersionRequest & WithDescription(const Aws::String &value)
const TemplateVersionSourceInput & GetSource() const
const Aws::String & GetTemplateName() const
CreateServiceTemplateVersionRequest & WithClientToken(const Aws::String &value)
void SetSource(TemplateVersionSourceInput &&value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTags(const Aws::Vector< Tag > &value)
void SetClientToken(const Aws::String &value)
CreateServiceTemplateVersionRequest & AddTags(const Tag &value)
CreateServiceTemplateVersionRequest & AddCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplateInput &&value)
bool SourceHasBeenSet() const
CreateServiceTemplateVersionRequest & WithMajorVersion(const Aws::String &value)
void SetTemplateName(const Aws::String &value)
CreateServiceTemplateVersionRequest & WithMajorVersion(Aws::String &&value)
void SetMajorVersion(const char *value)
void SetDescription(Aws::String &&value)
CreateServiceTemplateVersionRequest & AddTags(Tag &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetClientToken() const
CreateServiceTemplateVersionRequest & AddCompatibleEnvironmentTemplates(const CompatibleEnvironmentTemplateInput &value)
CreateServiceTemplateVersionRequest & WithTemplateName(const Aws::String &value)
void SetClientToken(Aws::String &&value)
CreateServiceTemplateVersionRequest & WithCompatibleEnvironmentTemplates(Aws::Vector< CompatibleEnvironmentTemplateInput > &&value)
void SetTags(Aws::Vector< Tag > &&value)
virtual const char * GetServiceRequestName() const override
CreateServiceTemplateVersionRequest & AddSupportedComponentSources(const ServiceTemplateSupportedComponentSourceType &value)
CreateServiceTemplateVersionRequest & WithSupportedComponentSources(Aws::Vector< ServiceTemplateSupportedComponentSourceType > &&value)
CreateServiceTemplateVersionRequest & WithMajorVersion(const char *value)
void SetMajorVersion(Aws::String &&value)
void SetCompatibleEnvironmentTemplates(Aws::Vector< CompatibleEnvironmentTemplateInput > &&value)
void SetMajorVersion(const Aws::String &value)
bool MajorVersionHasBeenSet() const
CreateServiceTemplateVersionRequest & WithDescription(Aws::String &&value)
void SetSupportedComponentSources(const Aws::Vector< ServiceTemplateSupportedComponentSourceType > &value)
CreateServiceTemplateVersionRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::Vector< ServiceTemplateSupportedComponentSourceType > & GetSupportedComponentSources() const
CreateServiceTemplateVersionRequest & WithTags(const Aws::Vector< Tag > &value)
CreateServiceTemplateVersionRequest & WithTemplateName(const char *value)
void SetDescription(const char *value)
void SetCompatibleEnvironmentTemplates(const Aws::Vector< CompatibleEnvironmentTemplateInput > &value)
bool ClientTokenHasBeenSet() const
AWS_PROTON_API Aws::String SerializePayload() const override
bool DescriptionHasBeenSet() const
CreateServiceTemplateVersionRequest & WithCompatibleEnvironmentTemplates(const Aws::Vector< CompatibleEnvironmentTemplateInput > &value)
const Aws::Vector< CompatibleEnvironmentTemplateInput > & GetCompatibleEnvironmentTemplates() const
CreateServiceTemplateVersionRequest & WithSource(const TemplateVersionSourceInput &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
ServiceTemplateSupportedComponentSourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector