AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeVpcEndpointsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/es/ElasticsearchService_EXPORTS.h>
11#include <aws/es/model/VpcEndpoint.h>
12#include <aws/es/model/VpcEndpointError.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ElasticsearchService {
26namespace Model {
37 public:
38 AWS_ELASTICSEARCHSERVICE_API DescribeVpcEndpointsResult() = default;
40 AWS_ELASTICSEARCHSERVICE_API DescribeVpcEndpointsResult& operator=(
42
44
47 inline const Aws::Vector<VpcEndpoint>& GetVpcEndpoints() const { return m_vpcEndpoints; }
48 template <typename VpcEndpointsT = Aws::Vector<VpcEndpoint>>
49 void SetVpcEndpoints(VpcEndpointsT&& value) {
50 m_vpcEndpointsHasBeenSet = true;
51 m_vpcEndpoints = std::forward<VpcEndpointsT>(value);
52 }
53 template <typename VpcEndpointsT = Aws::Vector<VpcEndpoint>>
55 SetVpcEndpoints(std::forward<VpcEndpointsT>(value));
56 return *this;
57 }
58 template <typename VpcEndpointsT = VpcEndpoint>
60 m_vpcEndpointsHasBeenSet = true;
61 m_vpcEndpoints.emplace_back(std::forward<VpcEndpointsT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Vector<VpcEndpointError>& GetVpcEndpointErrors() const { return m_vpcEndpointErrors; }
71 template <typename VpcEndpointErrorsT = Aws::Vector<VpcEndpointError>>
72 void SetVpcEndpointErrors(VpcEndpointErrorsT&& value) {
73 m_vpcEndpointErrorsHasBeenSet = true;
74 m_vpcEndpointErrors = std::forward<VpcEndpointErrorsT>(value);
75 }
76 template <typename VpcEndpointErrorsT = Aws::Vector<VpcEndpointError>>
78 SetVpcEndpointErrors(std::forward<VpcEndpointErrorsT>(value));
79 return *this;
80 }
81 template <typename VpcEndpointErrorsT = VpcEndpointError>
82 DescribeVpcEndpointsResult& AddVpcEndpointErrors(VpcEndpointErrorsT&& value) {
83 m_vpcEndpointErrorsHasBeenSet = true;
84 m_vpcEndpointErrors.emplace_back(std::forward<VpcEndpointErrorsT>(value));
85 return *this;
86 }
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 template <typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) {
94 m_requestIdHasBeenSet = true;
95 m_requestId = std::forward<RequestIdT>(value);
96 }
97 template <typename RequestIdT = Aws::String>
99 SetRequestId(std::forward<RequestIdT>(value));
100 return *this;
101 }
103 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
104
105 private:
106 Aws::Vector<VpcEndpoint> m_vpcEndpoints;
107
108 Aws::Vector<VpcEndpointError> m_vpcEndpointErrors;
109
110 Aws::String m_requestId;
111 Aws::Http::HttpResponseCode m_HttpResponseCode;
112 bool m_vpcEndpointsHasBeenSet = false;
113 bool m_vpcEndpointErrorsHasBeenSet = false;
114 bool m_requestIdHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace ElasticsearchService
119} // namespace Aws
DescribeVpcEndpointsResult & WithVpcEndpointErrors(VpcEndpointErrorsT &&value)
AWS_ELASTICSEARCHSERVICE_API DescribeVpcEndpointsResult()=default
DescribeVpcEndpointsResult & WithVpcEndpoints(VpcEndpointsT &&value)
DescribeVpcEndpointsResult & WithRequestId(RequestIdT &&value)
DescribeVpcEndpointsResult & AddVpcEndpoints(VpcEndpointsT &&value)
const Aws::Vector< VpcEndpointError > & GetVpcEndpointErrors() const
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 & AddVpcEndpointErrors(VpcEndpointErrorsT &&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