AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetVpcEndpointResult.h
1
6#pragma once
7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearchserverless/model/VpcEndpointDetail.h>
11#include <aws/opensearchserverless/model/VpcEndpointErrorDetail.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 OpenSearchServerless
27{
28namespace Model
29{
31 {
32 public:
33 AWS_OPENSEARCHSERVERLESS_API BatchGetVpcEndpointResult();
36
37
39
42 inline const Aws::Vector<VpcEndpointDetail>& GetVpcEndpointDetails() const{ return m_vpcEndpointDetails; }
43 inline void SetVpcEndpointDetails(const Aws::Vector<VpcEndpointDetail>& value) { m_vpcEndpointDetails = value; }
44 inline void SetVpcEndpointDetails(Aws::Vector<VpcEndpointDetail>&& value) { m_vpcEndpointDetails = std::move(value); }
47 inline BatchGetVpcEndpointResult& AddVpcEndpointDetails(const VpcEndpointDetail& value) { m_vpcEndpointDetails.push_back(value); return *this; }
48 inline BatchGetVpcEndpointResult& AddVpcEndpointDetails(VpcEndpointDetail&& value) { m_vpcEndpointDetails.push_back(std::move(value)); return *this; }
50
52
55 inline const Aws::Vector<VpcEndpointErrorDetail>& GetVpcEndpointErrorDetails() const{ return m_vpcEndpointErrorDetails; }
56 inline void SetVpcEndpointErrorDetails(const Aws::Vector<VpcEndpointErrorDetail>& value) { m_vpcEndpointErrorDetails = value; }
57 inline void SetVpcEndpointErrorDetails(Aws::Vector<VpcEndpointErrorDetail>&& value) { m_vpcEndpointErrorDetails = std::move(value); }
60 inline BatchGetVpcEndpointResult& AddVpcEndpointErrorDetails(const VpcEndpointErrorDetail& value) { m_vpcEndpointErrorDetails.push_back(value); return *this; }
61 inline BatchGetVpcEndpointResult& AddVpcEndpointErrorDetails(VpcEndpointErrorDetail&& value) { m_vpcEndpointErrorDetails.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 BatchGetVpcEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline BatchGetVpcEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline BatchGetVpcEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Aws::Vector<VpcEndpointDetail> m_vpcEndpointDetails;
77
78 Aws::Vector<VpcEndpointErrorDetail> m_vpcEndpointErrorDetails;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace OpenSearchServerless
85} // namespace Aws
const Aws::Vector< VpcEndpointDetail > & GetVpcEndpointDetails() const
BatchGetVpcEndpointResult & AddVpcEndpointDetails(VpcEndpointDetail &&value)
BatchGetVpcEndpointResult & AddVpcEndpointErrorDetails(VpcEndpointErrorDetail &&value)
const Aws::Vector< VpcEndpointErrorDetail > & GetVpcEndpointErrorDetails() const
void SetVpcEndpointErrorDetails(Aws::Vector< VpcEndpointErrorDetail > &&value)
BatchGetVpcEndpointResult & WithVpcEndpointDetails(const Aws::Vector< VpcEndpointDetail > &value)
BatchGetVpcEndpointResult & WithRequestId(Aws::String &&value)
BatchGetVpcEndpointResult & WithVpcEndpointErrorDetails(const Aws::Vector< VpcEndpointErrorDetail > &value)
void SetVpcEndpointErrorDetails(const Aws::Vector< VpcEndpointErrorDetail > &value)
AWS_OPENSEARCHSERVERLESS_API BatchGetVpcEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetVpcEndpointResult & WithVpcEndpointDetails(Aws::Vector< VpcEndpointDetail > &&value)
BatchGetVpcEndpointResult & WithVpcEndpointErrorDetails(Aws::Vector< VpcEndpointErrorDetail > &&value)
BatchGetVpcEndpointResult & WithRequestId(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API BatchGetVpcEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetVpcEndpointResult & WithRequestId(const char *value)
BatchGetVpcEndpointResult & AddVpcEndpointErrorDetails(const VpcEndpointErrorDetail &value)
BatchGetVpcEndpointResult & AddVpcEndpointDetails(const VpcEndpointDetail &value)
void SetVpcEndpointDetails(const Aws::Vector< VpcEndpointDetail > &value)
void SetVpcEndpointDetails(Aws::Vector< VpcEndpointDetail > &&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