AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPrivateGraphEndpointResult.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{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace NeptuneGraph
26{
27namespace Model
28{
30 {
31 public:
32 AWS_NEPTUNEGRAPH_API GetPrivateGraphEndpointResult();
35
36
38
41 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
42 inline void SetVpcId(const Aws::String& value) { m_vpcId = value; }
43 inline void SetVpcId(Aws::String&& value) { m_vpcId = std::move(value); }
44 inline void SetVpcId(const char* value) { m_vpcId.assign(value); }
45 inline GetPrivateGraphEndpointResult& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
46 inline GetPrivateGraphEndpointResult& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
47 inline GetPrivateGraphEndpointResult& WithVpcId(const char* value) { SetVpcId(value); return *this;}
49
51
54 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
55 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIds = value; }
56 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIds = std::move(value); }
58 inline GetPrivateGraphEndpointResult& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
59 inline GetPrivateGraphEndpointResult& AddSubnetIds(const Aws::String& value) { m_subnetIds.push_back(value); return *this; }
60 inline GetPrivateGraphEndpointResult& AddSubnetIds(Aws::String&& value) { m_subnetIds.push_back(std::move(value)); return *this; }
61 inline GetPrivateGraphEndpointResult& AddSubnetIds(const char* value) { m_subnetIds.push_back(value); return *this; }
63
65
68 inline const PrivateGraphEndpointStatus& GetStatus() const{ return m_status; }
69 inline void SetStatus(const PrivateGraphEndpointStatus& value) { m_status = value; }
70 inline void SetStatus(PrivateGraphEndpointStatus&& value) { m_status = std::move(value); }
72 inline GetPrivateGraphEndpointResult& WithStatus(PrivateGraphEndpointStatus&& value) { SetStatus(std::move(value)); return *this;}
74
76
79 inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; }
80 inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointId = value; }
81 inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointId = std::move(value); }
82 inline void SetVpcEndpointId(const char* value) { m_vpcEndpointId.assign(value); }
83 inline GetPrivateGraphEndpointResult& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;}
84 inline GetPrivateGraphEndpointResult& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;}
85 inline GetPrivateGraphEndpointResult& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;}
87
89
90 inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
93 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
94 inline GetPrivateGraphEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
95 inline GetPrivateGraphEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 inline GetPrivateGraphEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
98 private:
99
100 Aws::String m_vpcId;
101
102 Aws::Vector<Aws::String> m_subnetIds;
103
105
106 Aws::String m_vpcEndpointId;
107
108 Aws::String m_requestId;
109 };
110
111} // namespace Model
112} // namespace NeptuneGraph
113} // namespace Aws
GetPrivateGraphEndpointResult & WithVpcEndpointId(Aws::String &&value)
AWS_NEPTUNEGRAPH_API GetPrivateGraphEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPrivateGraphEndpointResult & WithVpcEndpointId(const Aws::String &value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
AWS_NEPTUNEGRAPH_API GetPrivateGraphEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPrivateGraphEndpointResult & WithVpcId(Aws::String &&value)
GetPrivateGraphEndpointResult & WithRequestId(Aws::String &&value)
GetPrivateGraphEndpointResult & WithSubnetIds(Aws::Vector< Aws::String > &&value)
GetPrivateGraphEndpointResult & WithRequestId(const Aws::String &value)
GetPrivateGraphEndpointResult & WithStatus(PrivateGraphEndpointStatus &&value)
GetPrivateGraphEndpointResult & WithRequestId(const char *value)
GetPrivateGraphEndpointResult & WithSubnetIds(const Aws::Vector< Aws::String > &value)
GetPrivateGraphEndpointResult & WithVpcId(const char *value)
GetPrivateGraphEndpointResult & AddSubnetIds(const char *value)
GetPrivateGraphEndpointResult & WithStatus(const PrivateGraphEndpointStatus &value)
GetPrivateGraphEndpointResult & WithVpcEndpointId(const char *value)
GetPrivateGraphEndpointResult & AddSubnetIds(Aws::String &&value)
GetPrivateGraphEndpointResult & WithVpcId(const Aws::String &value)
GetPrivateGraphEndpointResult & AddSubnetIds(const Aws::String &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