AWS SDK for C++  1.9.75
AWS SDK for C++
CreateNetworkInterfacePermissionResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace EC2
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const NetworkInterfacePermission& GetInterfacePermission() const{ return m_interfacePermission; }
46 
50  inline void SetInterfacePermission(const NetworkInterfacePermission& value) { m_interfacePermission = value; }
51 
55  inline void SetInterfacePermission(NetworkInterfacePermission&& value) { m_interfacePermission = std::move(value); }
56 
60  inline CreateNetworkInterfacePermissionResponse& WithInterfacePermission(const NetworkInterfacePermission& value) { SetInterfacePermission(value); return *this;}
61 
65  inline CreateNetworkInterfacePermissionResponse& WithInterfacePermission(NetworkInterfacePermission&& value) { SetInterfacePermission(std::move(value)); return *this;}
66 
67 
68 
69  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
70 
71 
72  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
73 
74 
75  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
76 
77 
78  inline CreateNetworkInterfacePermissionResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
79 
80 
81  inline CreateNetworkInterfacePermissionResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
82 
83  private:
84 
85  NetworkInterfacePermission m_interfacePermission;
86 
87  ResponseMetadata m_responseMetadata;
88  };
89 
90 } // namespace Model
91 } // namespace EC2
92 } // namespace Aws
Aws::EC2::Model::NetworkInterfacePermission
Definition: NetworkInterfacePermission.h:34
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::CreateNetworkInterfacePermissionResponse::WithInterfacePermission
CreateNetworkInterfacePermissionResponse & WithInterfacePermission(NetworkInterfacePermission &&value)
Definition: CreateNetworkInterfacePermissionResponse.h:65
Aws::EC2::Model::CreateNetworkInterfacePermissionResponse::CreateNetworkInterfacePermissionResponse
CreateNetworkInterfacePermissionResponse()
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
NetworkInterfacePermission.h
Aws::EC2::Model::CreateNetworkInterfacePermissionResponse::SetInterfacePermission
void SetInterfacePermission(NetworkInterfacePermission &&value)
Definition: CreateNetworkInterfacePermissionResponse.h:55
Aws::EC2::Model::CreateNetworkInterfacePermissionResponse::operator=
CreateNetworkInterfacePermissionResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateNetworkInterfacePermissionResponse::CreateNetworkInterfacePermissionResponse
CreateNetworkInterfacePermissionResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateNetworkInterfacePermissionResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateNetworkInterfacePermissionResponse.h:72
Aws::EC2::Model::CreateNetworkInterfacePermissionResponse::GetInterfacePermission
const NetworkInterfacePermission & GetInterfacePermission() const
Definition: CreateNetworkInterfacePermissionResponse.h:45
Aws::EC2::Model::CreateNetworkInterfacePermissionResponse::WithResponseMetadata
CreateNetworkInterfacePermissionResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateNetworkInterfacePermissionResponse.h:81
Aws::EC2::Model::CreateNetworkInterfacePermissionResponse::SetInterfacePermission
void SetInterfacePermission(const NetworkInterfacePermission &value)
Definition: CreateNetworkInterfacePermissionResponse.h:50
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::CreateNetworkInterfacePermissionResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateNetworkInterfacePermissionResponse.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateNetworkInterfacePermissionResponse::WithInterfacePermission
CreateNetworkInterfacePermissionResponse & WithInterfacePermission(const NetworkInterfacePermission &value)
Definition: CreateNetworkInterfacePermissionResponse.h:60
Aws::EC2::Model::CreateNetworkInterfacePermissionResponse
Definition: CreateNetworkInterfacePermissionResponse.h:35
EC2_EXPORTS.h
Aws::EC2::Model::CreateNetworkInterfacePermissionResponse::WithResponseMetadata
CreateNetworkInterfacePermissionResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateNetworkInterfacePermissionResponse.h:78
Aws::EC2::Model::CreateNetworkInterfacePermissionResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateNetworkInterfacePermissionResponse.h:69