AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeVolumeAttributeResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/AttributeBooleanValue.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/ResponseMetadata.h>
12#include <aws/ec2/model/ProductCode.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace EC2
28{
29namespace Model
30{
32 {
33 public:
37
38
40
43 inline const AttributeBooleanValue& GetAutoEnableIO() const{ return m_autoEnableIO; }
44 inline void SetAutoEnableIO(const AttributeBooleanValue& value) { m_autoEnableIO = value; }
45 inline void SetAutoEnableIO(AttributeBooleanValue&& value) { m_autoEnableIO = std::move(value); }
49
51
54 inline const Aws::Vector<ProductCode>& GetProductCodes() const{ return m_productCodes; }
55 inline void SetProductCodes(const Aws::Vector<ProductCode>& value) { m_productCodes = value; }
56 inline void SetProductCodes(Aws::Vector<ProductCode>&& value) { m_productCodes = std::move(value); }
59 inline DescribeVolumeAttributeResponse& AddProductCodes(const ProductCode& value) { m_productCodes.push_back(value); return *this; }
60 inline DescribeVolumeAttributeResponse& AddProductCodes(ProductCode&& value) { m_productCodes.push_back(std::move(value)); return *this; }
62
64
67 inline const Aws::String& GetVolumeId() const{ return m_volumeId; }
68 inline void SetVolumeId(const Aws::String& value) { m_volumeId = value; }
69 inline void SetVolumeId(Aws::String&& value) { m_volumeId = std::move(value); }
70 inline void SetVolumeId(const char* value) { m_volumeId.assign(value); }
71 inline DescribeVolumeAttributeResponse& WithVolumeId(const Aws::String& value) { SetVolumeId(value); return *this;}
72 inline DescribeVolumeAttributeResponse& WithVolumeId(Aws::String&& value) { SetVolumeId(std::move(value)); return *this;}
73 inline DescribeVolumeAttributeResponse& WithVolumeId(const char* value) { SetVolumeId(value); return *this;}
75
77
78 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
79 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
80 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
84 private:
85
86 AttributeBooleanValue m_autoEnableIO;
87
88 Aws::Vector<ProductCode> m_productCodes;
89
90 Aws::String m_volumeId;
91
92 ResponseMetadata m_responseMetadata;
93 };
94
95} // namespace Model
96} // namespace EC2
97} // namespace Aws
DescribeVolumeAttributeResponse & WithVolumeId(const Aws::String &value)
DescribeVolumeAttributeResponse & WithAutoEnableIO(const AttributeBooleanValue &value)
DescribeVolumeAttributeResponse & WithVolumeId(Aws::String &&value)
DescribeVolumeAttributeResponse & WithAutoEnableIO(AttributeBooleanValue &&value)
DescribeVolumeAttributeResponse & WithResponseMetadata(const ResponseMetadata &value)
DescribeVolumeAttributeResponse & AddProductCodes(const ProductCode &value)
DescribeVolumeAttributeResponse & WithProductCodes(Aws::Vector< ProductCode > &&value)
DescribeVolumeAttributeResponse & AddProductCodes(ProductCode &&value)
AWS_EC2_API DescribeVolumeAttributeResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API DescribeVolumeAttributeResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< ProductCode > & GetProductCodes() const
DescribeVolumeAttributeResponse & WithResponseMetadata(ResponseMetadata &&value)
DescribeVolumeAttributeResponse & WithProductCodes(const Aws::Vector< ProductCode > &value)
DescribeVolumeAttributeResponse & WithVolumeId(const char *value)
void SetProductCodes(const Aws::Vector< ProductCode > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument