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>
50 template<
typename ClientTokenT = Aws::String>
51 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
52 template<
typename ClientTokenT = Aws::String>
64 template<
typename CompatibleEnvironmentTemplatesT = Aws::Vector<CompatibleEnvironmentTemplateInput>>
65 void SetCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplatesT&& value) { m_compatibleEnvironmentTemplatesHasBeenSet =
true; m_compatibleEnvironmentTemplates = std::forward<CompatibleEnvironmentTemplatesT>(value); }
66 template<
typename CompatibleEnvironmentTemplatesT = Aws::Vector<CompatibleEnvironmentTemplateInput>>
68 template<
typename CompatibleEnvironmentTemplatesT = CompatibleEnvironmentTemplateInput>
78 template<
typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
80 template<
typename DescriptionT = Aws::String>
92 template<
typename MajorVersionT = Aws::String>
93 void SetMajorVersion(MajorVersionT&& value) { m_majorVersionHasBeenSet =
true; m_majorVersion = std::forward<MajorVersionT>(value); }
94 template<
typename MajorVersionT = Aws::String>
105 template<
typename SourceT = TemplateVersionSourceInput>
106 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
107 template<
typename SourceT = TemplateVersionSourceInput>
121 template<
typename SupportedComponentSourcesT = Aws::Vector<ServiceTemplateSupportedComponentSourceType>>
122 void SetSupportedComponentSources(SupportedComponentSourcesT&& value) { m_supportedComponentSourcesHasBeenSet =
true; m_supportedComponentSources = std::forward<SupportedComponentSourcesT>(value); }
123 template<
typename SupportedComponentSourcesT = Aws::Vector<ServiceTemplateSupportedComponentSourceType>>
138 template<
typename TagsT = Aws::Vector<Tag>>
139 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
140 template<
typename TagsT = Aws::Vector<Tag>>
142 template<
typename TagsT = Tag>
152 template<
typename TemplateNameT = Aws::String>
153 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet =
true; m_templateName = std::forward<TemplateNameT>(value); }
154 template<
typename TemplateNameT = Aws::String>
160 bool m_clientTokenHasBeenSet =
true;
163 bool m_compatibleEnvironmentTemplatesHasBeenSet =
false;
166 bool m_descriptionHasBeenSet =
false;
169 bool m_majorVersionHasBeenSet =
false;
171 TemplateVersionSourceInput m_source;
172 bool m_sourceHasBeenSet =
false;
175 bool m_supportedComponentSourcesHasBeenSet =
false;
178 bool m_tagsHasBeenSet =
false;
181 bool m_templateNameHasBeenSet =
false;
void SetSupportedComponentSources(SupportedComponentSourcesT &&value)
bool CompatibleEnvironmentTemplatesHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool TemplateNameHasBeenSet() const
AWS_PROTON_API CreateServiceTemplateVersionRequest()=default
const Aws::String & GetDescription() const
void SetMajorVersion(MajorVersionT &&value)
bool TagsHasBeenSet() const
void SetTemplateName(TemplateNameT &&value)
const Aws::String & GetMajorVersion() const
CreateServiceTemplateVersionRequest & AddCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplatesT &&value)
void SetCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplatesT &&value)
void SetTags(TagsT &&value)
CreateServiceTemplateVersionRequest & AddTags(TagsT &&value)
bool SupportedComponentSourcesHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
CreateServiceTemplateVersionRequest & WithTemplateName(TemplateNameT &&value)
CreateServiceTemplateVersionRequest & WithSource(SourceT &&value)
CreateServiceTemplateVersionRequest & WithSupportedComponentSources(SupportedComponentSourcesT &&value)
const TemplateVersionSourceInput & GetSource() const
const Aws::String & GetTemplateName() const
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSource(SourceT &&value)
bool SourceHasBeenSet() const
CreateServiceTemplateVersionRequest & WithCompatibleEnvironmentTemplates(CompatibleEnvironmentTemplatesT &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetClientToken() const
CreateServiceTemplateVersionRequest & WithTags(TagsT &&value)
CreateServiceTemplateVersionRequest & WithDescription(DescriptionT &&value)
CreateServiceTemplateVersionRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
bool MajorVersionHasBeenSet() const
const Aws::Vector< ServiceTemplateSupportedComponentSourceType > & GetSupportedComponentSources() const
CreateServiceTemplateVersionRequest & AddSupportedComponentSources(ServiceTemplateSupportedComponentSourceType value)
bool ClientTokenHasBeenSet() const
CreateServiceTemplateVersionRequest & WithMajorVersion(MajorVersionT &&value)
AWS_PROTON_API Aws::String SerializePayload() const override
bool DescriptionHasBeenSet() const
const Aws::Vector< CompatibleEnvironmentTemplateInput > & GetCompatibleEnvironmentTemplates() const
static Aws::Utils::UUID PseudoRandomUUID()
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