AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGraphSnapshotRequest.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 <utility>
12
13namespace Aws
14{
15namespace NeptuneGraph
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_NEPTUNEGRAPH_API CreateGraphSnapshotRequest();
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 "CreateGraphSnapshot"; }
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 CreateGraphSnapshotRequest& WithGraphIdentifier(Aws::String&& value) { SetGraphIdentifier(std::move(value)); return *this;}
51 inline CreateGraphSnapshotRequest& WithGraphIdentifier(const char* value) { SetGraphIdentifier(value); return *this;}
53
55
61 inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; }
62 inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
63 inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; }
64 inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); }
65 inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); }
66 inline CreateGraphSnapshotRequest& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;}
67 inline CreateGraphSnapshotRequest& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;}
68 inline CreateGraphSnapshotRequest& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;}
70
72
76 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
77 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
78 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
79 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
81 inline CreateGraphSnapshotRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
82 inline CreateGraphSnapshotRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
83 inline CreateGraphSnapshotRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
84 inline CreateGraphSnapshotRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
85 inline CreateGraphSnapshotRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
86 inline CreateGraphSnapshotRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
87 inline CreateGraphSnapshotRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
88 inline CreateGraphSnapshotRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
90 private:
91
92 Aws::String m_graphIdentifier;
93 bool m_graphIdentifierHasBeenSet = false;
94
95 Aws::String m_snapshotName;
96 bool m_snapshotNameHasBeenSet = false;
97
99 bool m_tagsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace NeptuneGraph
104} // namespace Aws
CreateGraphSnapshotRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateGraphSnapshotRequest & WithSnapshotName(Aws::String &&value)
CreateGraphSnapshotRequest & AddTags(Aws::String &&key, const char *value)
CreateGraphSnapshotRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateGraphSnapshotRequest & WithSnapshotName(const Aws::String &value)
CreateGraphSnapshotRequest & AddTags(const char *key, const char *value)
CreateGraphSnapshotRequest & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateGraphSnapshotRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateGraphSnapshotRequest & WithGraphIdentifier(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_NEPTUNEGRAPH_API Aws::String SerializePayload() const override
CreateGraphSnapshotRequest & WithGraphIdentifier(const char *value)
CreateGraphSnapshotRequest & WithSnapshotName(const char *value)
AWS_NEPTUNEGRAPH_API EndpointParameters GetEndpointContextParams() const override
CreateGraphSnapshotRequest & AddTags(const char *key, Aws::String &&value)
CreateGraphSnapshotRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateGraphSnapshotRequest & WithGraphIdentifier(const Aws::String &value)
CreateGraphSnapshotRequest & AddTags(Aws::String &&key, const Aws::String &value)
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