AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGraphRequest.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/AWSMap.h>
11#include <aws/neptune-graph/model/VectorSearchConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace NeptuneGraph
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_NEPTUNEGRAPH_API CreateGraphRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateGraph"; }
33
34 AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override;
35
39 AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override;
40
42
48 inline const Aws::String& GetGraphName() const{ return m_graphName; }
49 inline bool GraphNameHasBeenSet() const { return m_graphNameHasBeenSet; }
50 inline void SetGraphName(const Aws::String& value) { m_graphNameHasBeenSet = true; m_graphName = value; }
51 inline void SetGraphName(Aws::String&& value) { m_graphNameHasBeenSet = true; m_graphName = std::move(value); }
52 inline void SetGraphName(const char* value) { m_graphNameHasBeenSet = true; m_graphName.assign(value); }
53 inline CreateGraphRequest& WithGraphName(const Aws::String& value) { SetGraphName(value); return *this;}
54 inline CreateGraphRequest& WithGraphName(Aws::String&& value) { SetGraphName(std::move(value)); return *this;}
55 inline CreateGraphRequest& WithGraphName(const char* value) { SetGraphName(value); return *this;}
57
59
63 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
64 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
65 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
66 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
67 inline CreateGraphRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
68 inline CreateGraphRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
69 inline CreateGraphRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
70 inline CreateGraphRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
71 inline CreateGraphRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
72 inline CreateGraphRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
73 inline CreateGraphRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
74 inline CreateGraphRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
75 inline CreateGraphRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
77
79
84 inline bool GetPublicConnectivity() const{ return m_publicConnectivity; }
85 inline bool PublicConnectivityHasBeenSet() const { return m_publicConnectivityHasBeenSet; }
86 inline void SetPublicConnectivity(bool value) { m_publicConnectivityHasBeenSet = true; m_publicConnectivity = value; }
87 inline CreateGraphRequest& WithPublicConnectivity(bool value) { SetPublicConnectivity(value); return *this;}
89
91
94 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
95 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
96 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = value; }
97 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::move(value); }
98 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier.assign(value); }
99 inline CreateGraphRequest& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
100 inline CreateGraphRequest& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
101 inline CreateGraphRequest& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
103
105
110 inline const VectorSearchConfiguration& GetVectorSearchConfiguration() const{ return m_vectorSearchConfiguration; }
111 inline bool VectorSearchConfigurationHasBeenSet() const { return m_vectorSearchConfigurationHasBeenSet; }
112 inline void SetVectorSearchConfiguration(const VectorSearchConfiguration& value) { m_vectorSearchConfigurationHasBeenSet = true; m_vectorSearchConfiguration = value; }
113 inline void SetVectorSearchConfiguration(VectorSearchConfiguration&& value) { m_vectorSearchConfigurationHasBeenSet = true; m_vectorSearchConfiguration = std::move(value); }
117
119
124 inline int GetReplicaCount() const{ return m_replicaCount; }
125 inline bool ReplicaCountHasBeenSet() const { return m_replicaCountHasBeenSet; }
126 inline void SetReplicaCount(int value) { m_replicaCountHasBeenSet = true; m_replicaCount = value; }
127 inline CreateGraphRequest& WithReplicaCount(int value) { SetReplicaCount(value); return *this;}
129
131
136 inline bool GetDeletionProtection() const{ return m_deletionProtection; }
137 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
138 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
139 inline CreateGraphRequest& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
141
143
147 inline int GetProvisionedMemory() const{ return m_provisionedMemory; }
148 inline bool ProvisionedMemoryHasBeenSet() const { return m_provisionedMemoryHasBeenSet; }
149 inline void SetProvisionedMemory(int value) { m_provisionedMemoryHasBeenSet = true; m_provisionedMemory = value; }
150 inline CreateGraphRequest& WithProvisionedMemory(int value) { SetProvisionedMemory(value); return *this;}
152 private:
153
154 Aws::String m_graphName;
155 bool m_graphNameHasBeenSet = false;
156
158 bool m_tagsHasBeenSet = false;
159
160 bool m_publicConnectivity;
161 bool m_publicConnectivityHasBeenSet = false;
162
163 Aws::String m_kmsKeyIdentifier;
164 bool m_kmsKeyIdentifierHasBeenSet = false;
165
166 VectorSearchConfiguration m_vectorSearchConfiguration;
167 bool m_vectorSearchConfigurationHasBeenSet = false;
168
169 int m_replicaCount;
170 bool m_replicaCountHasBeenSet = false;
171
172 bool m_deletionProtection;
173 bool m_deletionProtectionHasBeenSet = false;
174
175 int m_provisionedMemory;
176 bool m_provisionedMemoryHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace NeptuneGraph
181} // namespace Aws
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateGraphRequest & WithKmsKeyIdentifier(Aws::String &&value)
const VectorSearchConfiguration & GetVectorSearchConfiguration() const
void SetVectorSearchConfiguration(VectorSearchConfiguration &&value)
void SetKmsKeyIdentifier(const Aws::String &value)
CreateGraphRequest & WithPublicConnectivity(bool value)
CreateGraphRequest & WithReplicaCount(int value)
CreateGraphRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetVectorSearchConfiguration(const VectorSearchConfiguration &value)
CreateGraphRequest & AddTags(const char *key, const char *value)
CreateGraphRequest & WithVectorSearchConfiguration(VectorSearchConfiguration &&value)
void SetGraphName(const Aws::String &value)
CreateGraphRequest & WithDeletionProtection(bool value)
CreateGraphRequest & WithGraphName(const char *value)
CreateGraphRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateGraphRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateGraphRequest & WithKmsKeyIdentifier(const char *value)
CreateGraphRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateGraphRequest & WithGraphName(const Aws::String &value)
CreateGraphRequest & WithKmsKeyIdentifier(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateGraphRequest & WithProvisionedMemory(int value)
AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateGraphRequest & AddTags(Aws::String &&key, const char *value)
CreateGraphRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateGraphRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateGraphRequest & WithVectorSearchConfiguration(const VectorSearchConfiguration &value)
CreateGraphRequest & AddTags(const char *key, Aws::String &&value)
CreateGraphRequest & WithGraphName(Aws::String &&value)
AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override
Aws::Endpoint::EndpointParameters EndpointParameters
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String