AWS SDK for C++  1.9.75
AWS SDK for C++
DescribeNetworkInterfacePermissionsResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace EC2
27 {
28 namespace Model
29 {
37  {
38  public:
42 
43 
47  inline const Aws::Vector<NetworkInterfacePermission>& GetNetworkInterfacePermissions() const{ return m_networkInterfacePermissions; }
48 
52  inline void SetNetworkInterfacePermissions(const Aws::Vector<NetworkInterfacePermission>& value) { m_networkInterfacePermissions = value; }
53 
57  inline void SetNetworkInterfacePermissions(Aws::Vector<NetworkInterfacePermission>&& value) { m_networkInterfacePermissions = std::move(value); }
58 
62  inline DescribeNetworkInterfacePermissionsResponse& WithNetworkInterfacePermissions(const Aws::Vector<NetworkInterfacePermission>& value) { SetNetworkInterfacePermissions(value); return *this;}
63 
67  inline DescribeNetworkInterfacePermissionsResponse& WithNetworkInterfacePermissions(Aws::Vector<NetworkInterfacePermission>&& value) { SetNetworkInterfacePermissions(std::move(value)); return *this;}
68 
72  inline DescribeNetworkInterfacePermissionsResponse& AddNetworkInterfacePermissions(const NetworkInterfacePermission& value) { m_networkInterfacePermissions.push_back(value); return *this; }
73 
77  inline DescribeNetworkInterfacePermissionsResponse& AddNetworkInterfacePermissions(NetworkInterfacePermission&& value) { m_networkInterfacePermissions.push_back(std::move(value)); return *this; }
78 
79 
83  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 
88  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
89 
93  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
94 
98  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
99 
103  inline DescribeNetworkInterfacePermissionsResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
104 
108  inline DescribeNetworkInterfacePermissionsResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
109 
113  inline DescribeNetworkInterfacePermissionsResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115 
116 
117  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
118 
119 
120  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
121 
122 
123  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
124 
125 
126  inline DescribeNetworkInterfacePermissionsResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
127 
128 
129  inline DescribeNetworkInterfacePermissionsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
130 
131  private:
132 
133  Aws::Vector<NetworkInterfacePermission> m_networkInterfacePermissions;
134 
135  Aws::String m_nextToken;
136 
137  ResponseMetadata m_responseMetadata;
138  };
139 
140 } // namespace Model
141 } // namespace EC2
142 } // namespace Aws
Aws::EC2::Model::NetworkInterfacePermission
Definition: NetworkInterfacePermission.h:34
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeNetworkInterfacePermissionsResponse.h:93
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::WithNextToken
DescribeNetworkInterfacePermissionsResponse & WithNextToken(const char *value)
Definition: DescribeNetworkInterfacePermissionsResponse.h:113
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::DescribeNetworkInterfacePermissionsResponse
DescribeNetworkInterfacePermissionsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::SetNetworkInterfacePermissions
void SetNetworkInterfacePermissions(Aws::Vector< NetworkInterfacePermission > &&value)
Definition: DescribeNetworkInterfacePermissionsResponse.h:57
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::SetNetworkInterfacePermissions
void SetNetworkInterfacePermissions(const Aws::Vector< NetworkInterfacePermission > &value)
Definition: DescribeNetworkInterfacePermissionsResponse.h:52
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeNetworkInterfacePermissionsResponse.h:117
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
NetworkInterfacePermission.h
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::GetNetworkInterfacePermissions
const Aws::Vector< NetworkInterfacePermission > & GetNetworkInterfacePermissions() const
Definition: DescribeNetworkInterfacePermissionsResponse.h:47
AWSVector.h
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::WithResponseMetadata
DescribeNetworkInterfacePermissionsResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeNetworkInterfacePermissionsResponse.h:129
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::WithResponseMetadata
DescribeNetworkInterfacePermissionsResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeNetworkInterfacePermissionsResponse.h:126
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeNetworkInterfacePermissionsResponse.h:98
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeNetworkInterfacePermissionsResponse.h:88
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::AddNetworkInterfacePermissions
DescribeNetworkInterfacePermissionsResponse & AddNetworkInterfacePermissions(NetworkInterfacePermission &&value)
Definition: DescribeNetworkInterfacePermissionsResponse.h:77
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeNetworkInterfacePermissionsResponse.h:120
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::WithNextToken
DescribeNetworkInterfacePermissionsResponse & WithNextToken(const Aws::String &value)
Definition: DescribeNetworkInterfacePermissionsResponse.h:103
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeNetworkInterfacePermissionsResponse.h:123
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::DescribeNetworkInterfacePermissionsResponse
DescribeNetworkInterfacePermissionsResponse()
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::WithNextToken
DescribeNetworkInterfacePermissionsResponse & WithNextToken(Aws::String &&value)
Definition: DescribeNetworkInterfacePermissionsResponse.h:108
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::operator=
DescribeNetworkInterfacePermissionsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeNetworkInterfacePermissionsResponse.h:83
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse
Definition: DescribeNetworkInterfacePermissionsResponse.h:37
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::WithNetworkInterfacePermissions
DescribeNetworkInterfacePermissionsResponse & WithNetworkInterfacePermissions(const Aws::Vector< NetworkInterfacePermission > &value)
Definition: DescribeNetworkInterfacePermissionsResponse.h:62
EC2_EXPORTS.h
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::AddNetworkInterfacePermissions
DescribeNetworkInterfacePermissionsResponse & AddNetworkInterfacePermissions(const NetworkInterfacePermission &value)
Definition: DescribeNetworkInterfacePermissionsResponse.h:72
Aws::EC2::Model::DescribeNetworkInterfacePermissionsResponse::WithNetworkInterfacePermissions
DescribeNetworkInterfacePermissionsResponse & WithNetworkInterfacePermissions(Aws::Vector< NetworkInterfacePermission > &&value)
Definition: DescribeNetworkInterfacePermissionsResponse.h:67