AWS SDK for C++  1.9.68
AWS SDK for C++
CreateVpcEndpointResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace EC2
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
45  inline const VpcEndpoint& GetVpcEndpoint() const{ return m_vpcEndpoint; }
46 
50  inline void SetVpcEndpoint(const VpcEndpoint& value) { m_vpcEndpoint = value; }
51 
55  inline void SetVpcEndpoint(VpcEndpoint&& value) { m_vpcEndpoint = std::move(value); }
56 
60  inline CreateVpcEndpointResponse& WithVpcEndpoint(const VpcEndpoint& value) { SetVpcEndpoint(value); return *this;}
61 
65  inline CreateVpcEndpointResponse& WithVpcEndpoint(VpcEndpoint&& value) { SetVpcEndpoint(std::move(value)); return *this;}
66 
67 
72  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
73 
78  inline void SetClientToken(const Aws::String& value) { m_clientToken = value; }
79 
84  inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); }
85 
90  inline void SetClientToken(const char* value) { m_clientToken.assign(value); }
91 
96  inline CreateVpcEndpointResponse& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
97 
102  inline CreateVpcEndpointResponse& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
103 
108  inline CreateVpcEndpointResponse& WithClientToken(const char* value) { SetClientToken(value); return *this;}
109 
110 
111 
112  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
113 
114 
115  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
116 
117 
118  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
119 
120 
121  inline CreateVpcEndpointResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
122 
123 
124  inline CreateVpcEndpointResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
125 
126  private:
127 
128  VpcEndpoint m_vpcEndpoint;
129 
130  Aws::String m_clientToken;
131 
132  ResponseMetadata m_responseMetadata;
133  };
134 
135 } // namespace Model
136 } // namespace EC2
137 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::CreateVpcEndpointResponse::WithClientToken
CreateVpcEndpointResponse & WithClientToken(Aws::String &&value)
Definition: CreateVpcEndpointResponse.h:102
Aws::EC2::Model::CreateVpcEndpointResponse::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: CreateVpcEndpointResponse.h:84
Aws::EC2::Model::CreateVpcEndpointResponse::SetClientToken
void SetClientToken(const char *value)
Definition: CreateVpcEndpointResponse.h:90
Aws::EC2::Model::CreateVpcEndpointResponse::WithResponseMetadata
CreateVpcEndpointResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateVpcEndpointResponse.h:124
Aws::EC2::Model::CreateVpcEndpointResponse::WithVpcEndpoint
CreateVpcEndpointResponse & WithVpcEndpoint(const VpcEndpoint &value)
Definition: CreateVpcEndpointResponse.h:60
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::CreateVpcEndpointResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateVpcEndpointResponse.h:115
ResponseMetadata.h
Aws::EC2::Model::CreateVpcEndpointResponse::SetVpcEndpoint
void SetVpcEndpoint(VpcEndpoint &&value)
Definition: CreateVpcEndpointResponse.h:55
Aws::EC2::Model::CreateVpcEndpointResponse::WithClientToken
CreateVpcEndpointResponse & WithClientToken(const Aws::String &value)
Definition: CreateVpcEndpointResponse.h:96
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::CreateVpcEndpointResponse::CreateVpcEndpointResponse
CreateVpcEndpointResponse()
Aws::EC2::Model::CreateVpcEndpointResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateVpcEndpointResponse.h:112
Aws::EC2::Model::CreateVpcEndpointResponse::GetClientToken
const Aws::String & GetClientToken() const
Definition: CreateVpcEndpointResponse.h:72
Aws::EC2::Model::CreateVpcEndpointResponse::WithResponseMetadata
CreateVpcEndpointResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateVpcEndpointResponse.h:121
Aws::EC2::Model::CreateVpcEndpointResponse::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: CreateVpcEndpointResponse.h:78
Aws::EC2::Model::CreateVpcEndpointResponse::CreateVpcEndpointResponse
CreateVpcEndpointResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateVpcEndpointResponse
Definition: CreateVpcEndpointResponse.h:35
Aws::EC2::Model::CreateVpcEndpointResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateVpcEndpointResponse.h:118
Aws::EC2::Model::CreateVpcEndpointResponse::GetVpcEndpoint
const VpcEndpoint & GetVpcEndpoint() const
Definition: CreateVpcEndpointResponse.h:45
VpcEndpoint.h
Aws::EC2::Model::CreateVpcEndpointResponse::operator=
CreateVpcEndpointResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::CreateVpcEndpointResponse::SetVpcEndpoint
void SetVpcEndpoint(const VpcEndpoint &value)
Definition: CreateVpcEndpointResponse.h:50
Aws::EC2::Model::CreateVpcEndpointResponse::WithVpcEndpoint
CreateVpcEndpointResponse & WithVpcEndpoint(VpcEndpoint &&value)
Definition: CreateVpcEndpointResponse.h:65
EC2_EXPORTS.h
Aws::EC2::Model::VpcEndpoint
Definition: VpcEndpoint.h:40
Aws::EC2::Model::CreateVpcEndpointResponse::WithClientToken
CreateVpcEndpointResponse & WithClientToken(const char *value)
Definition: CreateVpcEndpointResponse.h:108