AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
PrivateGraphEndpointSummary.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 {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace NeptuneGraph {
22namespace Model {
23
30 public:
31 AWS_NEPTUNEGRAPH_API PrivateGraphEndpointSummary() = default;
34 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetVpcId() const { return m_vpcId; }
41 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
42 template <typename VpcIdT = Aws::String>
43 void SetVpcId(VpcIdT&& value) {
44 m_vpcIdHasBeenSet = true;
45 m_vpcId = std::forward<VpcIdT>(value);
46 }
47 template <typename VpcIdT = Aws::String>
49 SetVpcId(std::forward<VpcIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
59 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
60 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
61 void SetSubnetIds(SubnetIdsT&& value) {
62 m_subnetIdsHasBeenSet = true;
63 m_subnetIds = std::forward<SubnetIdsT>(value);
64 }
65 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
67 SetSubnetIds(std::forward<SubnetIdsT>(value));
68 return *this;
69 }
70 template <typename SubnetIdsT = Aws::String>
72 m_subnetIdsHasBeenSet = true;
73 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
74 return *this;
75 }
77
79
82 inline PrivateGraphEndpointStatus GetStatus() const { return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
85 m_statusHasBeenSet = true;
86 m_status = value;
87 }
89 SetStatus(value);
90 return *this;
91 }
93
95
98 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
99 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
100 template <typename VpcEndpointIdT = Aws::String>
101 void SetVpcEndpointId(VpcEndpointIdT&& value) {
102 m_vpcEndpointIdHasBeenSet = true;
103 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
104 }
105 template <typename VpcEndpointIdT = Aws::String>
107 SetVpcEndpointId(std::forward<VpcEndpointIdT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_vpcId;
113
114 Aws::Vector<Aws::String> m_subnetIds;
115
117
118 Aws::String m_vpcEndpointId;
119 bool m_vpcIdHasBeenSet = false;
120 bool m_subnetIdsHasBeenSet = false;
121 bool m_statusHasBeenSet = false;
122 bool m_vpcEndpointIdHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace NeptuneGraph
127} // namespace Aws
PrivateGraphEndpointSummary & WithSubnetIds(SubnetIdsT &&value)
AWS_NEPTUNEGRAPH_API PrivateGraphEndpointSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSubnetIds() const
PrivateGraphEndpointSummary & WithStatus(PrivateGraphEndpointStatus value)
PrivateGraphEndpointSummary & WithVpcId(VpcIdT &&value)
PrivateGraphEndpointSummary & WithVpcEndpointId(VpcEndpointIdT &&value)
AWS_NEPTUNEGRAPH_API PrivateGraphEndpointSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NEPTUNEGRAPH_API PrivateGraphEndpointSummary()=default
PrivateGraphEndpointSummary & AddSubnetIds(SubnetIdsT &&value)
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue