7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/ContainerType.h>
10#include <aws/imagebuilder/model/Platform.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/imagebuilder/model/InstanceConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/imagebuilder/model/TargetContainerRepository.h>
15#include <aws/imagebuilder/model/ComponentConfiguration.h>
61 template<
typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
63 template<
typename ArnT = Aws::String>
83 template<
typename NameT = Aws::String>
84 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
85 template<
typename NameT = Aws::String>
95 template<
typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
97 template<
typename DescriptionT = Aws::String>
117 template<
typename OwnerT = Aws::String>
118 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
119 template<
typename OwnerT = Aws::String>
142 template<
typename VersionT = Aws::String>
143 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
144 template<
typename VersionT = Aws::String>
156 template<
typename ComponentsT = Aws::Vector<ComponentConfiguration>>
157 void SetComponents(ComponentsT&& value) { m_componentsHasBeenSet =
true; m_components = std::forward<ComponentsT>(value); }
158 template<
typename ComponentsT = Aws::Vector<ComponentConfiguration>>
160 template<
typename ComponentsT = ComponentConfiguration>
161 ContainerRecipe&
AddComponents(ComponentsT&& value) { m_componentsHasBeenSet =
true; m_components.emplace_back(std::forward<ComponentsT>(value));
return *
this; }
171 template<
typename InstanceConfigurationT = InstanceConfiguration>
172 void SetInstanceConfiguration(InstanceConfigurationT&& value) { m_instanceConfigurationHasBeenSet =
true; m_instanceConfiguration = std::forward<InstanceConfigurationT>(value); }
173 template<
typename InstanceConfigurationT = InstanceConfiguration>
186 template<
typename DockerfileTemplateDataT = Aws::String>
187 void SetDockerfileTemplateData(DockerfileTemplateDataT&& value) { m_dockerfileTemplateDataHasBeenSet =
true; m_dockerfileTemplateData = std::forward<DockerfileTemplateDataT>(value); }
188 template<
typename DockerfileTemplateDataT = Aws::String>
199 template<
typename KmsKeyIdT = Aws::String>
200 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
201 template<
typename KmsKeyIdT = Aws::String>
211 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
223 template<
typename ParentImageT = Aws::String>
224 void SetParentImage(ParentImageT&& value) { m_parentImageHasBeenSet =
true; m_parentImage = std::forward<ParentImageT>(value); }
225 template<
typename ParentImageT = Aws::String>
235 template<
typename DateCreatedT = Aws::String>
236 void SetDateCreated(DateCreatedT&& value) { m_dateCreatedHasBeenSet =
true; m_dateCreated = std::forward<DateCreatedT>(value); }
237 template<
typename DateCreatedT = Aws::String>
247 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
248 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
249 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
251 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
253 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
263 template<
typename WorkingDirectoryT = Aws::String>
264 void SetWorkingDirectory(WorkingDirectoryT&& value) { m_workingDirectoryHasBeenSet =
true; m_workingDirectory = std::forward<WorkingDirectoryT>(value); }
265 template<
typename WorkingDirectoryT = Aws::String>
275 template<
typename TargetRepositoryT = TargetContainerRepository>
276 void SetTargetRepository(TargetRepositoryT&& value) { m_targetRepositoryHasBeenSet =
true; m_targetRepository = std::forward<TargetRepositoryT>(value); }
277 template<
typename TargetRepositoryT = TargetContainerRepository>
283 bool m_arnHasBeenSet =
false;
286 bool m_containerTypeHasBeenSet =
false;
289 bool m_nameHasBeenSet =
false;
292 bool m_descriptionHasBeenSet =
false;
295 bool m_platformHasBeenSet =
false;
298 bool m_ownerHasBeenSet =
false;
301 bool m_versionHasBeenSet =
false;
304 bool m_componentsHasBeenSet =
false;
306 InstanceConfiguration m_instanceConfiguration;
307 bool m_instanceConfigurationHasBeenSet =
false;
310 bool m_dockerfileTemplateDataHasBeenSet =
false;
313 bool m_kmsKeyIdHasBeenSet =
false;
315 bool m_encrypted{
false};
316 bool m_encryptedHasBeenSet =
false;
319 bool m_parentImageHasBeenSet =
false;
322 bool m_dateCreatedHasBeenSet =
false;
325 bool m_tagsHasBeenSet =
false;
328 bool m_workingDirectoryHasBeenSet =
false;
330 TargetContainerRepository m_targetRepository;
331 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