7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/DiskImageDetail.h>
11#include <aws/ec2/model/VolumeDetail.h>
44 template <
typename DescriptionT = Aws::String>
46 m_descriptionHasBeenSet =
true;
47 m_description = std::forward<DescriptionT>(value);
49 template <
typename DescriptionT = Aws::String>
62 template <
typename ImageT = DiskImageDetail>
64 m_imageHasBeenSet =
true;
65 m_image = std::forward<ImageT>(value);
67 template <
typename ImageT = DiskImageDetail>
69 SetImage(std::forward<ImageT>(value));
80 template <
typename VolumeT = VolumeDetail>
82 m_volumeHasBeenSet =
true;
83 m_volume = std::forward<VolumeT>(value);
85 template <
typename VolumeT = VolumeDetail>
97 bool m_descriptionHasBeenSet =
false;
98 bool m_imageHasBeenSet =
false;
99 bool m_volumeHasBeenSet =
false;
const Aws::String & GetDescription() const
AWS_EC2_API DiskImage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDescription(DescriptionT &&value)
bool VolumeHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API DiskImage()=default
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetVolume(VolumeT &&value)
AWS_EC2_API DiskImage(const Aws::Utils::Xml::XmlNode &xmlNode)
DiskImage & WithVolume(VolumeT &&value)
bool DescriptionHasBeenSet() const
DiskImage & WithImage(ImageT &&value)
const DiskImageDetail & GetImage() const
void SetImage(ImageT &&value)
DiskImage & WithDescription(DescriptionT &&value)
const VolumeDetail & GetVolume() const
bool ImageHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream