AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
CreateGraphSnapshotResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
10#include <aws/neptune-graph/model/SnapshotStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace NeptuneGraph {
24namespace Model {
26 public:
27 AWS_NEPTUNEGRAPH_API CreateGraphSnapshotResult() = default;
30
32
35 inline const Aws::String& GetId() const { return m_id; }
36 template <typename IdT = Aws::String>
37 void SetId(IdT&& value) {
38 m_idHasBeenSet = true;
39 m_id = std::forward<IdT>(value);
40 }
41 template <typename IdT = Aws::String>
43 SetId(std::forward<IdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template <typename NameT = Aws::String>
54 void SetName(NameT&& value) {
55 m_nameHasBeenSet = true;
56 m_name = std::forward<NameT>(value);
57 }
58 template <typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetArn() const { return m_arn; }
70 template <typename ArnT = Aws::String>
71 void SetArn(ArnT&& value) {
72 m_arnHasBeenSet = true;
73 m_arn = std::forward<ArnT>(value);
74 }
75 template <typename ArnT = Aws::String>
77 SetArn(std::forward<ArnT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetSourceGraphId() const { return m_sourceGraphId; }
87 template <typename SourceGraphIdT = Aws::String>
88 void SetSourceGraphId(SourceGraphIdT&& value) {
89 m_sourceGraphIdHasBeenSet = true;
90 m_sourceGraphId = std::forward<SourceGraphIdT>(value);
91 }
92 template <typename SourceGraphIdT = Aws::String>
94 SetSourceGraphId(std::forward<SourceGraphIdT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const { return m_snapshotCreateTime; }
104 template <typename SnapshotCreateTimeT = Aws::Utils::DateTime>
105 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) {
106 m_snapshotCreateTimeHasBeenSet = true;
107 m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value);
108 }
109 template <typename SnapshotCreateTimeT = Aws::Utils::DateTime>
110 CreateGraphSnapshotResult& WithSnapshotCreateTime(SnapshotCreateTimeT&& value) {
111 SetSnapshotCreateTime(std::forward<SnapshotCreateTimeT>(value));
112 return *this;
113 }
115
117
120 inline SnapshotStatus GetStatus() const { return m_status; }
121 inline void SetStatus(SnapshotStatus value) {
122 m_statusHasBeenSet = true;
123 m_status = value;
124 }
126 SetStatus(value);
127 return *this;
128 }
130
132
135 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
136 template <typename KmsKeyIdentifierT = Aws::String>
137 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
138 m_kmsKeyIdentifierHasBeenSet = true;
139 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
140 }
141 template <typename KmsKeyIdentifierT = Aws::String>
143 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
144 return *this;
145 }
147
149
150 inline const Aws::String& GetRequestId() const { return m_requestId; }
151 template <typename RequestIdT = Aws::String>
152 void SetRequestId(RequestIdT&& value) {
153 m_requestIdHasBeenSet = true;
154 m_requestId = std::forward<RequestIdT>(value);
155 }
156 template <typename RequestIdT = Aws::String>
158 SetRequestId(std::forward<RequestIdT>(value));
159 return *this;
160 }
162 private:
163 Aws::String m_id;
164
165 Aws::String m_name;
166
167 Aws::String m_arn;
168
169 Aws::String m_sourceGraphId;
170
171 Aws::Utils::DateTime m_snapshotCreateTime{};
172
174
175 Aws::String m_kmsKeyIdentifier;
176
177 Aws::String m_requestId;
178 bool m_idHasBeenSet = false;
179 bool m_nameHasBeenSet = false;
180 bool m_arnHasBeenSet = false;
181 bool m_sourceGraphIdHasBeenSet = false;
182 bool m_snapshotCreateTimeHasBeenSet = false;
183 bool m_statusHasBeenSet = false;
184 bool m_kmsKeyIdentifierHasBeenSet = false;
185 bool m_requestIdHasBeenSet = false;
186};
187
188} // namespace Model
189} // namespace NeptuneGraph
190} // namespace Aws
CreateGraphSnapshotResult & WithRequestId(RequestIdT &&value)
AWS_NEPTUNEGRAPH_API CreateGraphSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGraphSnapshotResult & WithSourceGraphId(SourceGraphIdT &&value)
CreateGraphSnapshotResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
CreateGraphSnapshotResult & WithName(NameT &&value)
CreateGraphSnapshotResult & WithSnapshotCreateTime(SnapshotCreateTimeT &&value)
AWS_NEPTUNEGRAPH_API CreateGraphSnapshotResult()=default
CreateGraphSnapshotResult & WithArn(ArnT &&value)
CreateGraphSnapshotResult & WithStatus(SnapshotStatus value)
AWS_NEPTUNEGRAPH_API CreateGraphSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue