AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
PrivateGraphEndpointSummary.h
1
6#pragma once
7#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/neptune-graph/model/PrivateGraphEndpointStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace NeptuneGraph
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_NEPTUNEGRAPH_API PrivateGraphEndpointSummary() = default;
39 AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetVpcId() const { return m_vpcId; }
47 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
48 template<typename VpcIdT = Aws::String>
49 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
50 template<typename VpcIdT = Aws::String>
51 PrivateGraphEndpointSummary& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
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) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
62 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
63 PrivateGraphEndpointSummary& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
64 template<typename SubnetIdsT = Aws::String>
65 PrivateGraphEndpointSummary& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
67
69
72 inline PrivateGraphEndpointStatus GetStatus() const { return m_status; }
73 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 inline void SetStatus(PrivateGraphEndpointStatus value) { m_statusHasBeenSet = true; m_status = value; }
77
79
82 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
83 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
84 template<typename VpcEndpointIdT = Aws::String>
85 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
86 template<typename VpcEndpointIdT = Aws::String>
87 PrivateGraphEndpointSummary& WithVpcEndpointId(VpcEndpointIdT&& value) { SetVpcEndpointId(std::forward<VpcEndpointIdT>(value)); return *this;}
89 private:
90
91 Aws::String m_vpcId;
92 bool m_vpcIdHasBeenSet = false;
93
94 Aws::Vector<Aws::String> m_subnetIds;
95 bool m_subnetIdsHasBeenSet = false;
96
98 bool m_statusHasBeenSet = false;
99
100 Aws::String m_vpcEndpointId;
101 bool m_vpcEndpointIdHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace NeptuneGraph
106} // 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