7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 inline void SetDiskName(
const char* value) { m_diskNameHasBeenSet =
true; m_diskName.assign(value); }
60 inline void SetInstanceName(
const char* value) { m_instanceNameHasBeenSet =
true; m_instanceName.assign(value); }
74 inline void SetDiskPath(
const char* value) { m_diskPathHasBeenSet =
true; m_diskPath.assign(value); }
88 inline void SetAutoMounting(
bool value) { m_autoMountingHasBeenSet =
true; m_autoMounting = value; }
94 bool m_diskNameHasBeenSet =
false;
97 bool m_instanceNameHasBeenSet =
false;
100 bool m_diskPathHasBeenSet =
false;
103 bool m_autoMountingHasBeenSet =
false;
bool DiskPathHasBeenSet() const
AttachDiskRequest & WithInstanceName(const char *value)
void SetInstanceName(const char *value)
void SetInstanceName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetInstanceName() const
void SetDiskName(const char *value)
AttachDiskRequest & WithDiskPath(const char *value)
void SetDiskPath(const char *value)
AttachDiskRequest & WithInstanceName(Aws::String &&value)
void SetAutoMounting(bool value)
const Aws::String & GetDiskName() const
AttachDiskRequest & WithDiskName(const char *value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
bool GetAutoMounting() const
AttachDiskRequest & WithDiskName(const Aws::String &value)
AttachDiskRequest & WithDiskName(Aws::String &&value)
const Aws::String & GetDiskPath() const
void SetDiskPath(Aws::String &&value)
void SetDiskName(const Aws::String &value)
bool InstanceNameHasBeenSet() const
AttachDiskRequest & WithInstanceName(const Aws::String &value)
AttachDiskRequest & WithAutoMounting(bool value)
void SetDiskName(Aws::String &&value)
bool AutoMountingHasBeenSet() const
void SetDiskPath(const Aws::String &value)
AWS_LIGHTSAIL_API AttachDiskRequest()
AttachDiskRequest & WithDiskPath(const Aws::String &value)
void SetInstanceName(Aws::String &&value)
AttachDiskRequest & WithDiskPath(Aws::String &&value)
bool DiskNameHasBeenSet() const
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String