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 {
58 template <
typename ArnT = Aws::String>
60 m_arnHasBeenSet =
true;
61 m_arn = std::forward<ArnT>(value);
63 template <
typename ArnT = Aws::String>
65 SetArn(std::forward<ArnT>(value));
77 m_containerTypeHasBeenSet =
true;
78 m_containerType = value;
92 template <
typename NameT = Aws::String>
94 m_nameHasBeenSet =
true;
95 m_name = std::forward<NameT>(value);
97 template <
typename NameT = Aws::String>
99 SetName(std::forward<NameT>(value));
110 template <
typename DescriptionT = Aws::String>
112 m_descriptionHasBeenSet =
true;
113 m_description = std::forward<DescriptionT>(value);
115 template <
typename DescriptionT = Aws::String>
130 m_platformHasBeenSet =
true;
145 template <
typename OwnerT = Aws::String>
147 m_ownerHasBeenSet =
true;
148 m_owner = std::forward<OwnerT>(value);
150 template <
typename OwnerT = Aws::String>
152 SetOwner(std::forward<OwnerT>(value));
175 template <
typename VersionT = Aws::String>
177 m_versionHasBeenSet =
true;
178 m_version = std::forward<VersionT>(value);
180 template <
typename VersionT = Aws::String>
198 template <
typename ComponentsT = Aws::Vector<ComponentConfiguration>>
200 m_componentsHasBeenSet =
true;
201 m_components = std::forward<ComponentsT>(value);
203 template <
typename ComponentsT = Aws::Vector<ComponentConfiguration>>
208 template <
typename ComponentsT = ComponentConfiguration>
210 m_componentsHasBeenSet =
true;
211 m_components.emplace_back(std::forward<ComponentsT>(value));
223 template <
typename InstanceConfigurationT = InstanceConfiguration>
225 m_instanceConfigurationHasBeenSet =
true;
226 m_instanceConfiguration = std::forward<InstanceConfigurationT>(value);
228 template <
typename InstanceConfigurationT = InstanceConfiguration>
247 template <
typename DockerfileTemplateDataT = Aws::String>
249 m_dockerfileTemplateDataHasBeenSet =
true;
250 m_dockerfileTemplateData = std::forward<DockerfileTemplateDataT>(value);
252 template <
typename DockerfileTemplateDataT = Aws::String>
272 template <
typename KmsKeyIdT = Aws::String>
274 m_kmsKeyIdHasBeenSet =
true;
275 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
277 template <
typename KmsKeyIdT = Aws::String>
294 m_encryptedHasBeenSet =
true;
311 template <
typename ParentImageT = Aws::String>
313 m_parentImageHasBeenSet =
true;
314 m_parentImage = std::forward<ParentImageT>(value);
316 template <
typename ParentImageT = Aws::String>
329 template <
typename DateCreatedT = Aws::String>
331 m_dateCreatedHasBeenSet =
true;
332 m_dateCreated = std::forward<DateCreatedT>(value);
334 template <
typename DateCreatedT = Aws::String>
347 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
349 m_tagsHasBeenSet =
true;
350 m_tags = std::forward<TagsT>(value);
352 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
354 SetTags(std::forward<TagsT>(value));
357 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
359 m_tagsHasBeenSet =
true;
360 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
371 template <
typename WorkingDirectoryT = Aws::String>
373 m_workingDirectoryHasBeenSet =
true;
374 m_workingDirectory = std::forward<WorkingDirectoryT>(value);
376 template <
typename WorkingDirectoryT = Aws::String>
389 template <
typename TargetRepositoryT = TargetContainerRepository>
391 m_targetRepositoryHasBeenSet =
true;
392 m_targetRepository = std::forward<TargetRepositoryT>(value);
394 template <
typename TargetRepositoryT = TargetContainerRepository>
417 InstanceConfiguration m_instanceConfiguration;
423 bool m_encrypted{
false};
433 TargetContainerRepository m_targetRepository;
434 bool m_arnHasBeenSet =
false;
435 bool m_containerTypeHasBeenSet =
false;
436 bool m_nameHasBeenSet =
false;
437 bool m_descriptionHasBeenSet =
false;
438 bool m_platformHasBeenSet =
false;
439 bool m_ownerHasBeenSet =
false;
440 bool m_versionHasBeenSet =
false;
441 bool m_componentsHasBeenSet =
false;
442 bool m_instanceConfigurationHasBeenSet =
false;
443 bool m_dockerfileTemplateDataHasBeenSet =
false;
444 bool m_kmsKeyIdHasBeenSet =
false;
445 bool m_encryptedHasBeenSet =
false;
446 bool m_parentImageHasBeenSet =
false;
447 bool m_dateCreatedHasBeenSet =
false;
448 bool m_tagsHasBeenSet =
false;
449 bool m_workingDirectoryHasBeenSet =
false;
450 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