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>
46 template<
typename SnapshotIdentifierT = Aws::String>
47 void SetSnapshotIdentifier(SnapshotIdentifierT&& value) { m_snapshotIdentifierHasBeenSet =
true; m_snapshotIdentifier = std::forward<SnapshotIdentifierT>(value); }
48 template<
typename SnapshotIdentifierT = Aws::String>
61 template<
typename GraphNameT = Aws::String>
62 void SetGraphName(GraphNameT&& value) { m_graphNameHasBeenSet =
true; m_graphName = std::forward<GraphNameT>(value); }
63 template<
typename GraphNameT = Aws::String>
74 inline void SetProvisionedMemory(
int value) { m_provisionedMemoryHasBeenSet =
true; m_provisionedMemory = value; }
85 inline void SetDeletionProtection(
bool value) { m_deletionProtectionHasBeenSet =
true; m_deletionProtection = value; }
96 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
97 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
98 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
100 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
102 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
114 inline void SetReplicaCount(
int value) { m_replicaCountHasBeenSet =
true; m_replicaCount = value; }
126 inline void SetPublicConnectivity(
bool value) { m_publicConnectivityHasBeenSet =
true; m_publicConnectivity = value; }
132 bool m_snapshotIdentifierHasBeenSet =
false;
135 bool m_graphNameHasBeenSet =
false;
137 int m_provisionedMemory{0};
138 bool m_provisionedMemoryHasBeenSet =
false;
140 bool m_deletionProtection{
false};
141 bool m_deletionProtectionHasBeenSet =
false;
144 bool m_tagsHasBeenSet =
false;
146 int m_replicaCount{0};
147 bool m_replicaCountHasBeenSet =
false;
149 bool m_publicConnectivity{
false};
150 bool m_publicConnectivityHasBeenSet =
false;
bool ProvisionedMemoryHasBeenSet() const
bool SnapshotIdentifierHasBeenSet() const
void SetTags(TagsT &&value)
RestoreGraphFromSnapshotRequest & WithPublicConnectivity(bool value)
void SetGraphName(GraphNameT &&value)
RestoreGraphFromSnapshotRequest & WithTags(TagsT &&value)
AWS_NEPTUNEGRAPH_API RestoreGraphFromSnapshotRequest()=default
bool GetPublicConnectivity() const
void SetPublicConnectivity(bool value)
RestoreGraphFromSnapshotRequest & WithReplicaCount(int value)
AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override
RestoreGraphFromSnapshotRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool ReplicaCountHasBeenSet() const
int GetProvisionedMemory() const
RestoreGraphFromSnapshotRequest & WithProvisionedMemory(int value)
void SetProvisionedMemory(int value)
bool PublicConnectivityHasBeenSet() const
RestoreGraphFromSnapshotRequest & WithDeletionProtection(bool value)
int GetReplicaCount() const
virtual const char * GetServiceRequestName() const override
bool DeletionProtectionHasBeenSet() const
bool GraphNameHasBeenSet() const
AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override
bool GetDeletionProtection() const
void SetDeletionProtection(bool value)
const Aws::String & GetSnapshotIdentifier() const
RestoreGraphFromSnapshotRequest & WithGraphName(GraphNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TagsHasBeenSet() const
void SetReplicaCount(int value)
RestoreGraphFromSnapshotRequest & WithSnapshotIdentifier(SnapshotIdentifierT &&value)
void SetSnapshotIdentifier(SnapshotIdentifierT &&value)
const Aws::String & GetGraphName() const
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