AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssignPrivateIpAddressesResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/AssignedPrivateIpAddress.h>
12#include <aws/ec2/model/Ipv4PrefixSpecification.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace EC2
28{
29namespace Model
30{
32 {
33 public:
37
38
40
43 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
44 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceId = value; }
45 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceId = std::move(value); }
46 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceId.assign(value); }
49 inline AssignPrivateIpAddressesResponse& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
51
53
56 inline const Aws::Vector<AssignedPrivateIpAddress>& GetAssignedPrivateIpAddresses() const{ return m_assignedPrivateIpAddresses; }
57 inline void SetAssignedPrivateIpAddresses(const Aws::Vector<AssignedPrivateIpAddress>& value) { m_assignedPrivateIpAddresses = value; }
58 inline void SetAssignedPrivateIpAddresses(Aws::Vector<AssignedPrivateIpAddress>&& value) { m_assignedPrivateIpAddresses = std::move(value); }
61 inline AssignPrivateIpAddressesResponse& AddAssignedPrivateIpAddresses(const AssignedPrivateIpAddress& value) { m_assignedPrivateIpAddresses.push_back(value); return *this; }
62 inline AssignPrivateIpAddressesResponse& AddAssignedPrivateIpAddresses(AssignedPrivateIpAddress&& value) { m_assignedPrivateIpAddresses.push_back(std::move(value)); return *this; }
64
66
69 inline const Aws::Vector<Ipv4PrefixSpecification>& GetAssignedIpv4Prefixes() const{ return m_assignedIpv4Prefixes; }
70 inline void SetAssignedIpv4Prefixes(const Aws::Vector<Ipv4PrefixSpecification>& value) { m_assignedIpv4Prefixes = value; }
71 inline void SetAssignedIpv4Prefixes(Aws::Vector<Ipv4PrefixSpecification>&& value) { m_assignedIpv4Prefixes = std::move(value); }
74 inline AssignPrivateIpAddressesResponse& AddAssignedIpv4Prefixes(const Ipv4PrefixSpecification& value) { m_assignedIpv4Prefixes.push_back(value); return *this; }
75 inline AssignPrivateIpAddressesResponse& AddAssignedIpv4Prefixes(Ipv4PrefixSpecification&& value) { m_assignedIpv4Prefixes.push_back(std::move(value)); return *this; }
77
79
80 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
81 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
82 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
86 private:
87
88 Aws::String m_networkInterfaceId;
89
90 Aws::Vector<AssignedPrivateIpAddress> m_assignedPrivateIpAddresses;
91
92 Aws::Vector<Ipv4PrefixSpecification> m_assignedIpv4Prefixes;
93
94 ResponseMetadata m_responseMetadata;
95 };
96
97} // namespace Model
98} // namespace EC2
99} // namespace Aws
AssignPrivateIpAddressesResponse & WithResponseMetadata(ResponseMetadata &&value)
AssignPrivateIpAddressesResponse & WithNetworkInterfaceId(const char *value)
void SetAssignedIpv4Prefixes(Aws::Vector< Ipv4PrefixSpecification > &&value)
AssignPrivateIpAddressesResponse & WithNetworkInterfaceId(const Aws::String &value)
void SetAssignedIpv4Prefixes(const Aws::Vector< Ipv4PrefixSpecification > &value)
AWS_EC2_API AssignPrivateIpAddressesResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AssignPrivateIpAddressesResponse & AddAssignedIpv4Prefixes(const Ipv4PrefixSpecification &value)
AssignPrivateIpAddressesResponse & WithNetworkInterfaceId(Aws::String &&value)
AssignPrivateIpAddressesResponse & AddAssignedPrivateIpAddresses(const AssignedPrivateIpAddress &value)
AWS_EC2_API AssignPrivateIpAddressesResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< AssignedPrivateIpAddress > & GetAssignedPrivateIpAddresses() const
AssignPrivateIpAddressesResponse & AddAssignedPrivateIpAddresses(AssignedPrivateIpAddress &&value)
void SetAssignedPrivateIpAddresses(const Aws::Vector< AssignedPrivateIpAddress > &value)
AssignPrivateIpAddressesResponse & WithAssignedIpv4Prefixes(Aws::Vector< Ipv4PrefixSpecification > &&value)
const Aws::Vector< Ipv4PrefixSpecification > & GetAssignedIpv4Prefixes() const
AssignPrivateIpAddressesResponse & AddAssignedIpv4Prefixes(Ipv4PrefixSpecification &&value)
AssignPrivateIpAddressesResponse & WithAssignedPrivateIpAddresses(const Aws::Vector< AssignedPrivateIpAddress > &value)
AssignPrivateIpAddressesResponse & WithAssignedIpv4Prefixes(const Aws::Vector< Ipv4PrefixSpecification > &value)
void SetAssignedPrivateIpAddresses(Aws::Vector< AssignedPrivateIpAddress > &&value)
AssignPrivateIpAddressesResponse & WithResponseMetadata(const ResponseMetadata &value)
AssignPrivateIpAddressesResponse & WithAssignedPrivateIpAddresses(Aws::Vector< AssignedPrivateIpAddress > &&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