7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace StorageGateway
49 inline void SetGatewayARN(
const char* value) { m_gatewayARNHasBeenSet =
true; m_gatewayARN.assign(value); }
69 inline void SetTargetName(
const char* value) { m_targetNameHasBeenSet =
true; m_targetName.assign(value); }
84 inline void SetVolumeARN(
const char* value) { m_volumeARNHasBeenSet =
true; m_volumeARN.assign(value); }
101 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
117 inline void SetDiskId(
const char* value) { m_diskIdHasBeenSet =
true; m_diskId.assign(value); }
125 bool m_gatewayARNHasBeenSet =
false;
128 bool m_targetNameHasBeenSet =
false;
131 bool m_volumeARNHasBeenSet =
false;
134 bool m_networkInterfaceIdHasBeenSet =
false;
137 bool m_diskIdHasBeenSet =
false;
void SetTargetName(const char *value)
void SetNetworkInterfaceId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AttachVolumeRequest & WithNetworkInterfaceId(const Aws::String &value)
void SetVolumeARN(Aws::String &&value)
const Aws::String & GetNetworkInterfaceId() const
AttachVolumeRequest & WithGatewayARN(const char *value)
void SetGatewayARN(const char *value)
void SetDiskId(const Aws::String &value)
void SetVolumeARN(const Aws::String &value)
AttachVolumeRequest & WithDiskId(const Aws::String &value)
AttachVolumeRequest & WithDiskId(Aws::String &&value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool NetworkInterfaceIdHasBeenSet() const
void SetNetworkInterfaceId(const char *value)
AttachVolumeRequest & WithDiskId(const char *value)
bool TargetNameHasBeenSet() const
AttachVolumeRequest & WithTargetName(const char *value)
AWS_STORAGEGATEWAY_API AttachVolumeRequest()
const Aws::String & GetTargetName() const
bool DiskIdHasBeenSet() const
AttachVolumeRequest & WithVolumeARN(const char *value)
void SetGatewayARN(Aws::String &&value)
AttachVolumeRequest & WithGatewayARN(Aws::String &&value)
void SetDiskId(const char *value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
const Aws::String & GetGatewayARN() const
const Aws::String & GetDiskId() const
AttachVolumeRequest & WithVolumeARN(const Aws::String &value)
AttachVolumeRequest & WithNetworkInterfaceId(const char *value)
void SetDiskId(Aws::String &&value)
AttachVolumeRequest & WithTargetName(Aws::String &&value)
void SetGatewayARN(const Aws::String &value)
AttachVolumeRequest & WithNetworkInterfaceId(Aws::String &&value)
void SetTargetName(Aws::String &&value)
AttachVolumeRequest & WithGatewayARN(const Aws::String &value)
void SetVolumeARN(const char *value)
bool VolumeARNHasBeenSet() const
AttachVolumeRequest & WithTargetName(const Aws::String &value)
bool GatewayARNHasBeenSet() const
void SetTargetName(const Aws::String &value)
void SetNetworkInterfaceId(Aws::String &&value)
AttachVolumeRequest & WithVolumeARN(Aws::String &&value)
const Aws::String & GetVolumeARN() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String