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/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/imagebuilder/model/AdditionalInstanceConfiguration.h>
13#include <aws/imagebuilder/model/ComponentConfiguration.h>
14#include <aws/imagebuilder/model/InstanceBlockDeviceMapping.h>
16#include <aws/core/utils/UUID.h>
49 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
63 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
87 inline void SetSemanticVersion(
const char* value) { m_semanticVersionHasBeenSet =
true; m_semanticVersion.assign(value); }
121 inline void SetParentImage(
const char* value) { m_parentImageHasBeenSet =
true; m_parentImage.assign(value); }
168 inline void SetWorkingDirectory(
const char* value) { m_workingDirectoryHasBeenSet =
true; m_workingDirectory.assign(value); }
197 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
205 bool m_nameHasBeenSet =
false;
208 bool m_descriptionHasBeenSet =
false;
211 bool m_semanticVersionHasBeenSet =
false;
214 bool m_componentsHasBeenSet =
false;
217 bool m_parentImageHasBeenSet =
false;
220 bool m_blockDeviceMappingsHasBeenSet =
false;
223 bool m_tagsHasBeenSet =
false;
226 bool m_workingDirectoryHasBeenSet =
false;
229 bool m_additionalInstanceConfigurationHasBeenSet =
false;
232 bool m_clientTokenHasBeenSet =
false;
bool ClientTokenHasBeenSet() const
void SetWorkingDirectory(const Aws::String &value)
bool ComponentsHasBeenSet() const
const Aws::String & GetDescription() const
CreateImageRecipeRequest & WithComponents(Aws::Vector< ComponentConfiguration > &&value)
void SetName(Aws::String &&value)
CreateImageRecipeRequest & WithName(const Aws::String &value)
CreateImageRecipeRequest & WithParentImage(Aws::String &&value)
void SetComponents(const Aws::Vector< ComponentConfiguration > &value)
const Aws::String & GetName() const
CreateImageRecipeRequest & AddComponents(const ComponentConfiguration &value)
void SetParentImage(const char *value)
CreateImageRecipeRequest & AddTags(const char *key, Aws::String &&value)
const Aws::String & GetSemanticVersion() const
CreateImageRecipeRequest & WithDescription(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateImageRecipeRequest & WithParentImage(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetClientToken(Aws::String &&value)
CreateImageRecipeRequest & WithWorkingDirectory(const char *value)
CreateImageRecipeRequest & AddTags(const char *key, const char *value)
CreateImageRecipeRequest & WithBlockDeviceMappings(const Aws::Vector< InstanceBlockDeviceMapping > &value)
const Aws::String & GetClientToken() const
CreateImageRecipeRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetWorkingDirectory(const char *value)
CreateImageRecipeRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateImageRecipeRequest & WithClientToken(Aws::String &&value)
const AdditionalInstanceConfiguration & GetAdditionalInstanceConfiguration() const
bool ParentImageHasBeenSet() const
CreateImageRecipeRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateImageRecipeRequest & WithDescription(const Aws::String &value)
bool AdditionalInstanceConfigurationHasBeenSet() const
void SetSemanticVersion(Aws::String &&value)
AWS_IMAGEBUILDER_API CreateImageRecipeRequest()
void SetComponents(Aws::Vector< ComponentConfiguration > &&value)
void SetSemanticVersion(const char *value)
CreateImageRecipeRequest & WithComponents(const Aws::Vector< ComponentConfiguration > &value)
const Aws::Vector< InstanceBlockDeviceMapping > & GetBlockDeviceMappings() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateImageRecipeRequest & WithClientToken(const char *value)
CreateImageRecipeRequest & AddTags(Aws::String &&key, const char *value)
void SetAdditionalInstanceConfiguration(AdditionalInstanceConfiguration &&value)
bool WorkingDirectoryHasBeenSet() const
bool DescriptionHasBeenSet() const
CreateImageRecipeRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool NameHasBeenSet() const
bool SemanticVersionHasBeenSet() const
CreateImageRecipeRequest & WithSemanticVersion(Aws::String &&value)
void SetBlockDeviceMappings(Aws::Vector< InstanceBlockDeviceMapping > &&value)
CreateImageRecipeRequest & WithName(const char *value)
void SetAdditionalInstanceConfiguration(const AdditionalInstanceConfiguration &value)
const Aws::String & GetParentImage() const
void SetName(const char *value)
CreateImageRecipeRequest & WithDescription(const char *value)
void SetName(const Aws::String &value)
CreateImageRecipeRequest & WithWorkingDirectory(const Aws::String &value)
void SetDescription(const char *value)
bool TagsHasBeenSet() const
CreateImageRecipeRequest & AddBlockDeviceMappings(InstanceBlockDeviceMapping &&value)
CreateImageRecipeRequest & WithClientToken(const Aws::String &value)
CreateImageRecipeRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetWorkingDirectory(Aws::String &&value)
CreateImageRecipeRequest & WithName(Aws::String &&value)
CreateImageRecipeRequest & WithBlockDeviceMappings(Aws::Vector< InstanceBlockDeviceMapping > &&value)
void SetParentImage(const Aws::String &value)
void SetSemanticVersion(const Aws::String &value)
CreateImageRecipeRequest & WithWorkingDirectory(Aws::String &&value)
CreateImageRecipeRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetBlockDeviceMappings(const Aws::Vector< InstanceBlockDeviceMapping > &value)
CreateImageRecipeRequest & WithSemanticVersion(const Aws::String &value)
CreateImageRecipeRequest & AddComponents(ComponentConfiguration &&value)
CreateImageRecipeRequest & AddBlockDeviceMappings(const InstanceBlockDeviceMapping &value)
CreateImageRecipeRequest & WithParentImage(const char *value)
void SetDescription(Aws::String &&value)
bool BlockDeviceMappingsHasBeenSet() const
CreateImageRecipeRequest & WithSemanticVersion(const char *value)
void SetClientToken(const Aws::String &value)
void SetParentImage(Aws::String &&value)
void SetClientToken(const char *value)
const Aws::String & GetWorkingDirectory() const
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
const Aws::Vector< ComponentConfiguration > & GetComponents() const
virtual const char * GetServiceRequestName() const override
CreateImageRecipeRequest & WithAdditionalInstanceConfiguration(const AdditionalInstanceConfiguration &value)
CreateImageRecipeRequest & WithAdditionalInstanceConfiguration(AdditionalInstanceConfiguration &&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