AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeVpcEndpointsResult.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/es/model/VpcEndpoint.h>
11#include <aws/es/model/VpcEndpointError.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ElasticsearchService
27{
28namespace Model
29{
40 {
41 public:
42 AWS_ELASTICSEARCHSERVICE_API DescribeVpcEndpointsResult();
45
46
48
51 inline const Aws::Vector<VpcEndpoint>& GetVpcEndpoints() const{ return m_vpcEndpoints; }
52 inline void SetVpcEndpoints(const Aws::Vector<VpcEndpoint>& value) { m_vpcEndpoints = value; }
53 inline void SetVpcEndpoints(Aws::Vector<VpcEndpoint>&& value) { m_vpcEndpoints = std::move(value); }
55 inline DescribeVpcEndpointsResult& WithVpcEndpoints(Aws::Vector<VpcEndpoint>&& value) { SetVpcEndpoints(std::move(value)); return *this;}
56 inline DescribeVpcEndpointsResult& AddVpcEndpoints(const VpcEndpoint& value) { m_vpcEndpoints.push_back(value); return *this; }
57 inline DescribeVpcEndpointsResult& AddVpcEndpoints(VpcEndpoint&& value) { m_vpcEndpoints.push_back(std::move(value)); return *this; }
59
61
64 inline const Aws::Vector<VpcEndpointError>& GetVpcEndpointErrors() const{ return m_vpcEndpointErrors; }
65 inline void SetVpcEndpointErrors(const Aws::Vector<VpcEndpointError>& value) { m_vpcEndpointErrors = value; }
66 inline void SetVpcEndpointErrors(Aws::Vector<VpcEndpointError>&& value) { m_vpcEndpointErrors = std::move(value); }
69 inline DescribeVpcEndpointsResult& AddVpcEndpointErrors(const VpcEndpointError& value) { m_vpcEndpointErrors.push_back(value); return *this; }
70 inline DescribeVpcEndpointsResult& AddVpcEndpointErrors(VpcEndpointError&& value) { m_vpcEndpointErrors.push_back(std::move(value)); return *this; }
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline DescribeVpcEndpointsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline DescribeVpcEndpointsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline DescribeVpcEndpointsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::Vector<VpcEndpoint> m_vpcEndpoints;
86
87 Aws::Vector<VpcEndpointError> m_vpcEndpointErrors;
88
89 Aws::String m_requestId;
90 };
91
92} // namespace Model
93} // namespace ElasticsearchService
94} // namespace Aws
DescribeVpcEndpointsResult & AddVpcEndpointErrors(VpcEndpointError &&value)
void SetVpcEndpointErrors(Aws::Vector< VpcEndpointError > &&value)
DescribeVpcEndpointsResult & AddVpcEndpoints(VpcEndpoint &&value)
DescribeVpcEndpointsResult & WithVpcEndpoints(const Aws::Vector< VpcEndpoint > &value)
DescribeVpcEndpointsResult & WithVpcEndpointErrors(const Aws::Vector< VpcEndpointError > &value)
DescribeVpcEndpointsResult & WithRequestId(const Aws::String &value)
DescribeVpcEndpointsResult & AddVpcEndpoints(const VpcEndpoint &value)
void SetVpcEndpointErrors(const Aws::Vector< VpcEndpointError > &value)
void SetVpcEndpoints(const Aws::Vector< VpcEndpoint > &value)
DescribeVpcEndpointsResult & WithRequestId(const char *value)
const Aws::Vector< VpcEndpointError > & GetVpcEndpointErrors() const
DescribeVpcEndpointsResult & WithVpcEndpoints(Aws::Vector< VpcEndpoint > &&value)
DescribeVpcEndpointsResult & WithVpcEndpointErrors(Aws::Vector< VpcEndpointError > &&value)
AWS_ELASTICSEARCHSERVICE_API DescribeVpcEndpointsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ELASTICSEARCHSERVICE_API DescribeVpcEndpointsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeVpcEndpointsResult & WithRequestId(Aws::String &&value)
DescribeVpcEndpointsResult & AddVpcEndpointErrors(const VpcEndpointError &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue