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/proton/model/TemplateVersionSourceInput.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/proton/model/Tag.h>
14#include <aws/core/utils/UUID.h>
34 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateEnvironmentTemplateVersion"; }
51 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
65 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
81 inline void SetMajorVersion(
const char* value) { m_majorVersionHasBeenSet =
true; m_majorVersion.assign(value); }
126 inline void SetTemplateName(
const char* value) { m_templateNameHasBeenSet =
true; m_templateName.assign(value); }
134 bool m_clientTokenHasBeenSet =
false;
137 bool m_descriptionHasBeenSet =
false;
140 bool m_majorVersionHasBeenSet =
false;
143 bool m_sourceHasBeenSet =
false;
146 bool m_tagsHasBeenSet =
false;
149 bool m_templateNameHasBeenSet =
false;
const Aws::String & GetMajorVersion() const
bool ClientTokenHasBeenSet() const
void SetMajorVersion(const Aws::String &value)
void SetClientToken(Aws::String &&value)
CreateEnvironmentTemplateVersionRequest & WithMajorVersion(const Aws::String &value)
void SetTemplateName(Aws::String &&value)
void SetDescription(const char *value)
void SetMajorVersion(const char *value)
virtual const char * GetServiceRequestName() const override
CreateEnvironmentTemplateVersionRequest & AddTags(Tag &&value)
CreateEnvironmentTemplateVersionRequest & WithDescription(const char *value)
CreateEnvironmentTemplateVersionRequest & WithMajorVersion(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
CreateEnvironmentTemplateVersionRequest & AddTags(const Tag &value)
bool TagsHasBeenSet() const
AWS_PROTON_API CreateEnvironmentTemplateVersionRequest()
bool DescriptionHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
CreateEnvironmentTemplateVersionRequest & WithClientToken(Aws::String &&value)
const TemplateVersionSourceInput & GetSource() const
void SetClientToken(const Aws::String &value)
bool MajorVersionHasBeenSet() const
const Aws::String & GetTemplateName() const
void SetMajorVersion(Aws::String &&value)
CreateEnvironmentTemplateVersionRequest & WithTags(Aws::Vector< Tag > &&value)
CreateEnvironmentTemplateVersionRequest & WithClientToken(const Aws::String &value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateEnvironmentTemplateVersionRequest & WithSource(const TemplateVersionSourceInput &value)
void SetTemplateName(const Aws::String &value)
CreateEnvironmentTemplateVersionRequest & WithMajorVersion(const char *value)
CreateEnvironmentTemplateVersionRequest & WithTemplateName(Aws::String &&value)
const Aws::String & GetClientToken() const
CreateEnvironmentTemplateVersionRequest & WithDescription(const Aws::String &value)
void SetDescription(const Aws::String &value)
CreateEnvironmentTemplateVersionRequest & WithSource(TemplateVersionSourceInput &&value)
AWS_PROTON_API Aws::String SerializePayload() const override
void SetSource(const TemplateVersionSourceInput &value)
void SetTemplateName(const char *value)
CreateEnvironmentTemplateVersionRequest & WithTemplateName(const Aws::String &value)
const Aws::String & GetDescription() const
void SetDescription(Aws::String &&value)
bool SourceHasBeenSet() const
CreateEnvironmentTemplateVersionRequest & WithDescription(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetSource(TemplateVersionSourceInput &&value)
CreateEnvironmentTemplateVersionRequest & WithClientToken(const char *value)
CreateEnvironmentTemplateVersionRequest & WithTags(const Aws::Vector< Tag > &value)
CreateEnvironmentTemplateVersionRequest & WithTemplateName(const char *value)
void SetClientToken(const char *value)
bool TemplateNameHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector