AWS SDK for C++  1.9.67
AWS SDK for C++
CreateNetworkInterfaceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
17 #include <utility>
18 #include <aws/core/utils/UUID.h>
19 
20 namespace Aws
21 {
22 namespace EC2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
37 
38  // Service request name is the Operation name which will send this request out,
39  // each operation should has unique request name, so that we can get operation's name from this request.
40  // Note: this is not true for response, multiple operations may have the same response name,
41  // so we can not get operation's name from response.
42  inline virtual const char* GetServiceRequestName() const override { return "CreateNetworkInterface"; }
43 
44  Aws::String SerializePayload() const override;
45 
46  protected:
47  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
48 
49  public:
50 
54  inline const Aws::String& GetDescription() const{ return m_description; }
55 
59  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 
64  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
65 
69  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
70 
74  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 
79  inline CreateNetworkInterfaceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 
84  inline CreateNetworkInterfaceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
85 
89  inline CreateNetworkInterfaceRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
90 
91 
98  inline bool GetDryRun() const{ return m_dryRun; }
99 
106  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
107 
114  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
115 
122  inline CreateNetworkInterfaceRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
123 
124 
128  inline const Aws::Vector<Aws::String>& GetGroups() const{ return m_groups; }
129 
133  inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
134 
138  inline void SetGroups(const Aws::Vector<Aws::String>& value) { m_groupsHasBeenSet = true; m_groups = value; }
139 
143  inline void SetGroups(Aws::Vector<Aws::String>&& value) { m_groupsHasBeenSet = true; m_groups = std::move(value); }
144 
148  inline CreateNetworkInterfaceRequest& WithGroups(const Aws::Vector<Aws::String>& value) { SetGroups(value); return *this;}
149 
153  inline CreateNetworkInterfaceRequest& WithGroups(Aws::Vector<Aws::String>&& value) { SetGroups(std::move(value)); return *this;}
154 
158  inline CreateNetworkInterfaceRequest& AddGroups(const Aws::String& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; }
159 
163  inline CreateNetworkInterfaceRequest& AddGroups(Aws::String&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; }
164 
168  inline CreateNetworkInterfaceRequest& AddGroups(const char* value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; }
169 
170 
178  inline int GetIpv6AddressCount() const{ return m_ipv6AddressCount; }
179 
187  inline bool Ipv6AddressCountHasBeenSet() const { return m_ipv6AddressCountHasBeenSet; }
188 
196  inline void SetIpv6AddressCount(int value) { m_ipv6AddressCountHasBeenSet = true; m_ipv6AddressCount = value; }
197 
205  inline CreateNetworkInterfaceRequest& WithIpv6AddressCount(int value) { SetIpv6AddressCount(value); return *this;}
206 
207 
213  inline const Aws::Vector<InstanceIpv6Address>& GetIpv6Addresses() const{ return m_ipv6Addresses; }
214 
220  inline bool Ipv6AddressesHasBeenSet() const { return m_ipv6AddressesHasBeenSet; }
221 
227  inline void SetIpv6Addresses(const Aws::Vector<InstanceIpv6Address>& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses = value; }
228 
234  inline void SetIpv6Addresses(Aws::Vector<InstanceIpv6Address>&& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses = std::move(value); }
235 
241  inline CreateNetworkInterfaceRequest& WithIpv6Addresses(const Aws::Vector<InstanceIpv6Address>& value) { SetIpv6Addresses(value); return *this;}
242 
248  inline CreateNetworkInterfaceRequest& WithIpv6Addresses(Aws::Vector<InstanceIpv6Address>&& value) { SetIpv6Addresses(std::move(value)); return *this;}
249 
255  inline CreateNetworkInterfaceRequest& AddIpv6Addresses(const InstanceIpv6Address& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses.push_back(value); return *this; }
256 
262  inline CreateNetworkInterfaceRequest& AddIpv6Addresses(InstanceIpv6Address&& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses.push_back(std::move(value)); return *this; }
263 
264 
272  inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; }
273 
281  inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
282 
290  inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
291 
299  inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); }
300 
308  inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); }
309 
317  inline CreateNetworkInterfaceRequest& WithPrivateIpAddress(const Aws::String& value) { SetPrivateIpAddress(value); return *this;}
318 
326  inline CreateNetworkInterfaceRequest& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;}
327 
335  inline CreateNetworkInterfaceRequest& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;}
336 
337 
341  inline const Aws::Vector<PrivateIpAddressSpecification>& GetPrivateIpAddresses() const{ return m_privateIpAddresses; }
342 
346  inline bool PrivateIpAddressesHasBeenSet() const { return m_privateIpAddressesHasBeenSet; }
347 
351  inline void SetPrivateIpAddresses(const Aws::Vector<PrivateIpAddressSpecification>& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses = value; }
352 
356  inline void SetPrivateIpAddresses(Aws::Vector<PrivateIpAddressSpecification>&& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses = std::move(value); }
357 
361  inline CreateNetworkInterfaceRequest& WithPrivateIpAddresses(const Aws::Vector<PrivateIpAddressSpecification>& value) { SetPrivateIpAddresses(value); return *this;}
362 
366  inline CreateNetworkInterfaceRequest& WithPrivateIpAddresses(Aws::Vector<PrivateIpAddressSpecification>&& value) { SetPrivateIpAddresses(std::move(value)); return *this;}
367 
371  inline CreateNetworkInterfaceRequest& AddPrivateIpAddresses(const PrivateIpAddressSpecification& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.push_back(value); return *this; }
372 
376  inline CreateNetworkInterfaceRequest& AddPrivateIpAddresses(PrivateIpAddressSpecification&& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.push_back(std::move(value)); return *this; }
377 
378 
391  inline int GetSecondaryPrivateIpAddressCount() const{ return m_secondaryPrivateIpAddressCount; }
392 
405  inline bool SecondaryPrivateIpAddressCountHasBeenSet() const { return m_secondaryPrivateIpAddressCountHasBeenSet; }
406 
419  inline void SetSecondaryPrivateIpAddressCount(int value) { m_secondaryPrivateIpAddressCountHasBeenSet = true; m_secondaryPrivateIpAddressCount = value; }
420 
433  inline CreateNetworkInterfaceRequest& WithSecondaryPrivateIpAddressCount(int value) { SetSecondaryPrivateIpAddressCount(value); return *this;}
434 
435 
441  inline const Aws::Vector<Ipv4PrefixSpecificationRequest>& GetIpv4Prefixes() const{ return m_ipv4Prefixes; }
442 
448  inline bool Ipv4PrefixesHasBeenSet() const { return m_ipv4PrefixesHasBeenSet; }
449 
455  inline void SetIpv4Prefixes(const Aws::Vector<Ipv4PrefixSpecificationRequest>& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes = value; }
456 
462  inline void SetIpv4Prefixes(Aws::Vector<Ipv4PrefixSpecificationRequest>&& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes = std::move(value); }
463 
469  inline CreateNetworkInterfaceRequest& WithIpv4Prefixes(const Aws::Vector<Ipv4PrefixSpecificationRequest>& value) { SetIpv4Prefixes(value); return *this;}
470 
476  inline CreateNetworkInterfaceRequest& WithIpv4Prefixes(Aws::Vector<Ipv4PrefixSpecificationRequest>&& value) { SetIpv4Prefixes(std::move(value)); return *this;}
477 
483  inline CreateNetworkInterfaceRequest& AddIpv4Prefixes(const Ipv4PrefixSpecificationRequest& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes.push_back(value); return *this; }
484 
490  inline CreateNetworkInterfaceRequest& AddIpv4Prefixes(Ipv4PrefixSpecificationRequest&& value) { m_ipv4PrefixesHasBeenSet = true; m_ipv4Prefixes.push_back(std::move(value)); return *this; }
491 
492 
498  inline int GetIpv4PrefixCount() const{ return m_ipv4PrefixCount; }
499 
505  inline bool Ipv4PrefixCountHasBeenSet() const { return m_ipv4PrefixCountHasBeenSet; }
506 
512  inline void SetIpv4PrefixCount(int value) { m_ipv4PrefixCountHasBeenSet = true; m_ipv4PrefixCount = value; }
513 
519  inline CreateNetworkInterfaceRequest& WithIpv4PrefixCount(int value) { SetIpv4PrefixCount(value); return *this;}
520 
521 
527  inline const Aws::Vector<Ipv6PrefixSpecificationRequest>& GetIpv6Prefixes() const{ return m_ipv6Prefixes; }
528 
534  inline bool Ipv6PrefixesHasBeenSet() const { return m_ipv6PrefixesHasBeenSet; }
535 
541  inline void SetIpv6Prefixes(const Aws::Vector<Ipv6PrefixSpecificationRequest>& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes = value; }
542 
548  inline void SetIpv6Prefixes(Aws::Vector<Ipv6PrefixSpecificationRequest>&& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes = std::move(value); }
549 
555  inline CreateNetworkInterfaceRequest& WithIpv6Prefixes(const Aws::Vector<Ipv6PrefixSpecificationRequest>& value) { SetIpv6Prefixes(value); return *this;}
556 
562  inline CreateNetworkInterfaceRequest& WithIpv6Prefixes(Aws::Vector<Ipv6PrefixSpecificationRequest>&& value) { SetIpv6Prefixes(std::move(value)); return *this;}
563 
569  inline CreateNetworkInterfaceRequest& AddIpv6Prefixes(const Ipv6PrefixSpecificationRequest& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes.push_back(value); return *this; }
570 
576  inline CreateNetworkInterfaceRequest& AddIpv6Prefixes(Ipv6PrefixSpecificationRequest&& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes.push_back(std::move(value)); return *this; }
577 
578 
584  inline int GetIpv6PrefixCount() const{ return m_ipv6PrefixCount; }
585 
591  inline bool Ipv6PrefixCountHasBeenSet() const { return m_ipv6PrefixCountHasBeenSet; }
592 
598  inline void SetIpv6PrefixCount(int value) { m_ipv6PrefixCountHasBeenSet = true; m_ipv6PrefixCount = value; }
599 
605  inline CreateNetworkInterfaceRequest& WithIpv6PrefixCount(int value) { SetIpv6PrefixCount(value); return *this;}
606 
607 
619  inline const NetworkInterfaceCreationType& GetInterfaceType() const{ return m_interfaceType; }
620 
632  inline bool InterfaceTypeHasBeenSet() const { return m_interfaceTypeHasBeenSet; }
633 
645  inline void SetInterfaceType(const NetworkInterfaceCreationType& value) { m_interfaceTypeHasBeenSet = true; m_interfaceType = value; }
646 
658  inline void SetInterfaceType(NetworkInterfaceCreationType&& value) { m_interfaceTypeHasBeenSet = true; m_interfaceType = std::move(value); }
659 
671  inline CreateNetworkInterfaceRequest& WithInterfaceType(const NetworkInterfaceCreationType& value) { SetInterfaceType(value); return *this;}
672 
684  inline CreateNetworkInterfaceRequest& WithInterfaceType(NetworkInterfaceCreationType&& value) { SetInterfaceType(std::move(value)); return *this;}
685 
686 
690  inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
691 
695  inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
696 
700  inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
701 
705  inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
706 
710  inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
711 
715  inline CreateNetworkInterfaceRequest& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
716 
720  inline CreateNetworkInterfaceRequest& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
721 
725  inline CreateNetworkInterfaceRequest& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
726 
727 
731  inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const{ return m_tagSpecifications; }
732 
736  inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
737 
741  inline void SetTagSpecifications(const Aws::Vector<TagSpecification>& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; }
742 
746  inline void SetTagSpecifications(Aws::Vector<TagSpecification>&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); }
747 
751  inline CreateNetworkInterfaceRequest& WithTagSpecifications(const Aws::Vector<TagSpecification>& value) { SetTagSpecifications(value); return *this;}
752 
756  inline CreateNetworkInterfaceRequest& WithTagSpecifications(Aws::Vector<TagSpecification>&& value) { SetTagSpecifications(std::move(value)); return *this;}
757 
761  inline CreateNetworkInterfaceRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; }
762 
766  inline CreateNetworkInterfaceRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; }
767 
768 
775  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
776 
783  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
784 
791  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
792 
799  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
800 
807  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
808 
815  inline CreateNetworkInterfaceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
816 
823  inline CreateNetworkInterfaceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
824 
831  inline CreateNetworkInterfaceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
832 
833  private:
834 
835  Aws::String m_description;
836  bool m_descriptionHasBeenSet;
837 
838  bool m_dryRun;
839  bool m_dryRunHasBeenSet;
840 
841  Aws::Vector<Aws::String> m_groups;
842  bool m_groupsHasBeenSet;
843 
844  int m_ipv6AddressCount;
845  bool m_ipv6AddressCountHasBeenSet;
846 
847  Aws::Vector<InstanceIpv6Address> m_ipv6Addresses;
848  bool m_ipv6AddressesHasBeenSet;
849 
850  Aws::String m_privateIpAddress;
851  bool m_privateIpAddressHasBeenSet;
852 
853  Aws::Vector<PrivateIpAddressSpecification> m_privateIpAddresses;
854  bool m_privateIpAddressesHasBeenSet;
855 
856  int m_secondaryPrivateIpAddressCount;
857  bool m_secondaryPrivateIpAddressCountHasBeenSet;
858 
860  bool m_ipv4PrefixesHasBeenSet;
861 
862  int m_ipv4PrefixCount;
863  bool m_ipv4PrefixCountHasBeenSet;
864 
866  bool m_ipv6PrefixesHasBeenSet;
867 
868  int m_ipv6PrefixCount;
869  bool m_ipv6PrefixCountHasBeenSet;
870 
871  NetworkInterfaceCreationType m_interfaceType;
872  bool m_interfaceTypeHasBeenSet;
873 
874  Aws::String m_subnetId;
875  bool m_subnetIdHasBeenSet;
876 
877  Aws::Vector<TagSpecification> m_tagSpecifications;
878  bool m_tagSpecificationsHasBeenSet;
879 
880  Aws::String m_clientToken;
881  bool m_clientTokenHasBeenSet;
882  };
883 
884 } // namespace Model
885 } // namespace EC2
886 } // namespace Aws
TagSpecification.h
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetIpv4Prefixes
void SetIpv4Prefixes(Aws::Vector< Ipv4PrefixSpecificationRequest > &&value)
Definition: CreateNetworkInterfaceRequest.h:462
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithIpv4Prefixes
CreateNetworkInterfaceRequest & WithIpv4Prefixes(Aws::Vector< Ipv4PrefixSpecificationRequest > &&value)
Definition: CreateNetworkInterfaceRequest.h:476
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithClientToken
CreateNetworkInterfaceRequest & WithClientToken(Aws::String &&value)
Definition: CreateNetworkInterfaceRequest.h:823
Aws::EC2::Model::CreateNetworkInterfaceRequest::GetSecondaryPrivateIpAddressCount
int GetSecondaryPrivateIpAddressCount() const
Definition: CreateNetworkInterfaceRequest.h:391
Aws::EC2::Model::CreateNetworkInterfaceRequest::PrivateIpAddressesHasBeenSet
bool PrivateIpAddressesHasBeenSet() const
Definition: CreateNetworkInterfaceRequest.h:346
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateNetworkInterfaceRequest.h:74
Aws::EC2::Model::CreateNetworkInterfaceRequest::AddIpv6Prefixes
CreateNetworkInterfaceRequest & AddIpv6Prefixes(const Ipv6PrefixSpecificationRequest &value)
Definition: CreateNetworkInterfaceRequest.h:569
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithDescription
CreateNetworkInterfaceRequest & WithDescription(Aws::String &&value)
Definition: CreateNetworkInterfaceRequest.h:84
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetInterfaceType
void SetInterfaceType(const NetworkInterfaceCreationType &value)
Definition: CreateNetworkInterfaceRequest.h:645
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithSubnetId
CreateNetworkInterfaceRequest & WithSubnetId(const char *value)
Definition: CreateNetworkInterfaceRequest.h:725
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::PrivateIpAddressSpecification
Definition: PrivateIpAddressSpecification.h:33
Aws::EC2::Model::CreateNetworkInterfaceRequest::AddTagSpecifications
CreateNetworkInterfaceRequest & AddTagSpecifications(const TagSpecification &value)
Definition: CreateNetworkInterfaceRequest.h:761
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithDryRun
CreateNetworkInterfaceRequest & WithDryRun(bool value)
Definition: CreateNetworkInterfaceRequest.h:122
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithSubnetId
CreateNetworkInterfaceRequest & WithSubnetId(Aws::String &&value)
Definition: CreateNetworkInterfaceRequest.h:720
Aws::EC2::Model::NetworkInterfaceCreationType
NetworkInterfaceCreationType
Definition: NetworkInterfaceCreationType.h:17
Aws::EC2::Model::CreateNetworkInterfaceRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateNetworkInterfaceRequest.h:59
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithIpv6PrefixCount
CreateNetworkInterfaceRequest & WithIpv6PrefixCount(int value)
Definition: CreateNetworkInterfaceRequest.h:605
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithIpv4PrefixCount
CreateNetworkInterfaceRequest & WithIpv4PrefixCount(int value)
Definition: CreateNetworkInterfaceRequest.h:519
Aws::EC2::Model::CreateNetworkInterfaceRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: CreateNetworkInterfaceRequest.h:106
Aws::EC2::Model::CreateNetworkInterfaceRequest::PrivateIpAddressHasBeenSet
bool PrivateIpAddressHasBeenSet() const
Definition: CreateNetworkInterfaceRequest.h:281
Aws::EC2::Model::CreateNetworkInterfaceRequest::Ipv4PrefixCountHasBeenSet
bool Ipv4PrefixCountHasBeenSet() const
Definition: CreateNetworkInterfaceRequest.h:505
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithIpv6Addresses
CreateNetworkInterfaceRequest & WithIpv6Addresses(const Aws::Vector< InstanceIpv6Address > &value)
Definition: CreateNetworkInterfaceRequest.h:241
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetPrivateIpAddress
void SetPrivateIpAddress(const char *value)
Definition: CreateNetworkInterfaceRequest.h:308
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetClientToken
void SetClientToken(const char *value)
Definition: CreateNetworkInterfaceRequest.h:807
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetTagSpecifications
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
Definition: CreateNetworkInterfaceRequest.h:746
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithSubnetId
CreateNetworkInterfaceRequest & WithSubnetId(const Aws::String &value)
Definition: CreateNetworkInterfaceRequest.h:715
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: CreateNetworkInterfaceRequest.h:791
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithPrivateIpAddresses
CreateNetworkInterfaceRequest & WithPrivateIpAddresses(const Aws::Vector< PrivateIpAddressSpecification > &value)
Definition: CreateNetworkInterfaceRequest.h:361
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithIpv6AddressCount
CreateNetworkInterfaceRequest & WithIpv6AddressCount(int value)
Definition: CreateNetworkInterfaceRequest.h:205
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetInterfaceType
void SetInterfaceType(NetworkInterfaceCreationType &&value)
Definition: CreateNetworkInterfaceRequest.h:658
Aws::EC2::Model::CreateNetworkInterfaceRequest::AddIpv4Prefixes
CreateNetworkInterfaceRequest & AddIpv4Prefixes(const Ipv4PrefixSpecificationRequest &value)
Definition: CreateNetworkInterfaceRequest.h:483
Aws::EC2::Model::CreateNetworkInterfaceRequest::GetGroups
const Aws::Vector< Aws::String > & GetGroups() const
Definition: CreateNetworkInterfaceRequest.h:128
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetIpv6PrefixCount
void SetIpv6PrefixCount(int value)
Definition: CreateNetworkInterfaceRequest.h:598
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithIpv6Prefixes
CreateNetworkInterfaceRequest & WithIpv6Prefixes(Aws::Vector< Ipv6PrefixSpecificationRequest > &&value)
Definition: CreateNetworkInterfaceRequest.h:562
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateNetworkInterfaceRequest.h:69
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetSubnetId
void SetSubnetId(const Aws::String &value)
Definition: CreateNetworkInterfaceRequest.h:700
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetSubnetId
void SetSubnetId(Aws::String &&value)
Definition: CreateNetworkInterfaceRequest.h:705
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetIpv6Addresses
void SetIpv6Addresses(Aws::Vector< InstanceIpv6Address > &&value)
Definition: CreateNetworkInterfaceRequest.h:234
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetIpv6Prefixes
void SetIpv6Prefixes(Aws::Vector< Ipv6PrefixSpecificationRequest > &&value)
Definition: CreateNetworkInterfaceRequest.h:548
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetDryRun
void SetDryRun(bool value)
Definition: CreateNetworkInterfaceRequest.h:114
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithGroups
CreateNetworkInterfaceRequest & WithGroups(const Aws::Vector< Aws::String > &value)
Definition: CreateNetworkInterfaceRequest.h:148
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetTagSpecifications
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
Definition: CreateNetworkInterfaceRequest.h:741
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateNetworkInterfaceRequest.h:64
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetIpv6Prefixes
void SetIpv6Prefixes(const Aws::Vector< Ipv6PrefixSpecificationRequest > &value)
Definition: CreateNetworkInterfaceRequest.h:541
Aws::EC2::Model::CreateNetworkInterfaceRequest::GetDryRun
bool GetDryRun() const
Definition: CreateNetworkInterfaceRequest.h:98
Aws::EC2::Model::CreateNetworkInterfaceRequest::GetInterfaceType
const NetworkInterfaceCreationType & GetInterfaceType() const
Definition: CreateNetworkInterfaceRequest.h:619
AWSVector.h
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetGroups
void SetGroups(const Aws::Vector< Aws::String > &value)
Definition: CreateNetworkInterfaceRequest.h:138
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithPrivateIpAddress
CreateNetworkInterfaceRequest & WithPrivateIpAddress(Aws::String &&value)
Definition: CreateNetworkInterfaceRequest.h:326
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithTagSpecifications
CreateNetworkInterfaceRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
Definition: CreateNetworkInterfaceRequest.h:756
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: CreateNetworkInterfaceRequest.h:799
Aws::EC2::Model::CreateNetworkInterfaceRequest::AddIpv6Addresses
CreateNetworkInterfaceRequest & AddIpv6Addresses(const InstanceIpv6Address &value)
Definition: CreateNetworkInterfaceRequest.h:255
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithPrivateIpAddress
CreateNetworkInterfaceRequest & WithPrivateIpAddress(const char *value)
Definition: CreateNetworkInterfaceRequest.h:335
Aws::EC2::Model::CreateNetworkInterfaceRequest::TagSpecificationsHasBeenSet
bool TagSpecificationsHasBeenSet() const
Definition: CreateNetworkInterfaceRequest.h:736
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetIpv4PrefixCount
void SetIpv4PrefixCount(int value)
Definition: CreateNetworkInterfaceRequest.h:512
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetIpv6AddressCount
void SetIpv6AddressCount(int value)
Definition: CreateNetworkInterfaceRequest.h:196
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithDescription
CreateNetworkInterfaceRequest & WithDescription(const Aws::String &value)
Definition: CreateNetworkInterfaceRequest.h:79
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetIpv4Prefixes
void SetIpv4Prefixes(const Aws::Vector< Ipv4PrefixSpecificationRequest > &value)
Definition: CreateNetworkInterfaceRequest.h:455
Aws::EC2::Model::CreateNetworkInterfaceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateNetworkInterfaceRequest.h:42
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithDescription
CreateNetworkInterfaceRequest & WithDescription(const char *value)
Definition: CreateNetworkInterfaceRequest.h:89
Aws::EC2::Model::CreateNetworkInterfaceRequest::AddTagSpecifications
CreateNetworkInterfaceRequest & AddTagSpecifications(TagSpecification &&value)
Definition: CreateNetworkInterfaceRequest.h:766
Aws::EC2::Model::CreateNetworkInterfaceRequest::GetIpv6Addresses
const Aws::Vector< InstanceIpv6Address > & GetIpv6Addresses() const
Definition: CreateNetworkInterfaceRequest.h:213
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithClientToken
CreateNetworkInterfaceRequest & WithClientToken(const char *value)
Definition: CreateNetworkInterfaceRequest.h:831
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithSecondaryPrivateIpAddressCount
CreateNetworkInterfaceRequest & WithSecondaryPrivateIpAddressCount(int value)
Definition: CreateNetworkInterfaceRequest.h:433
Aws::EC2::Model::CreateNetworkInterfaceRequest::GetIpv6PrefixCount
int GetIpv6PrefixCount() const
Definition: CreateNetworkInterfaceRequest.h:584
Aws::EC2::Model::Ipv4PrefixSpecificationRequest
Definition: Ipv4PrefixSpecificationRequest.h:33
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithIpv4Prefixes
CreateNetworkInterfaceRequest & WithIpv4Prefixes(const Aws::Vector< Ipv4PrefixSpecificationRequest > &value)
Definition: CreateNetworkInterfaceRequest.h:469
Aws::EC2::Model::CreateNetworkInterfaceRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::CreateNetworkInterfaceRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: CreateNetworkInterfaceRequest.h:783
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithPrivateIpAddress
CreateNetworkInterfaceRequest & WithPrivateIpAddress(const Aws::String &value)
Definition: CreateNetworkInterfaceRequest.h:317
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetPrivateIpAddress
void SetPrivateIpAddress(Aws::String &&value)
Definition: CreateNetworkInterfaceRequest.h:299
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetSecondaryPrivateIpAddressCount
void SetSecondaryPrivateIpAddressCount(int value)
Definition: CreateNetworkInterfaceRequest.h:419
Aws::EC2::Model::CreateNetworkInterfaceRequest::GetPrivateIpAddresses
const Aws::Vector< PrivateIpAddressSpecification > & GetPrivateIpAddresses() const
Definition: CreateNetworkInterfaceRequest.h:341
Aws::EC2::Model::CreateNetworkInterfaceRequest::AddPrivateIpAddresses
CreateNetworkInterfaceRequest & AddPrivateIpAddresses(PrivateIpAddressSpecification &&value)
Definition: CreateNetworkInterfaceRequest.h:376
Aws::EC2::Model::CreateNetworkInterfaceRequest::AddGroups
CreateNetworkInterfaceRequest & AddGroups(Aws::String &&value)
Definition: CreateNetworkInterfaceRequest.h:163
EC2Request.h
Aws::EC2::Model::CreateNetworkInterfaceRequest::Ipv6AddressCountHasBeenSet
bool Ipv6AddressCountHasBeenSet() const
Definition: CreateNetworkInterfaceRequest.h:187
Aws::EC2::Model::CreateNetworkInterfaceRequest::InterfaceTypeHasBeenSet
bool InterfaceTypeHasBeenSet() const
Definition: CreateNetworkInterfaceRequest.h:632
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetIpv6Addresses
void SetIpv6Addresses(const Aws::Vector< InstanceIpv6Address > &value)
Definition: CreateNetworkInterfaceRequest.h:227
Aws::EC2::Model::Ipv6PrefixSpecificationRequest
Definition: Ipv6PrefixSpecificationRequest.h:33
Aws::EC2::Model::CreateNetworkInterfaceRequest::GetIpv6Prefixes
const Aws::Vector< Ipv6PrefixSpecificationRequest > & GetIpv6Prefixes() const
Definition: CreateNetworkInterfaceRequest.h:527
Aws::EC2::Model::CreateNetworkInterfaceRequest::AddPrivateIpAddresses
CreateNetworkInterfaceRequest & AddPrivateIpAddresses(const PrivateIpAddressSpecification &value)
Definition: CreateNetworkInterfaceRequest.h:371
Aws::EC2::Model::CreateNetworkInterfaceRequest::SubnetIdHasBeenSet
bool SubnetIdHasBeenSet() const
Definition: CreateNetworkInterfaceRequest.h:695
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetPrivateIpAddresses
void SetPrivateIpAddresses(Aws::Vector< PrivateIpAddressSpecification > &&value)
Definition: CreateNetworkInterfaceRequest.h:356
Aws::EC2::Model::InstanceIpv6Address
Definition: InstanceIpv6Address.h:32
AWSString.h
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithIpv6Addresses
CreateNetworkInterfaceRequest & WithIpv6Addresses(Aws::Vector< InstanceIpv6Address > &&value)
Definition: CreateNetworkInterfaceRequest.h:248
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetPrivateIpAddresses
void SetPrivateIpAddresses(const Aws::Vector< PrivateIpAddressSpecification > &value)
Definition: CreateNetworkInterfaceRequest.h:351
Aws::EC2::Model::CreateNetworkInterfaceRequest
Definition: CreateNetworkInterfaceRequest.h:34
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetSubnetId
void SetSubnetId(const char *value)
Definition: CreateNetworkInterfaceRequest.h:710
Aws::EC2::Model::CreateNetworkInterfaceRequest::Ipv4PrefixesHasBeenSet
bool Ipv4PrefixesHasBeenSet() const
Definition: CreateNetworkInterfaceRequest.h:448
Aws::EC2::Model::CreateNetworkInterfaceRequest::GroupsHasBeenSet
bool GroupsHasBeenSet() const
Definition: CreateNetworkInterfaceRequest.h:133
Aws::EC2::Model::CreateNetworkInterfaceRequest::GetSubnetId
const Aws::String & GetSubnetId() const
Definition: CreateNetworkInterfaceRequest.h:690
Aws::EC2::Model::CreateNetworkInterfaceRequest::GetIpv6AddressCount
int GetIpv6AddressCount() const
Definition: CreateNetworkInterfaceRequest.h:178
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithPrivateIpAddresses
CreateNetworkInterfaceRequest & WithPrivateIpAddresses(Aws::Vector< PrivateIpAddressSpecification > &&value)
Definition: CreateNetworkInterfaceRequest.h:366
Aws::EC2::Model::CreateNetworkInterfaceRequest::GetIpv4PrefixCount
int GetIpv4PrefixCount() const
Definition: CreateNetworkInterfaceRequest.h:498
Aws::EC2::Model::CreateNetworkInterfaceRequest::GetTagSpecifications
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
Definition: CreateNetworkInterfaceRequest.h:731
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetGroups
void SetGroups(Aws::Vector< Aws::String > &&value)
Definition: CreateNetworkInterfaceRequest.h:143
Aws::EC2::Model::CreateNetworkInterfaceRequest::AddIpv6Addresses
CreateNetworkInterfaceRequest & AddIpv6Addresses(InstanceIpv6Address &&value)
Definition: CreateNetworkInterfaceRequest.h:262
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithInterfaceType
CreateNetworkInterfaceRequest & WithInterfaceType(NetworkInterfaceCreationType &&value)
Definition: CreateNetworkInterfaceRequest.h:684
Aws::EC2::Model::CreateNetworkInterfaceRequest::AddIpv6Prefixes
CreateNetworkInterfaceRequest & AddIpv6Prefixes(Ipv6PrefixSpecificationRequest &&value)
Definition: CreateNetworkInterfaceRequest.h:576
InstanceIpv6Address.h
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithTagSpecifications
CreateNetworkInterfaceRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
Definition: CreateNetworkInterfaceRequest.h:751
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateNetworkInterfaceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithClientToken
CreateNetworkInterfaceRequest & WithClientToken(const Aws::String &value)
Definition: CreateNetworkInterfaceRequest.h:815
NetworkInterfaceCreationType.h
Aws::EC2::Model::CreateNetworkInterfaceRequest::CreateNetworkInterfaceRequest
CreateNetworkInterfaceRequest()
Aws::EC2::Model::CreateNetworkInterfaceRequest::Ipv6AddressesHasBeenSet
bool Ipv6AddressesHasBeenSet() const
Definition: CreateNetworkInterfaceRequest.h:220
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::CreateNetworkInterfaceRequest::AddIpv4Prefixes
CreateNetworkInterfaceRequest & AddIpv4Prefixes(Ipv4PrefixSpecificationRequest &&value)
Definition: CreateNetworkInterfaceRequest.h:490
Aws::EC2::Model::CreateNetworkInterfaceRequest::GetPrivateIpAddress
const Aws::String & GetPrivateIpAddress() const
Definition: CreateNetworkInterfaceRequest.h:272
Aws::EC2::Model::CreateNetworkInterfaceRequest::SecondaryPrivateIpAddressCountHasBeenSet
bool SecondaryPrivateIpAddressCountHasBeenSet() const
Definition: CreateNetworkInterfaceRequest.h:405
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithIpv6Prefixes
CreateNetworkInterfaceRequest & WithIpv6Prefixes(const Aws::Vector< Ipv6PrefixSpecificationRequest > &value)
Definition: CreateNetworkInterfaceRequest.h:555
PrivateIpAddressSpecification.h
Aws::EC2::Model::CreateNetworkInterfaceRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: CreateNetworkInterfaceRequest.h:775
Ipv4PrefixSpecificationRequest.h
Aws::EC2::Model::CreateNetworkInterfaceRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateNetworkInterfaceRequest.h:54
Aws::EC2::Model::CreateNetworkInterfaceRequest::GetIpv4Prefixes
const Aws::Vector< Ipv4PrefixSpecificationRequest > & GetIpv4Prefixes() const
Definition: CreateNetworkInterfaceRequest.h:441
UUID.h
Aws::EC2::Model::TagSpecification
Definition: TagSpecification.h:35
EC2_EXPORTS.h
Ipv6PrefixSpecificationRequest.h
Aws::EC2::Model::CreateNetworkInterfaceRequest::Ipv6PrefixesHasBeenSet
bool Ipv6PrefixesHasBeenSet() const
Definition: CreateNetworkInterfaceRequest.h:534
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithInterfaceType
CreateNetworkInterfaceRequest & WithInterfaceType(const NetworkInterfaceCreationType &value)
Definition: CreateNetworkInterfaceRequest.h:671
Aws::EC2::Model::CreateNetworkInterfaceRequest::AddGroups
CreateNetworkInterfaceRequest & AddGroups(const Aws::String &value)
Definition: CreateNetworkInterfaceRequest.h:158
Aws::EC2::Model::CreateNetworkInterfaceRequest::AddGroups
CreateNetworkInterfaceRequest & AddGroups(const char *value)
Definition: CreateNetworkInterfaceRequest.h:168
Aws::EC2::Model::CreateNetworkInterfaceRequest::Ipv6PrefixCountHasBeenSet
bool Ipv6PrefixCountHasBeenSet() const
Definition: CreateNetworkInterfaceRequest.h:591
Aws::EC2::Model::CreateNetworkInterfaceRequest::WithGroups
CreateNetworkInterfaceRequest & WithGroups(Aws::Vector< Aws::String > &&value)
Definition: CreateNetworkInterfaceRequest.h:153
Aws::EC2::Model::CreateNetworkInterfaceRequest::SetPrivateIpAddress
void SetPrivateIpAddress(const Aws::String &value)
Definition: CreateNetworkInterfaceRequest.h:290