AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
DeleteGraphSnapshotResult.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 DeleteGraphSnapshotResult() = 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
55 inline const Aws::String& GetName() const { return m_name; }
56 template <typename NameT = Aws::String>
57 void SetName(NameT&& value) {
58 m_nameHasBeenSet = true;
59 m_name = std::forward<NameT>(value);
60 }
61 template <typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetArn() const { return m_arn; }
73 template <typename ArnT = Aws::String>
74 void SetArn(ArnT&& value) {
75 m_arnHasBeenSet = true;
76 m_arn = std::forward<ArnT>(value);
77 }
78 template <typename ArnT = Aws::String>
80 SetArn(std::forward<ArnT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetSourceGraphId() const { return m_sourceGraphId; }
90 template <typename SourceGraphIdT = Aws::String>
91 void SetSourceGraphId(SourceGraphIdT&& value) {
92 m_sourceGraphIdHasBeenSet = true;
93 m_sourceGraphId = std::forward<SourceGraphIdT>(value);
94 }
95 template <typename SourceGraphIdT = Aws::String>
97 SetSourceGraphId(std::forward<SourceGraphIdT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const { return m_snapshotCreateTime; }
107 template <typename SnapshotCreateTimeT = Aws::Utils::DateTime>
108 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) {
109 m_snapshotCreateTimeHasBeenSet = true;
110 m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value);
111 }
112 template <typename SnapshotCreateTimeT = Aws::Utils::DateTime>
113 DeleteGraphSnapshotResult& WithSnapshotCreateTime(SnapshotCreateTimeT&& value) {
114 SetSnapshotCreateTime(std::forward<SnapshotCreateTimeT>(value));
115 return *this;
116 }
118
120
123 inline SnapshotStatus GetStatus() const { return m_status; }
124 inline void SetStatus(SnapshotStatus value) {
125 m_statusHasBeenSet = true;
126 m_status = value;
127 }
129 SetStatus(value);
130 return *this;
131 }
133
135
138 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
139 template <typename KmsKeyIdentifierT = Aws::String>
140 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
141 m_kmsKeyIdentifierHasBeenSet = true;
142 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
143 }
144 template <typename KmsKeyIdentifierT = Aws::String>
146 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
147 return *this;
148 }
150
152
153 inline const Aws::String& GetRequestId() const { return m_requestId; }
154 template <typename RequestIdT = Aws::String>
155 void SetRequestId(RequestIdT&& value) {
156 m_requestIdHasBeenSet = true;
157 m_requestId = std::forward<RequestIdT>(value);
158 }
159 template <typename RequestIdT = Aws::String>
161 SetRequestId(std::forward<RequestIdT>(value));
162 return *this;
163 }
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 bool m_idHasBeenSet = false;
182 bool m_nameHasBeenSet = false;
183 bool m_arnHasBeenSet = false;
184 bool m_sourceGraphIdHasBeenSet = false;
185 bool m_snapshotCreateTimeHasBeenSet = false;
186 bool m_statusHasBeenSet = false;
187 bool m_kmsKeyIdentifierHasBeenSet = false;
188 bool m_requestIdHasBeenSet = false;
189};
190
191} // namespace Model
192} // namespace NeptuneGraph
193} // namespace Aws
DeleteGraphSnapshotResult & WithRequestId(RequestIdT &&value)
DeleteGraphSnapshotResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
DeleteGraphSnapshotResult & WithName(NameT &&value)
DeleteGraphSnapshotResult & WithSnapshotCreateTime(SnapshotCreateTimeT &&value)
DeleteGraphSnapshotResult & WithSourceGraphId(SourceGraphIdT &&value)
AWS_NEPTUNEGRAPH_API DeleteGraphSnapshotResult()=default
AWS_NEPTUNEGRAPH_API DeleteGraphSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteGraphSnapshotResult & WithStatus(SnapshotStatus value)
DeleteGraphSnapshotResult & WithArn(ArnT &&value)
AWS_NEPTUNEGRAPH_API DeleteGraphSnapshotResult & 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