AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeVpcEndpointServicesResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/ServiceDetail.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace EC2
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::Vector<Aws::String>& GetServiceNames() const{ return m_serviceNames; }
43 inline void SetServiceNames(const Aws::Vector<Aws::String>& value) { m_serviceNames = value; }
44 inline void SetServiceNames(Aws::Vector<Aws::String>&& value) { m_serviceNames = std::move(value); }
47 inline DescribeVpcEndpointServicesResponse& AddServiceNames(const Aws::String& value) { m_serviceNames.push_back(value); return *this; }
48 inline DescribeVpcEndpointServicesResponse& AddServiceNames(Aws::String&& value) { m_serviceNames.push_back(std::move(value)); return *this; }
49 inline DescribeVpcEndpointServicesResponse& AddServiceNames(const char* value) { m_serviceNames.push_back(value); return *this; }
51
53
56 inline const Aws::Vector<ServiceDetail>& GetServiceDetails() const{ return m_serviceDetails; }
57 inline void SetServiceDetails(const Aws::Vector<ServiceDetail>& value) { m_serviceDetails = value; }
58 inline void SetServiceDetails(Aws::Vector<ServiceDetail>&& value) { m_serviceDetails = std::move(value); }
61 inline DescribeVpcEndpointServicesResponse& AddServiceDetails(const ServiceDetail& value) { m_serviceDetails.push_back(value); return *this; }
62 inline DescribeVpcEndpointServicesResponse& AddServiceDetails(ServiceDetail&& value) { m_serviceDetails.push_back(std::move(value)); return *this; }
64
66
70 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
71 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
72 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
73 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
74 inline DescribeVpcEndpointServicesResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
75 inline DescribeVpcEndpointServicesResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
76 inline DescribeVpcEndpointServicesResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
78
80
81 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
82 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
83 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
87 private:
88
89 Aws::Vector<Aws::String> m_serviceNames;
90
91 Aws::Vector<ServiceDetail> m_serviceDetails;
92
93 Aws::String m_nextToken;
94
95 ResponseMetadata m_responseMetadata;
96 };
97
98} // namespace Model
99} // namespace EC2
100} // namespace Aws
DescribeVpcEndpointServicesResponse & WithResponseMetadata(ResponseMetadata &&value)
DescribeVpcEndpointServicesResponse & WithServiceNames(Aws::Vector< Aws::String > &&value)
AWS_EC2_API DescribeVpcEndpointServicesResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeVpcEndpointServicesResponse & WithNextToken(const Aws::String &value)
DescribeVpcEndpointServicesResponse & WithServiceDetails(Aws::Vector< ServiceDetail > &&value)
AWS_EC2_API DescribeVpcEndpointServicesResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeVpcEndpointServicesResponse & AddServiceNames(const char *value)
DescribeVpcEndpointServicesResponse & AddServiceDetails(const ServiceDetail &value)
DescribeVpcEndpointServicesResponse & WithServiceDetails(const Aws::Vector< ServiceDetail > &value)
DescribeVpcEndpointServicesResponse & AddServiceNames(const Aws::String &value)
DescribeVpcEndpointServicesResponse & WithResponseMetadata(const ResponseMetadata &value)
DescribeVpcEndpointServicesResponse & WithNextToken(const char *value)
DescribeVpcEndpointServicesResponse & AddServiceNames(Aws::String &&value)
DescribeVpcEndpointServicesResponse & AddServiceDetails(ServiceDetail &&value)
DescribeVpcEndpointServicesResponse & WithServiceNames(const Aws::Vector< Aws::String > &value)
DescribeVpcEndpointServicesResponse & WithNextToken(Aws::String &&value)
void SetServiceDetails(const Aws::Vector< ServiceDetail > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument