AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GetVariantStoreResult.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/StoreStatus.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Omics {
27namespace Model {
29 public:
30 AWS_OMICS_API GetVariantStoreResult() = default;
33
35
38 inline const Aws::String& GetId() const { return m_id; }
39 template <typename IdT = Aws::String>
40 void SetId(IdT&& value) {
41 m_idHasBeenSet = true;
42 m_id = std::forward<IdT>(value);
43 }
44 template <typename IdT = Aws::String>
46 SetId(std::forward<IdT>(value));
47 return *this;
48 }
50
52
55 inline const ReferenceItem& GetReference() const { return m_reference; }
56 template <typename ReferenceT = ReferenceItem>
57 void SetReference(ReferenceT&& value) {
58 m_referenceHasBeenSet = true;
59 m_reference = std::forward<ReferenceT>(value);
60 }
61 template <typename ReferenceT = ReferenceItem>
62 GetVariantStoreResult& WithReference(ReferenceT&& value) {
63 SetReference(std::forward<ReferenceT>(value));
64 return *this;
65 }
67
69
72 inline StoreStatus GetStatus() const { return m_status; }
73 inline void SetStatus(StoreStatus value) {
74 m_statusHasBeenSet = true;
75 m_status = value;
76 }
78 SetStatus(value);
79 return *this;
80 }
82
84
87 inline const Aws::String& GetStoreArn() const { return m_storeArn; }
88 template <typename StoreArnT = Aws::String>
89 void SetStoreArn(StoreArnT&& value) {
90 m_storeArnHasBeenSet = true;
91 m_storeArn = std::forward<StoreArnT>(value);
92 }
93 template <typename StoreArnT = Aws::String>
94 GetVariantStoreResult& WithStoreArn(StoreArnT&& value) {
95 SetStoreArn(std::forward<StoreArnT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetName() const { return m_name; }
105 template <typename NameT = Aws::String>
106 void SetName(NameT&& value) {
107 m_nameHasBeenSet = true;
108 m_name = std::forward<NameT>(value);
109 }
110 template <typename NameT = Aws::String>
112 SetName(std::forward<NameT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetDescription() const { return m_description; }
122 template <typename DescriptionT = Aws::String>
123 void SetDescription(DescriptionT&& value) {
124 m_descriptionHasBeenSet = true;
125 m_description = std::forward<DescriptionT>(value);
126 }
127 template <typename DescriptionT = Aws::String>
128 GetVariantStoreResult& WithDescription(DescriptionT&& value) {
129 SetDescription(std::forward<DescriptionT>(value));
130 return *this;
131 }
133
135
138 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
139 template <typename SseConfigT = SseConfig>
140 void SetSseConfig(SseConfigT&& value) {
141 m_sseConfigHasBeenSet = true;
142 m_sseConfig = std::forward<SseConfigT>(value);
143 }
144 template <typename SseConfigT = SseConfig>
146 SetSseConfig(std::forward<SseConfigT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
156 template <typename CreationTimeT = Aws::Utils::DateTime>
157 void SetCreationTime(CreationTimeT&& value) {
158 m_creationTimeHasBeenSet = true;
159 m_creationTime = std::forward<CreationTimeT>(value);
160 }
161 template <typename CreationTimeT = Aws::Utils::DateTime>
162 GetVariantStoreResult& WithCreationTime(CreationTimeT&& value) {
163 SetCreationTime(std::forward<CreationTimeT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
173 template <typename UpdateTimeT = Aws::Utils::DateTime>
174 void SetUpdateTime(UpdateTimeT&& value) {
175 m_updateTimeHasBeenSet = true;
176 m_updateTime = std::forward<UpdateTimeT>(value);
177 }
178 template <typename UpdateTimeT = Aws::Utils::DateTime>
179 GetVariantStoreResult& WithUpdateTime(UpdateTimeT&& value) {
180 SetUpdateTime(std::forward<UpdateTimeT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
190 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
191 void SetTags(TagsT&& value) {
192 m_tagsHasBeenSet = true;
193 m_tags = std::forward<TagsT>(value);
194 }
195 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
197 SetTags(std::forward<TagsT>(value));
198 return *this;
199 }
200 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
201 GetVariantStoreResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
202 m_tagsHasBeenSet = true;
203 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
204 return *this;
205 }
207
209
212 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
213 template <typename StatusMessageT = Aws::String>
214 void SetStatusMessage(StatusMessageT&& value) {
215 m_statusMessageHasBeenSet = true;
216 m_statusMessage = std::forward<StatusMessageT>(value);
217 }
218 template <typename StatusMessageT = Aws::String>
219 GetVariantStoreResult& WithStatusMessage(StatusMessageT&& value) {
220 SetStatusMessage(std::forward<StatusMessageT>(value));
221 return *this;
222 }
224
226
229 inline long long GetStoreSizeBytes() const { return m_storeSizeBytes; }
230 inline void SetStoreSizeBytes(long long value) {
231 m_storeSizeBytesHasBeenSet = true;
232 m_storeSizeBytes = value;
233 }
234 inline GetVariantStoreResult& WithStoreSizeBytes(long long value) {
235 SetStoreSizeBytes(value);
236 return *this;
237 }
239
241
242 inline const Aws::String& GetRequestId() const { return m_requestId; }
243 template <typename RequestIdT = Aws::String>
244 void SetRequestId(RequestIdT&& value) {
245 m_requestIdHasBeenSet = true;
246 m_requestId = std::forward<RequestIdT>(value);
247 }
248 template <typename RequestIdT = Aws::String>
250 SetRequestId(std::forward<RequestIdT>(value));
251 return *this;
252 }
254 private:
255 Aws::String m_id;
256
257 ReferenceItem m_reference;
258
260
261 Aws::String m_storeArn;
262
263 Aws::String m_name;
264
265 Aws::String m_description;
266
267 SseConfig m_sseConfig;
268
269 Aws::Utils::DateTime m_creationTime{};
270
271 Aws::Utils::DateTime m_updateTime{};
272
274
275 Aws::String m_statusMessage;
276
277 long long m_storeSizeBytes{0};
278
279 Aws::String m_requestId;
280 bool m_idHasBeenSet = false;
281 bool m_referenceHasBeenSet = false;
282 bool m_statusHasBeenSet = false;
283 bool m_storeArnHasBeenSet = false;
284 bool m_nameHasBeenSet = false;
285 bool m_descriptionHasBeenSet = false;
286 bool m_sseConfigHasBeenSet = false;
287 bool m_creationTimeHasBeenSet = false;
288 bool m_updateTimeHasBeenSet = false;
289 bool m_tagsHasBeenSet = false;
290 bool m_statusMessageHasBeenSet = false;
291 bool m_storeSizeBytesHasBeenSet = false;
292 bool m_requestIdHasBeenSet = false;
293};
294
295} // namespace Model
296} // namespace Omics
297} // namespace Aws
GetVariantStoreResult & WithReference(ReferenceT &&value)
AWS_OMICS_API GetVariantStoreResult()=default
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::Utils::DateTime & GetUpdateTime() const
GetVariantStoreResult & WithTags(TagsT &&value)
GetVariantStoreResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetVariantStoreResult & WithName(NameT &&value)
GetVariantStoreResult & WithStoreSizeBytes(long long value)
GetVariantStoreResult & WithCreationTime(CreationTimeT &&value)
GetVariantStoreResult & WithId(IdT &&value)
GetVariantStoreResult & WithStatus(StoreStatus value)
GetVariantStoreResult & WithStatusMessage(StatusMessageT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_OMICS_API GetVariantStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetVariantStoreResult & WithUpdateTime(UpdateTimeT &&value)
GetVariantStoreResult & WithStoreArn(StoreArnT &&value)
GetVariantStoreResult & WithSseConfig(SseConfigT &&value)
AWS_OMICS_API GetVariantStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetVariantStoreResult & WithRequestId(RequestIdT &&value)
GetVariantStoreResult & WithDescription(DescriptionT &&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