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>
52 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
66 inline void SetDeviceName(
const char* value) { m_deviceNameHasBeenSet =
true; m_deviceName.assign(value); }
82 inline void SetFormat(
const char* value) { m_formatHasBeenSet =
true; m_format.assign(value); }
96 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
111 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
131 bool m_descriptionHasBeenSet =
false;
134 bool m_deviceNameHasBeenSet =
false;
137 bool m_formatHasBeenSet =
false;
140 bool m_snapshotIdHasBeenSet =
false;
143 bool m_urlHasBeenSet =
false;
146 bool m_userBucketHasBeenSet =
false;
void SetDeviceName(Aws::String &&value)
bool FormatHasBeenSet() const
void SetDescription(const Aws::String &value)
void SetUrl(Aws::String &&value)
AWS_EC2_API ImageDiskContainer()
const Aws::String & GetDeviceName() const
ImageDiskContainer & WithUrl(Aws::String &&value)
void SetDeviceName(const char *value)
bool DescriptionHasBeenSet() const
ImageDiskContainer & WithDescription(Aws::String &&value)
const Aws::String & GetSnapshotId() const
void SetUrl(const Aws::String &value)
ImageDiskContainer & WithDescription(const Aws::String &value)
bool UrlHasBeenSet() const
void SetDescription(const char *value)
ImageDiskContainer & WithDeviceName(const char *value)
const Aws::String & GetUrl() const
ImageDiskContainer & WithUrl(const char *value)
const Aws::String & GetFormat() const
ImageDiskContainer & WithDeviceName(Aws::String &&value)
void SetUrl(const char *value)
ImageDiskContainer & WithDescription(const char *value)
void SetFormat(Aws::String &&value)
AWS_EC2_API ImageDiskContainer & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const UserBucket & GetUserBucket() const
ImageDiskContainer & WithUserBucket(const UserBucket &value)
void SetSnapshotId(const char *value)
ImageDiskContainer & WithSnapshotId(Aws::String &&value)
ImageDiskContainer & WithUserBucket(UserBucket &&value)
void SetDeviceName(const Aws::String &value)
void SetFormat(const Aws::String &value)
void SetSnapshotId(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetUserBucket(const UserBucket &value)
const Aws::String & GetDescription() const
void SetSnapshotId(const Aws::String &value)
AWS_EC2_API ImageDiskContainer(const Aws::Utils::Xml::XmlNode &xmlNode)
ImageDiskContainer & WithFormat(const Aws::String &value)
ImageDiskContainer & WithUrl(const Aws::String &value)
ImageDiskContainer & WithFormat(Aws::String &&value)
bool DeviceNameHasBeenSet() const
ImageDiskContainer & WithSnapshotId(const Aws::String &value)
void SetFormat(const char *value)
ImageDiskContainer & WithSnapshotId(const char *value)
void SetUserBucket(UserBucket &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ImageDiskContainer & WithDeviceName(const Aws::String &value)
bool SnapshotIdHasBeenSet() const
ImageDiskContainer & WithFormat(const char *value)
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