7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/UserBucket.h>
50 template<
typename DescriptionT = Aws::String>
51 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
52 template<
typename DescriptionT = Aws::String>
62 template<
typename DeviceNameT = Aws::String>
63 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet =
true; m_deviceName = std::forward<DeviceNameT>(value); }
64 template<
typename DeviceNameT = Aws::String>
76 template<
typename FormatT = Aws::String>
77 void SetFormat(FormatT&& value) { m_formatHasBeenSet =
true; m_format = std::forward<FormatT>(value); }
78 template<
typename FormatT = Aws::String>
88 template<
typename SnapshotIdT = Aws::String>
89 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet =
true; m_snapshotId = std::forward<SnapshotIdT>(value); }
90 template<
typename SnapshotIdT = Aws::String>
101 template<
typename UrlT = Aws::String>
102 void SetUrl(UrlT&& value) { m_urlHasBeenSet =
true; m_url = std::forward<UrlT>(value); }
103 template<
typename UrlT = Aws::String>
113 template<
typename UserBucketT = UserBucket>
114 void SetUserBucket(UserBucketT&& value) { m_userBucketHasBeenSet =
true; m_userBucket = std::forward<UserBucketT>(value); }
115 template<
typename UserBucketT = UserBucket>
121 bool m_descriptionHasBeenSet =
false;
124 bool m_deviceNameHasBeenSet =
false;
127 bool m_formatHasBeenSet =
false;
130 bool m_snapshotIdHasBeenSet =
false;
133 bool m_urlHasBeenSet =
false;
136 bool m_userBucketHasBeenSet =
false;
void SetUrl(UrlT &&value)
ImageDiskContainer & WithDescription(DescriptionT &&value)
bool FormatHasBeenSet() const
const Aws::String & GetDeviceName() const
AWS_EC2_API ImageDiskContainer()=default
void SetSnapshotId(SnapshotIdT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetSnapshotId() const
bool UrlHasBeenSet() const
const Aws::String & GetUrl() const
ImageDiskContainer & WithUrl(UrlT &&value)
const Aws::String & GetFormat() const
ImageDiskContainer & WithSnapshotId(SnapshotIdT &&value)
void SetFormat(FormatT &&value)
void SetDescription(DescriptionT &&value)
AWS_EC2_API ImageDiskContainer & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetUserBucket(UserBucketT &&value)
const UserBucket & GetUserBucket() const
ImageDiskContainer & WithDeviceName(DeviceNameT &&value)
const Aws::String & GetDescription() const
AWS_EC2_API ImageDiskContainer(const Aws::Utils::Xml::XmlNode &xmlNode)
bool DeviceNameHasBeenSet() const
ImageDiskContainer & WithFormat(FormatT &&value)
ImageDiskContainer & WithUserBucket(UserBucketT &&value)
void SetDeviceName(DeviceNameT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool SnapshotIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool UserBucketHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream