AWS SDK for C++  1.9.74
AWS SDK for C++
DescribeVpcEndpointServicesResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace EC2
27 {
28 namespace Model
29 {
37  {
38  public:
42 
43 
47  inline const Aws::Vector<Aws::String>& GetServiceNames() const{ return m_serviceNames; }
48 
52  inline void SetServiceNames(const Aws::Vector<Aws::String>& value) { m_serviceNames = value; }
53 
57  inline void SetServiceNames(Aws::Vector<Aws::String>&& value) { m_serviceNames = std::move(value); }
58 
62  inline DescribeVpcEndpointServicesResponse& WithServiceNames(const Aws::Vector<Aws::String>& value) { SetServiceNames(value); return *this;}
63 
67  inline DescribeVpcEndpointServicesResponse& WithServiceNames(Aws::Vector<Aws::String>&& value) { SetServiceNames(std::move(value)); return *this;}
68 
72  inline DescribeVpcEndpointServicesResponse& AddServiceNames(const Aws::String& value) { m_serviceNames.push_back(value); return *this; }
73 
77  inline DescribeVpcEndpointServicesResponse& AddServiceNames(Aws::String&& value) { m_serviceNames.push_back(std::move(value)); return *this; }
78 
82  inline DescribeVpcEndpointServicesResponse& AddServiceNames(const char* value) { m_serviceNames.push_back(value); return *this; }
83 
84 
88  inline const Aws::Vector<ServiceDetail>& GetServiceDetails() const{ return m_serviceDetails; }
89 
93  inline void SetServiceDetails(const Aws::Vector<ServiceDetail>& value) { m_serviceDetails = value; }
94 
98  inline void SetServiceDetails(Aws::Vector<ServiceDetail>&& value) { m_serviceDetails = std::move(value); }
99 
103  inline DescribeVpcEndpointServicesResponse& WithServiceDetails(const Aws::Vector<ServiceDetail>& value) { SetServiceDetails(value); return *this;}
104 
108  inline DescribeVpcEndpointServicesResponse& WithServiceDetails(Aws::Vector<ServiceDetail>&& value) { SetServiceDetails(std::move(value)); return *this;}
109 
113  inline DescribeVpcEndpointServicesResponse& AddServiceDetails(const ServiceDetail& value) { m_serviceDetails.push_back(value); return *this; }
114 
118  inline DescribeVpcEndpointServicesResponse& AddServiceDetails(ServiceDetail&& value) { m_serviceDetails.push_back(std::move(value)); return *this; }
119 
120 
125  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
126 
131  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
132 
137  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
138 
143  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
144 
149  inline DescribeVpcEndpointServicesResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
150 
155  inline DescribeVpcEndpointServicesResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
156 
161  inline DescribeVpcEndpointServicesResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
162 
163 
164 
165  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
166 
167 
168  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
169 
170 
171  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
172 
173 
174  inline DescribeVpcEndpointServicesResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
175 
176 
177  inline DescribeVpcEndpointServicesResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
178 
179  private:
180 
181  Aws::Vector<Aws::String> m_serviceNames;
182 
183  Aws::Vector<ServiceDetail> m_serviceDetails;
184 
185  Aws::String m_nextToken;
186 
187  ResponseMetadata m_responseMetadata;
188  };
189 
190 } // namespace Model
191 } // namespace EC2
192 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::WithServiceNames
DescribeVpcEndpointServicesResponse & WithServiceNames(Aws::Vector< Aws::String > &&value)
Definition: DescribeVpcEndpointServicesResponse.h:67
Aws::EC2::Model::ServiceDetail
Definition: ServiceDetail.h:37
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeVpcEndpointServicesResponse.h:143
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::WithServiceDetails
DescribeVpcEndpointServicesResponse & WithServiceDetails(const Aws::Vector< ServiceDetail > &value)
Definition: DescribeVpcEndpointServicesResponse.h:103
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::WithServiceNames
DescribeVpcEndpointServicesResponse & WithServiceNames(const Aws::Vector< Aws::String > &value)
Definition: DescribeVpcEndpointServicesResponse.h:62
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::WithResponseMetadata
DescribeVpcEndpointServicesResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeVpcEndpointServicesResponse.h:177
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::WithNextToken
DescribeVpcEndpointServicesResponse & WithNextToken(const Aws::String &value)
Definition: DescribeVpcEndpointServicesResponse.h:149
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeVpcEndpointServicesResponse.h:131
AWSVector.h
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::WithResponseMetadata
DescribeVpcEndpointServicesResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeVpcEndpointServicesResponse.h:174
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeVpcEndpointServicesResponse.h:137
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::WithNextToken
DescribeVpcEndpointServicesResponse & WithNextToken(const char *value)
Definition: DescribeVpcEndpointServicesResponse.h:161
ServiceDetail.h
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::operator=
DescribeVpcEndpointServicesResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::DescribeVpcEndpointServicesResponse
DescribeVpcEndpointServicesResponse()
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::SetServiceDetails
void SetServiceDetails(const Aws::Vector< ServiceDetail > &value)
Definition: DescribeVpcEndpointServicesResponse.h:93
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeVpcEndpointServicesResponse.h:165
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::WithServiceDetails
DescribeVpcEndpointServicesResponse & WithServiceDetails(Aws::Vector< ServiceDetail > &&value)
Definition: DescribeVpcEndpointServicesResponse.h:108
AWSString.h
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeVpcEndpointServicesResponse.h:171
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::AddServiceDetails
DescribeVpcEndpointServicesResponse & AddServiceDetails(const ServiceDetail &value)
Definition: DescribeVpcEndpointServicesResponse.h:113
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::AddServiceNames
DescribeVpcEndpointServicesResponse & AddServiceNames(const Aws::String &value)
Definition: DescribeVpcEndpointServicesResponse.h:72
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::SetServiceNames
void SetServiceNames(Aws::Vector< Aws::String > &&value)
Definition: DescribeVpcEndpointServicesResponse.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeVpcEndpointServicesResponse.h:168
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::AddServiceDetails
DescribeVpcEndpointServicesResponse & AddServiceDetails(ServiceDetail &&value)
Definition: DescribeVpcEndpointServicesResponse.h:118
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::WithNextToken
DescribeVpcEndpointServicesResponse & WithNextToken(Aws::String &&value)
Definition: DescribeVpcEndpointServicesResponse.h:155
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeVpcEndpointServicesResponse.h:125
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::AddServiceNames
DescribeVpcEndpointServicesResponse & AddServiceNames(const char *value)
Definition: DescribeVpcEndpointServicesResponse.h:82
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::AddServiceNames
DescribeVpcEndpointServicesResponse & AddServiceNames(Aws::String &&value)
Definition: DescribeVpcEndpointServicesResponse.h:77
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::DescribeVpcEndpointServicesResponse
DescribeVpcEndpointServicesResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::SetServiceDetails
void SetServiceDetails(Aws::Vector< ServiceDetail > &&value)
Definition: DescribeVpcEndpointServicesResponse.h:98
Aws::EC2::Model::DescribeVpcEndpointServicesResponse
Definition: DescribeVpcEndpointServicesResponse.h:37
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::GetServiceNames
const Aws::Vector< Aws::String > & GetServiceNames() const
Definition: DescribeVpcEndpointServicesResponse.h:47
EC2_EXPORTS.h
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::GetServiceDetails
const Aws::Vector< ServiceDetail > & GetServiceDetails() const
Definition: DescribeVpcEndpointServicesResponse.h:88
Aws::EC2::Model::DescribeVpcEndpointServicesResponse::SetServiceNames
void SetServiceNames(const Aws::Vector< Aws::String > &value)
Definition: DescribeVpcEndpointServicesResponse.h:52