AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssignIpv6AddressesResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
30 {
31 public:
35
36
38
43 inline const Aws::Vector<Aws::String>& GetAssignedIpv6Addresses() const{ return m_assignedIpv6Addresses; }
44 inline void SetAssignedIpv6Addresses(const Aws::Vector<Aws::String>& value) { m_assignedIpv6Addresses = value; }
45 inline void SetAssignedIpv6Addresses(Aws::Vector<Aws::String>&& value) { m_assignedIpv6Addresses = std::move(value); }
48 inline AssignIpv6AddressesResponse& AddAssignedIpv6Addresses(const Aws::String& value) { m_assignedIpv6Addresses.push_back(value); return *this; }
49 inline AssignIpv6AddressesResponse& AddAssignedIpv6Addresses(Aws::String&& value) { m_assignedIpv6Addresses.push_back(std::move(value)); return *this; }
50 inline AssignIpv6AddressesResponse& AddAssignedIpv6Addresses(const char* value) { m_assignedIpv6Addresses.push_back(value); return *this; }
52
54
57 inline const Aws::Vector<Aws::String>& GetAssignedIpv6Prefixes() const{ return m_assignedIpv6Prefixes; }
58 inline void SetAssignedIpv6Prefixes(const Aws::Vector<Aws::String>& value) { m_assignedIpv6Prefixes = value; }
59 inline void SetAssignedIpv6Prefixes(Aws::Vector<Aws::String>&& value) { m_assignedIpv6Prefixes = std::move(value); }
62 inline AssignIpv6AddressesResponse& AddAssignedIpv6Prefixes(const Aws::String& value) { m_assignedIpv6Prefixes.push_back(value); return *this; }
63 inline AssignIpv6AddressesResponse& AddAssignedIpv6Prefixes(Aws::String&& value) { m_assignedIpv6Prefixes.push_back(std::move(value)); return *this; }
64 inline AssignIpv6AddressesResponse& AddAssignedIpv6Prefixes(const char* value) { m_assignedIpv6Prefixes.push_back(value); return *this; }
66
68
71 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
72 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceId = value; }
73 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceId = std::move(value); }
74 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceId.assign(value); }
76 inline AssignIpv6AddressesResponse& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
77 inline AssignIpv6AddressesResponse& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
79
81
82 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
83 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
84 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
86 inline AssignIpv6AddressesResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
88 private:
89
90 Aws::Vector<Aws::String> m_assignedIpv6Addresses;
91
92 Aws::Vector<Aws::String> m_assignedIpv6Prefixes;
93
94 Aws::String m_networkInterfaceId;
95
96 ResponseMetadata m_responseMetadata;
97 };
98
99} // namespace Model
100} // namespace EC2
101} // namespace Aws
void SetAssignedIpv6Prefixes(const Aws::Vector< Aws::String > &value)
AssignIpv6AddressesResponse & WithAssignedIpv6Addresses(Aws::Vector< Aws::String > &&value)
AssignIpv6AddressesResponse & AddAssignedIpv6Addresses(const char *value)
AssignIpv6AddressesResponse & WithAssignedIpv6Addresses(const Aws::Vector< Aws::String > &value)
AssignIpv6AddressesResponse & AddAssignedIpv6Addresses(Aws::String &&value)
AWS_EC2_API AssignIpv6AddressesResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AssignIpv6AddressesResponse & AddAssignedIpv6Prefixes(const Aws::String &value)
AssignIpv6AddressesResponse & AddAssignedIpv6Prefixes(const char *value)
void SetResponseMetadata(const ResponseMetadata &value)
AssignIpv6AddressesResponse & WithAssignedIpv6Prefixes(Aws::Vector< Aws::String > &&value)
void SetAssignedIpv6Addresses(Aws::Vector< Aws::String > &&value)
AssignIpv6AddressesResponse & WithNetworkInterfaceId(Aws::String &&value)
AssignIpv6AddressesResponse & AddAssignedIpv6Prefixes(Aws::String &&value)
void SetAssignedIpv6Addresses(const Aws::Vector< Aws::String > &value)
AWS_EC2_API AssignIpv6AddressesResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AssignIpv6AddressesResponse & WithAssignedIpv6Prefixes(const Aws::Vector< Aws::String > &value)
AssignIpv6AddressesResponse & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Vector< Aws::String > & GetAssignedIpv6Prefixes() const
const Aws::Vector< Aws::String > & GetAssignedIpv6Addresses() const
void SetAssignedIpv6Prefixes(Aws::Vector< Aws::String > &&value)
AssignIpv6AddressesResponse & AddAssignedIpv6Addresses(const Aws::String &value)
AssignIpv6AddressesResponse & WithResponseMetadata(const ResponseMetadata &value)
AssignIpv6AddressesResponse & WithNetworkInterfaceId(const char *value)
AssignIpv6AddressesResponse & WithNetworkInterfaceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument