AWS SDK for C++  1.9.74
AWS SDK for C++
UnassignIpv6AddressesResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace EC2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
41 
45  inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceId = value; }
46 
50  inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceId = std::move(value); }
51 
55  inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceId.assign(value); }
56 
60  inline UnassignIpv6AddressesResponse& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
61 
65  inline UnassignIpv6AddressesResponse& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
66 
70  inline UnassignIpv6AddressesResponse& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
71 
72 
76  inline const Aws::Vector<Aws::String>& GetUnassignedIpv6Addresses() const{ return m_unassignedIpv6Addresses; }
77 
81  inline void SetUnassignedIpv6Addresses(const Aws::Vector<Aws::String>& value) { m_unassignedIpv6Addresses = value; }
82 
86  inline void SetUnassignedIpv6Addresses(Aws::Vector<Aws::String>&& value) { m_unassignedIpv6Addresses = std::move(value); }
87 
91  inline UnassignIpv6AddressesResponse& WithUnassignedIpv6Addresses(const Aws::Vector<Aws::String>& value) { SetUnassignedIpv6Addresses(value); return *this;}
92 
96  inline UnassignIpv6AddressesResponse& WithUnassignedIpv6Addresses(Aws::Vector<Aws::String>&& value) { SetUnassignedIpv6Addresses(std::move(value)); return *this;}
97 
101  inline UnassignIpv6AddressesResponse& AddUnassignedIpv6Addresses(const Aws::String& value) { m_unassignedIpv6Addresses.push_back(value); return *this; }
102 
106  inline UnassignIpv6AddressesResponse& AddUnassignedIpv6Addresses(Aws::String&& value) { m_unassignedIpv6Addresses.push_back(std::move(value)); return *this; }
107 
111  inline UnassignIpv6AddressesResponse& AddUnassignedIpv6Addresses(const char* value) { m_unassignedIpv6Addresses.push_back(value); return *this; }
112 
113 
118  inline const Aws::Vector<Aws::String>& GetUnassignedIpv6Prefixes() const{ return m_unassignedIpv6Prefixes; }
119 
124  inline void SetUnassignedIpv6Prefixes(const Aws::Vector<Aws::String>& value) { m_unassignedIpv6Prefixes = value; }
125 
130  inline void SetUnassignedIpv6Prefixes(Aws::Vector<Aws::String>&& value) { m_unassignedIpv6Prefixes = std::move(value); }
131 
136  inline UnassignIpv6AddressesResponse& WithUnassignedIpv6Prefixes(const Aws::Vector<Aws::String>& value) { SetUnassignedIpv6Prefixes(value); return *this;}
137 
142  inline UnassignIpv6AddressesResponse& WithUnassignedIpv6Prefixes(Aws::Vector<Aws::String>&& value) { SetUnassignedIpv6Prefixes(std::move(value)); return *this;}
143 
148  inline UnassignIpv6AddressesResponse& AddUnassignedIpv6Prefixes(const Aws::String& value) { m_unassignedIpv6Prefixes.push_back(value); return *this; }
149 
154  inline UnassignIpv6AddressesResponse& AddUnassignedIpv6Prefixes(Aws::String&& value) { m_unassignedIpv6Prefixes.push_back(std::move(value)); return *this; }
155 
160  inline UnassignIpv6AddressesResponse& AddUnassignedIpv6Prefixes(const char* value) { m_unassignedIpv6Prefixes.push_back(value); return *this; }
161 
162 
163 
164  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
165 
166 
167  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
168 
169 
170  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
171 
172 
173  inline UnassignIpv6AddressesResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
174 
175 
176  inline UnassignIpv6AddressesResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
177 
178  private:
179 
180  Aws::String m_networkInterfaceId;
181 
182  Aws::Vector<Aws::String> m_unassignedIpv6Addresses;
183 
184  Aws::Vector<Aws::String> m_unassignedIpv6Prefixes;
185 
186  ResponseMetadata m_responseMetadata;
187  };
188 
189 } // namespace Model
190 } // namespace EC2
191 } // namespace Aws
Aws::EC2::Model::UnassignIpv6AddressesResponse::SetUnassignedIpv6Addresses
void SetUnassignedIpv6Addresses(const Aws::Vector< Aws::String > &value)
Definition: UnassignIpv6AddressesResponse.h:81
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::UnassignIpv6AddressesResponse::WithUnassignedIpv6Addresses
UnassignIpv6AddressesResponse & WithUnassignedIpv6Addresses(Aws::Vector< Aws::String > &&value)
Definition: UnassignIpv6AddressesResponse.h:96
Aws::EC2::Model::UnassignIpv6AddressesResponse::UnassignIpv6AddressesResponse
UnassignIpv6AddressesResponse()
Aws::EC2::Model::UnassignIpv6AddressesResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: UnassignIpv6AddressesResponse.h:167
Aws::EC2::Model::UnassignIpv6AddressesResponse::operator=
UnassignIpv6AddressesResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::UnassignIpv6AddressesResponse::UnassignIpv6AddressesResponse
UnassignIpv6AddressesResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::UnassignIpv6AddressesResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: UnassignIpv6AddressesResponse.h:170
Aws::EC2::Model::UnassignIpv6AddressesResponse::AddUnassignedIpv6Prefixes
UnassignIpv6AddressesResponse & AddUnassignedIpv6Prefixes(Aws::String &&value)
Definition: UnassignIpv6AddressesResponse.h:154
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::UnassignIpv6AddressesResponse::WithNetworkInterfaceId
UnassignIpv6AddressesResponse & WithNetworkInterfaceId(const Aws::String &value)
Definition: UnassignIpv6AddressesResponse.h:60
AWSVector.h
Aws::EC2::Model::UnassignIpv6AddressesResponse::AddUnassignedIpv6Prefixes
UnassignIpv6AddressesResponse & AddUnassignedIpv6Prefixes(const char *value)
Definition: UnassignIpv6AddressesResponse.h:160
Aws::EC2::Model::UnassignIpv6AddressesResponse::SetNetworkInterfaceId
void SetNetworkInterfaceId(const Aws::String &value)
Definition: UnassignIpv6AddressesResponse.h:45
Aws::EC2::Model::UnassignIpv6AddressesResponse::GetUnassignedIpv6Prefixes
const Aws::Vector< Aws::String > & GetUnassignedIpv6Prefixes() const
Definition: UnassignIpv6AddressesResponse.h:118
Aws::EC2::Model::UnassignIpv6AddressesResponse::WithNetworkInterfaceId
UnassignIpv6AddressesResponse & WithNetworkInterfaceId(const char *value)
Definition: UnassignIpv6AddressesResponse.h:70
Aws::EC2::Model::UnassignIpv6AddressesResponse::AddUnassignedIpv6Addresses
UnassignIpv6AddressesResponse & AddUnassignedIpv6Addresses(Aws::String &&value)
Definition: UnassignIpv6AddressesResponse.h:106
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::UnassignIpv6AddressesResponse::SetUnassignedIpv6Addresses
void SetUnassignedIpv6Addresses(Aws::Vector< Aws::String > &&value)
Definition: UnassignIpv6AddressesResponse.h:86
Aws::EC2::Model::UnassignIpv6AddressesResponse::GetNetworkInterfaceId
const Aws::String & GetNetworkInterfaceId() const
Definition: UnassignIpv6AddressesResponse.h:40
Aws::EC2::Model::UnassignIpv6AddressesResponse::WithUnassignedIpv6Prefixes
UnassignIpv6AddressesResponse & WithUnassignedIpv6Prefixes(const Aws::Vector< Aws::String > &value)
Definition: UnassignIpv6AddressesResponse.h:136
Aws::EC2::Model::UnassignIpv6AddressesResponse::SetUnassignedIpv6Prefixes
void SetUnassignedIpv6Prefixes(Aws::Vector< Aws::String > &&value)
Definition: UnassignIpv6AddressesResponse.h:130
Aws::EC2::Model::UnassignIpv6AddressesResponse::AddUnassignedIpv6Prefixes
UnassignIpv6AddressesResponse & AddUnassignedIpv6Prefixes(const Aws::String &value)
Definition: UnassignIpv6AddressesResponse.h:148
Aws::EC2::Model::UnassignIpv6AddressesResponse::WithNetworkInterfaceId
UnassignIpv6AddressesResponse & WithNetworkInterfaceId(Aws::String &&value)
Definition: UnassignIpv6AddressesResponse.h:65
Aws::EC2::Model::UnassignIpv6AddressesResponse::GetUnassignedIpv6Addresses
const Aws::Vector< Aws::String > & GetUnassignedIpv6Addresses() const
Definition: UnassignIpv6AddressesResponse.h:76
Aws::EC2::Model::UnassignIpv6AddressesResponse::WithResponseMetadata
UnassignIpv6AddressesResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: UnassignIpv6AddressesResponse.h:176
Aws::EC2::Model::UnassignIpv6AddressesResponse::AddUnassignedIpv6Addresses
UnassignIpv6AddressesResponse & AddUnassignedIpv6Addresses(const Aws::String &value)
Definition: UnassignIpv6AddressesResponse.h:101
Aws::EC2::Model::UnassignIpv6AddressesResponse
Definition: UnassignIpv6AddressesResponse.h:30
Aws::EC2::Model::UnassignIpv6AddressesResponse::SetNetworkInterfaceId
void SetNetworkInterfaceId(const char *value)
Definition: UnassignIpv6AddressesResponse.h:55
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::UnassignIpv6AddressesResponse::WithUnassignedIpv6Prefixes
UnassignIpv6AddressesResponse & WithUnassignedIpv6Prefixes(Aws::Vector< Aws::String > &&value)
Definition: UnassignIpv6AddressesResponse.h:142
Aws::EC2::Model::UnassignIpv6AddressesResponse::AddUnassignedIpv6Addresses
UnassignIpv6AddressesResponse & AddUnassignedIpv6Addresses(const char *value)
Definition: UnassignIpv6AddressesResponse.h:111
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::UnassignIpv6AddressesResponse::WithResponseMetadata
UnassignIpv6AddressesResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: UnassignIpv6AddressesResponse.h:173
EC2_EXPORTS.h
Aws::EC2::Model::UnassignIpv6AddressesResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: UnassignIpv6AddressesResponse.h:164
Aws::EC2::Model::UnassignIpv6AddressesResponse::SetNetworkInterfaceId
void SetNetworkInterfaceId(Aws::String &&value)
Definition: UnassignIpv6AddressesResponse.h:50
Aws::EC2::Model::UnassignIpv6AddressesResponse::SetUnassignedIpv6Prefixes
void SetUnassignedIpv6Prefixes(const Aws::Vector< Aws::String > &value)
Definition: UnassignIpv6AddressesResponse.h:124
Aws::EC2::Model::UnassignIpv6AddressesResponse::WithUnassignedIpv6Addresses
UnassignIpv6AddressesResponse & WithUnassignedIpv6Addresses(const Aws::Vector< Aws::String > &value)
Definition: UnassignIpv6AddressesResponse.h:91