AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreatePrivateGraphEndpointRequest.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/NeptuneGraphRequest.h>
10#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace NeptuneGraph {
16namespace Model {
17
21 public:
22 AWS_NEPTUNEGRAPH_API CreatePrivateGraphEndpointRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreatePrivateGraphEndpoint"; }
29
30 AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override;
31
35 AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override;
36
38
41 inline const Aws::String& GetGraphIdentifier() const { return m_graphIdentifier; }
42 inline bool GraphIdentifierHasBeenSet() const { return m_graphIdentifierHasBeenSet; }
43 template <typename GraphIdentifierT = Aws::String>
44 void SetGraphIdentifier(GraphIdentifierT&& value) {
45 m_graphIdentifierHasBeenSet = true;
46 m_graphIdentifier = std::forward<GraphIdentifierT>(value);
47 }
48 template <typename GraphIdentifierT = Aws::String>
50 SetGraphIdentifier(std::forward<GraphIdentifierT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetVpcId() const { return m_vpcId; }
60 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
61 template <typename VpcIdT = Aws::String>
62 void SetVpcId(VpcIdT&& value) {
63 m_vpcIdHasBeenSet = true;
64 m_vpcId = std::forward<VpcIdT>(value);
65 }
66 template <typename VpcIdT = Aws::String>
68 SetVpcId(std::forward<VpcIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
78 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
79 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
80 void SetSubnetIds(SubnetIdsT&& value) {
81 m_subnetIdsHasBeenSet = true;
82 m_subnetIds = std::forward<SubnetIdsT>(value);
83 }
84 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
86 SetSubnetIds(std::forward<SubnetIdsT>(value));
87 return *this;
88 }
89 template <typename SubnetIdsT = Aws::String>
91 m_subnetIdsHasBeenSet = true;
92 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const { return m_vpcSecurityGroupIds; }
102 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
103 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
104 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) {
105 m_vpcSecurityGroupIdsHasBeenSet = true;
106 m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value);
107 }
108 template <typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
110 SetVpcSecurityGroupIds(std::forward<VpcSecurityGroupIdsT>(value));
111 return *this;
112 }
113 template <typename VpcSecurityGroupIdsT = Aws::String>
115 m_vpcSecurityGroupIdsHasBeenSet = true;
116 m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_graphIdentifier;
122
123 Aws::String m_vpcId;
124
125 Aws::Vector<Aws::String> m_subnetIds;
126
127 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
128 bool m_graphIdentifierHasBeenSet = false;
129 bool m_vpcIdHasBeenSet = false;
130 bool m_subnetIdsHasBeenSet = false;
131 bool m_vpcSecurityGroupIdsHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace NeptuneGraph
136} // namespace Aws
CreatePrivateGraphEndpointRequest & WithVpcId(VpcIdT &&value)
AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override
CreatePrivateGraphEndpointRequest & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
CreatePrivateGraphEndpointRequest & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
AWS_NEPTUNEGRAPH_API CreatePrivateGraphEndpointRequest()=default
CreatePrivateGraphEndpointRequest & WithGraphIdentifier(GraphIdentifierT &&value)
CreatePrivateGraphEndpointRequest & AddSubnetIds(SubnetIdsT &&value)
AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override
CreatePrivateGraphEndpointRequest & WithSubnetIds(SubnetIdsT &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector