AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetVariantStoreResult.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/StoreStatus.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Omics {
28namespace Model {
30 public:
31 AWS_OMICS_API GetVariantStoreResult() = default;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 template <typename IdT = Aws::String>
41 void SetId(IdT&& value) {
42 m_idHasBeenSet = true;
43 m_id = std::forward<IdT>(value);
44 }
45 template <typename IdT = Aws::String>
47 SetId(std::forward<IdT>(value));
48 return *this;
49 }
51
53
56 inline const ReferenceItem& GetReference() const { return m_reference; }
57 template <typename ReferenceT = ReferenceItem>
58 void SetReference(ReferenceT&& value) {
59 m_referenceHasBeenSet = true;
60 m_reference = std::forward<ReferenceT>(value);
61 }
62 template <typename ReferenceT = ReferenceItem>
63 GetVariantStoreResult& WithReference(ReferenceT&& value) {
64 SetReference(std::forward<ReferenceT>(value));
65 return *this;
66 }
68
70
73 inline StoreStatus GetStatus() const { return m_status; }
74 inline void SetStatus(StoreStatus value) {
75 m_statusHasBeenSet = true;
76 m_status = value;
77 }
79 SetStatus(value);
80 return *this;
81 }
83
85
88 inline const Aws::String& GetStoreArn() const { return m_storeArn; }
89 template <typename StoreArnT = Aws::String>
90 void SetStoreArn(StoreArnT&& value) {
91 m_storeArnHasBeenSet = true;
92 m_storeArn = std::forward<StoreArnT>(value);
93 }
94 template <typename StoreArnT = Aws::String>
95 GetVariantStoreResult& WithStoreArn(StoreArnT&& value) {
96 SetStoreArn(std::forward<StoreArnT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetName() const { return m_name; }
106 template <typename NameT = Aws::String>
107 void SetName(NameT&& value) {
108 m_nameHasBeenSet = true;
109 m_name = std::forward<NameT>(value);
110 }
111 template <typename NameT = Aws::String>
113 SetName(std::forward<NameT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetDescription() const { return m_description; }
123 template <typename DescriptionT = Aws::String>
124 void SetDescription(DescriptionT&& value) {
125 m_descriptionHasBeenSet = true;
126 m_description = std::forward<DescriptionT>(value);
127 }
128 template <typename DescriptionT = Aws::String>
129 GetVariantStoreResult& WithDescription(DescriptionT&& value) {
130 SetDescription(std::forward<DescriptionT>(value));
131 return *this;
132 }
134
136
139 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
140 template <typename SseConfigT = SseConfig>
141 void SetSseConfig(SseConfigT&& value) {
142 m_sseConfigHasBeenSet = true;
143 m_sseConfig = std::forward<SseConfigT>(value);
144 }
145 template <typename SseConfigT = SseConfig>
147 SetSseConfig(std::forward<SseConfigT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
157 template <typename CreationTimeT = Aws::Utils::DateTime>
158 void SetCreationTime(CreationTimeT&& value) {
159 m_creationTimeHasBeenSet = true;
160 m_creationTime = std::forward<CreationTimeT>(value);
161 }
162 template <typename CreationTimeT = Aws::Utils::DateTime>
163 GetVariantStoreResult& WithCreationTime(CreationTimeT&& value) {
164 SetCreationTime(std::forward<CreationTimeT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
174 template <typename UpdateTimeT = Aws::Utils::DateTime>
175 void SetUpdateTime(UpdateTimeT&& value) {
176 m_updateTimeHasBeenSet = true;
177 m_updateTime = std::forward<UpdateTimeT>(value);
178 }
179 template <typename UpdateTimeT = Aws::Utils::DateTime>
180 GetVariantStoreResult& WithUpdateTime(UpdateTimeT&& value) {
181 SetUpdateTime(std::forward<UpdateTimeT>(value));
182 return *this;
183 }
185
187
190 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
191 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
192 void SetTags(TagsT&& value) {
193 m_tagsHasBeenSet = true;
194 m_tags = std::forward<TagsT>(value);
195 }
196 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
198 SetTags(std::forward<TagsT>(value));
199 return *this;
200 }
201 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
202 GetVariantStoreResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
203 m_tagsHasBeenSet = true;
204 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
205 return *this;
206 }
208
210
213 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
214 template <typename StatusMessageT = Aws::String>
215 void SetStatusMessage(StatusMessageT&& value) {
216 m_statusMessageHasBeenSet = true;
217 m_statusMessage = std::forward<StatusMessageT>(value);
218 }
219 template <typename StatusMessageT = Aws::String>
220 GetVariantStoreResult& WithStatusMessage(StatusMessageT&& value) {
221 SetStatusMessage(std::forward<StatusMessageT>(value));
222 return *this;
223 }
225
227
230 inline long long GetStoreSizeBytes() const { return m_storeSizeBytes; }
231 inline void SetStoreSizeBytes(long long value) {
232 m_storeSizeBytesHasBeenSet = true;
233 m_storeSizeBytes = value;
234 }
235 inline GetVariantStoreResult& WithStoreSizeBytes(long long value) {
236 SetStoreSizeBytes(value);
237 return *this;
238 }
240
242
243 inline const Aws::String& GetRequestId() const { return m_requestId; }
244 template <typename RequestIdT = Aws::String>
245 void SetRequestId(RequestIdT&& value) {
246 m_requestIdHasBeenSet = true;
247 m_requestId = std::forward<RequestIdT>(value);
248 }
249 template <typename RequestIdT = Aws::String>
251 SetRequestId(std::forward<RequestIdT>(value));
252 return *this;
253 }
255 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
256
257 private:
258 Aws::String m_id;
259
260 ReferenceItem m_reference;
261
263
264 Aws::String m_storeArn;
265
266 Aws::String m_name;
267
268 Aws::String m_description;
269
270 SseConfig m_sseConfig;
271
272 Aws::Utils::DateTime m_creationTime{};
273
274 Aws::Utils::DateTime m_updateTime{};
275
277
278 Aws::String m_statusMessage;
279
280 long long m_storeSizeBytes{0};
281
282 Aws::String m_requestId;
283 Aws::Http::HttpResponseCode m_HttpResponseCode;
284 bool m_idHasBeenSet = false;
285 bool m_referenceHasBeenSet = false;
286 bool m_statusHasBeenSet = false;
287 bool m_storeArnHasBeenSet = false;
288 bool m_nameHasBeenSet = false;
289 bool m_descriptionHasBeenSet = false;
290 bool m_sseConfigHasBeenSet = false;
291 bool m_creationTimeHasBeenSet = false;
292 bool m_updateTimeHasBeenSet = false;
293 bool m_tagsHasBeenSet = false;
294 bool m_statusMessageHasBeenSet = false;
295 bool m_storeSizeBytesHasBeenSet = false;
296 bool m_requestIdHasBeenSet = false;
297};
298
299} // namespace Model
300} // namespace Omics
301} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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