AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AllocateAddressResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/DomainType.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetAllocationId() const{ return m_allocationId; }
42 inline void SetAllocationId(const Aws::String& value) { m_allocationId = value; }
43 inline void SetAllocationId(Aws::String&& value) { m_allocationId = std::move(value); }
44 inline void SetAllocationId(const char* value) { m_allocationId.assign(value); }
45 inline AllocateAddressResponse& WithAllocationId(const Aws::String& value) { SetAllocationId(value); return *this;}
46 inline AllocateAddressResponse& WithAllocationId(Aws::String&& value) { SetAllocationId(std::move(value)); return *this;}
47 inline AllocateAddressResponse& WithAllocationId(const char* value) { SetAllocationId(value); return *this;}
49
51
54 inline const Aws::String& GetPublicIpv4Pool() const{ return m_publicIpv4Pool; }
55 inline void SetPublicIpv4Pool(const Aws::String& value) { m_publicIpv4Pool = value; }
56 inline void SetPublicIpv4Pool(Aws::String&& value) { m_publicIpv4Pool = std::move(value); }
57 inline void SetPublicIpv4Pool(const char* value) { m_publicIpv4Pool.assign(value); }
58 inline AllocateAddressResponse& WithPublicIpv4Pool(const Aws::String& value) { SetPublicIpv4Pool(value); return *this;}
59 inline AllocateAddressResponse& WithPublicIpv4Pool(Aws::String&& value) { SetPublicIpv4Pool(std::move(value)); return *this;}
60 inline AllocateAddressResponse& WithPublicIpv4Pool(const char* value) { SetPublicIpv4Pool(value); return *this;}
62
64
68 inline const Aws::String& GetNetworkBorderGroup() const{ return m_networkBorderGroup; }
69 inline void SetNetworkBorderGroup(const Aws::String& value) { m_networkBorderGroup = value; }
70 inline void SetNetworkBorderGroup(Aws::String&& value) { m_networkBorderGroup = std::move(value); }
71 inline void SetNetworkBorderGroup(const char* value) { m_networkBorderGroup.assign(value); }
73 inline AllocateAddressResponse& WithNetworkBorderGroup(Aws::String&& value) { SetNetworkBorderGroup(std::move(value)); return *this;}
74 inline AllocateAddressResponse& WithNetworkBorderGroup(const char* value) { SetNetworkBorderGroup(value); return *this;}
76
78
81 inline const DomainType& GetDomain() const{ return m_domain; }
82 inline void SetDomain(const DomainType& value) { m_domain = value; }
83 inline void SetDomain(DomainType&& value) { m_domain = std::move(value); }
84 inline AllocateAddressResponse& WithDomain(const DomainType& value) { SetDomain(value); return *this;}
85 inline AllocateAddressResponse& WithDomain(DomainType&& value) { SetDomain(std::move(value)); return *this;}
87
89
92 inline const Aws::String& GetCustomerOwnedIp() const{ return m_customerOwnedIp; }
93 inline void SetCustomerOwnedIp(const Aws::String& value) { m_customerOwnedIp = value; }
94 inline void SetCustomerOwnedIp(Aws::String&& value) { m_customerOwnedIp = std::move(value); }
95 inline void SetCustomerOwnedIp(const char* value) { m_customerOwnedIp.assign(value); }
96 inline AllocateAddressResponse& WithCustomerOwnedIp(const Aws::String& value) { SetCustomerOwnedIp(value); return *this;}
97 inline AllocateAddressResponse& WithCustomerOwnedIp(Aws::String&& value) { SetCustomerOwnedIp(std::move(value)); return *this;}
98 inline AllocateAddressResponse& WithCustomerOwnedIp(const char* value) { SetCustomerOwnedIp(value); return *this;}
100
102
105 inline const Aws::String& GetCustomerOwnedIpv4Pool() const{ return m_customerOwnedIpv4Pool; }
106 inline void SetCustomerOwnedIpv4Pool(const Aws::String& value) { m_customerOwnedIpv4Pool = value; }
107 inline void SetCustomerOwnedIpv4Pool(Aws::String&& value) { m_customerOwnedIpv4Pool = std::move(value); }
108 inline void SetCustomerOwnedIpv4Pool(const char* value) { m_customerOwnedIpv4Pool.assign(value); }
111 inline AllocateAddressResponse& WithCustomerOwnedIpv4Pool(const char* value) { SetCustomerOwnedIpv4Pool(value); return *this;}
113
115
119 inline const Aws::String& GetCarrierIp() const{ return m_carrierIp; }
120 inline void SetCarrierIp(const Aws::String& value) { m_carrierIp = value; }
121 inline void SetCarrierIp(Aws::String&& value) { m_carrierIp = std::move(value); }
122 inline void SetCarrierIp(const char* value) { m_carrierIp.assign(value); }
123 inline AllocateAddressResponse& WithCarrierIp(const Aws::String& value) { SetCarrierIp(value); return *this;}
124 inline AllocateAddressResponse& WithCarrierIp(Aws::String&& value) { SetCarrierIp(std::move(value)); return *this;}
125 inline AllocateAddressResponse& WithCarrierIp(const char* value) { SetCarrierIp(value); return *this;}
127
129
132 inline const Aws::String& GetPublicIp() const{ return m_publicIp; }
133 inline void SetPublicIp(const Aws::String& value) { m_publicIp = value; }
134 inline void SetPublicIp(Aws::String&& value) { m_publicIp = std::move(value); }
135 inline void SetPublicIp(const char* value) { m_publicIp.assign(value); }
136 inline AllocateAddressResponse& WithPublicIp(const Aws::String& value) { SetPublicIp(value); return *this;}
137 inline AllocateAddressResponse& WithPublicIp(Aws::String&& value) { SetPublicIp(std::move(value)); return *this;}
138 inline AllocateAddressResponse& WithPublicIp(const char* value) { SetPublicIp(value); return *this;}
140
142
143 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
144 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
145 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
147 inline AllocateAddressResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
149 private:
150
151 Aws::String m_allocationId;
152
153 Aws::String m_publicIpv4Pool;
154
155 Aws::String m_networkBorderGroup;
156
157 DomainType m_domain;
158
159 Aws::String m_customerOwnedIp;
160
161 Aws::String m_customerOwnedIpv4Pool;
162
163 Aws::String m_carrierIp;
164
165 Aws::String m_publicIp;
166
167 ResponseMetadata m_responseMetadata;
168 };
169
170} // namespace Model
171} // namespace EC2
172} // namespace Aws
AllocateAddressResponse & WithResponseMetadata(const ResponseMetadata &value)
AllocateAddressResponse & WithPublicIp(const Aws::String &value)
AllocateAddressResponse & WithCarrierIp(Aws::String &&value)
AllocateAddressResponse & WithDomain(DomainType &&value)
AllocateAddressResponse & WithCarrierIp(const char *value)
AllocateAddressResponse & WithPublicIpv4Pool(const char *value)
void SetNetworkBorderGroup(const Aws::String &value)
void SetAllocationId(const Aws::String &value)
void SetCustomerOwnedIp(const Aws::String &value)
AllocateAddressResponse & WithCustomerOwnedIp(Aws::String &&value)
AllocateAddressResponse & WithAllocationId(Aws::String &&value)
AWS_EC2_API AllocateAddressResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AllocateAddressResponse & WithPublicIp(const char *value)
AllocateAddressResponse & WithNetworkBorderGroup(Aws::String &&value)
AllocateAddressResponse & WithCustomerOwnedIpv4Pool(Aws::String &&value)
AllocateAddressResponse & WithAllocationId(const char *value)
AllocateAddressResponse & WithCarrierIp(const Aws::String &value)
void SetPublicIpv4Pool(const Aws::String &value)
AllocateAddressResponse & WithPublicIpv4Pool(const Aws::String &value)
AllocateAddressResponse & WithCustomerOwnedIpv4Pool(const char *value)
AllocateAddressResponse & WithPublicIp(Aws::String &&value)
AllocateAddressResponse & WithCustomerOwnedIpv4Pool(const Aws::String &value)
AllocateAddressResponse & WithPublicIpv4Pool(Aws::String &&value)
AllocateAddressResponse & WithCustomerOwnedIp(const char *value)
AllocateAddressResponse & WithDomain(const DomainType &value)
AllocateAddressResponse & WithResponseMetadata(ResponseMetadata &&value)
AllocateAddressResponse & WithNetworkBorderGroup(const char *value)
AWS_EC2_API AllocateAddressResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(ResponseMetadata &&value)
void SetResponseMetadata(const ResponseMetadata &value)
AllocateAddressResponse & WithCustomerOwnedIp(const Aws::String &value)
void SetCustomerOwnedIpv4Pool(const Aws::String &value)
const ResponseMetadata & GetResponseMetadata() const
AllocateAddressResponse & WithNetworkBorderGroup(const Aws::String &value)
AllocateAddressResponse & WithAllocationId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument