7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
11#include <aws/imagebuilder/model/ComponentConfiguration.h>
12#include <aws/imagebuilder/model/ContainerType.h>
13#include <aws/imagebuilder/model/InstanceConfiguration.h>
14#include <aws/imagebuilder/model/Platform.h>
15#include <aws/imagebuilder/model/TargetContainerRepository.h>
26namespace imagebuilder {
55 template <
typename ArnT = Aws::String>
57 m_arnHasBeenSet =
true;
58 m_arn = std::forward<ArnT>(value);
60 template <
typename ArnT = Aws::String>
62 SetArn(std::forward<ArnT>(value));
74 m_containerTypeHasBeenSet =
true;
75 m_containerType = value;
89 template <
typename NameT = Aws::String>
91 m_nameHasBeenSet =
true;
92 m_name = std::forward<NameT>(value);
94 template <
typename NameT = Aws::String>
96 SetName(std::forward<NameT>(value));
107 template <
typename DescriptionT = Aws::String>
109 m_descriptionHasBeenSet =
true;
110 m_description = std::forward<DescriptionT>(value);
112 template <
typename DescriptionT = Aws::String>
126 m_platformHasBeenSet =
true;
141 template <
typename OwnerT = Aws::String>
143 m_ownerHasBeenSet =
true;
144 m_owner = std::forward<OwnerT>(value);
146 template <
typename OwnerT = Aws::String>
148 SetOwner(std::forward<OwnerT>(value));
172 template <
typename VersionT = Aws::String>
174 m_versionHasBeenSet =
true;
175 m_version = std::forward<VersionT>(value);
177 template <
typename VersionT = Aws::String>
192 template <
typename ComponentsT = Aws::Vector<ComponentConfiguration>>
194 m_componentsHasBeenSet =
true;
195 m_components = std::forward<ComponentsT>(value);
197 template <
typename ComponentsT = Aws::Vector<ComponentConfiguration>>
202 template <
typename ComponentsT = ComponentConfiguration>
204 m_componentsHasBeenSet =
true;
205 m_components.emplace_back(std::forward<ComponentsT>(value));
217 template <
typename InstanceConfigurationT = InstanceConfiguration>
219 m_instanceConfigurationHasBeenSet =
true;
220 m_instanceConfiguration = std::forward<InstanceConfigurationT>(value);
222 template <
typename InstanceConfigurationT = InstanceConfiguration>
238 template <
typename DockerfileTemplateDataT = Aws::String>
240 m_dockerfileTemplateDataHasBeenSet =
true;
241 m_dockerfileTemplateData = std::forward<DockerfileTemplateDataT>(value);
243 template <
typename DockerfileTemplateDataT = Aws::String>
261 template <
typename KmsKeyIdT = Aws::String>
263 m_kmsKeyIdHasBeenSet =
true;
264 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
266 template <
typename KmsKeyIdT = Aws::String>
280 m_encryptedHasBeenSet =
true;
297 template <
typename ParentImageT = Aws::String>
299 m_parentImageHasBeenSet =
true;
300 m_parentImage = std::forward<ParentImageT>(value);
302 template <
typename ParentImageT = Aws::String>
315 template <
typename DateCreatedT = Aws::String>
317 m_dateCreatedHasBeenSet =
true;
318 m_dateCreated = std::forward<DateCreatedT>(value);
320 template <
typename DateCreatedT = Aws::String>
333 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
335 m_tagsHasBeenSet =
true;
336 m_tags = std::forward<TagsT>(value);
338 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
340 SetTags(std::forward<TagsT>(value));
343 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
345 m_tagsHasBeenSet =
true;
346 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
357 template <
typename WorkingDirectoryT = Aws::String>
359 m_workingDirectoryHasBeenSet =
true;
360 m_workingDirectory = std::forward<WorkingDirectoryT>(value);
362 template <
typename WorkingDirectoryT = Aws::String>
375 template <
typename TargetRepositoryT = TargetContainerRepository>
377 m_targetRepositoryHasBeenSet =
true;
378 m_targetRepository = std::forward<TargetRepositoryT>(value);
380 template <
typename TargetRepositoryT = TargetContainerRepository>
403 InstanceConfiguration m_instanceConfiguration;
409 bool m_encrypted{
false};
419 TargetContainerRepository m_targetRepository;
420 bool m_arnHasBeenSet =
false;
421 bool m_containerTypeHasBeenSet =
false;
422 bool m_nameHasBeenSet =
false;
423 bool m_descriptionHasBeenSet =
false;
424 bool m_platformHasBeenSet =
false;
425 bool m_ownerHasBeenSet =
false;
426 bool m_versionHasBeenSet =
false;
427 bool m_componentsHasBeenSet =
false;
428 bool m_instanceConfigurationHasBeenSet =
false;
429 bool m_dockerfileTemplateDataHasBeenSet =
false;
430 bool m_kmsKeyIdHasBeenSet =
false;
431 bool m_encryptedHasBeenSet =
false;
432 bool m_parentImageHasBeenSet =
false;
433 bool m_dateCreatedHasBeenSet =
false;
434 bool m_tagsHasBeenSet =
false;
435 bool m_workingDirectoryHasBeenSet =
false;
436 bool m_targetRepositoryHasBeenSet =
false;
void SetKmsKeyId(KmsKeyIdT &&value)
ContainerRecipe & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetOwner(OwnerT &&value)
ContainerRecipe & AddComponents(ComponentsT &&value)
bool TargetRepositoryHasBeenSet() const
AWS_IMAGEBUILDER_API ContainerRecipe(Aws::Utils::Json::JsonView jsonValue)
const InstanceConfiguration & GetInstanceConfiguration() const
bool TagsHasBeenSet() const
void SetComponents(ComponentsT &&value)
Platform GetPlatform() const
bool ComponentsHasBeenSet() const
bool DockerfileTemplateDataHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetName() const
ContainerRecipe & WithDescription(DescriptionT &&value)
void SetTags(TagsT &&value)
void SetContainerType(ContainerType value)
void SetName(NameT &&value)
ContainerRecipe & WithDockerfileTemplateData(DockerfileTemplateDataT &&value)
const Aws::String & GetDescription() const
bool ArnHasBeenSet() const
bool InstanceConfigurationHasBeenSet() const
ContainerRecipe & WithTargetRepository(TargetRepositoryT &&value)
void SetInstanceConfiguration(InstanceConfigurationT &&value)
ContainerRecipe & WithArn(ArnT &&value)
ContainerRecipe & WithParentImage(ParentImageT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetOwner() const
void SetVersion(VersionT &&value)
ContainerRecipe & WithDateCreated(DateCreatedT &&value)
bool ContainerTypeHasBeenSet() const
void SetArn(ArnT &&value)
void SetWorkingDirectory(WorkingDirectoryT &&value)
const TargetContainerRepository & GetTargetRepository() const
AWS_IMAGEBUILDER_API ContainerRecipe & operator=(Aws::Utils::Json::JsonView jsonValue)
ContainerRecipe & WithOwner(OwnerT &&value)
bool KmsKeyIdHasBeenSet() const
bool ParentImageHasBeenSet() const
bool VersionHasBeenSet() const
const Aws::String & GetKmsKeyId() const
const Aws::String & GetParentImage() const
void SetDateCreated(DateCreatedT &&value)
ContainerRecipe & WithWorkingDirectory(WorkingDirectoryT &&value)
const Aws::String & GetVersion() const
const Aws::String & GetDockerfileTemplateData() const
bool GetEncrypted() const
ContainerRecipe & WithKmsKeyId(KmsKeyIdT &&value)
void SetEncrypted(bool value)
void SetTargetRepository(TargetRepositoryT &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerRecipe & WithTags(TagsT &&value)
ContainerRecipe & WithVersion(VersionT &&value)
const Aws::String & GetArn() const
ContainerRecipe & WithEncrypted(bool value)
bool PlatformHasBeenSet() const
bool DateCreatedHasBeenSet() const
void SetPlatform(Platform value)
bool EncryptedHasBeenSet() const
ContainerRecipe & WithComponents(ComponentsT &&value)
ContainerType GetContainerType() const
const Aws::String & GetWorkingDirectory() const
void SetDockerfileTemplateData(DockerfileTemplateDataT &&value)
ContainerRecipe & WithContainerType(ContainerType value)
ContainerRecipe & WithInstanceConfiguration(InstanceConfigurationT &&value)
ContainerRecipe & WithName(NameT &&value)
const Aws::Vector< ComponentConfiguration > & GetComponents() const
bool WorkingDirectoryHasBeenSet() const
ContainerRecipe & WithPlatform(Platform value)
AWS_IMAGEBUILDER_API ContainerRecipe()=default
bool OwnerHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetParentImage(ParentImageT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetDateCreated() const
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
Aws::Utils::Json::JsonValue JsonValue