AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
GetPrivateGraphEndpointResult.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/neptune-graph/NeptuneGraph_EXPORTS.h>
11#include <aws/neptune-graph/model/PrivateGraphEndpointStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace NeptuneGraph {
25namespace Model {
27 public:
28 AWS_NEPTUNEGRAPH_API GetPrivateGraphEndpointResult() = default;
31
33
36 inline const Aws::String& GetVpcId() const { return m_vpcId; }
37 template <typename VpcIdT = Aws::String>
38 void SetVpcId(VpcIdT&& value) {
39 m_vpcIdHasBeenSet = true;
40 m_vpcId = std::forward<VpcIdT>(value);
41 }
42 template <typename VpcIdT = Aws::String>
44 SetVpcId(std::forward<VpcIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
54 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
55 void SetSubnetIds(SubnetIdsT&& value) {
56 m_subnetIdsHasBeenSet = true;
57 m_subnetIds = std::forward<SubnetIdsT>(value);
58 }
59 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
61 SetSubnetIds(std::forward<SubnetIdsT>(value));
62 return *this;
63 }
64 template <typename SubnetIdsT = Aws::String>
66 m_subnetIdsHasBeenSet = true;
67 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
68 return *this;
69 }
71
73
76 inline PrivateGraphEndpointStatus GetStatus() const { return m_status; }
78 m_statusHasBeenSet = true;
79 m_status = value;
80 }
82 SetStatus(value);
83 return *this;
84 }
86
88
91 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
92 template <typename VpcEndpointIdT = Aws::String>
93 void SetVpcEndpointId(VpcEndpointIdT&& value) {
94 m_vpcEndpointIdHasBeenSet = true;
95 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
96 }
97 template <typename VpcEndpointIdT = Aws::String>
99 SetVpcEndpointId(std::forward<VpcEndpointIdT>(value));
100 return *this;
101 }
103
105
106 inline const Aws::String& GetRequestId() const { return m_requestId; }
107 template <typename RequestIdT = Aws::String>
108 void SetRequestId(RequestIdT&& value) {
109 m_requestIdHasBeenSet = true;
110 m_requestId = std::forward<RequestIdT>(value);
111 }
112 template <typename RequestIdT = Aws::String>
114 SetRequestId(std::forward<RequestIdT>(value));
115 return *this;
116 }
118 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
119
120 private:
121 Aws::String m_vpcId;
122
123 Aws::Vector<Aws::String> m_subnetIds;
124
126
127 Aws::String m_vpcEndpointId;
128
129 Aws::String m_requestId;
130 Aws::Http::HttpResponseCode m_HttpResponseCode;
131 bool m_vpcIdHasBeenSet = false;
132 bool m_subnetIdsHasBeenSet = false;
133 bool m_statusHasBeenSet = false;
134 bool m_vpcEndpointIdHasBeenSet = false;
135 bool m_requestIdHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace NeptuneGraph
140} // namespace Aws
GetPrivateGraphEndpointResult & AddSubnetIds(SubnetIdsT &&value)
AWS_NEPTUNEGRAPH_API GetPrivateGraphEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPrivateGraphEndpointResult & WithVpcEndpointId(VpcEndpointIdT &&value)
AWS_NEPTUNEGRAPH_API GetPrivateGraphEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPrivateGraphEndpointResult & WithStatus(PrivateGraphEndpointStatus value)
GetPrivateGraphEndpointResult & WithVpcId(VpcIdT &&value)
GetPrivateGraphEndpointResult & WithRequestId(RequestIdT &&value)
AWS_NEPTUNEGRAPH_API GetPrivateGraphEndpointResult()=default
GetPrivateGraphEndpointResult & WithSubnetIds(SubnetIdsT &&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