AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeVpcEndpointsResult.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearch/model/VpcEndpoint.h>
11#include <aws/opensearch/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 OpenSearchService
27{
28namespace Model
29{
31 {
32 public:
33 AWS_OPENSEARCHSERVICE_API DescribeVpcEndpointsResult() = default;
36
37
39
42 inline const Aws::Vector<VpcEndpoint>& GetVpcEndpoints() const { return m_vpcEndpoints; }
43 template<typename VpcEndpointsT = Aws::Vector<VpcEndpoint>>
44 void SetVpcEndpoints(VpcEndpointsT&& value) { m_vpcEndpointsHasBeenSet = true; m_vpcEndpoints = std::forward<VpcEndpointsT>(value); }
45 template<typename VpcEndpointsT = Aws::Vector<VpcEndpoint>>
46 DescribeVpcEndpointsResult& WithVpcEndpoints(VpcEndpointsT&& value) { SetVpcEndpoints(std::forward<VpcEndpointsT>(value)); return *this;}
47 template<typename VpcEndpointsT = VpcEndpoint>
48 DescribeVpcEndpointsResult& AddVpcEndpoints(VpcEndpointsT&& value) { m_vpcEndpointsHasBeenSet = true; m_vpcEndpoints.emplace_back(std::forward<VpcEndpointsT>(value)); return *this; }
50
52
55 inline const Aws::Vector<VpcEndpointError>& GetVpcEndpointErrors() const { return m_vpcEndpointErrors; }
56 template<typename VpcEndpointErrorsT = Aws::Vector<VpcEndpointError>>
57 void SetVpcEndpointErrors(VpcEndpointErrorsT&& value) { m_vpcEndpointErrorsHasBeenSet = true; m_vpcEndpointErrors = std::forward<VpcEndpointErrorsT>(value); }
58 template<typename VpcEndpointErrorsT = Aws::Vector<VpcEndpointError>>
59 DescribeVpcEndpointsResult& WithVpcEndpointErrors(VpcEndpointErrorsT&& value) { SetVpcEndpointErrors(std::forward<VpcEndpointErrorsT>(value)); return *this;}
60 template<typename VpcEndpointErrorsT = VpcEndpointError>
61 DescribeVpcEndpointsResult& AddVpcEndpointErrors(VpcEndpointErrorsT&& value) { m_vpcEndpointErrorsHasBeenSet = true; m_vpcEndpointErrors.emplace_back(std::forward<VpcEndpointErrorsT>(value)); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template<typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
69 template<typename RequestIdT = Aws::String>
70 DescribeVpcEndpointsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
72 private:
73
74 Aws::Vector<VpcEndpoint> m_vpcEndpoints;
75 bool m_vpcEndpointsHasBeenSet = false;
76
77 Aws::Vector<VpcEndpointError> m_vpcEndpointErrors;
78 bool m_vpcEndpointErrorsHasBeenSet = false;
79
80 Aws::String m_requestId;
81 bool m_requestIdHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace OpenSearchService
86} // namespace Aws
DescribeVpcEndpointsResult & AddVpcEndpointErrors(VpcEndpointErrorsT &&value)
AWS_OPENSEARCHSERVICE_API DescribeVpcEndpointsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeVpcEndpointsResult & WithVpcEndpoints(VpcEndpointsT &&value)
DescribeVpcEndpointsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< VpcEndpointError > & GetVpcEndpointErrors() const
DescribeVpcEndpointsResult & AddVpcEndpoints(VpcEndpointsT &&value)
DescribeVpcEndpointsResult & WithVpcEndpointErrors(VpcEndpointErrorsT &&value)
AWS_OPENSEARCHSERVICE_API DescribeVpcEndpointsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OPENSEARCHSERVICE_API DescribeVpcEndpointsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue