AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceNetworkInterface.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/InstanceNetworkInterfaceAssociation.h>
10#include <aws/ec2/model/InstanceNetworkInterfaceAttachment.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/NetworkInterfaceStatus.h>
14#include <aws/ec2/model/ConnectionTrackingSpecificationResponse.h>
15#include <aws/ec2/model/GroupIdentifier.h>
16#include <aws/ec2/model/InstanceIpv6Address.h>
17#include <aws/ec2/model/InstancePrivateIpAddress.h>
18#include <aws/ec2/model/InstanceIpv4Prefix.h>
19#include <aws/ec2/model/InstanceIpv6Prefix.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Xml
27{
28 class XmlNode;
29} // namespace Xml
30} // namespace Utils
31namespace EC2
32{
33namespace Model
34{
35
42 {
43 public:
47
48 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
49 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
50
51
53
57 inline const InstanceNetworkInterfaceAssociation& GetAssociation() const{ return m_association; }
58 inline bool AssociationHasBeenSet() const { return m_associationHasBeenSet; }
59 inline void SetAssociation(const InstanceNetworkInterfaceAssociation& value) { m_associationHasBeenSet = true; m_association = value; }
60 inline void SetAssociation(InstanceNetworkInterfaceAssociation&& value) { m_associationHasBeenSet = true; m_association = std::move(value); }
64
66
69 inline const InstanceNetworkInterfaceAttachment& GetAttachment() const{ return m_attachment; }
70 inline bool AttachmentHasBeenSet() const { return m_attachmentHasBeenSet; }
71 inline void SetAttachment(const InstanceNetworkInterfaceAttachment& value) { m_attachmentHasBeenSet = true; m_attachment = value; }
72 inline void SetAttachment(InstanceNetworkInterfaceAttachment&& value) { m_attachmentHasBeenSet = true; m_attachment = std::move(value); }
76
78
81 inline const Aws::String& GetDescription() const{ return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
84 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
85 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
86 inline InstanceNetworkInterface& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
87 inline InstanceNetworkInterface& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
88 inline InstanceNetworkInterface& WithDescription(const char* value) { SetDescription(value); return *this;}
90
92
95 inline const Aws::Vector<GroupIdentifier>& GetGroups() const{ return m_groups; }
96 inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
97 inline void SetGroups(const Aws::Vector<GroupIdentifier>& value) { m_groupsHasBeenSet = true; m_groups = value; }
98 inline void SetGroups(Aws::Vector<GroupIdentifier>&& value) { m_groupsHasBeenSet = true; m_groups = std::move(value); }
99 inline InstanceNetworkInterface& WithGroups(const Aws::Vector<GroupIdentifier>& value) { SetGroups(value); return *this;}
100 inline InstanceNetworkInterface& WithGroups(Aws::Vector<GroupIdentifier>&& value) { SetGroups(std::move(value)); return *this;}
101 inline InstanceNetworkInterface& AddGroups(const GroupIdentifier& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; }
102 inline InstanceNetworkInterface& AddGroups(GroupIdentifier&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; }
104
106
109 inline const Aws::Vector<InstanceIpv6Address>& GetIpv6Addresses() const{ return m_ipv6Addresses; }
110 inline bool Ipv6AddressesHasBeenSet() const { return m_ipv6AddressesHasBeenSet; }
111 inline void SetIpv6Addresses(const Aws::Vector<InstanceIpv6Address>& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses = value; }
112 inline void SetIpv6Addresses(Aws::Vector<InstanceIpv6Address>&& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses = std::move(value); }
115 inline InstanceNetworkInterface& AddIpv6Addresses(const InstanceIpv6Address& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses.push_back(value); return *this; }
116 inline InstanceNetworkInterface& AddIpv6Addresses(InstanceIpv6Address&& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses.push_back(std::move(value)); return *this; }
118
120
123 inline const Aws::String& GetMacAddress() const{ return m_macAddress; }
124 inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; }
125 inline void SetMacAddress(const Aws::String& value) { m_macAddressHasBeenSet = true; m_macAddress = value; }
126 inline void SetMacAddress(Aws::String&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::move(value); }
127 inline void SetMacAddress(const char* value) { m_macAddressHasBeenSet = true; m_macAddress.assign(value); }
128 inline InstanceNetworkInterface& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;}
129 inline InstanceNetworkInterface& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;}
130 inline InstanceNetworkInterface& WithMacAddress(const char* value) { SetMacAddress(value); return *this;}
132
134
137 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
138 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
139 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
140 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
141 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
143 inline InstanceNetworkInterface& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
144 inline InstanceNetworkInterface& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
146
148
152 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
153 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
154 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
155 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
156 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
157 inline InstanceNetworkInterface& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
158 inline InstanceNetworkInterface& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
159 inline InstanceNetworkInterface& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
161
163
166 inline const Aws::String& GetPrivateDnsName() const{ return m_privateDnsName; }
167 inline bool PrivateDnsNameHasBeenSet() const { return m_privateDnsNameHasBeenSet; }
168 inline void SetPrivateDnsName(const Aws::String& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = value; }
169 inline void SetPrivateDnsName(Aws::String&& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = std::move(value); }
170 inline void SetPrivateDnsName(const char* value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName.assign(value); }
171 inline InstanceNetworkInterface& WithPrivateDnsName(const Aws::String& value) { SetPrivateDnsName(value); return *this;}
172 inline InstanceNetworkInterface& WithPrivateDnsName(Aws::String&& value) { SetPrivateDnsName(std::move(value)); return *this;}
173 inline InstanceNetworkInterface& WithPrivateDnsName(const char* value) { SetPrivateDnsName(value); return *this;}
175
177
180 inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; }
181 inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
182 inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
183 inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); }
184 inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); }
186 inline InstanceNetworkInterface& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;}
187 inline InstanceNetworkInterface& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;}
189
191
194 inline const Aws::Vector<InstancePrivateIpAddress>& GetPrivateIpAddresses() const{ return m_privateIpAddresses; }
195 inline bool PrivateIpAddressesHasBeenSet() const { return m_privateIpAddressesHasBeenSet; }
196 inline void SetPrivateIpAddresses(const Aws::Vector<InstancePrivateIpAddress>& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses = value; }
197 inline void SetPrivateIpAddresses(Aws::Vector<InstancePrivateIpAddress>&& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses = std::move(value); }
200 inline InstanceNetworkInterface& AddPrivateIpAddresses(const InstancePrivateIpAddress& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.push_back(value); return *this; }
201 inline InstanceNetworkInterface& AddPrivateIpAddresses(InstancePrivateIpAddress&& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.push_back(std::move(value)); return *this; }
203
205
208 inline bool GetSourceDestCheck() const{ return m_sourceDestCheck; }
209 inline bool SourceDestCheckHasBeenSet() const { return m_sourceDestCheckHasBeenSet; }
210 inline void SetSourceDestCheck(bool value) { m_sourceDestCheckHasBeenSet = true; m_sourceDestCheck = value; }
211 inline InstanceNetworkInterface& WithSourceDestCheck(bool value) { SetSourceDestCheck(value); return *this;}
213
215
218 inline const NetworkInterfaceStatus& GetStatus() const{ return m_status; }
219 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
220 inline void SetStatus(const NetworkInterfaceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
221 inline void SetStatus(NetworkInterfaceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
222 inline InstanceNetworkInterface& WithStatus(const NetworkInterfaceStatus& value) { SetStatus(value); return *this;}
223 inline InstanceNetworkInterface& WithStatus(NetworkInterfaceStatus&& value) { SetStatus(std::move(value)); return *this;}
225
227
230 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
231 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
232 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
233 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
234 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
235 inline InstanceNetworkInterface& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
236 inline InstanceNetworkInterface& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
237 inline InstanceNetworkInterface& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
239
241
244 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
245 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
246 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
247 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
248 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
249 inline InstanceNetworkInterface& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
250 inline InstanceNetworkInterface& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
251 inline InstanceNetworkInterface& WithVpcId(const char* value) { SetVpcId(value); return *this;}
253
255
259 inline const Aws::String& GetInterfaceType() const{ return m_interfaceType; }
260 inline bool InterfaceTypeHasBeenSet() const { return m_interfaceTypeHasBeenSet; }
261 inline void SetInterfaceType(const Aws::String& value) { m_interfaceTypeHasBeenSet = true; m_interfaceType = value; }
262 inline void SetInterfaceType(Aws::String&& value) { m_interfaceTypeHasBeenSet = true; m_interfaceType = std::move(value); }
263 inline void SetInterfaceType(const char* value) { m_interfaceTypeHasBeenSet = true; m_interfaceType.assign(value); }
264 inline InstanceNetworkInterface& WithInterfaceType(const Aws::String& value) { SetInterfaceType(value); return *this;}
265 inline InstanceNetworkInterface& WithInterfaceType(Aws::String&& value) { SetInterfaceType(std::move(value)); return *this;}
266 inline InstanceNetworkInterface& WithInterfaceType(const char* value) { SetInterfaceType(value); return *this;}
268
270
273 inline const Aws::Vector<InstanceIpv4Prefix>& GetIpv4Prefixes() const{ return m_ipv4Prefixes; }
274 inline bool Ipv4PrefixesHasBeenSet() const { return m_ipv4PrefixesHasBeenSet; }
275 inline void SetIpv4Prefixes(const Aws::Vector<InstanceIpv4Prefix>& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes = value; }
276 inline void SetIpv4Prefixes(Aws::Vector<InstanceIpv4Prefix>&& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes = std::move(value); }
279 inline InstanceNetworkInterface& AddIpv4Prefixes(const InstanceIpv4Prefix& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes.push_back(value); return *this; }
280 inline InstanceNetworkInterface& AddIpv4Prefixes(InstanceIpv4Prefix&& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes.push_back(std::move(value)); return *this; }
282
284
287 inline const Aws::Vector<InstanceIpv6Prefix>& GetIpv6Prefixes() const{ return m_ipv6Prefixes; }
288 inline bool Ipv6PrefixesHasBeenSet() const { return m_ipv6PrefixesHasBeenSet; }
289 inline void SetIpv6Prefixes(const Aws::Vector<InstanceIpv6Prefix>& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes = value; }
290 inline void SetIpv6Prefixes(Aws::Vector<InstanceIpv6Prefix>&& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes = std::move(value); }
293 inline InstanceNetworkInterface& AddIpv6Prefixes(const InstanceIpv6Prefix& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes.push_back(value); return *this; }
294 inline InstanceNetworkInterface& AddIpv6Prefixes(InstanceIpv6Prefix&& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes.push_back(std::move(value)); return *this; }
296
298
305 inline const ConnectionTrackingSpecificationResponse& GetConnectionTrackingConfiguration() const{ return m_connectionTrackingConfiguration; }
306 inline bool ConnectionTrackingConfigurationHasBeenSet() const { return m_connectionTrackingConfigurationHasBeenSet; }
307 inline void SetConnectionTrackingConfiguration(const ConnectionTrackingSpecificationResponse& value) { m_connectionTrackingConfigurationHasBeenSet = true; m_connectionTrackingConfiguration = value; }
308 inline void SetConnectionTrackingConfiguration(ConnectionTrackingSpecificationResponse&& value) { m_connectionTrackingConfigurationHasBeenSet = true; m_connectionTrackingConfiguration = std::move(value); }
312 private:
313
315 bool m_associationHasBeenSet = false;
316
318 bool m_attachmentHasBeenSet = false;
319
320 Aws::String m_description;
321 bool m_descriptionHasBeenSet = false;
322
324 bool m_groupsHasBeenSet = false;
325
326 Aws::Vector<InstanceIpv6Address> m_ipv6Addresses;
327 bool m_ipv6AddressesHasBeenSet = false;
328
329 Aws::String m_macAddress;
330 bool m_macAddressHasBeenSet = false;
331
332 Aws::String m_networkInterfaceId;
333 bool m_networkInterfaceIdHasBeenSet = false;
334
335 Aws::String m_ownerId;
336 bool m_ownerIdHasBeenSet = false;
337
338 Aws::String m_privateDnsName;
339 bool m_privateDnsNameHasBeenSet = false;
340
341 Aws::String m_privateIpAddress;
342 bool m_privateIpAddressHasBeenSet = false;
343
344 Aws::Vector<InstancePrivateIpAddress> m_privateIpAddresses;
345 bool m_privateIpAddressesHasBeenSet = false;
346
347 bool m_sourceDestCheck;
348 bool m_sourceDestCheckHasBeenSet = false;
349
350 NetworkInterfaceStatus m_status;
351 bool m_statusHasBeenSet = false;
352
353 Aws::String m_subnetId;
354 bool m_subnetIdHasBeenSet = false;
355
356 Aws::String m_vpcId;
357 bool m_vpcIdHasBeenSet = false;
358
359 Aws::String m_interfaceType;
360 bool m_interfaceTypeHasBeenSet = false;
361
362 Aws::Vector<InstanceIpv4Prefix> m_ipv4Prefixes;
363 bool m_ipv4PrefixesHasBeenSet = false;
364
365 Aws::Vector<InstanceIpv6Prefix> m_ipv6Prefixes;
366 bool m_ipv6PrefixesHasBeenSet = false;
367
368 ConnectionTrackingSpecificationResponse m_connectionTrackingConfiguration;
369 bool m_connectionTrackingConfigurationHasBeenSet = false;
370 };
371
372} // namespace Model
373} // namespace EC2
374} // namespace Aws
InstanceNetworkInterface & WithAttachment(InstanceNetworkInterfaceAttachment &&value)
InstanceNetworkInterface & WithOwnerId(const Aws::String &value)
InstanceNetworkInterface & WithStatus(NetworkInterfaceStatus &&value)
InstanceNetworkInterface & WithSubnetId(Aws::String &&value)
const Aws::Vector< InstancePrivateIpAddress > & GetPrivateIpAddresses() const
void SetIpv6Addresses(const Aws::Vector< InstanceIpv6Address > &value)
InstanceNetworkInterface & AddGroups(GroupIdentifier &&value)
InstanceNetworkInterface & WithSourceDestCheck(bool value)
InstanceNetworkInterface & WithNetworkInterfaceId(const char *value)
void SetIpv6Prefixes(Aws::Vector< InstanceIpv6Prefix > &&value)
InstanceNetworkInterface & AddIpv4Prefixes(InstanceIpv4Prefix &&value)
InstanceNetworkInterface & AddIpv6Addresses(const InstanceIpv6Address &value)
void SetPrivateIpAddresses(Aws::Vector< InstancePrivateIpAddress > &&value)
const Aws::Vector< InstanceIpv4Prefix > & GetIpv4Prefixes() const
const Aws::Vector< InstanceIpv6Address > & GetIpv6Addresses() const
InstanceNetworkInterface & WithMacAddress(const Aws::String &value)
InstanceNetworkInterface & WithMacAddress(const char *value)
InstanceNetworkInterface & WithGroups(Aws::Vector< GroupIdentifier > &&value)
void SetStatus(const NetworkInterfaceStatus &value)
InstanceNetworkInterface & AddIpv4Prefixes(const InstanceIpv4Prefix &value)
InstanceNetworkInterface & WithIpv6Prefixes(Aws::Vector< InstanceIpv6Prefix > &&value)
InstanceNetworkInterface & WithIpv4Prefixes(Aws::Vector< InstanceIpv4Prefix > &&value)
InstanceNetworkInterface & WithPrivateDnsName(Aws::String &&value)
InstanceNetworkInterface & WithPrivateIpAddress(const char *value)
InstanceNetworkInterface & WithPrivateIpAddress(const Aws::String &value)
InstanceNetworkInterface & WithIpv6Addresses(Aws::Vector< InstanceIpv6Address > &&value)
void SetConnectionTrackingConfiguration(const ConnectionTrackingSpecificationResponse &value)
InstanceNetworkInterface & WithSubnetId(const char *value)
InstanceNetworkInterface & WithSubnetId(const Aws::String &value)
void SetIpv6Prefixes(const Aws::Vector< InstanceIpv6Prefix > &value)
InstanceNetworkInterface & WithIpv6Addresses(const Aws::Vector< InstanceIpv6Address > &value)
InstanceNetworkInterface & WithAssociation(InstanceNetworkInterfaceAssociation &&value)
InstanceNetworkInterface & WithStatus(const NetworkInterfaceStatus &value)
InstanceNetworkInterface & WithOwnerId(Aws::String &&value)
InstanceNetworkInterface & WithPrivateDnsName(const Aws::String &value)
InstanceNetworkInterface & WithDescription(const char *value)
InstanceNetworkInterface & AddIpv6Addresses(InstanceIpv6Address &&value)
InstanceNetworkInterface & WithOwnerId(const char *value)
void SetStatus(NetworkInterfaceStatus &&value)
InstanceNetworkInterface & WithGroups(const Aws::Vector< GroupIdentifier > &value)
const InstanceNetworkInterfaceAssociation & GetAssociation() const
const InstanceNetworkInterfaceAttachment & GetAttachment() const
void SetAttachment(InstanceNetworkInterfaceAttachment &&value)
void SetIpv6Addresses(Aws::Vector< InstanceIpv6Address > &&value)
AWS_EC2_API InstanceNetworkInterface(const Aws::Utils::Xml::XmlNode &xmlNode)
InstanceNetworkInterface & AddPrivateIpAddresses(const InstancePrivateIpAddress &value)
InstanceNetworkInterface & WithNetworkInterfaceId(const Aws::String &value)
void SetIpv4Prefixes(Aws::Vector< InstanceIpv4Prefix > &&value)
void SetGroups(Aws::Vector< GroupIdentifier > &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const NetworkInterfaceStatus & GetStatus() const
InstanceNetworkInterface & WithMacAddress(Aws::String &&value)
InstanceNetworkInterface & WithDescription(const Aws::String &value)
InstanceNetworkInterface & WithAttachment(const InstanceNetworkInterfaceAttachment &value)
InstanceNetworkInterface & AddGroups(const GroupIdentifier &value)
InstanceNetworkInterface & WithInterfaceType(Aws::String &&value)
InstanceNetworkInterface & WithDescription(Aws::String &&value)
void SetConnectionTrackingConfiguration(ConnectionTrackingSpecificationResponse &&value)
void SetAttachment(const InstanceNetworkInterfaceAttachment &value)
InstanceNetworkInterface & WithConnectionTrackingConfiguration(const ConnectionTrackingSpecificationResponse &value)
AWS_EC2_API InstanceNetworkInterface & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAssociation(const InstanceNetworkInterfaceAssociation &value)
InstanceNetworkInterface & AddPrivateIpAddresses(InstancePrivateIpAddress &&value)
InstanceNetworkInterface & AddIpv6Prefixes(const InstanceIpv6Prefix &value)
const Aws::Vector< InstanceIpv6Prefix > & GetIpv6Prefixes() const
InstanceNetworkInterface & WithInterfaceType(const Aws::String &value)
void SetPrivateIpAddresses(const Aws::Vector< InstancePrivateIpAddress > &value)
InstanceNetworkInterface & WithIpv6Prefixes(const Aws::Vector< InstanceIpv6Prefix > &value)
void SetAssociation(InstanceNetworkInterfaceAssociation &&value)
InstanceNetworkInterface & WithConnectionTrackingConfiguration(ConnectionTrackingSpecificationResponse &&value)
InstanceNetworkInterface & WithInterfaceType(const char *value)
InstanceNetworkInterface & WithPrivateIpAddress(Aws::String &&value)
InstanceNetworkInterface & WithAssociation(const InstanceNetworkInterfaceAssociation &value)
InstanceNetworkInterface & WithVpcId(const Aws::String &value)
void SetGroups(const Aws::Vector< GroupIdentifier > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
InstanceNetworkInterface & WithPrivateIpAddresses(const Aws::Vector< InstancePrivateIpAddress > &value)
InstanceNetworkInterface & WithPrivateIpAddresses(Aws::Vector< InstancePrivateIpAddress > &&value)
const ConnectionTrackingSpecificationResponse & GetConnectionTrackingConfiguration() const
void SetIpv4Prefixes(const Aws::Vector< InstanceIpv4Prefix > &value)
InstanceNetworkInterface & WithVpcId(Aws::String &&value)
InstanceNetworkInterface & WithPrivateDnsName(const char *value)
InstanceNetworkInterface & WithIpv4Prefixes(const Aws::Vector< InstanceIpv4Prefix > &value)
void SetNetworkInterfaceId(const Aws::String &value)
InstanceNetworkInterface & AddIpv6Prefixes(InstanceIpv6Prefix &&value)
InstanceNetworkInterface & WithNetworkInterfaceId(Aws::String &&value)
const Aws::Vector< GroupIdentifier > & GetGroups() const
InstanceNetworkInterface & WithVpcId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream