AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GetAnnotationStoreResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/omics/Omics_EXPORTS.h>
11#include <aws/omics/model/ReferenceItem.h>
12#include <aws/omics/model/SseConfig.h>
13#include <aws/omics/model/StoreFormat.h>
14#include <aws/omics/model/StoreOptions.h>
15#include <aws/omics/model/StoreStatus.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Omics {
29namespace Model {
31 public:
32 AWS_OMICS_API GetAnnotationStoreResult() = default;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
57 inline const ReferenceItem& GetReference() const { return m_reference; }
58 template <typename ReferenceT = ReferenceItem>
59 void SetReference(ReferenceT&& value) {
60 m_referenceHasBeenSet = true;
61 m_reference = std::forward<ReferenceT>(value);
62 }
63 template <typename ReferenceT = ReferenceItem>
65 SetReference(std::forward<ReferenceT>(value));
66 return *this;
67 }
69
71
74 inline StoreStatus GetStatus() const { return m_status; }
75 inline void SetStatus(StoreStatus value) {
76 m_statusHasBeenSet = true;
77 m_status = value;
78 }
80 SetStatus(value);
81 return *this;
82 }
84
86
89 inline const Aws::String& GetStoreArn() const { return m_storeArn; }
90 template <typename StoreArnT = Aws::String>
91 void SetStoreArn(StoreArnT&& value) {
92 m_storeArnHasBeenSet = true;
93 m_storeArn = std::forward<StoreArnT>(value);
94 }
95 template <typename StoreArnT = Aws::String>
97 SetStoreArn(std::forward<StoreArnT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetName() const { return m_name; }
107 template <typename NameT = Aws::String>
108 void SetName(NameT&& value) {
109 m_nameHasBeenSet = true;
110 m_name = std::forward<NameT>(value);
111 }
112 template <typename NameT = Aws::String>
114 SetName(std::forward<NameT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::String& GetDescription() const { return m_description; }
124 template <typename DescriptionT = Aws::String>
125 void SetDescription(DescriptionT&& value) {
126 m_descriptionHasBeenSet = true;
127 m_description = std::forward<DescriptionT>(value);
128 }
129 template <typename DescriptionT = Aws::String>
131 SetDescription(std::forward<DescriptionT>(value));
132 return *this;
133 }
135
137
140 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
141 template <typename SseConfigT = SseConfig>
142 void SetSseConfig(SseConfigT&& value) {
143 m_sseConfigHasBeenSet = true;
144 m_sseConfig = std::forward<SseConfigT>(value);
145 }
146 template <typename SseConfigT = SseConfig>
148 SetSseConfig(std::forward<SseConfigT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
158 template <typename CreationTimeT = Aws::Utils::DateTime>
159 void SetCreationTime(CreationTimeT&& value) {
160 m_creationTimeHasBeenSet = true;
161 m_creationTime = std::forward<CreationTimeT>(value);
162 }
163 template <typename CreationTimeT = Aws::Utils::DateTime>
165 SetCreationTime(std::forward<CreationTimeT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
175 template <typename UpdateTimeT = Aws::Utils::DateTime>
176 void SetUpdateTime(UpdateTimeT&& value) {
177 m_updateTimeHasBeenSet = true;
178 m_updateTime = std::forward<UpdateTimeT>(value);
179 }
180 template <typename UpdateTimeT = Aws::Utils::DateTime>
182 SetUpdateTime(std::forward<UpdateTimeT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
192 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
193 void SetTags(TagsT&& value) {
194 m_tagsHasBeenSet = true;
195 m_tags = std::forward<TagsT>(value);
196 }
197 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
199 SetTags(std::forward<TagsT>(value));
200 return *this;
201 }
202 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
203 GetAnnotationStoreResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
204 m_tagsHasBeenSet = true;
205 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
206 return *this;
207 }
209
211
214 inline const StoreOptions& GetStoreOptions() const { return m_storeOptions; }
215 template <typename StoreOptionsT = StoreOptions>
216 void SetStoreOptions(StoreOptionsT&& value) {
217 m_storeOptionsHasBeenSet = true;
218 m_storeOptions = std::forward<StoreOptionsT>(value);
219 }
220 template <typename StoreOptionsT = StoreOptions>
222 SetStoreOptions(std::forward<StoreOptionsT>(value));
223 return *this;
224 }
226
228
231 inline StoreFormat GetStoreFormat() const { return m_storeFormat; }
232 inline void SetStoreFormat(StoreFormat value) {
233 m_storeFormatHasBeenSet = true;
234 m_storeFormat = value;
235 }
237 SetStoreFormat(value);
238 return *this;
239 }
241
243
246 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
247 template <typename StatusMessageT = Aws::String>
248 void SetStatusMessage(StatusMessageT&& value) {
249 m_statusMessageHasBeenSet = true;
250 m_statusMessage = std::forward<StatusMessageT>(value);
251 }
252 template <typename StatusMessageT = Aws::String>
254 SetStatusMessage(std::forward<StatusMessageT>(value));
255 return *this;
256 }
258
260
263 inline long long GetStoreSizeBytes() const { return m_storeSizeBytes; }
264 inline void SetStoreSizeBytes(long long value) {
265 m_storeSizeBytesHasBeenSet = true;
266 m_storeSizeBytes = value;
267 }
269 SetStoreSizeBytes(value);
270 return *this;
271 }
273
275
278 inline int GetNumVersions() const { return m_numVersions; }
279 inline void SetNumVersions(int value) {
280 m_numVersionsHasBeenSet = true;
281 m_numVersions = value;
282 }
284 SetNumVersions(value);
285 return *this;
286 }
288
290
291 inline const Aws::String& GetRequestId() const { return m_requestId; }
292 template <typename RequestIdT = Aws::String>
293 void SetRequestId(RequestIdT&& value) {
294 m_requestIdHasBeenSet = true;
295 m_requestId = std::forward<RequestIdT>(value);
296 }
297 template <typename RequestIdT = Aws::String>
299 SetRequestId(std::forward<RequestIdT>(value));
300 return *this;
301 }
303 private:
304 Aws::String m_id;
305
306 ReferenceItem m_reference;
307
309
310 Aws::String m_storeArn;
311
312 Aws::String m_name;
313
314 Aws::String m_description;
315
316 SseConfig m_sseConfig;
317
318 Aws::Utils::DateTime m_creationTime{};
319
320 Aws::Utils::DateTime m_updateTime{};
321
323
324 StoreOptions m_storeOptions;
325
326 StoreFormat m_storeFormat{StoreFormat::NOT_SET};
327
328 Aws::String m_statusMessage;
329
330 long long m_storeSizeBytes{0};
331
332 int m_numVersions{0};
333
334 Aws::String m_requestId;
335 bool m_idHasBeenSet = false;
336 bool m_referenceHasBeenSet = false;
337 bool m_statusHasBeenSet = false;
338 bool m_storeArnHasBeenSet = false;
339 bool m_nameHasBeenSet = false;
340 bool m_descriptionHasBeenSet = false;
341 bool m_sseConfigHasBeenSet = false;
342 bool m_creationTimeHasBeenSet = false;
343 bool m_updateTimeHasBeenSet = false;
344 bool m_tagsHasBeenSet = false;
345 bool m_storeOptionsHasBeenSet = false;
346 bool m_storeFormatHasBeenSet = false;
347 bool m_statusMessageHasBeenSet = false;
348 bool m_storeSizeBytesHasBeenSet = false;
349 bool m_numVersionsHasBeenSet = false;
350 bool m_requestIdHasBeenSet = false;
351};
352
353} // namespace Model
354} // namespace Omics
355} // namespace Aws
GetAnnotationStoreResult & WithReference(ReferenceT &&value)
AWS_OMICS_API GetAnnotationStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAnnotationStoreResult & WithStoreOptions(StoreOptionsT &&value)
GetAnnotationStoreResult & WithStoreSizeBytes(long long value)
GetAnnotationStoreResult & WithSseConfig(SseConfigT &&value)
GetAnnotationStoreResult & WithStoreArn(StoreArnT &&value)
GetAnnotationStoreResult & WithStatusMessage(StatusMessageT &&value)
GetAnnotationStoreResult & WithTags(TagsT &&value)
GetAnnotationStoreResult & WithNumVersions(int value)
GetAnnotationStoreResult & WithCreationTime(CreationTimeT &&value)
GetAnnotationStoreResult & WithStatus(StoreStatus value)
GetAnnotationStoreResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetAnnotationStoreResult & WithDescription(DescriptionT &&value)
GetAnnotationStoreResult & WithName(NameT &&value)
AWS_OMICS_API GetAnnotationStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OMICS_API GetAnnotationStoreResult()=default
GetAnnotationStoreResult & WithId(IdT &&value)
GetAnnotationStoreResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetAnnotationStoreResult & WithStoreFormat(StoreFormat value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::Utils::DateTime & GetUpdateTime() const
GetAnnotationStoreResult & WithUpdateTime(UpdateTimeT &&value)
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
Aws::Utils::Json::JsonValue JsonValue