7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/VolumeAttachmentState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ec2/model/ResponseMetadata.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
88 inline void SetVolumeId(
const char* value) { m_volumeId.assign(value); }
102 inline void SetInstanceId(
const char* value) { m_instanceId.assign(value); }
116 inline void SetDevice(
const char* value) { m_device.assign(value); }
154 bool m_deleteOnTermination;
void SetAssociatedResource(Aws::String &&value)
AttachVolumeResponse & WithAssociatedResource(Aws::String &&value)
AttachVolumeResponse & WithVolumeId(const Aws::String &value)
AttachVolumeResponse & WithDevice(const Aws::String &value)
const Aws::String & GetInstanceId() const
AttachVolumeResponse & WithDevice(const char *value)
void SetDevice(const char *value)
const ResponseMetadata & GetResponseMetadata() const
void SetAssociatedResource(const char *value)
AttachVolumeResponse & WithInstanceId(const char *value)
void SetDevice(const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
AttachVolumeResponse & WithDevice(Aws::String &&value)
AttachVolumeResponse & WithInstanceId(const Aws::String &value)
const Aws::Utils::DateTime & GetAttachTime() const
AttachVolumeResponse & WithResponseMetadata(ResponseMetadata &&value)
AttachVolumeResponse & WithVolumeId(Aws::String &&value)
AttachVolumeResponse & WithState(const VolumeAttachmentState &value)
AttachVolumeResponse & WithAttachTime(Aws::Utils::DateTime &&value)
void SetDevice(Aws::String &&value)
void SetInstanceOwningService(const Aws::String &value)
const Aws::String & GetVolumeId() const
const Aws::String & GetDevice() const
AttachVolumeResponse & WithInstanceId(Aws::String &&value)
void SetVolumeId(const Aws::String &value)
AWS_EC2_API AttachVolumeResponse()
void SetAssociatedResource(const Aws::String &value)
AttachVolumeResponse & WithAttachTime(const Aws::Utils::DateTime &value)
AttachVolumeResponse & WithAssociatedResource(const Aws::String &value)
bool GetDeleteOnTermination() const
AttachVolumeResponse & WithDeleteOnTermination(bool value)
AttachVolumeResponse & WithVolumeId(const char *value)
void SetDeleteOnTermination(bool value)
void SetInstanceId(const char *value)
void SetInstanceId(const Aws::String &value)
void SetInstanceOwningService(const char *value)
const Aws::String & GetAssociatedResource() const
void SetResponseMetadata(ResponseMetadata &&value)
AWS_EC2_API AttachVolumeResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetInstanceOwningService() const
void SetState(const VolumeAttachmentState &value)
void SetInstanceId(Aws::String &&value)
void SetAttachTime(Aws::Utils::DateTime &&value)
AWS_EC2_API AttachVolumeResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AttachVolumeResponse & WithInstanceOwningService(const Aws::String &value)
void SetVolumeId(Aws::String &&value)
void SetVolumeId(const char *value)
AttachVolumeResponse & WithInstanceOwningService(Aws::String &&value)
void SetAttachTime(const Aws::Utils::DateTime &value)
void SetInstanceOwningService(Aws::String &&value)
AttachVolumeResponse & WithState(VolumeAttachmentState &&value)
AttachVolumeResponse & WithAssociatedResource(const char *value)
const VolumeAttachmentState & GetState() const
AttachVolumeResponse & WithInstanceOwningService(const char *value)
AttachVolumeResponse & WithResponseMetadata(const ResponseMetadata &value)
void SetState(VolumeAttachmentState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument