7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/imagebuilder/ImagebuilderRequest.h>
12#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
13#include <aws/imagebuilder/model/ComponentConfiguration.h>
14#include <aws/imagebuilder/model/ContainerType.h>
15#include <aws/imagebuilder/model/InstanceConfiguration.h>
16#include <aws/imagebuilder/model/Platform.h>
17#include <aws/imagebuilder/model/TargetContainerRepository.h>
22namespace imagebuilder {
46 m_containerTypeHasBeenSet =
true;
47 m_containerType = value;
65 template <
typename NameT = Aws::String>
67 m_nameHasBeenSet =
true;
68 m_name = std::forward<NameT>(value);
70 template <
typename NameT = Aws::String>
72 SetName(std::forward<NameT>(value));
83 template <
typename DescriptionT = Aws::String>
85 m_descriptionHasBeenSet =
true;
86 m_description = std::forward<DescriptionT>(value);
88 template <
typename DescriptionT = Aws::String>
111 template <
typename SemanticVersionT = Aws::String>
113 m_semanticVersionHasBeenSet =
true;
114 m_semanticVersion = std::forward<SemanticVersionT>(value);
116 template <
typename SemanticVersionT = Aws::String>
130 template <
typename ComponentsT = Aws::Vector<ComponentConfiguration>>
132 m_componentsHasBeenSet =
true;
133 m_components = std::forward<ComponentsT>(value);
135 template <
typename ComponentsT = Aws::Vector<ComponentConfiguration>>
140 template <
typename ComponentsT = ComponentConfiguration>
142 m_componentsHasBeenSet =
true;
143 m_components.emplace_back(std::forward<ComponentsT>(value));
155 template <
typename InstanceConfigurationT = InstanceConfiguration>
157 m_instanceConfigurationHasBeenSet =
true;
158 m_instanceConfiguration = std::forward<InstanceConfigurationT>(value);
160 template <
typename InstanceConfigurationT = InstanceConfiguration>
179 template <
typename DockerfileTemplateDataT = Aws::String>
181 m_dockerfileTemplateDataHasBeenSet =
true;
182 m_dockerfileTemplateData = std::forward<DockerfileTemplateDataT>(value);
184 template <
typename DockerfileTemplateDataT = Aws::String>
202 template <
typename DockerfileTemplateUriT = Aws::String>
204 m_dockerfileTemplateUriHasBeenSet =
true;
205 m_dockerfileTemplateUri = std::forward<DockerfileTemplateUriT>(value);
207 template <
typename DockerfileTemplateUriT = Aws::String>
222 m_platformOverrideHasBeenSet =
true;
223 m_platformOverride = value;
240 template <
typename ImageOsVersionOverr
ideT = Aws::String>
242 m_imageOsVersionOverrideHasBeenSet =
true;
243 m_imageOsVersionOverride = std::forward<ImageOsVersionOverrideT>(value);
245 template <
typename ImageOsVersionOverr
ideT = Aws::String>
260 template <
typename ParentImageT = Aws::String>
262 m_parentImageHasBeenSet =
true;
263 m_parentImage = std::forward<ParentImageT>(value);
265 template <
typename ParentImageT = Aws::String>
278 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
280 m_tagsHasBeenSet =
true;
281 m_tags = std::forward<TagsT>(value);
283 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
285 SetTags(std::forward<TagsT>(value));
288 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
290 m_tagsHasBeenSet =
true;
291 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
302 template <
typename WorkingDirectoryT = Aws::String>
304 m_workingDirectoryHasBeenSet =
true;
305 m_workingDirectory = std::forward<WorkingDirectoryT>(value);
307 template <
typename WorkingDirectoryT = Aws::String>
321 template <
typename TargetRepositoryT = TargetContainerRepository>
323 m_targetRepositoryHasBeenSet =
true;
324 m_targetRepository = std::forward<TargetRepositoryT>(value);
326 template <
typename TargetRepositoryT = TargetContainerRepository>
344 template <
typename KmsKeyIdT = Aws::String>
346 m_kmsKeyIdHasBeenSet =
true;
347 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
349 template <
typename KmsKeyIdT = Aws::String>
367 template <
typename ClientTokenT = Aws::String>
369 m_clientTokenHasBeenSet =
true;
370 m_clientToken = std::forward<ClientTokenT>(value);
372 template <
typename ClientTokenT = Aws::String>
388 m_dryRunHasBeenSet =
true;
407 InstanceConfiguration m_instanceConfiguration;
423 TargetContainerRepository m_targetRepository;
429 bool m_dryRun{
false};
430 bool m_containerTypeHasBeenSet =
false;
431 bool m_nameHasBeenSet =
false;
432 bool m_descriptionHasBeenSet =
false;
433 bool m_semanticVersionHasBeenSet =
false;
434 bool m_componentsHasBeenSet =
false;
435 bool m_instanceConfigurationHasBeenSet =
false;
436 bool m_dockerfileTemplateDataHasBeenSet =
false;
437 bool m_dockerfileTemplateUriHasBeenSet =
false;
438 bool m_platformOverrideHasBeenSet =
false;
439 bool m_imageOsVersionOverrideHasBeenSet =
false;
440 bool m_parentImageHasBeenSet =
false;
441 bool m_tagsHasBeenSet =
false;
442 bool m_workingDirectoryHasBeenSet =
false;
443 bool m_targetRepositoryHasBeenSet =
false;
444 bool m_kmsKeyIdHasBeenSet =
false;
445 bool m_clientTokenHasBeenSet =
true;
446 bool m_dryRunHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
const Aws::String & GetWorkingDirectory() const
bool NameHasBeenSet() const
CreateContainerRecipeRequest & WithTags(TagsT &&value)
CreateContainerRecipeRequest & WithImageOsVersionOverride(ImageOsVersionOverrideT &&value)
ContainerType GetContainerType() const
const Aws::String & GetDockerfileTemplateUri() const
void SetDescription(DescriptionT &&value)
CreateContainerRecipeRequest & WithPlatformOverride(Platform value)
bool ComponentsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetPlatformOverride(Platform value)
const Aws::Vector< ComponentConfiguration > & GetComponents() const
bool PlatformOverrideHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
bool ParentImageHasBeenSet() const
void SetSemanticVersion(SemanticVersionT &&value)
void SetImageOsVersionOverride(ImageOsVersionOverrideT &&value)
bool DockerfileTemplateUriHasBeenSet() const
bool InstanceConfigurationHasBeenSet() const
const Aws::String & GetDescription() const
bool SemanticVersionHasBeenSet() const
CreateContainerRecipeRequest & WithComponents(ComponentsT &&value)
const Aws::String & GetKmsKeyId() const
void SetContainerType(ContainerType value)
CreateContainerRecipeRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetImageOsVersionOverride() const
CreateContainerRecipeRequest & WithWorkingDirectory(WorkingDirectoryT &&value)
const Aws::String & GetClientToken() const
bool DescriptionHasBeenSet() const
void SetParentImage(ParentImageT &&value)
bool ImageOsVersionOverrideHasBeenSet() const
CreateContainerRecipeRequest & WithTargetRepository(TargetRepositoryT &&value)
const Aws::String & GetDockerfileTemplateData() const
CreateContainerRecipeRequest & WithClientToken(ClientTokenT &&value)
void SetComponents(ComponentsT &&value)
void SetName(NameT &&value)
void SetWorkingDirectory(WorkingDirectoryT &&value)
CreateContainerRecipeRequest & WithInstanceConfiguration(InstanceConfigurationT &&value)
bool WorkingDirectoryHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateContainerRecipeRequest & WithName(NameT &&value)
bool TargetRepositoryHasBeenSet() const
const Aws::String & GetSemanticVersion() const
bool TagsHasBeenSet() const
void SetInstanceConfiguration(InstanceConfigurationT &&value)
CreateContainerRecipeRequest & WithDryRun(bool value)
CreateContainerRecipeRequest & WithKmsKeyId(KmsKeyIdT &&value)
const TargetContainerRepository & GetTargetRepository() const
void SetTargetRepository(TargetRepositoryT &&value)
CreateContainerRecipeRequest & WithDockerfileTemplateData(DockerfileTemplateDataT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetName() const
void SetTags(TagsT &&value)
void SetDryRun(bool value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
AWS_IMAGEBUILDER_API CreateContainerRecipeRequest()=default
bool DryRunHasBeenSet() const
const Aws::String & GetParentImage() const
void SetDockerfileTemplateData(DockerfileTemplateDataT &&value)
bool DockerfileTemplateDataHasBeenSet() const
CreateContainerRecipeRequest & AddComponents(ComponentsT &&value)
void SetDockerfileTemplateUri(DockerfileTemplateUriT &&value)
bool ContainerTypeHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
CreateContainerRecipeRequest & WithParentImage(ParentImageT &&value)
Platform GetPlatformOverride() const
const InstanceConfiguration & GetInstanceConfiguration() const
CreateContainerRecipeRequest & WithSemanticVersion(SemanticVersionT &&value)
CreateContainerRecipeRequest & WithDockerfileTemplateUri(DockerfileTemplateUriT &&value)
CreateContainerRecipeRequest & WithContainerType(ContainerType value)
CreateContainerRecipeRequest & AddTags(TagsKeyT &&key, TagsValueT &&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
std::vector< T, Aws::Allocator< T > > Vector