AWS SDK for C++  1.9.123
AWS SDK for C++
CreateCustomerGatewayResponse.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 {
34  {
35  public:
39 
40 
44  inline const CustomerGateway& GetCustomerGateway() const{ return m_customerGateway; }
45 
49  inline void SetCustomerGateway(const CustomerGateway& value) { m_customerGateway = value; }
50 
54  inline void SetCustomerGateway(CustomerGateway&& value) { m_customerGateway = std::move(value); }
55 
59  inline CreateCustomerGatewayResponse& WithCustomerGateway(const CustomerGateway& value) { SetCustomerGateway(value); return *this;}
60 
64  inline CreateCustomerGatewayResponse& WithCustomerGateway(CustomerGateway&& value) { SetCustomerGateway(std::move(value)); return *this;}
65 
66 
67 
68  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
69 
70 
71  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
72 
73 
74  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
75 
76 
77  inline CreateCustomerGatewayResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
78 
79 
80  inline CreateCustomerGatewayResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
81 
82  private:
83 
84  CustomerGateway m_customerGateway;
85 
86  ResponseMetadata m_responseMetadata;
87  };
88 
89 } // namespace Model
90 } // namespace EC2
91 } // namespace Aws
Aws::EC2::Model::CreateCustomerGatewayResponse::GetCustomerGateway
const CustomerGateway & GetCustomerGateway() const
Definition: CreateCustomerGatewayResponse.h:44
CustomerGateway.h
Aws::EC2::Model::CreateCustomerGatewayResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateCustomerGatewayResponse.h:74
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::CreateCustomerGatewayResponse
Definition: CreateCustomerGatewayResponse.h:34
Aws::EC2::Model::CreateCustomerGatewayResponse::operator=
CreateCustomerGatewayResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::CreateCustomerGatewayResponse::CreateCustomerGatewayResponse
CreateCustomerGatewayResponse()
Aws::EC2::Model::CreateCustomerGatewayResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateCustomerGatewayResponse.h:68
Aws::EC2::Model::CreateCustomerGatewayResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateCustomerGatewayResponse.h:71
Aws::EC2::Model::CreateCustomerGatewayResponse::SetCustomerGateway
void SetCustomerGateway(CustomerGateway &&value)
Definition: CreateCustomerGatewayResponse.h:54
Aws::EC2::Model::CreateCustomerGatewayResponse::WithCustomerGateway
CreateCustomerGatewayResponse & WithCustomerGateway(const CustomerGateway &value)
Definition: CreateCustomerGatewayResponse.h:59
Aws::EC2::Model::CreateCustomerGatewayResponse::SetCustomerGateway
void SetCustomerGateway(const CustomerGateway &value)
Definition: CreateCustomerGatewayResponse.h:49
Aws::EC2::Model::CreateCustomerGatewayResponse::WithResponseMetadata
CreateCustomerGatewayResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateCustomerGatewayResponse.h:80
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::CreateCustomerGatewayResponse::WithResponseMetadata
CreateCustomerGatewayResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateCustomerGatewayResponse.h:77
Aws::EC2::Model::CreateCustomerGatewayResponse::CreateCustomerGatewayResponse
CreateCustomerGatewayResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateCustomerGatewayResponse::WithCustomerGateway
CreateCustomerGatewayResponse & WithCustomerGateway(CustomerGateway &&value)
Definition: CreateCustomerGatewayResponse.h:64
Aws::EC2::Model::CustomerGateway
Definition: CustomerGateway.h:34
EC2_EXPORTS.h