AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
36
37
39
42 inline const Aws::Vector<VpcEndpointDetail>& GetVpcEndpointDetails() const { return m_vpcEndpointDetails; }
43 template<typename VpcEndpointDetailsT = Aws::Vector<VpcEndpointDetail>>
44 void SetVpcEndpointDetails(VpcEndpointDetailsT&& value) { m_vpcEndpointDetailsHasBeenSet = true; m_vpcEndpointDetails = std::forward<VpcEndpointDetailsT>(value); }
45 template<typename VpcEndpointDetailsT = Aws::Vector<VpcEndpointDetail>>
46 BatchGetVpcEndpointResult& WithVpcEndpointDetails(VpcEndpointDetailsT&& value) { SetVpcEndpointDetails(std::forward<VpcEndpointDetailsT>(value)); return *this;}
47 template<typename VpcEndpointDetailsT = VpcEndpointDetail>
48 BatchGetVpcEndpointResult& AddVpcEndpointDetails(VpcEndpointDetailsT&& value) { m_vpcEndpointDetailsHasBeenSet = true; m_vpcEndpointDetails.emplace_back(std::forward<VpcEndpointDetailsT>(value)); return *this; }
50
52
55 inline const Aws::Vector<VpcEndpointErrorDetail>& GetVpcEndpointErrorDetails() const { return m_vpcEndpointErrorDetails; }
56 template<typename VpcEndpointErrorDetailsT = Aws::Vector<VpcEndpointErrorDetail>>
57 void SetVpcEndpointErrorDetails(VpcEndpointErrorDetailsT&& value) { m_vpcEndpointErrorDetailsHasBeenSet = true; m_vpcEndpointErrorDetails = std::forward<VpcEndpointErrorDetailsT>(value); }
58 template<typename VpcEndpointErrorDetailsT = Aws::Vector<VpcEndpointErrorDetail>>
59 BatchGetVpcEndpointResult& WithVpcEndpointErrorDetails(VpcEndpointErrorDetailsT&& value) { SetVpcEndpointErrorDetails(std::forward<VpcEndpointErrorDetailsT>(value)); return *this;}
60 template<typename VpcEndpointErrorDetailsT = VpcEndpointErrorDetail>
61 BatchGetVpcEndpointResult& AddVpcEndpointErrorDetails(VpcEndpointErrorDetailsT&& value) { m_vpcEndpointErrorDetailsHasBeenSet = true; m_vpcEndpointErrorDetails.emplace_back(std::forward<VpcEndpointErrorDetailsT>(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 BatchGetVpcEndpointResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
72 private:
73
74 Aws::Vector<VpcEndpointDetail> m_vpcEndpointDetails;
75 bool m_vpcEndpointDetailsHasBeenSet = false;
76
77 Aws::Vector<VpcEndpointErrorDetail> m_vpcEndpointErrorDetails;
78 bool m_vpcEndpointErrorDetailsHasBeenSet = false;
79
80 Aws::String m_requestId;
81 bool m_requestIdHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace OpenSearchServerless
86} // namespace Aws
const Aws::Vector< VpcEndpointDetail > & GetVpcEndpointDetails() const
BatchGetVpcEndpointResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< VpcEndpointErrorDetail > & GetVpcEndpointErrorDetails() const
BatchGetVpcEndpointResult & WithVpcEndpointDetails(VpcEndpointDetailsT &&value)
AWS_OPENSEARCHSERVERLESS_API BatchGetVpcEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OPENSEARCHSERVERLESS_API BatchGetVpcEndpointResult()=default
BatchGetVpcEndpointResult & AddVpcEndpointDetails(VpcEndpointDetailsT &&value)
AWS_OPENSEARCHSERVERLESS_API BatchGetVpcEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetVpcEndpointResult & AddVpcEndpointErrorDetails(VpcEndpointErrorDetailsT &&value)
BatchGetVpcEndpointResult & WithVpcEndpointErrorDetails(VpcEndpointErrorDetailsT &&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