AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePrivateGraphEndpointRequest.h
1
6#pragma once
7#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
8#include <aws/neptune-graph/NeptuneGraphRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace NeptuneGraph
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_NEPTUNEGRAPH_API CreatePrivateGraphEndpointRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreatePrivateGraphEndpoint"; }
32
33 AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override;
34
38 AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override;
39
41
44 inline const Aws::String& GetGraphIdentifier() const{ return m_graphIdentifier; }
45 inline bool GraphIdentifierHasBeenSet() const { return m_graphIdentifierHasBeenSet; }
46 inline void SetGraphIdentifier(const Aws::String& value) { m_graphIdentifierHasBeenSet = true; m_graphIdentifier = value; }
47 inline void SetGraphIdentifier(Aws::String&& value) { m_graphIdentifierHasBeenSet = true; m_graphIdentifier = std::move(value); }
48 inline void SetGraphIdentifier(const char* value) { m_graphIdentifierHasBeenSet = true; m_graphIdentifier.assign(value); }
50 inline CreatePrivateGraphEndpointRequest& WithGraphIdentifier(Aws::String&& value) { SetGraphIdentifier(std::move(value)); return *this;}
51 inline CreatePrivateGraphEndpointRequest& WithGraphIdentifier(const char* value) { SetGraphIdentifier(value); return *this;}
53
55
58 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
59 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
60 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
61 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
62 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
63 inline CreatePrivateGraphEndpointRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
64 inline CreatePrivateGraphEndpointRequest& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
65 inline CreatePrivateGraphEndpointRequest& WithVpcId(const char* value) { SetVpcId(value); return *this;}
67
69
72 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
73 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
74 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
75 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
77 inline CreatePrivateGraphEndpointRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
78 inline CreatePrivateGraphEndpointRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
79 inline CreatePrivateGraphEndpointRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
80 inline CreatePrivateGraphEndpointRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
82
84
87 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; }
88 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
89 inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; }
90 inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); }
93 inline CreatePrivateGraphEndpointRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
94 inline CreatePrivateGraphEndpointRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; }
95 inline CreatePrivateGraphEndpointRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
97 private:
98
99 Aws::String m_graphIdentifier;
100 bool m_graphIdentifierHasBeenSet = false;
101
102 Aws::String m_vpcId;
103 bool m_vpcIdHasBeenSet = false;
104
105 Aws::Vector<Aws::String> m_subnetIds;
106 bool m_subnetIdsHasBeenSet = false;
107
108 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
109 bool m_vpcSecurityGroupIdsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace NeptuneGraph
114} // namespace Aws
CreatePrivateGraphEndpointRequest & WithVpcId(Aws::String &&value)
CreatePrivateGraphEndpointRequest & WithGraphIdentifier(const Aws::String &value)
CreatePrivateGraphEndpointRequest & AddVpcSecurityGroupIds(const char *value)
CreatePrivateGraphEndpointRequest & WithGraphIdentifier(const char *value)
AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override
CreatePrivateGraphEndpointRequest & WithVpcId(const char *value)
CreatePrivateGraphEndpointRequest & WithGraphIdentifier(Aws::String &&value)
CreatePrivateGraphEndpointRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreatePrivateGraphEndpointRequest & AddVpcSecurityGroupIds(const Aws::String &value)
CreatePrivateGraphEndpointRequest & WithVpcId(const Aws::String &value)
CreatePrivateGraphEndpointRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
CreatePrivateGraphEndpointRequest & AddVpcSecurityGroupIds(Aws::String &&value)
CreatePrivateGraphEndpointRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
CreatePrivateGraphEndpointRequest & AddSubnetIds(const Aws::String &value)
CreatePrivateGraphEndpointRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreatePrivateGraphEndpointRequest & AddSubnetIds(Aws::String &&value)
CreatePrivateGraphEndpointRequest & AddSubnetIds(const char *value)
AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override
Aws::Endpoint::EndpointParameters EndpointParameters
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector