AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
CreateCustomerGatewayResponse.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9#include <aws/ec2/model/CustomerGateway.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace EC2 {
24namespace Model {
31 public:
32 AWS_EC2_API CreateCustomerGatewayResponse() = default;
35
37
40 inline const CustomerGateway& GetCustomerGateway() const { return m_customerGateway; }
41 template <typename CustomerGatewayT = CustomerGateway>
42 void SetCustomerGateway(CustomerGatewayT&& value) {
43 m_customerGatewayHasBeenSet = true;
44 m_customerGateway = std::forward<CustomerGatewayT>(value);
45 }
46 template <typename CustomerGatewayT = CustomerGateway>
48 SetCustomerGateway(std::forward<CustomerGatewayT>(value));
49 return *this;
50 }
52
54
55 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
56 template <typename ResponseMetadataT = ResponseMetadata>
57 void SetResponseMetadata(ResponseMetadataT&& value) {
58 m_responseMetadataHasBeenSet = true;
59 m_responseMetadata = std::forward<ResponseMetadataT>(value);
60 }
61 template <typename ResponseMetadataT = ResponseMetadata>
63 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
64 return *this;
65 }
67 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
68
69 private:
70 CustomerGateway m_customerGateway;
71
72 ResponseMetadata m_responseMetadata;
73 Aws::Http::HttpResponseCode m_HttpResponseCode;
74 bool m_customerGatewayHasBeenSet = false;
75 bool m_responseMetadataHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace EC2
80} // namespace Aws
AWS_EC2_API CreateCustomerGatewayResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateCustomerGatewayResponse & WithCustomerGateway(CustomerGatewayT &&value)
AWS_EC2_API CreateCustomerGatewayResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateCustomerGatewayResponse & WithResponseMetadata(ResponseMetadataT &&value)
Aws::Utils::Xml::XmlDocument XmlDocument