7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/imagebuilder/model/WorkflowType.h>
13#include <aws/core/utils/UUID.h>
44 template<
typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
46 template<
typename NameT = Aws::String>
66 template<
typename SemanticVersionT = Aws::String>
67 void SetSemanticVersion(SemanticVersionT&& value) { m_semanticVersionHasBeenSet =
true; m_semanticVersion = std::forward<SemanticVersionT>(value); }
68 template<
typename SemanticVersionT = Aws::String>
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>
91 template<
typename ChangeDescriptionT = Aws::String>
92 void SetChangeDescription(ChangeDescriptionT&& value) { m_changeDescriptionHasBeenSet =
true; m_changeDescription = std::forward<ChangeDescriptionT>(value); }
93 template<
typename ChangeDescriptionT = Aws::String>
105 template<
typename DataT = Aws::String>
106 void SetData(DataT&& value) { m_dataHasBeenSet =
true; m_data = std::forward<DataT>(value); }
107 template<
typename DataT = Aws::String>
122 template<
typename UriT = Aws::String>
123 void SetUri(UriT&& value) { m_uriHasBeenSet =
true; m_uri = std::forward<UriT>(value); }
124 template<
typename UriT = Aws::String>
134 template<
typename KmsKeyIdT = Aws::String>
135 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
136 template<
typename KmsKeyIdT = Aws::String>
146 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
147 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
148 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
150 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
152 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
165 template<
typename ClientTokenT = Aws::String>
166 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
167 template<
typename ClientTokenT = Aws::String>
184 bool m_nameHasBeenSet =
false;
187 bool m_semanticVersionHasBeenSet =
false;
190 bool m_descriptionHasBeenSet =
false;
193 bool m_changeDescriptionHasBeenSet =
false;
196 bool m_dataHasBeenSet =
false;
199 bool m_uriHasBeenSet =
false;
202 bool m_kmsKeyIdHasBeenSet =
false;
205 bool m_tagsHasBeenSet =
false;
208 bool m_clientTokenHasBeenSet =
true;
211 bool m_typeHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
const Aws::String & GetSemanticVersion() const
void SetKmsKeyId(KmsKeyIdT &&value)
CreateWorkflowRequest & WithName(NameT &&value)
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetChangeDescription() const
bool DataHasBeenSet() const
bool UriHasBeenSet() const
CreateWorkflowRequest & WithData(DataT &&value)
CreateWorkflowRequest & WithClientToken(ClientTokenT &&value)
CreateWorkflowRequest & WithSemanticVersion(SemanticVersionT &&value)
CreateWorkflowRequest & WithKmsKeyId(KmsKeyIdT &&value)
void SetName(NameT &&value)
CreateWorkflowRequest & WithType(WorkflowType value)
const Aws::String & GetData() const
void SetData(DataT &&value)
bool KmsKeyIdHasBeenSet() const
bool ClientTokenHasBeenSet() const
bool TagsHasBeenSet() const
CreateWorkflowRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetDescription() const
bool SemanticVersionHasBeenSet() const
const Aws::String & GetKmsKeyId() const
void SetSemanticVersion(SemanticVersionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ChangeDescriptionHasBeenSet() const
void SetDescription(DescriptionT &&value)
CreateWorkflowRequest & WithDescription(DescriptionT &&value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
const Aws::String & GetClientToken() const
const Aws::String & GetUri() const
void SetTags(TagsT &&value)
AWS_IMAGEBUILDER_API CreateWorkflowRequest()=default
void SetUri(UriT &&value)
CreateWorkflowRequest & WithChangeDescription(ChangeDescriptionT &&value)
bool DescriptionHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
bool TypeHasBeenSet() const
CreateWorkflowRequest & WithTags(TagsT &&value)
void SetType(WorkflowType value)
WorkflowType GetType() const
void SetChangeDescription(ChangeDescriptionT &&value)
virtual const char * GetServiceRequestName() const override
CreateWorkflowRequest & WithUri(UriT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String