7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
10#include <aws/imagebuilder/model/InstanceBlockDeviceMapping.h>
21namespace imagebuilder {
48 template <
typename ImageT = Aws::String>
50 m_imageHasBeenSet =
true;
51 m_image = std::forward<ImageT>(value);
53 template <
typename ImageT = Aws::String>
55 SetImage(std::forward<ImageT>(value));
67 template <
typename BlockDeviceMappingsT = Aws::Vector<InstanceBlockDeviceMapping>>
69 m_blockDeviceMappingsHasBeenSet =
true;
70 m_blockDeviceMappings = std::forward<BlockDeviceMappingsT>(value);
72 template <
typename BlockDeviceMappingsT = Aws::Vector<InstanceBlockDeviceMapping>>
77 template <
typename BlockDeviceMappingsT = InstanceBlockDeviceMapping>
79 m_blockDeviceMappingsHasBeenSet =
true;
80 m_blockDeviceMappings.emplace_back(std::forward<BlockDeviceMappingsT>(value));
88 bool m_imageHasBeenSet =
false;
89 bool m_blockDeviceMappingsHasBeenSet =
false;
AWS_IMAGEBUILDER_API InstanceConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API InstanceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API InstanceConfiguration()=default
const Aws::String & GetImage() const
bool ImageHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceConfiguration & AddBlockDeviceMappings(BlockDeviceMappingsT &&value)
InstanceConfiguration & WithImage(ImageT &&value)
void SetBlockDeviceMappings(BlockDeviceMappingsT &&value)
void SetImage(ImageT &&value)
const Aws::Vector< InstanceBlockDeviceMapping > & GetBlockDeviceMappings() const
InstanceConfiguration & WithBlockDeviceMappings(BlockDeviceMappingsT &&value)
bool BlockDeviceMappingsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue