AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEc2EipDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SECURITYHUB_API AwsEc2EipDetails();
35 AWS_SECURITYHUB_API AwsEc2EipDetails(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SECURITYHUB_API AwsEc2EipDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
45 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
46 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
47 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
48 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
49 inline AwsEc2EipDetails& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
50 inline AwsEc2EipDetails& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
51 inline AwsEc2EipDetails& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
53
55
58 inline const Aws::String& GetPublicIp() const{ return m_publicIp; }
59 inline bool PublicIpHasBeenSet() const { return m_publicIpHasBeenSet; }
60 inline void SetPublicIp(const Aws::String& value) { m_publicIpHasBeenSet = true; m_publicIp = value; }
61 inline void SetPublicIp(Aws::String&& value) { m_publicIpHasBeenSet = true; m_publicIp = std::move(value); }
62 inline void SetPublicIp(const char* value) { m_publicIpHasBeenSet = true; m_publicIp.assign(value); }
63 inline AwsEc2EipDetails& WithPublicIp(const Aws::String& value) { SetPublicIp(value); return *this;}
64 inline AwsEc2EipDetails& WithPublicIp(Aws::String&& value) { SetPublicIp(std::move(value)); return *this;}
65 inline AwsEc2EipDetails& WithPublicIp(const char* value) { SetPublicIp(value); return *this;}
67
69
73 inline const Aws::String& GetAllocationId() const{ return m_allocationId; }
74 inline bool AllocationIdHasBeenSet() const { return m_allocationIdHasBeenSet; }
75 inline void SetAllocationId(const Aws::String& value) { m_allocationIdHasBeenSet = true; m_allocationId = value; }
76 inline void SetAllocationId(Aws::String&& value) { m_allocationIdHasBeenSet = true; m_allocationId = std::move(value); }
77 inline void SetAllocationId(const char* value) { m_allocationIdHasBeenSet = true; m_allocationId.assign(value); }
78 inline AwsEc2EipDetails& WithAllocationId(const Aws::String& value) { SetAllocationId(value); return *this;}
79 inline AwsEc2EipDetails& WithAllocationId(Aws::String&& value) { SetAllocationId(std::move(value)); return *this;}
80 inline AwsEc2EipDetails& WithAllocationId(const char* value) { SetAllocationId(value); return *this;}
82
84
88 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
89 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
90 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
91 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
92 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
93 inline AwsEc2EipDetails& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
94 inline AwsEc2EipDetails& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
95 inline AwsEc2EipDetails& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
97
99
104 inline const Aws::String& GetDomain() const{ return m_domain; }
105 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
106 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
107 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
108 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
109 inline AwsEc2EipDetails& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
110 inline AwsEc2EipDetails& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
111 inline AwsEc2EipDetails& WithDomain(const char* value) { SetDomain(value); return *this;}
113
115
119 inline const Aws::String& GetPublicIpv4Pool() const{ return m_publicIpv4Pool; }
120 inline bool PublicIpv4PoolHasBeenSet() const { return m_publicIpv4PoolHasBeenSet; }
121 inline void SetPublicIpv4Pool(const Aws::String& value) { m_publicIpv4PoolHasBeenSet = true; m_publicIpv4Pool = value; }
122 inline void SetPublicIpv4Pool(Aws::String&& value) { m_publicIpv4PoolHasBeenSet = true; m_publicIpv4Pool = std::move(value); }
123 inline void SetPublicIpv4Pool(const char* value) { m_publicIpv4PoolHasBeenSet = true; m_publicIpv4Pool.assign(value); }
124 inline AwsEc2EipDetails& WithPublicIpv4Pool(const Aws::String& value) { SetPublicIpv4Pool(value); return *this;}
125 inline AwsEc2EipDetails& WithPublicIpv4Pool(Aws::String&& value) { SetPublicIpv4Pool(std::move(value)); return *this;}
126 inline AwsEc2EipDetails& WithPublicIpv4Pool(const char* value) { SetPublicIpv4Pool(value); return *this;}
128
130
133 inline const Aws::String& GetNetworkBorderGroup() const{ return m_networkBorderGroup; }
134 inline bool NetworkBorderGroupHasBeenSet() const { return m_networkBorderGroupHasBeenSet; }
135 inline void SetNetworkBorderGroup(const Aws::String& value) { m_networkBorderGroupHasBeenSet = true; m_networkBorderGroup = value; }
136 inline void SetNetworkBorderGroup(Aws::String&& value) { m_networkBorderGroupHasBeenSet = true; m_networkBorderGroup = std::move(value); }
137 inline void SetNetworkBorderGroup(const char* value) { m_networkBorderGroupHasBeenSet = true; m_networkBorderGroup.assign(value); }
138 inline AwsEc2EipDetails& WithNetworkBorderGroup(const Aws::String& value) { SetNetworkBorderGroup(value); return *this;}
139 inline AwsEc2EipDetails& WithNetworkBorderGroup(Aws::String&& value) { SetNetworkBorderGroup(std::move(value)); return *this;}
140 inline AwsEc2EipDetails& WithNetworkBorderGroup(const char* value) { SetNetworkBorderGroup(value); return *this;}
142
144
147 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
148 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
149 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
150 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
151 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
152 inline AwsEc2EipDetails& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
153 inline AwsEc2EipDetails& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
154 inline AwsEc2EipDetails& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
156
158
161 inline const Aws::String& GetNetworkInterfaceOwnerId() const{ return m_networkInterfaceOwnerId; }
162 inline bool NetworkInterfaceOwnerIdHasBeenSet() const { return m_networkInterfaceOwnerIdHasBeenSet; }
163 inline void SetNetworkInterfaceOwnerId(const Aws::String& value) { m_networkInterfaceOwnerIdHasBeenSet = true; m_networkInterfaceOwnerId = value; }
164 inline void SetNetworkInterfaceOwnerId(Aws::String&& value) { m_networkInterfaceOwnerIdHasBeenSet = true; m_networkInterfaceOwnerId = std::move(value); }
165 inline void SetNetworkInterfaceOwnerId(const char* value) { m_networkInterfaceOwnerIdHasBeenSet = true; m_networkInterfaceOwnerId.assign(value); }
167 inline AwsEc2EipDetails& WithNetworkInterfaceOwnerId(Aws::String&& value) { SetNetworkInterfaceOwnerId(std::move(value)); return *this;}
168 inline AwsEc2EipDetails& WithNetworkInterfaceOwnerId(const char* value) { SetNetworkInterfaceOwnerId(value); return *this;}
170
172
175 inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; }
176 inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
177 inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
178 inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); }
179 inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); }
180 inline AwsEc2EipDetails& WithPrivateIpAddress(const Aws::String& value) { SetPrivateIpAddress(value); return *this;}
181 inline AwsEc2EipDetails& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;}
182 inline AwsEc2EipDetails& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;}
184 private:
185
186 Aws::String m_instanceId;
187 bool m_instanceIdHasBeenSet = false;
188
189 Aws::String m_publicIp;
190 bool m_publicIpHasBeenSet = false;
191
192 Aws::String m_allocationId;
193 bool m_allocationIdHasBeenSet = false;
194
195 Aws::String m_associationId;
196 bool m_associationIdHasBeenSet = false;
197
198 Aws::String m_domain;
199 bool m_domainHasBeenSet = false;
200
201 Aws::String m_publicIpv4Pool;
202 bool m_publicIpv4PoolHasBeenSet = false;
203
204 Aws::String m_networkBorderGroup;
205 bool m_networkBorderGroupHasBeenSet = false;
206
207 Aws::String m_networkInterfaceId;
208 bool m_networkInterfaceIdHasBeenSet = false;
209
210 Aws::String m_networkInterfaceOwnerId;
211 bool m_networkInterfaceOwnerIdHasBeenSet = false;
212
213 Aws::String m_privateIpAddress;
214 bool m_privateIpAddressHasBeenSet = false;
215 };
216
217} // namespace Model
218} // namespace SecurityHub
219} // namespace Aws
void SetInstanceId(const Aws::String &value)
AwsEc2EipDetails & WithAssociationId(Aws::String &&value)
AwsEc2EipDetails & WithPublicIpv4Pool(Aws::String &&value)
AwsEc2EipDetails & WithPrivateIpAddress(const char *value)
AwsEc2EipDetails & WithDomain(const Aws::String &value)
AWS_SECURITYHUB_API AwsEc2EipDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkInterfaceId(const Aws::String &value)
AwsEc2EipDetails & WithNetworkInterfaceId(const Aws::String &value)
AwsEc2EipDetails & WithPublicIp(Aws::String &&value)
void SetPublicIp(const Aws::String &value)
void SetAllocationId(const Aws::String &value)
AwsEc2EipDetails & WithPublicIp(const Aws::String &value)
const Aws::String & GetInstanceId() const
AwsEc2EipDetails & WithDomain(Aws::String &&value)
const Aws::String & GetPublicIp() const
void SetNetworkInterfaceOwnerId(const char *value)
void SetPrivateIpAddress(Aws::String &&value)
AwsEc2EipDetails & WithNetworkBorderGroup(Aws::String &&value)
AwsEc2EipDetails & WithPrivateIpAddress(const Aws::String &value)
const Aws::String & GetPrivateIpAddress() const
const Aws::String & GetAssociationId() const
AwsEc2EipDetails & WithNetworkInterfaceOwnerId(const char *value)
const Aws::String & GetNetworkInterfaceId() const
AwsEc2EipDetails & WithNetworkInterfaceOwnerId(Aws::String &&value)
AwsEc2EipDetails & WithAllocationId(const Aws::String &value)
void SetNetworkBorderGroup(Aws::String &&value)
AwsEc2EipDetails & WithInstanceId(const Aws::String &value)
const Aws::String & GetPublicIpv4Pool() const
AwsEc2EipDetails & WithNetworkInterfaceId(const char *value)
AwsEc2EipDetails & WithInstanceId(Aws::String &&value)
AwsEc2EipDetails & WithPrivateIpAddress(Aws::String &&value)
AwsEc2EipDetails & WithNetworkBorderGroup(const char *value)
AwsEc2EipDetails & WithNetworkInterfaceOwnerId(const Aws::String &value)
void SetPrivateIpAddress(const Aws::String &value)
const Aws::String & GetAllocationId() const
void SetPublicIpv4Pool(const Aws::String &value)
AwsEc2EipDetails & WithNetworkInterfaceId(Aws::String &&value)
AwsEc2EipDetails & WithPublicIp(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEc2EipDetails & WithDomain(const char *value)
void SetDomain(const Aws::String &value)
AWS_SECURITYHUB_API AwsEc2EipDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEc2EipDetails & WithAssociationId(const char *value)
AwsEc2EipDetails & WithPublicIpv4Pool(const Aws::String &value)
void SetNetworkBorderGroup(const Aws::String &value)
void SetNetworkInterfaceOwnerId(Aws::String &&value)
AwsEc2EipDetails & WithAllocationId(Aws::String &&value)
AwsEc2EipDetails & WithAllocationId(const char *value)
AwsEc2EipDetails & WithPublicIpv4Pool(const char *value)
AwsEc2EipDetails & WithAssociationId(const Aws::String &value)
const Aws::String & GetNetworkInterfaceOwnerId() const
void SetNetworkInterfaceId(Aws::String &&value)
const Aws::String & GetNetworkBorderGroup() const
void SetAssociationId(const Aws::String &value)
AwsEc2EipDetails & WithInstanceId(const char *value)
AwsEc2EipDetails & WithNetworkBorderGroup(const Aws::String &value)
void SetNetworkInterfaceOwnerId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue