AWS SDK for C++  1.9.70
AWS SDK for C++
UnassignIpv6AddressesRequest.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>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace EC2
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UnassignIpv6Addresses"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
43  inline const Aws::Vector<Aws::String>& GetIpv6Addresses() const{ return m_ipv6Addresses; }
44 
48  inline bool Ipv6AddressesHasBeenSet() const { return m_ipv6AddressesHasBeenSet; }
49 
53  inline void SetIpv6Addresses(const Aws::Vector<Aws::String>& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses = value; }
54 
58  inline void SetIpv6Addresses(Aws::Vector<Aws::String>&& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses = std::move(value); }
59 
63  inline UnassignIpv6AddressesRequest& WithIpv6Addresses(const Aws::Vector<Aws::String>& value) { SetIpv6Addresses(value); return *this;}
64 
68  inline UnassignIpv6AddressesRequest& WithIpv6Addresses(Aws::Vector<Aws::String>&& value) { SetIpv6Addresses(std::move(value)); return *this;}
69 
73  inline UnassignIpv6AddressesRequest& AddIpv6Addresses(const Aws::String& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses.push_back(value); return *this; }
74 
78  inline UnassignIpv6AddressesRequest& AddIpv6Addresses(Aws::String&& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses.push_back(std::move(value)); return *this; }
79 
83  inline UnassignIpv6AddressesRequest& AddIpv6Addresses(const char* value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses.push_back(value); return *this; }
84 
85 
90  inline const Aws::Vector<Aws::String>& GetIpv6Prefixes() const{ return m_ipv6Prefixes; }
91 
96  inline bool Ipv6PrefixesHasBeenSet() const { return m_ipv6PrefixesHasBeenSet; }
97 
102  inline void SetIpv6Prefixes(const Aws::Vector<Aws::String>& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes = value; }
103 
108  inline void SetIpv6Prefixes(Aws::Vector<Aws::String>&& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes = std::move(value); }
109 
114  inline UnassignIpv6AddressesRequest& WithIpv6Prefixes(const Aws::Vector<Aws::String>& value) { SetIpv6Prefixes(value); return *this;}
115 
120  inline UnassignIpv6AddressesRequest& WithIpv6Prefixes(Aws::Vector<Aws::String>&& value) { SetIpv6Prefixes(std::move(value)); return *this;}
121 
126  inline UnassignIpv6AddressesRequest& AddIpv6Prefixes(const Aws::String& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes.push_back(value); return *this; }
127 
132  inline UnassignIpv6AddressesRequest& AddIpv6Prefixes(Aws::String&& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes.push_back(std::move(value)); return *this; }
133 
138  inline UnassignIpv6AddressesRequest& AddIpv6Prefixes(const char* value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes.push_back(value); return *this; }
139 
140 
144  inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
145 
149  inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
150 
154  inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
155 
159  inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
160 
164  inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
165 
169  inline UnassignIpv6AddressesRequest& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
170 
174  inline UnassignIpv6AddressesRequest& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
175 
179  inline UnassignIpv6AddressesRequest& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
180 
181  private:
182 
183  Aws::Vector<Aws::String> m_ipv6Addresses;
184  bool m_ipv6AddressesHasBeenSet;
185 
186  Aws::Vector<Aws::String> m_ipv6Prefixes;
187  bool m_ipv6PrefixesHasBeenSet;
188 
189  Aws::String m_networkInterfaceId;
190  bool m_networkInterfaceIdHasBeenSet;
191  };
192 
193 } // namespace Model
194 } // namespace EC2
195 } // namespace Aws
Aws::EC2::Model::UnassignIpv6AddressesRequest::AddIpv6Addresses
UnassignIpv6AddressesRequest & AddIpv6Addresses(Aws::String &&value)
Definition: UnassignIpv6AddressesRequest.h:78
Aws::EC2::Model::UnassignIpv6AddressesRequest::SetNetworkInterfaceId
void SetNetworkInterfaceId(Aws::String &&value)
Definition: UnassignIpv6AddressesRequest.h:159
Aws::EC2::Model::UnassignIpv6AddressesRequest::SetIpv6Addresses
void SetIpv6Addresses(const Aws::Vector< Aws::String > &value)
Definition: UnassignIpv6AddressesRequest.h:53
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::UnassignIpv6AddressesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::UnassignIpv6AddressesRequest::AddIpv6Prefixes
UnassignIpv6AddressesRequest & AddIpv6Prefixes(Aws::String &&value)
Definition: UnassignIpv6AddressesRequest.h:132
Aws::EC2::Model::UnassignIpv6AddressesRequest::WithNetworkInterfaceId
UnassignIpv6AddressesRequest & WithNetworkInterfaceId(const char *value)
Definition: UnassignIpv6AddressesRequest.h:179
Aws::EC2::Model::UnassignIpv6AddressesRequest::WithIpv6Addresses
UnassignIpv6AddressesRequest & WithIpv6Addresses(const Aws::Vector< Aws::String > &value)
Definition: UnassignIpv6AddressesRequest.h:63
Aws::EC2::Model::UnassignIpv6AddressesRequest::GetIpv6Prefixes
const Aws::Vector< Aws::String > & GetIpv6Prefixes() const
Definition: UnassignIpv6AddressesRequest.h:90
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::UnassignIpv6AddressesRequest::Ipv6AddressesHasBeenSet
bool Ipv6AddressesHasBeenSet() const
Definition: UnassignIpv6AddressesRequest.h:48
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::UnassignIpv6AddressesRequest::Ipv6PrefixesHasBeenSet
bool Ipv6PrefixesHasBeenSet() const
Definition: UnassignIpv6AddressesRequest.h:96
Aws::EC2::Model::UnassignIpv6AddressesRequest::WithNetworkInterfaceId
UnassignIpv6AddressesRequest & WithNetworkInterfaceId(Aws::String &&value)
Definition: UnassignIpv6AddressesRequest.h:174
Aws::EC2::Model::UnassignIpv6AddressesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UnassignIpv6AddressesRequest.h:31
AWSVector.h
Aws::EC2::Model::UnassignIpv6AddressesRequest::AddIpv6Prefixes
UnassignIpv6AddressesRequest & AddIpv6Prefixes(const char *value)
Definition: UnassignIpv6AddressesRequest.h:138
Aws::EC2::Model::UnassignIpv6AddressesRequest::WithIpv6Prefixes
UnassignIpv6AddressesRequest & WithIpv6Prefixes(const Aws::Vector< Aws::String > &value)
Definition: UnassignIpv6AddressesRequest.h:114
Aws::EC2::Model::UnassignIpv6AddressesRequest::WithNetworkInterfaceId
UnassignIpv6AddressesRequest & WithNetworkInterfaceId(const Aws::String &value)
Definition: UnassignIpv6AddressesRequest.h:169
Aws::EC2::Model::UnassignIpv6AddressesRequest::NetworkInterfaceIdHasBeenSet
bool NetworkInterfaceIdHasBeenSet() const
Definition: UnassignIpv6AddressesRequest.h:149
Aws::EC2::Model::UnassignIpv6AddressesRequest::WithIpv6Addresses
UnassignIpv6AddressesRequest & WithIpv6Addresses(Aws::Vector< Aws::String > &&value)
Definition: UnassignIpv6AddressesRequest.h:68
EC2Request.h
Aws::EC2::Model::UnassignIpv6AddressesRequest::SetIpv6Addresses
void SetIpv6Addresses(Aws::Vector< Aws::String > &&value)
Definition: UnassignIpv6AddressesRequest.h:58
AWSString.h
Aws::EC2::Model::UnassignIpv6AddressesRequest::UnassignIpv6AddressesRequest
UnassignIpv6AddressesRequest()
Aws::EC2::Model::UnassignIpv6AddressesRequest::SetNetworkInterfaceId
void SetNetworkInterfaceId(const char *value)
Definition: UnassignIpv6AddressesRequest.h:164
Aws::EC2::Model::UnassignIpv6AddressesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::UnassignIpv6AddressesRequest::SetNetworkInterfaceId
void SetNetworkInterfaceId(const Aws::String &value)
Definition: UnassignIpv6AddressesRequest.h:154
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::UnassignIpv6AddressesRequest::AddIpv6Addresses
UnassignIpv6AddressesRequest & AddIpv6Addresses(const char *value)
Definition: UnassignIpv6AddressesRequest.h:83
Aws::EC2::Model::UnassignIpv6AddressesRequest::SetIpv6Prefixes
void SetIpv6Prefixes(Aws::Vector< Aws::String > &&value)
Definition: UnassignIpv6AddressesRequest.h:108
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::UnassignIpv6AddressesRequest::GetNetworkInterfaceId
const Aws::String & GetNetworkInterfaceId() const
Definition: UnassignIpv6AddressesRequest.h:144
Aws::EC2::Model::UnassignIpv6AddressesRequest
Definition: UnassignIpv6AddressesRequest.h:23
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::UnassignIpv6AddressesRequest::GetIpv6Addresses
const Aws::Vector< Aws::String > & GetIpv6Addresses() const
Definition: UnassignIpv6AddressesRequest.h:43
Aws::EC2::Model::UnassignIpv6AddressesRequest::SetIpv6Prefixes
void SetIpv6Prefixes(const Aws::Vector< Aws::String > &value)
Definition: UnassignIpv6AddressesRequest.h:102
Aws::EC2::Model::UnassignIpv6AddressesRequest::WithIpv6Prefixes
UnassignIpv6AddressesRequest & WithIpv6Prefixes(Aws::Vector< Aws::String > &&value)
Definition: UnassignIpv6AddressesRequest.h:120
EC2_EXPORTS.h
Aws::EC2::Model::UnassignIpv6AddressesRequest::AddIpv6Addresses
UnassignIpv6AddressesRequest & AddIpv6Addresses(const Aws::String &value)
Definition: UnassignIpv6AddressesRequest.h:73
Aws::EC2::Model::UnassignIpv6AddressesRequest::AddIpv6Prefixes
UnassignIpv6AddressesRequest & AddIpv6Prefixes(const Aws::String &value)
Definition: UnassignIpv6AddressesRequest.h:126