AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnassignIpv6AddressesRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace EC2
16{
17namespace 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_EC2_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
44 inline const Aws::Vector<Aws::String>& GetIpv6Prefixes() const{ return m_ipv6Prefixes; }
45 inline bool Ipv6PrefixesHasBeenSet() const { return m_ipv6PrefixesHasBeenSet; }
46 inline void SetIpv6Prefixes(const Aws::Vector<Aws::String>& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes = value; }
47 inline void SetIpv6Prefixes(Aws::Vector<Aws::String>&& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes = std::move(value); }
50 inline UnassignIpv6AddressesRequest& AddIpv6Prefixes(const Aws::String& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes.push_back(value); return *this; }
51 inline UnassignIpv6AddressesRequest& AddIpv6Prefixes(Aws::String&& value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes.push_back(std::move(value)); return *this; }
52 inline UnassignIpv6AddressesRequest& AddIpv6Prefixes(const char* value) { m_ipv6PrefixesHasBeenSet = true; m_ipv6Prefixes.push_back(value); return *this; }
54
56
59 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
60 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
61 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
62 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
63 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
65 inline UnassignIpv6AddressesRequest& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
66 inline UnassignIpv6AddressesRequest& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
68
70
73 inline const Aws::Vector<Aws::String>& GetIpv6Addresses() const{ return m_ipv6Addresses; }
74 inline bool Ipv6AddressesHasBeenSet() const { return m_ipv6AddressesHasBeenSet; }
75 inline void SetIpv6Addresses(const Aws::Vector<Aws::String>& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses = value; }
76 inline void SetIpv6Addresses(Aws::Vector<Aws::String>&& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses = std::move(value); }
79 inline UnassignIpv6AddressesRequest& AddIpv6Addresses(const Aws::String& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses.push_back(value); return *this; }
80 inline UnassignIpv6AddressesRequest& AddIpv6Addresses(Aws::String&& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses.push_back(std::move(value)); return *this; }
81 inline UnassignIpv6AddressesRequest& AddIpv6Addresses(const char* value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses.push_back(value); return *this; }
83 private:
84
85 Aws::Vector<Aws::String> m_ipv6Prefixes;
86 bool m_ipv6PrefixesHasBeenSet = false;
87
88 Aws::String m_networkInterfaceId;
89 bool m_networkInterfaceIdHasBeenSet = false;
90
91 Aws::Vector<Aws::String> m_ipv6Addresses;
92 bool m_ipv6AddressesHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace EC2
97} // namespace Aws
UnassignIpv6AddressesRequest & WithIpv6Addresses(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
UnassignIpv6AddressesRequest & WithNetworkInterfaceId(const char *value)
UnassignIpv6AddressesRequest & AddIpv6Addresses(const char *value)
UnassignIpv6AddressesRequest & WithIpv6Prefixes(Aws::Vector< Aws::String > &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetIpv6Addresses(const Aws::Vector< Aws::String > &value)
UnassignIpv6AddressesRequest & WithIpv6Addresses(const Aws::Vector< Aws::String > &value)
UnassignIpv6AddressesRequest & AddIpv6Prefixes(const Aws::String &value)
UnassignIpv6AddressesRequest & WithNetworkInterfaceId(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetIpv6Prefixes(Aws::Vector< Aws::String > &&value)
UnassignIpv6AddressesRequest & AddIpv6Addresses(Aws::String &&value)
UnassignIpv6AddressesRequest & AddIpv6Prefixes(const char *value)
void SetIpv6Prefixes(const Aws::Vector< Aws::String > &value)
UnassignIpv6AddressesRequest & AddIpv6Prefixes(Aws::String &&value)
UnassignIpv6AddressesRequest & WithIpv6Prefixes(const Aws::Vector< Aws::String > &value)
UnassignIpv6AddressesRequest & AddIpv6Addresses(const Aws::String &value)
UnassignIpv6AddressesRequest & WithNetworkInterfaceId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetIpv6Prefixes() const
const Aws::Vector< Aws::String > & GetIpv6Addresses() const
void SetIpv6Addresses(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector