AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetAnnotationStoreResult.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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/omics/Omics_EXPORTS.h>
12#include <aws/omics/model/ReferenceItem.h>
13#include <aws/omics/model/SseConfig.h>
14#include <aws/omics/model/StoreFormat.h>
15#include <aws/omics/model/StoreOptions.h>
16#include <aws/omics/model/StoreStatus.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace Omics {
30namespace Model {
32 public:
33 AWS_OMICS_API GetAnnotationStoreResult() = default;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const ReferenceItem& GetReference() const { return m_reference; }
59 template <typename ReferenceT = ReferenceItem>
60 void SetReference(ReferenceT&& value) {
61 m_referenceHasBeenSet = true;
62 m_reference = std::forward<ReferenceT>(value);
63 }
64 template <typename ReferenceT = ReferenceItem>
66 SetReference(std::forward<ReferenceT>(value));
67 return *this;
68 }
70
72
75 inline StoreStatus GetStatus() const { return m_status; }
76 inline void SetStatus(StoreStatus value) {
77 m_statusHasBeenSet = true;
78 m_status = value;
79 }
81 SetStatus(value);
82 return *this;
83 }
85
87
90 inline const Aws::String& GetStoreArn() const { return m_storeArn; }
91 template <typename StoreArnT = Aws::String>
92 void SetStoreArn(StoreArnT&& value) {
93 m_storeArnHasBeenSet = true;
94 m_storeArn = std::forward<StoreArnT>(value);
95 }
96 template <typename StoreArnT = Aws::String>
98 SetStoreArn(std::forward<StoreArnT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetName() const { return m_name; }
108 template <typename NameT = Aws::String>
109 void SetName(NameT&& value) {
110 m_nameHasBeenSet = true;
111 m_name = std::forward<NameT>(value);
112 }
113 template <typename NameT = Aws::String>
115 SetName(std::forward<NameT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetDescription() const { return m_description; }
125 template <typename DescriptionT = Aws::String>
126 void SetDescription(DescriptionT&& value) {
127 m_descriptionHasBeenSet = true;
128 m_description = std::forward<DescriptionT>(value);
129 }
130 template <typename DescriptionT = Aws::String>
132 SetDescription(std::forward<DescriptionT>(value));
133 return *this;
134 }
136
138
141 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
142 template <typename SseConfigT = SseConfig>
143 void SetSseConfig(SseConfigT&& value) {
144 m_sseConfigHasBeenSet = true;
145 m_sseConfig = std::forward<SseConfigT>(value);
146 }
147 template <typename SseConfigT = SseConfig>
149 SetSseConfig(std::forward<SseConfigT>(value));
150 return *this;
151 }
153
155
158 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
159 template <typename CreationTimeT = Aws::Utils::DateTime>
160 void SetCreationTime(CreationTimeT&& value) {
161 m_creationTimeHasBeenSet = true;
162 m_creationTime = std::forward<CreationTimeT>(value);
163 }
164 template <typename CreationTimeT = Aws::Utils::DateTime>
166 SetCreationTime(std::forward<CreationTimeT>(value));
167 return *this;
168 }
170
172
175 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
176 template <typename UpdateTimeT = Aws::Utils::DateTime>
177 void SetUpdateTime(UpdateTimeT&& value) {
178 m_updateTimeHasBeenSet = true;
179 m_updateTime = std::forward<UpdateTimeT>(value);
180 }
181 template <typename UpdateTimeT = Aws::Utils::DateTime>
183 SetUpdateTime(std::forward<UpdateTimeT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
193 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
194 void SetTags(TagsT&& value) {
195 m_tagsHasBeenSet = true;
196 m_tags = std::forward<TagsT>(value);
197 }
198 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
200 SetTags(std::forward<TagsT>(value));
201 return *this;
202 }
203 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
204 GetAnnotationStoreResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
205 m_tagsHasBeenSet = true;
206 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
207 return *this;
208 }
210
212
215 inline const StoreOptions& GetStoreOptions() const { return m_storeOptions; }
216 template <typename StoreOptionsT = StoreOptions>
217 void SetStoreOptions(StoreOptionsT&& value) {
218 m_storeOptionsHasBeenSet = true;
219 m_storeOptions = std::forward<StoreOptionsT>(value);
220 }
221 template <typename StoreOptionsT = StoreOptions>
223 SetStoreOptions(std::forward<StoreOptionsT>(value));
224 return *this;
225 }
227
229
232 inline StoreFormat GetStoreFormat() const { return m_storeFormat; }
233 inline void SetStoreFormat(StoreFormat value) {
234 m_storeFormatHasBeenSet = true;
235 m_storeFormat = value;
236 }
238 SetStoreFormat(value);
239 return *this;
240 }
242
244
247 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
248 template <typename StatusMessageT = Aws::String>
249 void SetStatusMessage(StatusMessageT&& value) {
250 m_statusMessageHasBeenSet = true;
251 m_statusMessage = std::forward<StatusMessageT>(value);
252 }
253 template <typename StatusMessageT = Aws::String>
255 SetStatusMessage(std::forward<StatusMessageT>(value));
256 return *this;
257 }
259
261
264 inline long long GetStoreSizeBytes() const { return m_storeSizeBytes; }
265 inline void SetStoreSizeBytes(long long value) {
266 m_storeSizeBytesHasBeenSet = true;
267 m_storeSizeBytes = value;
268 }
270 SetStoreSizeBytes(value);
271 return *this;
272 }
274
276
279 inline int GetNumVersions() const { return m_numVersions; }
280 inline void SetNumVersions(int value) {
281 m_numVersionsHasBeenSet = true;
282 m_numVersions = value;
283 }
285 SetNumVersions(value);
286 return *this;
287 }
289
291
292 inline const Aws::String& GetRequestId() const { return m_requestId; }
293 template <typename RequestIdT = Aws::String>
294 void SetRequestId(RequestIdT&& value) {
295 m_requestIdHasBeenSet = true;
296 m_requestId = std::forward<RequestIdT>(value);
297 }
298 template <typename RequestIdT = Aws::String>
300 SetRequestId(std::forward<RequestIdT>(value));
301 return *this;
302 }
304 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
305
306 private:
307 Aws::String m_id;
308
309 ReferenceItem m_reference;
310
312
313 Aws::String m_storeArn;
314
315 Aws::String m_name;
316
317 Aws::String m_description;
318
319 SseConfig m_sseConfig;
320
321 Aws::Utils::DateTime m_creationTime{};
322
323 Aws::Utils::DateTime m_updateTime{};
324
326
327 StoreOptions m_storeOptions;
328
329 StoreFormat m_storeFormat{StoreFormat::NOT_SET};
330
331 Aws::String m_statusMessage;
332
333 long long m_storeSizeBytes{0};
334
335 int m_numVersions{0};
336
337 Aws::String m_requestId;
338 Aws::Http::HttpResponseCode m_HttpResponseCode;
339 bool m_idHasBeenSet = false;
340 bool m_referenceHasBeenSet = false;
341 bool m_statusHasBeenSet = false;
342 bool m_storeArnHasBeenSet = false;
343 bool m_nameHasBeenSet = false;
344 bool m_descriptionHasBeenSet = false;
345 bool m_sseConfigHasBeenSet = false;
346 bool m_creationTimeHasBeenSet = false;
347 bool m_updateTimeHasBeenSet = false;
348 bool m_tagsHasBeenSet = false;
349 bool m_storeOptionsHasBeenSet = false;
350 bool m_storeFormatHasBeenSet = false;
351 bool m_statusMessageHasBeenSet = false;
352 bool m_storeSizeBytesHasBeenSet = false;
353 bool m_numVersionsHasBeenSet = false;
354 bool m_requestIdHasBeenSet = false;
355};
356
357} // namespace Model
358} // namespace Omics
359} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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