7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lightsail/model/Tag.h>
12#include <aws/lightsail/model/AddOnRequest.h>
48 inline void SetDiskName(
const char* value) { m_diskNameHasBeenSet =
true; m_diskName.assign(value); }
66 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
78 inline void SetSizeInGb(
int value) { m_sizeInGbHasBeenSet =
true; m_sizeInGb = value; }
115 bool m_diskNameHasBeenSet =
false;
118 bool m_availabilityZoneHasBeenSet =
false;
121 bool m_sizeInGbHasBeenSet =
false;
124 bool m_tagsHasBeenSet =
false;
127 bool m_addOnsHasBeenSet =
false;
const Aws::Vector< Tag > & GetTags() const
bool TagsHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
CreateDiskRequest & WithAvailabilityZone(const char *value)
const Aws::String & GetAvailabilityZone() const
void SetAvailabilityZone(const char *value)
CreateDiskRequest & WithDiskName(const char *value)
void SetSizeInGb(int value)
CreateDiskRequest & WithTags(Aws::Vector< Tag > &&value)
CreateDiskRequest & WithAvailabilityZone(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateDiskRequest & AddAddOns(const AddOnRequest &value)
void SetAddOns(const Aws::Vector< AddOnRequest > &value)
CreateDiskRequest & WithDiskName(Aws::String &&value)
CreateDiskRequest & WithAddOns(Aws::Vector< AddOnRequest > &&value)
CreateDiskRequest & WithAvailabilityZone(Aws::String &&value)
void SetAddOns(Aws::Vector< AddOnRequest > &&value)
bool AddOnsHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
bool SizeInGbHasBeenSet() const
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
bool AvailabilityZoneHasBeenSet() const
const Aws::String & GetDiskName() const
CreateDiskRequest & WithDiskName(const Aws::String &value)
void SetDiskName(Aws::String &&value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDiskRequest & AddTags(const Tag &value)
CreateDiskRequest & AddAddOns(AddOnRequest &&value)
void SetAvailabilityZone(const Aws::String &value)
CreateDiskRequest & WithSizeInGb(int value)
void SetDiskName(const Aws::String &value)
void SetDiskName(const char *value)
const Aws::Vector< AddOnRequest > & GetAddOns() const
CreateDiskRequest & AddTags(Tag &&value)
CreateDiskRequest & WithAddOns(const Aws::Vector< AddOnRequest > &value)
AWS_LIGHTSAIL_API CreateDiskRequest()
void SetAvailabilityZone(Aws::String &&value)
bool DiskNameHasBeenSet() const
CreateDiskRequest & WithTags(const Aws::Vector< Tag > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector