AWS SDK for C++  1.9.68
AWS SDK for C++
CreateVpcEndpointServiceConfigurationResponse.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 {
30  {
31  public:
35 
36 
40  inline const ServiceConfiguration& GetServiceConfiguration() const{ return m_serviceConfiguration; }
41 
45  inline void SetServiceConfiguration(const ServiceConfiguration& value) { m_serviceConfiguration = value; }
46 
50  inline void SetServiceConfiguration(ServiceConfiguration&& value) { m_serviceConfiguration = std::move(value); }
51 
55  inline CreateVpcEndpointServiceConfigurationResponse& WithServiceConfiguration(const ServiceConfiguration& value) { SetServiceConfiguration(value); return *this;}
56 
60  inline CreateVpcEndpointServiceConfigurationResponse& WithServiceConfiguration(ServiceConfiguration&& value) { SetServiceConfiguration(std::move(value)); return *this;}
61 
62 
67  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
68 
73  inline void SetClientToken(const Aws::String& value) { m_clientToken = value; }
74 
79  inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); }
80 
85  inline void SetClientToken(const char* value) { m_clientToken.assign(value); }
86 
91  inline CreateVpcEndpointServiceConfigurationResponse& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
92 
97  inline CreateVpcEndpointServiceConfigurationResponse& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
98 
103  inline CreateVpcEndpointServiceConfigurationResponse& WithClientToken(const char* value) { SetClientToken(value); return *this;}
104 
105 
106 
107  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
108 
109 
110  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
111 
112 
113  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
114 
115 
116  inline CreateVpcEndpointServiceConfigurationResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
117 
118 
119  inline CreateVpcEndpointServiceConfigurationResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
120 
121  private:
122 
123  ServiceConfiguration m_serviceConfiguration;
124 
125  Aws::String m_clientToken;
126 
127  ResponseMetadata m_responseMetadata;
128  };
129 
130 } // namespace Model
131 } // namespace EC2
132 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::CreateVpcEndpointServiceConfigurationResponse
CreateVpcEndpointServiceConfigurationResponse()
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::WithClientToken
CreateVpcEndpointServiceConfigurationResponse & WithClientToken(Aws::String &&value)
Definition: CreateVpcEndpointServiceConfigurationResponse.h:97
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::operator=
CreateVpcEndpointServiceConfigurationResponse & 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::ServiceConfiguration
Definition: ServiceConfiguration.h:38
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: CreateVpcEndpointServiceConfigurationResponse.h:79
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::WithServiceConfiguration
CreateVpcEndpointServiceConfigurationResponse & WithServiceConfiguration(const ServiceConfiguration &value)
Definition: CreateVpcEndpointServiceConfigurationResponse.h:55
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::GetServiceConfiguration
const ServiceConfiguration & GetServiceConfiguration() const
Definition: CreateVpcEndpointServiceConfigurationResponse.h:40
ServiceConfiguration.h
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::CreateVpcEndpointServiceConfigurationResponse
CreateVpcEndpointServiceConfigurationResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::WithServiceConfiguration
CreateVpcEndpointServiceConfigurationResponse & WithServiceConfiguration(ServiceConfiguration &&value)
Definition: CreateVpcEndpointServiceConfigurationResponse.h:60
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::WithClientToken
CreateVpcEndpointServiceConfigurationResponse & WithClientToken(const Aws::String &value)
Definition: CreateVpcEndpointServiceConfigurationResponse.h:91
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::GetClientToken
const Aws::String & GetClientToken() const
Definition: CreateVpcEndpointServiceConfigurationResponse.h:67
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::WithClientToken
CreateVpcEndpointServiceConfigurationResponse & WithClientToken(const char *value)
Definition: CreateVpcEndpointServiceConfigurationResponse.h:103
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::WithResponseMetadata
CreateVpcEndpointServiceConfigurationResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateVpcEndpointServiceConfigurationResponse.h:116
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::SetServiceConfiguration
void SetServiceConfiguration(ServiceConfiguration &&value)
Definition: CreateVpcEndpointServiceConfigurationResponse.h:50
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateVpcEndpointServiceConfigurationResponse.h:113
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::SetServiceConfiguration
void SetServiceConfiguration(const ServiceConfiguration &value)
Definition: CreateVpcEndpointServiceConfigurationResponse.h:45
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::CreateVpcEndpointServiceConfigurationResponse::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: CreateVpcEndpointServiceConfigurationResponse.h:73
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateVpcEndpointServiceConfigurationResponse.h:110
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateVpcEndpointServiceConfigurationResponse.h:107
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::WithResponseMetadata
CreateVpcEndpointServiceConfigurationResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateVpcEndpointServiceConfigurationResponse.h:119
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse::SetClientToken
void SetClientToken(const char *value)
Definition: CreateVpcEndpointServiceConfigurationResponse.h:85
EC2_EXPORTS.h
Aws::EC2::Model::CreateVpcEndpointServiceConfigurationResponse
Definition: CreateVpcEndpointServiceConfigurationResponse.h:30