AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateGraphSnapshotResult.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 CreateGraphSnapshotResult() = 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
53 inline const Aws::String& GetName() const { return m_name; }
54 template <typename NameT = Aws::String>
55 void SetName(NameT&& value) {
56 m_nameHasBeenSet = true;
57 m_name = std::forward<NameT>(value);
58 }
59 template <typename NameT = Aws::String>
61 SetName(std::forward<NameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetArn() const { return m_arn; }
71 template <typename ArnT = Aws::String>
72 void SetArn(ArnT&& value) {
73 m_arnHasBeenSet = true;
74 m_arn = std::forward<ArnT>(value);
75 }
76 template <typename ArnT = Aws::String>
78 SetArn(std::forward<ArnT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetSourceGraphId() const { return m_sourceGraphId; }
88 template <typename SourceGraphIdT = Aws::String>
89 void SetSourceGraphId(SourceGraphIdT&& value) {
90 m_sourceGraphIdHasBeenSet = true;
91 m_sourceGraphId = std::forward<SourceGraphIdT>(value);
92 }
93 template <typename SourceGraphIdT = Aws::String>
95 SetSourceGraphId(std::forward<SourceGraphIdT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const { return m_snapshotCreateTime; }
105 template <typename SnapshotCreateTimeT = Aws::Utils::DateTime>
106 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) {
107 m_snapshotCreateTimeHasBeenSet = true;
108 m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value);
109 }
110 template <typename SnapshotCreateTimeT = Aws::Utils::DateTime>
111 CreateGraphSnapshotResult& WithSnapshotCreateTime(SnapshotCreateTimeT&& value) {
112 SetSnapshotCreateTime(std::forward<SnapshotCreateTimeT>(value));
113 return *this;
114 }
116
118
121 inline SnapshotStatus GetStatus() const { return m_status; }
122 inline void SetStatus(SnapshotStatus value) {
123 m_statusHasBeenSet = true;
124 m_status = value;
125 }
127 SetStatus(value);
128 return *this;
129 }
131
133
136 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
137 template <typename KmsKeyIdentifierT = Aws::String>
138 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
139 m_kmsKeyIdentifierHasBeenSet = true;
140 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
141 }
142 template <typename KmsKeyIdentifierT = Aws::String>
144 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
145 return *this;
146 }
148
150
151 inline const Aws::String& GetRequestId() const { return m_requestId; }
152 template <typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) {
154 m_requestIdHasBeenSet = true;
155 m_requestId = std::forward<RequestIdT>(value);
156 }
157 template <typename RequestIdT = Aws::String>
159 SetRequestId(std::forward<RequestIdT>(value));
160 return *this;
161 }
163 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
164
165 private:
166 Aws::String m_id;
167
168 Aws::String m_name;
169
170 Aws::String m_arn;
171
172 Aws::String m_sourceGraphId;
173
174 Aws::Utils::DateTime m_snapshotCreateTime{};
175
177
178 Aws::String m_kmsKeyIdentifier;
179
180 Aws::String m_requestId;
181 Aws::Http::HttpResponseCode m_HttpResponseCode;
182 bool m_idHasBeenSet = false;
183 bool m_nameHasBeenSet = false;
184 bool m_arnHasBeenSet = false;
185 bool m_sourceGraphIdHasBeenSet = false;
186 bool m_snapshotCreateTimeHasBeenSet = false;
187 bool m_statusHasBeenSet = false;
188 bool m_kmsKeyIdentifierHasBeenSet = false;
189 bool m_requestIdHasBeenSet = false;
190};
191
192} // namespace Model
193} // namespace NeptuneGraph
194} // 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