AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AwsEc2EipDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
28 public:
29 AWS_SECURITYHUB_API AwsEc2EipDetails() = default;
30 AWS_SECURITYHUB_API AwsEc2EipDetails(Aws::Utils::Json::JsonView jsonValue);
31 AWS_SECURITYHUB_API AwsEc2EipDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
39 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
40 template <typename InstanceIdT = Aws::String>
41 void SetInstanceId(InstanceIdT&& value) {
42 m_instanceIdHasBeenSet = true;
43 m_instanceId = std::forward<InstanceIdT>(value);
44 }
45 template <typename InstanceIdT = Aws::String>
46 AwsEc2EipDetails& WithInstanceId(InstanceIdT&& value) {
47 SetInstanceId(std::forward<InstanceIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetPublicIp() const { return m_publicIp; }
57 inline bool PublicIpHasBeenSet() const { return m_publicIpHasBeenSet; }
58 template <typename PublicIpT = Aws::String>
59 void SetPublicIp(PublicIpT&& value) {
60 m_publicIpHasBeenSet = true;
61 m_publicIp = std::forward<PublicIpT>(value);
62 }
63 template <typename PublicIpT = Aws::String>
64 AwsEc2EipDetails& WithPublicIp(PublicIpT&& value) {
65 SetPublicIp(std::forward<PublicIpT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetAllocationId() const { return m_allocationId; }
76 inline bool AllocationIdHasBeenSet() const { return m_allocationIdHasBeenSet; }
77 template <typename AllocationIdT = Aws::String>
78 void SetAllocationId(AllocationIdT&& value) {
79 m_allocationIdHasBeenSet = true;
80 m_allocationId = std::forward<AllocationIdT>(value);
81 }
82 template <typename AllocationIdT = Aws::String>
83 AwsEc2EipDetails& WithAllocationId(AllocationIdT&& value) {
84 SetAllocationId(std::forward<AllocationIdT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetAssociationId() const { return m_associationId; }
95 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
96 template <typename AssociationIdT = Aws::String>
97 void SetAssociationId(AssociationIdT&& value) {
98 m_associationIdHasBeenSet = true;
99 m_associationId = std::forward<AssociationIdT>(value);
100 }
101 template <typename AssociationIdT = Aws::String>
102 AwsEc2EipDetails& WithAssociationId(AssociationIdT&& value) {
103 SetAssociationId(std::forward<AssociationIdT>(value));
104 return *this;
105 }
107
109
114 inline const Aws::String& GetDomain() const { return m_domain; }
115 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
116 template <typename DomainT = Aws::String>
117 void SetDomain(DomainT&& value) {
118 m_domainHasBeenSet = true;
119 m_domain = std::forward<DomainT>(value);
120 }
121 template <typename DomainT = Aws::String>
122 AwsEc2EipDetails& WithDomain(DomainT&& value) {
123 SetDomain(std::forward<DomainT>(value));
124 return *this;
125 }
127
129
133 inline const Aws::String& GetPublicIpv4Pool() const { return m_publicIpv4Pool; }
134 inline bool PublicIpv4PoolHasBeenSet() const { return m_publicIpv4PoolHasBeenSet; }
135 template <typename PublicIpv4PoolT = Aws::String>
136 void SetPublicIpv4Pool(PublicIpv4PoolT&& value) {
137 m_publicIpv4PoolHasBeenSet = true;
138 m_publicIpv4Pool = std::forward<PublicIpv4PoolT>(value);
139 }
140 template <typename PublicIpv4PoolT = Aws::String>
141 AwsEc2EipDetails& WithPublicIpv4Pool(PublicIpv4PoolT&& value) {
142 SetPublicIpv4Pool(std::forward<PublicIpv4PoolT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::String& GetNetworkBorderGroup() const { return m_networkBorderGroup; }
152 inline bool NetworkBorderGroupHasBeenSet() const { return m_networkBorderGroupHasBeenSet; }
153 template <typename NetworkBorderGroupT = Aws::String>
154 void SetNetworkBorderGroup(NetworkBorderGroupT&& value) {
155 m_networkBorderGroupHasBeenSet = true;
156 m_networkBorderGroup = std::forward<NetworkBorderGroupT>(value);
157 }
158 template <typename NetworkBorderGroupT = Aws::String>
159 AwsEc2EipDetails& WithNetworkBorderGroup(NetworkBorderGroupT&& value) {
160 SetNetworkBorderGroup(std::forward<NetworkBorderGroupT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::String& GetNetworkInterfaceId() const { return m_networkInterfaceId; }
170 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
171 template <typename NetworkInterfaceIdT = Aws::String>
172 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) {
173 m_networkInterfaceIdHasBeenSet = true;
174 m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value);
175 }
176 template <typename NetworkInterfaceIdT = Aws::String>
177 AwsEc2EipDetails& WithNetworkInterfaceId(NetworkInterfaceIdT&& value) {
178 SetNetworkInterfaceId(std::forward<NetworkInterfaceIdT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::String& GetNetworkInterfaceOwnerId() const { return m_networkInterfaceOwnerId; }
188 inline bool NetworkInterfaceOwnerIdHasBeenSet() const { return m_networkInterfaceOwnerIdHasBeenSet; }
189 template <typename NetworkInterfaceOwnerIdT = Aws::String>
190 void SetNetworkInterfaceOwnerId(NetworkInterfaceOwnerIdT&& value) {
191 m_networkInterfaceOwnerIdHasBeenSet = true;
192 m_networkInterfaceOwnerId = std::forward<NetworkInterfaceOwnerIdT>(value);
193 }
194 template <typename NetworkInterfaceOwnerIdT = Aws::String>
195 AwsEc2EipDetails& WithNetworkInterfaceOwnerId(NetworkInterfaceOwnerIdT&& value) {
196 SetNetworkInterfaceOwnerId(std::forward<NetworkInterfaceOwnerIdT>(value));
197 return *this;
198 }
200
202
205 inline const Aws::String& GetPrivateIpAddress() const { return m_privateIpAddress; }
206 inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
207 template <typename PrivateIpAddressT = Aws::String>
208 void SetPrivateIpAddress(PrivateIpAddressT&& value) {
209 m_privateIpAddressHasBeenSet = true;
210 m_privateIpAddress = std::forward<PrivateIpAddressT>(value);
211 }
212 template <typename PrivateIpAddressT = Aws::String>
213 AwsEc2EipDetails& WithPrivateIpAddress(PrivateIpAddressT&& value) {
214 SetPrivateIpAddress(std::forward<PrivateIpAddressT>(value));
215 return *this;
216 }
218 private:
219 Aws::String m_instanceId;
220
221 Aws::String m_publicIp;
222
223 Aws::String m_allocationId;
224
225 Aws::String m_associationId;
226
227 Aws::String m_domain;
228
229 Aws::String m_publicIpv4Pool;
230
231 Aws::String m_networkBorderGroup;
232
233 Aws::String m_networkInterfaceId;
234
235 Aws::String m_networkInterfaceOwnerId;
236
237 Aws::String m_privateIpAddress;
238 bool m_instanceIdHasBeenSet = false;
239 bool m_publicIpHasBeenSet = false;
240 bool m_allocationIdHasBeenSet = false;
241 bool m_associationIdHasBeenSet = false;
242 bool m_domainHasBeenSet = false;
243 bool m_publicIpv4PoolHasBeenSet = false;
244 bool m_networkBorderGroupHasBeenSet = false;
245 bool m_networkInterfaceIdHasBeenSet = false;
246 bool m_networkInterfaceOwnerIdHasBeenSet = false;
247 bool m_privateIpAddressHasBeenSet = false;
248};
249
250} // namespace Model
251} // namespace SecurityHub
252} // namespace Aws
void SetAllocationId(AllocationIdT &&value)
AwsEc2EipDetails & WithAllocationId(AllocationIdT &&value)
AWS_SECURITYHUB_API AwsEc2EipDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPublicIpv4Pool(PublicIpv4PoolT &&value)
AwsEc2EipDetails & WithDomain(DomainT &&value)
const Aws::String & GetInstanceId() const
const Aws::String & GetPublicIp() const
AwsEc2EipDetails & WithPrivateIpAddress(PrivateIpAddressT &&value)
const Aws::String & GetPrivateIpAddress() const
const Aws::String & GetAssociationId() const
AwsEc2EipDetails & WithInstanceId(InstanceIdT &&value)
const Aws::String & GetNetworkInterfaceId() const
void SetNetworkInterfaceOwnerId(NetworkInterfaceOwnerIdT &&value)
AWS_SECURITYHUB_API AwsEc2EipDetails()=default
const Aws::String & GetPublicIpv4Pool() const
const Aws::String & GetAllocationId() const
AwsEc2EipDetails & WithNetworkBorderGroup(NetworkBorderGroupT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEc2EipDetails & WithNetworkInterfaceOwnerId(NetworkInterfaceOwnerIdT &&value)
AwsEc2EipDetails & WithAssociationId(AssociationIdT &&value)
AwsEc2EipDetails & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
AWS_SECURITYHUB_API AwsEc2EipDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEc2EipDetails & WithPublicIp(PublicIpT &&value)
AwsEc2EipDetails & WithPublicIpv4Pool(PublicIpv4PoolT &&value)
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
void SetPrivateIpAddress(PrivateIpAddressT &&value)
const Aws::String & GetNetworkInterfaceOwnerId() const
const Aws::String & GetNetworkBorderGroup() const
void SetNetworkBorderGroup(NetworkBorderGroupT &&value)
void SetAssociationId(AssociationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue