AWS SDK for C++  0.14.3
AWS SDK for C++
NetworkInterface.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/ec2/EC2_EXPORTS.h>
25 #include <aws/ec2/model/Tag.h>
27 
28 namespace Aws
29 {
30 namespace Utils
31 {
32 namespace Xml
33 {
34  class XmlNode;
35 } // namespace Xml
36 } // namespace Utils
37 namespace EC2
38 {
39 namespace Model
40 {
41 
46  {
47  public:
50  NetworkInterface& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
51 
52  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
53  void OutputToStream(Aws::OStream& oStream, const char* location) const;
54 
58  inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
59 
63  inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
64 
68  inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
69 
73  inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
74 
78  inline NetworkInterface& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
79 
83  inline NetworkInterface& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(value); return *this;}
84 
88  inline NetworkInterface& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
89 
93  inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
94 
98  inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
99 
103  inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
104 
108  inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
109 
113  inline NetworkInterface& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
114 
118  inline NetworkInterface& WithSubnetId(Aws::String&& value) { SetSubnetId(value); return *this;}
119 
123  inline NetworkInterface& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
124 
128  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
129 
133  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
134 
138  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
139 
143  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
144 
148  inline NetworkInterface& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
149 
153  inline NetworkInterface& WithVpcId(Aws::String&& value) { SetVpcId(value); return *this;}
154 
158  inline NetworkInterface& WithVpcId(const char* value) { SetVpcId(value); return *this;}
159 
163  inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
164 
168  inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
169 
173  inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
174 
178  inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
179 
183  inline NetworkInterface& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
184 
188  inline NetworkInterface& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(value); return *this;}
189 
193  inline NetworkInterface& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
194 
198  inline const Aws::String& GetDescription() const{ return m_description; }
199 
203  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
204 
208  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = value; }
209 
213  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
214 
218  inline NetworkInterface& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
219 
223  inline NetworkInterface& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
224 
228  inline NetworkInterface& WithDescription(const char* value) { SetDescription(value); return *this;}
229 
233  inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
234 
238  inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
239 
243  inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
244 
248  inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
249 
253  inline NetworkInterface& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
254 
258  inline NetworkInterface& WithOwnerId(Aws::String&& value) { SetOwnerId(value); return *this;}
259 
263  inline NetworkInterface& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
264 
269  inline const Aws::String& GetRequesterId() const{ return m_requesterId; }
270 
275  inline void SetRequesterId(const Aws::String& value) { m_requesterIdHasBeenSet = true; m_requesterId = value; }
276 
281  inline void SetRequesterId(Aws::String&& value) { m_requesterIdHasBeenSet = true; m_requesterId = value; }
282 
287  inline void SetRequesterId(const char* value) { m_requesterIdHasBeenSet = true; m_requesterId.assign(value); }
288 
293  inline NetworkInterface& WithRequesterId(const Aws::String& value) { SetRequesterId(value); return *this;}
294 
299  inline NetworkInterface& WithRequesterId(Aws::String&& value) { SetRequesterId(value); return *this;}
300 
305  inline NetworkInterface& WithRequesterId(const char* value) { SetRequesterId(value); return *this;}
306 
310  inline bool GetRequesterManaged() const{ return m_requesterManaged; }
311 
315  inline void SetRequesterManaged(bool value) { m_requesterManagedHasBeenSet = true; m_requesterManaged = value; }
316 
320  inline NetworkInterface& WithRequesterManaged(bool value) { SetRequesterManaged(value); return *this;}
321 
325  inline const NetworkInterfaceStatus& GetStatus() const{ return m_status; }
326 
330  inline void SetStatus(const NetworkInterfaceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
331 
335  inline void SetStatus(NetworkInterfaceStatus&& value) { m_statusHasBeenSet = true; m_status = value; }
336 
340  inline NetworkInterface& WithStatus(const NetworkInterfaceStatus& value) { SetStatus(value); return *this;}
341 
345  inline NetworkInterface& WithStatus(NetworkInterfaceStatus&& value) { SetStatus(value); return *this;}
346 
350  inline const Aws::String& GetMacAddress() const{ return m_macAddress; }
351 
355  inline void SetMacAddress(const Aws::String& value) { m_macAddressHasBeenSet = true; m_macAddress = value; }
356 
360  inline void SetMacAddress(Aws::String&& value) { m_macAddressHasBeenSet = true; m_macAddress = value; }
361 
365  inline void SetMacAddress(const char* value) { m_macAddressHasBeenSet = true; m_macAddress.assign(value); }
366 
370  inline NetworkInterface& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;}
371 
375  inline NetworkInterface& WithMacAddress(Aws::String&& value) { SetMacAddress(value); return *this;}
376 
380  inline NetworkInterface& WithMacAddress(const char* value) { SetMacAddress(value); return *this;}
381 
385  inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; }
386 
390  inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
391 
395  inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
396 
400  inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); }
401 
405  inline NetworkInterface& WithPrivateIpAddress(const Aws::String& value) { SetPrivateIpAddress(value); return *this;}
406 
410  inline NetworkInterface& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(value); return *this;}
411 
415  inline NetworkInterface& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;}
416 
420  inline const Aws::String& GetPrivateDnsName() const{ return m_privateDnsName; }
421 
425  inline void SetPrivateDnsName(const Aws::String& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = value; }
426 
430  inline void SetPrivateDnsName(Aws::String&& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = value; }
431 
435  inline void SetPrivateDnsName(const char* value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName.assign(value); }
436 
440  inline NetworkInterface& WithPrivateDnsName(const Aws::String& value) { SetPrivateDnsName(value); return *this;}
441 
445  inline NetworkInterface& WithPrivateDnsName(Aws::String&& value) { SetPrivateDnsName(value); return *this;}
446 
450  inline NetworkInterface& WithPrivateDnsName(const char* value) { SetPrivateDnsName(value); return *this;}
451 
455  inline bool GetSourceDestCheck() const{ return m_sourceDestCheck; }
456 
460  inline void SetSourceDestCheck(bool value) { m_sourceDestCheckHasBeenSet = true; m_sourceDestCheck = value; }
461 
465  inline NetworkInterface& WithSourceDestCheck(bool value) { SetSourceDestCheck(value); return *this;}
466 
470  inline const Aws::Vector<GroupIdentifier>& GetGroups() const{ return m_groups; }
471 
475  inline void SetGroups(const Aws::Vector<GroupIdentifier>& value) { m_groupsHasBeenSet = true; m_groups = value; }
476 
480  inline void SetGroups(Aws::Vector<GroupIdentifier>&& value) { m_groupsHasBeenSet = true; m_groups = value; }
481 
485  inline NetworkInterface& WithGroups(const Aws::Vector<GroupIdentifier>& value) { SetGroups(value); return *this;}
486 
490  inline NetworkInterface& WithGroups(Aws::Vector<GroupIdentifier>&& value) { SetGroups(value); return *this;}
491 
495  inline NetworkInterface& AddGroups(const GroupIdentifier& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; }
496 
500  inline NetworkInterface& AddGroups(GroupIdentifier&& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; }
501 
505  inline const NetworkInterfaceAttachment& GetAttachment() const{ return m_attachment; }
506 
510  inline void SetAttachment(const NetworkInterfaceAttachment& value) { m_attachmentHasBeenSet = true; m_attachment = value; }
511 
515  inline void SetAttachment(NetworkInterfaceAttachment&& value) { m_attachmentHasBeenSet = true; m_attachment = value; }
516 
520  inline NetworkInterface& WithAttachment(const NetworkInterfaceAttachment& value) { SetAttachment(value); return *this;}
521 
525  inline NetworkInterface& WithAttachment(NetworkInterfaceAttachment&& value) { SetAttachment(value); return *this;}
526 
531  inline const NetworkInterfaceAssociation& GetAssociation() const{ return m_association; }
532 
537  inline void SetAssociation(const NetworkInterfaceAssociation& value) { m_associationHasBeenSet = true; m_association = value; }
538 
543  inline void SetAssociation(NetworkInterfaceAssociation&& value) { m_associationHasBeenSet = true; m_association = value; }
544 
549  inline NetworkInterface& WithAssociation(const NetworkInterfaceAssociation& value) { SetAssociation(value); return *this;}
550 
555  inline NetworkInterface& WithAssociation(NetworkInterfaceAssociation&& value) { SetAssociation(value); return *this;}
556 
560  inline const Aws::Vector<Tag>& GetTagSet() const{ return m_tagSet; }
561 
565  inline void SetTagSet(const Aws::Vector<Tag>& value) { m_tagSetHasBeenSet = true; m_tagSet = value; }
566 
570  inline void SetTagSet(Aws::Vector<Tag>&& value) { m_tagSetHasBeenSet = true; m_tagSet = value; }
571 
575  inline NetworkInterface& WithTagSet(const Aws::Vector<Tag>& value) { SetTagSet(value); return *this;}
576 
580  inline NetworkInterface& WithTagSet(Aws::Vector<Tag>&& value) { SetTagSet(value); return *this;}
581 
585  inline NetworkInterface& AddTagSet(const Tag& value) { m_tagSetHasBeenSet = true; m_tagSet.push_back(value); return *this; }
586 
590  inline NetworkInterface& AddTagSet(Tag&& value) { m_tagSetHasBeenSet = true; m_tagSet.push_back(value); return *this; }
591 
595  inline const Aws::Vector<NetworkInterfacePrivateIpAddress>& GetPrivateIpAddresses() const{ return m_privateIpAddresses; }
596 
600  inline void SetPrivateIpAddresses(const Aws::Vector<NetworkInterfacePrivateIpAddress>& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses = value; }
601 
605  inline void SetPrivateIpAddresses(Aws::Vector<NetworkInterfacePrivateIpAddress>&& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses = value; }
606 
610  inline NetworkInterface& WithPrivateIpAddresses(const Aws::Vector<NetworkInterfacePrivateIpAddress>& value) { SetPrivateIpAddresses(value); return *this;}
611 
615  inline NetworkInterface& WithPrivateIpAddresses(Aws::Vector<NetworkInterfacePrivateIpAddress>&& value) { SetPrivateIpAddresses(value); return *this;}
616 
620  inline NetworkInterface& AddPrivateIpAddresses(const NetworkInterfacePrivateIpAddress& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.push_back(value); return *this; }
621 
625  inline NetworkInterface& AddPrivateIpAddresses(NetworkInterfacePrivateIpAddress&& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.push_back(value); return *this; }
626 
630  inline const NetworkInterfaceType& GetInterfaceType() const{ return m_interfaceType; }
631 
635  inline void SetInterfaceType(const NetworkInterfaceType& value) { m_interfaceTypeHasBeenSet = true; m_interfaceType = value; }
636 
640  inline void SetInterfaceType(NetworkInterfaceType&& value) { m_interfaceTypeHasBeenSet = true; m_interfaceType = value; }
641 
645  inline NetworkInterface& WithInterfaceType(const NetworkInterfaceType& value) { SetInterfaceType(value); return *this;}
646 
650  inline NetworkInterface& WithInterfaceType(NetworkInterfaceType&& value) { SetInterfaceType(value); return *this;}
651 
652  private:
653  Aws::String m_networkInterfaceId;
654  bool m_networkInterfaceIdHasBeenSet;
655  Aws::String m_subnetId;
656  bool m_subnetIdHasBeenSet;
657  Aws::String m_vpcId;
658  bool m_vpcIdHasBeenSet;
659  Aws::String m_availabilityZone;
660  bool m_availabilityZoneHasBeenSet;
661  Aws::String m_description;
662  bool m_descriptionHasBeenSet;
663  Aws::String m_ownerId;
664  bool m_ownerIdHasBeenSet;
665  Aws::String m_requesterId;
666  bool m_requesterIdHasBeenSet;
667  bool m_requesterManaged;
668  bool m_requesterManagedHasBeenSet;
669  NetworkInterfaceStatus m_status;
670  bool m_statusHasBeenSet;
671  Aws::String m_macAddress;
672  bool m_macAddressHasBeenSet;
673  Aws::String m_privateIpAddress;
674  bool m_privateIpAddressHasBeenSet;
675  Aws::String m_privateDnsName;
676  bool m_privateDnsNameHasBeenSet;
677  bool m_sourceDestCheck;
678  bool m_sourceDestCheckHasBeenSet;
680  bool m_groupsHasBeenSet;
681  NetworkInterfaceAttachment m_attachment;
682  bool m_attachmentHasBeenSet;
683  NetworkInterfaceAssociation m_association;
684  bool m_associationHasBeenSet;
685  Aws::Vector<Tag> m_tagSet;
686  bool m_tagSetHasBeenSet;
688  bool m_privateIpAddressesHasBeenSet;
689  NetworkInterfaceType m_interfaceType;
690  bool m_interfaceTypeHasBeenSet;
691  };
692 
693 } // namespace Model
694 } // namespace EC2
695 } // namespace Aws
void SetDescription(const char *value)
void SetNetworkInterfaceId(const char *value)
const Aws::String & GetPrivateDnsName() const
NetworkInterface & WithTagSet(Aws::Vector< Tag > &&value)
void SetOwnerId(Aws::String &&value)
const Aws::String & GetMacAddress() const
NetworkInterface & WithSubnetId(const Aws::String &value)
NetworkInterface & AddTagSet(const Tag &value)
void SetVpcId(const Aws::String &value)
void SetMacAddress(const char *value)
NetworkInterface & WithRequesterManaged(bool value)
void SetRequesterId(const Aws::String &value)
const Aws::Vector< Tag > & GetTagSet() const
NetworkInterface & WithNetworkInterfaceId(const Aws::String &value)
NetworkInterface & WithAvailabilityZone(const char *value)
const NetworkInterfaceAttachment & GetAttachment() const
NetworkInterface & WithDescription(Aws::String &&value)
void SetPrivateIpAddresses(Aws::Vector< NetworkInterfacePrivateIpAddress > &&value)
NetworkInterface & WithGroups(const Aws::Vector< GroupIdentifier > &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
const Aws::Vector< NetworkInterfacePrivateIpAddress > & GetPrivateIpAddresses() const
NetworkInterface & WithPrivateDnsName(const char *value)
void SetDescription(const Aws::String &value)
void SetOwnerId(const Aws::String &value)
const NetworkInterfaceAssociation & GetAssociation() const
void SetAssociation(NetworkInterfaceAssociation &&value)
void SetAvailabilityZone(Aws::String &&value)
void SetPrivateIpAddresses(const Aws::Vector< NetworkInterfacePrivateIpAddress > &value)
NetworkInterface & WithPrivateDnsName(const Aws::String &value)
NetworkInterface & WithAvailabilityZone(Aws::String &&value)
void SetAvailabilityZone(const char *value)
void SetVpcId(Aws::String &&value)
void SetAssociation(const NetworkInterfaceAssociation &value)
const Aws::String & GetPrivateIpAddress() const
NetworkInterface & WithAssociation(const NetworkInterfaceAssociation &value)
void SetInterfaceType(const NetworkInterfaceType &value)
NetworkInterface & WithPrivateIpAddress(const Aws::String &value)
NetworkInterface & WithAssociation(NetworkInterfaceAssociation &&value)
const NetworkInterfaceType & GetInterfaceType() const
NetworkInterface & WithRequesterId(const char *value)
void SetSubnetId(Aws::String &&value)
NetworkInterface & WithPrivateIpAddresses(const Aws::Vector< NetworkInterfacePrivateIpAddress > &value)
NetworkInterface & WithStatus(NetworkInterfaceStatus &&value)
NetworkInterface & WithPrivateDnsName(Aws::String &&value)
NetworkInterface & WithSubnetId(const char *value)
NetworkInterface & WithDescription(const Aws::String &value)
NetworkInterface & WithVpcId(const Aws::String &value)
void SetMacAddress(const Aws::String &value)
NetworkInterface & WithSubnetId(Aws::String &&value)
const Aws::String & GetOwnerId() const
NetworkInterface & WithInterfaceType(const NetworkInterfaceType &value)
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:31
void SetPrivateDnsName(const Aws::String &value)
void SetPrivateDnsName(const char *value)
const Aws::String & GetDescription() const
void SetRequesterId(const char *value)
void SetPrivateIpAddress(const Aws::String &value)
const Aws::String & GetNetworkInterfaceId() const
void SetVpcId(const char *value)
const NetworkInterfaceStatus & GetStatus() const
NetworkInterface & WithGroups(Aws::Vector< GroupIdentifier > &&value)
void SetDescription(Aws::String &&value)
NetworkInterface & WithAttachment(const NetworkInterfaceAttachment &value)
const Aws::String & GetVpcId() const
NetworkInterface & AddPrivateIpAddresses(NetworkInterfacePrivateIpAddress &&value)
NetworkInterface & WithAvailabilityZone(const Aws::String &value)
void SetStatus(NetworkInterfaceStatus &&value)
NetworkInterface & WithNetworkInterfaceId(Aws::String &&value)
void SetRequesterId(Aws::String &&value)
void SetTagSet(Aws::Vector< Tag > &&value)
void SetMacAddress(Aws::String &&value)
void SetPrivateIpAddress(const char *value)
void SetSubnetId(const Aws::String &value)
void SetInterfaceType(NetworkInterfaceType &&value)
void SetAttachment(const NetworkInterfaceAttachment &value)
NetworkInterface & AddTagSet(Tag &&value)
NetworkInterface & WithRequesterId(const Aws::String &value)
void SetTagSet(const Aws::Vector< Tag > &value)
NetworkInterface & WithSourceDestCheck(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetNetworkInterfaceId(const Aws::String &value)
NetworkInterface & WithPrivateIpAddress(Aws::String &&value)
NetworkInterface & WithRequesterId(Aws::String &&value)
void SetNetworkInterfaceId(Aws::String &&value)
NetworkInterface & WithOwnerId(const char *value)
NetworkInterface & WithTagSet(const Aws::Vector< Tag > &value)
NetworkInterface & WithDescription(const char *value)
NetworkInterface & WithVpcId(Aws::String &&value)
void SetAvailabilityZone(const Aws::String &value)
void SetAttachment(NetworkInterfaceAttachment &&value)
NetworkInterface & WithPrivateIpAddresses(Aws::Vector< NetworkInterfacePrivateIpAddress > &&value)
NetworkInterface & WithNetworkInterfaceId(const char *value)
void SetPrivateIpAddress(Aws::String &&value)
NetworkInterface & WithAttachment(NetworkInterfaceAttachment &&value)
void SetOwnerId(const char *value)
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:37
NetworkInterface & WithPrivateIpAddress(const char *value)
NetworkInterface & AddGroups(GroupIdentifier &&value)
void SetGroups(Aws::Vector< GroupIdentifier > &&value)
void SetSubnetId(const char *value)
NetworkInterface & AddGroups(const GroupIdentifier &value)
const Aws::String & GetAvailabilityZone() const
NetworkInterface & WithMacAddress(const Aws::String &value)
NetworkInterface & WithInterfaceType(NetworkInterfaceType &&value)
NetworkInterface & WithStatus(const NetworkInterfaceStatus &value)
void SetPrivateDnsName(Aws::String &&value)
const Aws::String & GetRequesterId() const
const Aws::String & GetSubnetId() const
const Aws::Vector< GroupIdentifier > & GetGroups() const
NetworkInterface & WithVpcId(const char *value)
NetworkInterface & WithOwnerId(const Aws::String &value)
NetworkInterface & AddPrivateIpAddresses(const NetworkInterfacePrivateIpAddress &value)
NetworkInterface & WithMacAddress(Aws::String &&value)
JSON (JavaScript Object Notation).
NetworkInterface & WithMacAddress(const char *value)
void SetStatus(const NetworkInterfaceStatus &value)
NetworkInterface & WithOwnerId(Aws::String &&value)
void SetGroups(const Aws::Vector< GroupIdentifier > &value)