7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/imagebuilder/model/InstanceBlockDeviceMapping.h>
54 template<
typename ImageT = Aws::String>
55 void SetImage(ImageT&& value) { m_imageHasBeenSet =
true; m_image = std::forward<ImageT>(value); }
56 template<
typename ImageT = Aws::String>
67 template<
typename BlockDeviceMappingsT = Aws::Vector<InstanceBlockDeviceMapping>>
68 void SetBlockDeviceMappings(BlockDeviceMappingsT&& value) { m_blockDeviceMappingsHasBeenSet =
true; m_blockDeviceMappings = std::forward<BlockDeviceMappingsT>(value); }
69 template<
typename BlockDeviceMappingsT = Aws::Vector<InstanceBlockDeviceMapping>>
71 template<
typename BlockDeviceMappingsT = InstanceBlockDeviceMapping>
77 bool m_imageHasBeenSet =
false;
80 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