AWS SDK for C++  1.9.66
AWS SDK for C++
AssignPrivateIpAddressesResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Xml
23 {
24  class XmlDocument;
25 } // namespace Xml
26 } // namespace Utils
27 namespace EC2
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
43 
47  inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceId = value; }
48 
52  inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceId = std::move(value); }
53 
57  inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceId.assign(value); }
58 
62  inline AssignPrivateIpAddressesResponse& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
63 
67  inline AssignPrivateIpAddressesResponse& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
68 
72  inline AssignPrivateIpAddressesResponse& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
73 
74 
78  inline const Aws::Vector<AssignedPrivateIpAddress>& GetAssignedPrivateIpAddresses() const{ return m_assignedPrivateIpAddresses; }
79 
83  inline void SetAssignedPrivateIpAddresses(const Aws::Vector<AssignedPrivateIpAddress>& value) { m_assignedPrivateIpAddresses = value; }
84 
88  inline void SetAssignedPrivateIpAddresses(Aws::Vector<AssignedPrivateIpAddress>&& value) { m_assignedPrivateIpAddresses = std::move(value); }
89 
93  inline AssignPrivateIpAddressesResponse& WithAssignedPrivateIpAddresses(const Aws::Vector<AssignedPrivateIpAddress>& value) { SetAssignedPrivateIpAddresses(value); return *this;}
94 
98  inline AssignPrivateIpAddressesResponse& WithAssignedPrivateIpAddresses(Aws::Vector<AssignedPrivateIpAddress>&& value) { SetAssignedPrivateIpAddresses(std::move(value)); return *this;}
99 
103  inline AssignPrivateIpAddressesResponse& AddAssignedPrivateIpAddresses(const AssignedPrivateIpAddress& value) { m_assignedPrivateIpAddresses.push_back(value); return *this; }
104 
108  inline AssignPrivateIpAddressesResponse& AddAssignedPrivateIpAddresses(AssignedPrivateIpAddress&& value) { m_assignedPrivateIpAddresses.push_back(std::move(value)); return *this; }
109 
110 
115  inline const Aws::Vector<Ipv4PrefixSpecification>& GetAssignedIpv4Prefixes() const{ return m_assignedIpv4Prefixes; }
116 
121  inline void SetAssignedIpv4Prefixes(const Aws::Vector<Ipv4PrefixSpecification>& value) { m_assignedIpv4Prefixes = value; }
122 
127  inline void SetAssignedIpv4Prefixes(Aws::Vector<Ipv4PrefixSpecification>&& value) { m_assignedIpv4Prefixes = std::move(value); }
128 
133  inline AssignPrivateIpAddressesResponse& WithAssignedIpv4Prefixes(const Aws::Vector<Ipv4PrefixSpecification>& value) { SetAssignedIpv4Prefixes(value); return *this;}
134 
139  inline AssignPrivateIpAddressesResponse& WithAssignedIpv4Prefixes(Aws::Vector<Ipv4PrefixSpecification>&& value) { SetAssignedIpv4Prefixes(std::move(value)); return *this;}
140 
145  inline AssignPrivateIpAddressesResponse& AddAssignedIpv4Prefixes(const Ipv4PrefixSpecification& value) { m_assignedIpv4Prefixes.push_back(value); return *this; }
146 
151  inline AssignPrivateIpAddressesResponse& AddAssignedIpv4Prefixes(Ipv4PrefixSpecification&& value) { m_assignedIpv4Prefixes.push_back(std::move(value)); return *this; }
152 
153 
154 
155  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
156 
157 
158  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
159 
160 
161  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
162 
163 
164  inline AssignPrivateIpAddressesResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
165 
166 
167  inline AssignPrivateIpAddressesResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
168 
169  private:
170 
171  Aws::String m_networkInterfaceId;
172 
173  Aws::Vector<AssignedPrivateIpAddress> m_assignedPrivateIpAddresses;
174 
175  Aws::Vector<Ipv4PrefixSpecification> m_assignedIpv4Prefixes;
176 
177  ResponseMetadata m_responseMetadata;
178  };
179 
180 } // namespace Model
181 } // namespace EC2
182 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::AssignPrivateIpAddressesResponse::SetAssignedIpv4Prefixes
void SetAssignedIpv4Prefixes(Aws::Vector< Ipv4PrefixSpecification > &&value)
Definition: AssignPrivateIpAddressesResponse.h:127
Aws::EC2::Model::AssignPrivateIpAddressesResponse::WithNetworkInterfaceId
AssignPrivateIpAddressesResponse & WithNetworkInterfaceId(const Aws::String &value)
Definition: AssignPrivateIpAddressesResponse.h:62
Aws::EC2::Model::AssignPrivateIpAddressesResponse::SetNetworkInterfaceId
void SetNetworkInterfaceId(const Aws::String &value)
Definition: AssignPrivateIpAddressesResponse.h:47
Aws::EC2::Model::AssignPrivateIpAddressesResponse::WithAssignedIpv4Prefixes
AssignPrivateIpAddressesResponse & WithAssignedIpv4Prefixes(const Aws::Vector< Ipv4PrefixSpecification > &value)
Definition: AssignPrivateIpAddressesResponse.h:133
Aws::EC2::Model::AssignPrivateIpAddressesResponse::SetAssignedPrivateIpAddresses
void SetAssignedPrivateIpAddresses(const Aws::Vector< AssignedPrivateIpAddress > &value)
Definition: AssignPrivateIpAddressesResponse.h:83
Aws::EC2::Model::AssignPrivateIpAddressesResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: AssignPrivateIpAddressesResponse.h:158
Aws::EC2::Model::AssignPrivateIpAddressesResponse::AddAssignedIpv4Prefixes
AssignPrivateIpAddressesResponse & AddAssignedIpv4Prefixes(Ipv4PrefixSpecification &&value)
Definition: AssignPrivateIpAddressesResponse.h:151
Aws::EC2::Model::AssignPrivateIpAddressesResponse::SetNetworkInterfaceId
void SetNetworkInterfaceId(const char *value)
Definition: AssignPrivateIpAddressesResponse.h:57
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::Ipv4PrefixSpecification
Definition: Ipv4PrefixSpecification.h:32
ResponseMetadata.h
Aws::EC2::Model::AssignPrivateIpAddressesResponse::SetAssignedIpv4Prefixes
void SetAssignedIpv4Prefixes(const Aws::Vector< Ipv4PrefixSpecification > &value)
Definition: AssignPrivateIpAddressesResponse.h:121
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::AssignPrivateIpAddressesResponse::WithResponseMetadata
AssignPrivateIpAddressesResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: AssignPrivateIpAddressesResponse.h:164
Aws::EC2::Model::AssignPrivateIpAddressesResponse
Definition: AssignPrivateIpAddressesResponse.h:32
AWSVector.h
Aws::EC2::Model::AssignPrivateIpAddressesResponse::WithNetworkInterfaceId
AssignPrivateIpAddressesResponse & WithNetworkInterfaceId(const char *value)
Definition: AssignPrivateIpAddressesResponse.h:72
Aws::EC2::Model::AssignPrivateIpAddressesResponse::GetAssignedPrivateIpAddresses
const Aws::Vector< AssignedPrivateIpAddress > & GetAssignedPrivateIpAddresses() const
Definition: AssignPrivateIpAddressesResponse.h:78
Aws::EC2::Model::AssignedPrivateIpAddress
Definition: AssignedPrivateIpAddress.h:33
Aws::EC2::Model::AssignPrivateIpAddressesResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: AssignPrivateIpAddressesResponse.h:161
Ipv4PrefixSpecification.h
Aws::EC2::Model::AssignPrivateIpAddressesResponse::GetAssignedIpv4Prefixes
const Aws::Vector< Ipv4PrefixSpecification > & GetAssignedIpv4Prefixes() const
Definition: AssignPrivateIpAddressesResponse.h:115
Aws::EC2::Model::AssignPrivateIpAddressesResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: AssignPrivateIpAddressesResponse.h:155
Aws::EC2::Model::AssignPrivateIpAddressesResponse::AddAssignedPrivateIpAddresses
AssignPrivateIpAddressesResponse & AddAssignedPrivateIpAddresses(AssignedPrivateIpAddress &&value)
Definition: AssignPrivateIpAddressesResponse.h:108
Aws::EC2::Model::AssignPrivateIpAddressesResponse::GetNetworkInterfaceId
const Aws::String & GetNetworkInterfaceId() const
Definition: AssignPrivateIpAddressesResponse.h:42
Aws::EC2::Model::AssignPrivateIpAddressesResponse::operator=
AssignPrivateIpAddressesResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::AssignPrivateIpAddressesResponse::AssignPrivateIpAddressesResponse
AssignPrivateIpAddressesResponse()
AWSString.h
Aws::EC2::Model::AssignPrivateIpAddressesResponse::WithAssignedPrivateIpAddresses
AssignPrivateIpAddressesResponse & WithAssignedPrivateIpAddresses(Aws::Vector< AssignedPrivateIpAddress > &&value)
Definition: AssignPrivateIpAddressesResponse.h:98
Aws::EC2::Model::AssignPrivateIpAddressesResponse::AddAssignedPrivateIpAddresses
AssignPrivateIpAddressesResponse & AddAssignedPrivateIpAddresses(const AssignedPrivateIpAddress &value)
Definition: AssignPrivateIpAddressesResponse.h:103
Aws::EC2::Model::AssignPrivateIpAddressesResponse::SetAssignedPrivateIpAddresses
void SetAssignedPrivateIpAddresses(Aws::Vector< AssignedPrivateIpAddress > &&value)
Definition: AssignPrivateIpAddressesResponse.h:88
Aws::EC2::Model::AssignPrivateIpAddressesResponse::WithAssignedPrivateIpAddresses
AssignPrivateIpAddressesResponse & WithAssignedPrivateIpAddresses(const Aws::Vector< AssignedPrivateIpAddress > &value)
Definition: AssignPrivateIpAddressesResponse.h:93
Aws::EC2::Model::AssignPrivateIpAddressesResponse::WithAssignedIpv4Prefixes
AssignPrivateIpAddressesResponse & WithAssignedIpv4Prefixes(Aws::Vector< Ipv4PrefixSpecification > &&value)
Definition: AssignPrivateIpAddressesResponse.h:139
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::AssignPrivateIpAddressesResponse::SetNetworkInterfaceId
void SetNetworkInterfaceId(Aws::String &&value)
Definition: AssignPrivateIpAddressesResponse.h:52
Aws::EC2::Model::AssignPrivateIpAddressesResponse::WithResponseMetadata
AssignPrivateIpAddressesResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: AssignPrivateIpAddressesResponse.h:167
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AssignedPrivateIpAddress.h
Aws::EC2::Model::AssignPrivateIpAddressesResponse::AddAssignedIpv4Prefixes
AssignPrivateIpAddressesResponse & AddAssignedIpv4Prefixes(const Ipv4PrefixSpecification &value)
Definition: AssignPrivateIpAddressesResponse.h:145
EC2_EXPORTS.h
Aws::EC2::Model::AssignPrivateIpAddressesResponse::AssignPrivateIpAddressesResponse
AssignPrivateIpAddressesResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::AssignPrivateIpAddressesResponse::WithNetworkInterfaceId
AssignPrivateIpAddressesResponse & WithNetworkInterfaceId(Aws::String &&value)
Definition: AssignPrivateIpAddressesResponse.h:67