AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateCustomerGatewayResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/CustomerGateway.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace EC2 {
23namespace Model {
30 public:
31 AWS_EC2_API CreateCustomerGatewayResponse() = default;
34
36
39 inline const CustomerGateway& GetCustomerGateway() const { return m_customerGateway; }
40 template <typename CustomerGatewayT = CustomerGateway>
41 void SetCustomerGateway(CustomerGatewayT&& value) {
42 m_customerGatewayHasBeenSet = true;
43 m_customerGateway = std::forward<CustomerGatewayT>(value);
44 }
45 template <typename CustomerGatewayT = CustomerGateway>
47 SetCustomerGateway(std::forward<CustomerGatewayT>(value));
48 return *this;
49 }
51
53
54 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
55 template <typename ResponseMetadataT = ResponseMetadata>
56 void SetResponseMetadata(ResponseMetadataT&& value) {
57 m_responseMetadataHasBeenSet = true;
58 m_responseMetadata = std::forward<ResponseMetadataT>(value);
59 }
60 template <typename ResponseMetadataT = ResponseMetadata>
62 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
63 return *this;
64 }
66 private:
67 CustomerGateway m_customerGateway;
68
69 ResponseMetadata m_responseMetadata;
70 bool m_customerGatewayHasBeenSet = false;
71 bool m_responseMetadataHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace EC2
76} // 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