AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetGraphSnapshotResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
11#include <aws/neptune-graph/model/SnapshotStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace NeptuneGraph {
25namespace Model {
27 public:
28 AWS_NEPTUNEGRAPH_API GetGraphSnapshotResult() = default;
31
33
36 inline const Aws::String& GetId() const { return m_id; }
37 template <typename IdT = Aws::String>
38 void SetId(IdT&& value) {
39 m_idHasBeenSet = true;
40 m_id = std::forward<IdT>(value);
41 }
42 template <typename IdT = Aws::String>
44 SetId(std::forward<IdT>(value));
45 return *this;
46 }
48
50
56 inline const Aws::String& GetName() const { return m_name; }
57 template <typename NameT = Aws::String>
58 void SetName(NameT&& value) {
59 m_nameHasBeenSet = true;
60 m_name = std::forward<NameT>(value);
61 }
62 template <typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetArn() const { return m_arn; }
74 template <typename ArnT = Aws::String>
75 void SetArn(ArnT&& value) {
76 m_arnHasBeenSet = true;
77 m_arn = std::forward<ArnT>(value);
78 }
79 template <typename ArnT = Aws::String>
81 SetArn(std::forward<ArnT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetSourceGraphId() const { return m_sourceGraphId; }
91 template <typename SourceGraphIdT = Aws::String>
92 void SetSourceGraphId(SourceGraphIdT&& value) {
93 m_sourceGraphIdHasBeenSet = true;
94 m_sourceGraphId = std::forward<SourceGraphIdT>(value);
95 }
96 template <typename SourceGraphIdT = Aws::String>
97 GetGraphSnapshotResult& WithSourceGraphId(SourceGraphIdT&& value) {
98 SetSourceGraphId(std::forward<SourceGraphIdT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const { return m_snapshotCreateTime; }
108 template <typename SnapshotCreateTimeT = Aws::Utils::DateTime>
109 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) {
110 m_snapshotCreateTimeHasBeenSet = true;
111 m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value);
112 }
113 template <typename SnapshotCreateTimeT = Aws::Utils::DateTime>
114 GetGraphSnapshotResult& WithSnapshotCreateTime(SnapshotCreateTimeT&& value) {
115 SetSnapshotCreateTime(std::forward<SnapshotCreateTimeT>(value));
116 return *this;
117 }
119
121
124 inline SnapshotStatus GetStatus() const { return m_status; }
125 inline void SetStatus(SnapshotStatus value) {
126 m_statusHasBeenSet = true;
127 m_status = value;
128 }
130 SetStatus(value);
131 return *this;
132 }
134
136
139 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
140 template <typename KmsKeyIdentifierT = Aws::String>
141 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
142 m_kmsKeyIdentifierHasBeenSet = true;
143 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
144 }
145 template <typename KmsKeyIdentifierT = Aws::String>
146 GetGraphSnapshotResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
147 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
148 return *this;
149 }
151
153
154 inline const Aws::String& GetRequestId() const { return m_requestId; }
155 template <typename RequestIdT = Aws::String>
156 void SetRequestId(RequestIdT&& value) {
157 m_requestIdHasBeenSet = true;
158 m_requestId = std::forward<RequestIdT>(value);
159 }
160 template <typename RequestIdT = Aws::String>
162 SetRequestId(std::forward<RequestIdT>(value));
163 return *this;
164 }
166 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
167
168 private:
169 Aws::String m_id;
170
171 Aws::String m_name;
172
173 Aws::String m_arn;
174
175 Aws::String m_sourceGraphId;
176
177 Aws::Utils::DateTime m_snapshotCreateTime{};
178
180
181 Aws::String m_kmsKeyIdentifier;
182
183 Aws::String m_requestId;
184 Aws::Http::HttpResponseCode m_HttpResponseCode;
185 bool m_idHasBeenSet = false;
186 bool m_nameHasBeenSet = false;
187 bool m_arnHasBeenSet = false;
188 bool m_sourceGraphIdHasBeenSet = false;
189 bool m_snapshotCreateTimeHasBeenSet = false;
190 bool m_statusHasBeenSet = false;
191 bool m_kmsKeyIdentifierHasBeenSet = false;
192 bool m_requestIdHasBeenSet = false;
193};
194
195} // namespace Model
196} // namespace NeptuneGraph
197} // namespace Aws
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
GetGraphSnapshotResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
GetGraphSnapshotResult & WithStatus(SnapshotStatus value)
GetGraphSnapshotResult & WithSourceGraphId(SourceGraphIdT &&value)
void SetSnapshotCreateTime(SnapshotCreateTimeT &&value)
AWS_NEPTUNEGRAPH_API GetGraphSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGraphSnapshotResult & WithSnapshotCreateTime(SnapshotCreateTimeT &&value)
AWS_NEPTUNEGRAPH_API GetGraphSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGraphSnapshotResult & WithName(NameT &&value)
GetGraphSnapshotResult & WithRequestId(RequestIdT &&value)
GetGraphSnapshotResult & WithArn(ArnT &&value)
AWS_NEPTUNEGRAPH_API GetGraphSnapshotResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue