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/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();
36
37
39
42 inline const Aws::Vector<VpcEndpoint>& GetVpcEndpoints() const{ return m_vpcEndpoints; }
43 inline void SetVpcEndpoints(const Aws::Vector<VpcEndpoint>& value) { m_vpcEndpoints = value; }
44 inline void SetVpcEndpoints(Aws::Vector<VpcEndpoint>&& value) { m_vpcEndpoints = std::move(value); }
46 inline DescribeVpcEndpointsResult& WithVpcEndpoints(Aws::Vector<VpcEndpoint>&& value) { SetVpcEndpoints(std::move(value)); return *this;}
47 inline DescribeVpcEndpointsResult& AddVpcEndpoints(const VpcEndpoint& value) { m_vpcEndpoints.push_back(value); return *this; }
48 inline DescribeVpcEndpointsResult& AddVpcEndpoints(VpcEndpoint&& value) { m_vpcEndpoints.push_back(std::move(value)); return *this; }
50
52
55 inline const Aws::Vector<VpcEndpointError>& GetVpcEndpointErrors() const{ return m_vpcEndpointErrors; }
56 inline void SetVpcEndpointErrors(const Aws::Vector<VpcEndpointError>& value) { m_vpcEndpointErrors = value; }
57 inline void SetVpcEndpointErrors(Aws::Vector<VpcEndpointError>&& value) { m_vpcEndpointErrors = std::move(value); }
60 inline DescribeVpcEndpointsResult& AddVpcEndpointErrors(const VpcEndpointError& value) { m_vpcEndpointErrors.push_back(value); return *this; }
61 inline DescribeVpcEndpointsResult& AddVpcEndpointErrors(VpcEndpointError&& value) { m_vpcEndpointErrors.push_back(std::move(value)); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline DescribeVpcEndpointsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline DescribeVpcEndpointsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline DescribeVpcEndpointsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Aws::Vector<VpcEndpoint> m_vpcEndpoints;
77
78 Aws::Vector<VpcEndpointError> m_vpcEndpointErrors;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace OpenSearchService
85} // namespace Aws
void SetVpcEndpointErrors(const Aws::Vector< VpcEndpointError > &value)
AWS_OPENSEARCHSERVICE_API DescribeVpcEndpointsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeVpcEndpointsResult & WithVpcEndpoints(Aws::Vector< VpcEndpoint > &&value)
DescribeVpcEndpointsResult & AddVpcEndpoints(VpcEndpoint &&value)
DescribeVpcEndpointsResult & WithRequestId(const Aws::String &value)
DescribeVpcEndpointsResult & WithVpcEndpointErrors(Aws::Vector< VpcEndpointError > &&value)
void SetVpcEndpointErrors(Aws::Vector< VpcEndpointError > &&value)
DescribeVpcEndpointsResult & WithRequestId(Aws::String &&value)
DescribeVpcEndpointsResult & AddVpcEndpoints(const VpcEndpoint &value)
const Aws::Vector< VpcEndpointError > & GetVpcEndpointErrors() const
DescribeVpcEndpointsResult & WithVpcEndpointErrors(const Aws::Vector< VpcEndpointError > &value)
DescribeVpcEndpointsResult & WithRequestId(const char *value)
DescribeVpcEndpointsResult & AddVpcEndpointErrors(VpcEndpointError &&value)
void SetVpcEndpoints(const Aws::Vector< VpcEndpoint > &value)
AWS_OPENSEARCHSERVICE_API DescribeVpcEndpointsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeVpcEndpointsResult & AddVpcEndpointErrors(const VpcEndpointError &value)
DescribeVpcEndpointsResult & WithVpcEndpoints(const Aws::Vector< VpcEndpoint > &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