AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
CreatePrivateGraphEndpointResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
10#include <aws/neptune-graph/model/PrivateGraphEndpointStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace NeptuneGraph {
24namespace Model {
26 public:
27 AWS_NEPTUNEGRAPH_API CreatePrivateGraphEndpointResult() = default;
30
32
35 inline const Aws::String& GetVpcId() const { return m_vpcId; }
36 template <typename VpcIdT = Aws::String>
37 void SetVpcId(VpcIdT&& value) {
38 m_vpcIdHasBeenSet = true;
39 m_vpcId = std::forward<VpcIdT>(value);
40 }
41 template <typename VpcIdT = Aws::String>
43 SetVpcId(std::forward<VpcIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
53 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
54 void SetSubnetIds(SubnetIdsT&& value) {
55 m_subnetIdsHasBeenSet = true;
56 m_subnetIds = std::forward<SubnetIdsT>(value);
57 }
58 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
60 SetSubnetIds(std::forward<SubnetIdsT>(value));
61 return *this;
62 }
63 template <typename SubnetIdsT = Aws::String>
65 m_subnetIdsHasBeenSet = true;
66 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
67 return *this;
68 }
70
72
75 inline PrivateGraphEndpointStatus GetStatus() const { return m_status; }
77 m_statusHasBeenSet = true;
78 m_status = value;
79 }
81 SetStatus(value);
82 return *this;
83 }
85
87
90 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
91 template <typename VpcEndpointIdT = Aws::String>
92 void SetVpcEndpointId(VpcEndpointIdT&& value) {
93 m_vpcEndpointIdHasBeenSet = true;
94 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
95 }
96 template <typename VpcEndpointIdT = Aws::String>
98 SetVpcEndpointId(std::forward<VpcEndpointIdT>(value));
99 return *this;
100 }
102
104
105 inline const Aws::String& GetRequestId() const { return m_requestId; }
106 template <typename RequestIdT = Aws::String>
107 void SetRequestId(RequestIdT&& value) {
108 m_requestIdHasBeenSet = true;
109 m_requestId = std::forward<RequestIdT>(value);
110 }
111 template <typename RequestIdT = Aws::String>
113 SetRequestId(std::forward<RequestIdT>(value));
114 return *this;
115 }
117 private:
118 Aws::String m_vpcId;
119
120 Aws::Vector<Aws::String> m_subnetIds;
121
123
124 Aws::String m_vpcEndpointId;
125
126 Aws::String m_requestId;
127 bool m_vpcIdHasBeenSet = false;
128 bool m_subnetIdsHasBeenSet = false;
129 bool m_statusHasBeenSet = false;
130 bool m_vpcEndpointIdHasBeenSet = false;
131 bool m_requestIdHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace NeptuneGraph
136} // namespace Aws
CreatePrivateGraphEndpointResult & WithRequestId(RequestIdT &&value)
AWS_NEPTUNEGRAPH_API CreatePrivateGraphEndpointResult()=default
CreatePrivateGraphEndpointResult & WithStatus(PrivateGraphEndpointStatus value)
CreatePrivateGraphEndpointResult & WithVpcEndpointId(VpcEndpointIdT &&value)
AWS_NEPTUNEGRAPH_API CreatePrivateGraphEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePrivateGraphEndpointResult & WithSubnetIds(SubnetIdsT &&value)
CreatePrivateGraphEndpointResult & WithVpcId(VpcIdT &&value)
AWS_NEPTUNEGRAPH_API CreatePrivateGraphEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePrivateGraphEndpointResult & AddSubnetIds(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