AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
49 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
50 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
51 inline PrivateGraphEndpointSummary& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
52 inline PrivateGraphEndpointSummary& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
53 inline PrivateGraphEndpointSummary& WithVpcId(const char* value) { SetVpcId(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
61 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
62 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
63 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
65 inline PrivateGraphEndpointSummary& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
66 inline PrivateGraphEndpointSummary& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
67 inline PrivateGraphEndpointSummary& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
68 inline PrivateGraphEndpointSummary& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
70
72
75 inline const PrivateGraphEndpointStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const PrivateGraphEndpointStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(PrivateGraphEndpointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
79 inline PrivateGraphEndpointSummary& WithStatus(const PrivateGraphEndpointStatus& value) { SetStatus(value); return *this;}
80 inline PrivateGraphEndpointSummary& WithStatus(PrivateGraphEndpointStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; }
88 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
89 inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; }
90 inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); }
91 inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); }
92 inline PrivateGraphEndpointSummary& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;}
93 inline PrivateGraphEndpointSummary& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;}
94 inline PrivateGraphEndpointSummary& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;}
96 private:
97
98 Aws::String m_vpcId;
99 bool m_vpcIdHasBeenSet = false;
100
101 Aws::Vector<Aws::String> m_subnetIds;
102 bool m_subnetIdsHasBeenSet = false;
103
105 bool m_statusHasBeenSet = false;
106
107 Aws::String m_vpcEndpointId;
108 bool m_vpcEndpointIdHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace NeptuneGraph
113} // namespace Aws
AWS_NEPTUNEGRAPH_API PrivateGraphEndpointSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSubnetIds() const
PrivateGraphEndpointSummary & WithVpcEndpointId(Aws::String &&value)
PrivateGraphEndpointSummary & WithVpcEndpointId(const char *value)
PrivateGraphEndpointSummary & WithStatus(PrivateGraphEndpointStatus &&value)
PrivateGraphEndpointSummary & WithVpcId(const Aws::String &value)
PrivateGraphEndpointSummary & WithSubnetIds(Aws::Vector< Aws::String > &&value)
PrivateGraphEndpointSummary & AddSubnetIds(const Aws::String &value)
PrivateGraphEndpointSummary & WithVpcId(Aws::String &&value)
PrivateGraphEndpointSummary & AddSubnetIds(Aws::String &&value)
PrivateGraphEndpointSummary & WithVpcEndpointId(const Aws::String &value)
PrivateGraphEndpointSummary & AddSubnetIds(const char *value)
AWS_NEPTUNEGRAPH_API PrivateGraphEndpointSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const PrivateGraphEndpointStatus &value)
PrivateGraphEndpointSummary & WithSubnetIds(const Aws::Vector< Aws::String > &value)
PrivateGraphEndpointSummary & WithVpcId(const char *value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
PrivateGraphEndpointSummary & WithStatus(const PrivateGraphEndpointStatus &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