AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
GetSequenceStoreResult.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/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/omics/Omics_EXPORTS.h>
12#include <aws/omics/model/ETagAlgorithmFamily.h>
13#include <aws/omics/model/SequenceStoreS3Access.h>
14#include <aws/omics/model/SequenceStoreStatus.h>
15#include <aws/omics/model/SseConfig.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 GetSequenceStoreResult() = 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 Aws::String& GetArn() const { return m_arn; }
58 template <typename ArnT = Aws::String>
59 void SetArn(ArnT&& value) {
60 m_arnHasBeenSet = true;
61 m_arn = std::forward<ArnT>(value);
62 }
63 template <typename ArnT = Aws::String>
65 SetArn(std::forward<ArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 template <typename NameT = Aws::String>
76 void SetName(NameT&& value) {
77 m_nameHasBeenSet = true;
78 m_name = std::forward<NameT>(value);
79 }
80 template <typename NameT = Aws::String>
82 SetName(std::forward<NameT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetDescription() const { return m_description; }
92 template <typename DescriptionT = Aws::String>
93 void SetDescription(DescriptionT&& value) {
94 m_descriptionHasBeenSet = true;
95 m_description = std::forward<DescriptionT>(value);
96 }
97 template <typename DescriptionT = Aws::String>
98 GetSequenceStoreResult& WithDescription(DescriptionT&& value) {
99 SetDescription(std::forward<DescriptionT>(value));
100 return *this;
101 }
103
105
108 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
109 template <typename SseConfigT = SseConfig>
110 void SetSseConfig(SseConfigT&& value) {
111 m_sseConfigHasBeenSet = true;
112 m_sseConfig = std::forward<SseConfigT>(value);
113 }
114 template <typename SseConfigT = SseConfig>
116 SetSseConfig(std::forward<SseConfigT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
126 template <typename CreationTimeT = Aws::Utils::DateTime>
127 void SetCreationTime(CreationTimeT&& value) {
128 m_creationTimeHasBeenSet = true;
129 m_creationTime = std::forward<CreationTimeT>(value);
130 }
131 template <typename CreationTimeT = Aws::Utils::DateTime>
132 GetSequenceStoreResult& WithCreationTime(CreationTimeT&& value) {
133 SetCreationTime(std::forward<CreationTimeT>(value));
134 return *this;
135 }
137
139
143 inline const Aws::String& GetFallbackLocation() const { return m_fallbackLocation; }
144 template <typename FallbackLocationT = Aws::String>
145 void SetFallbackLocation(FallbackLocationT&& value) {
146 m_fallbackLocationHasBeenSet = true;
147 m_fallbackLocation = std::forward<FallbackLocationT>(value);
148 }
149 template <typename FallbackLocationT = Aws::String>
150 GetSequenceStoreResult& WithFallbackLocation(FallbackLocationT&& value) {
151 SetFallbackLocation(std::forward<FallbackLocationT>(value));
152 return *this;
153 }
155
157
161 inline const SequenceStoreS3Access& GetS3Access() const { return m_s3Access; }
162 template <typename S3AccessT = SequenceStoreS3Access>
163 void SetS3Access(S3AccessT&& value) {
164 m_s3AccessHasBeenSet = true;
165 m_s3Access = std::forward<S3AccessT>(value);
166 }
167 template <typename S3AccessT = SequenceStoreS3Access>
169 SetS3Access(std::forward<S3AccessT>(value));
170 return *this;
171 }
173
175
178 inline ETagAlgorithmFamily GetETagAlgorithmFamily() const { return m_eTagAlgorithmFamily; }
180 m_eTagAlgorithmFamilyHasBeenSet = true;
181 m_eTagAlgorithmFamily = value;
182 }
185 return *this;
186 }
188
190
193 inline SequenceStoreStatus GetStatus() const { return m_status; }
194 inline void SetStatus(SequenceStoreStatus value) {
195 m_statusHasBeenSet = true;
196 m_status = value;
197 }
199 SetStatus(value);
200 return *this;
201 }
203
205
208 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
209 template <typename StatusMessageT = Aws::String>
210 void SetStatusMessage(StatusMessageT&& value) {
211 m_statusMessageHasBeenSet = true;
212 m_statusMessage = std::forward<StatusMessageT>(value);
213 }
214 template <typename StatusMessageT = Aws::String>
215 GetSequenceStoreResult& WithStatusMessage(StatusMessageT&& value) {
216 SetStatusMessage(std::forward<StatusMessageT>(value));
217 return *this;
218 }
220
222
226 inline const Aws::Vector<Aws::String>& GetPropagatedSetLevelTags() const { return m_propagatedSetLevelTags; }
227 template <typename PropagatedSetLevelTagsT = Aws::Vector<Aws::String>>
228 void SetPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
229 m_propagatedSetLevelTagsHasBeenSet = true;
230 m_propagatedSetLevelTags = std::forward<PropagatedSetLevelTagsT>(value);
231 }
232 template <typename PropagatedSetLevelTagsT = Aws::Vector<Aws::String>>
233 GetSequenceStoreResult& WithPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
234 SetPropagatedSetLevelTags(std::forward<PropagatedSetLevelTagsT>(value));
235 return *this;
236 }
237 template <typename PropagatedSetLevelTagsT = Aws::String>
238 GetSequenceStoreResult& AddPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
239 m_propagatedSetLevelTagsHasBeenSet = true;
240 m_propagatedSetLevelTags.emplace_back(std::forward<PropagatedSetLevelTagsT>(value));
241 return *this;
242 }
244
246
249 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
250 template <typename UpdateTimeT = Aws::Utils::DateTime>
251 void SetUpdateTime(UpdateTimeT&& value) {
252 m_updateTimeHasBeenSet = true;
253 m_updateTime = std::forward<UpdateTimeT>(value);
254 }
255 template <typename UpdateTimeT = Aws::Utils::DateTime>
257 SetUpdateTime(std::forward<UpdateTimeT>(value));
258 return *this;
259 }
261
263
264 inline const Aws::String& GetRequestId() const { return m_requestId; }
265 template <typename RequestIdT = Aws::String>
266 void SetRequestId(RequestIdT&& value) {
267 m_requestIdHasBeenSet = true;
268 m_requestId = std::forward<RequestIdT>(value);
269 }
270 template <typename RequestIdT = Aws::String>
272 SetRequestId(std::forward<RequestIdT>(value));
273 return *this;
274 }
276 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
277
278 private:
279 Aws::String m_id;
280
281 Aws::String m_arn;
282
283 Aws::String m_name;
284
285 Aws::String m_description;
286
287 SseConfig m_sseConfig;
288
289 Aws::Utils::DateTime m_creationTime{};
290
291 Aws::String m_fallbackLocation;
292
293 SequenceStoreS3Access m_s3Access;
294
296
298
299 Aws::String m_statusMessage;
300
301 Aws::Vector<Aws::String> m_propagatedSetLevelTags;
302
303 Aws::Utils::DateTime m_updateTime{};
304
305 Aws::String m_requestId;
306 Aws::Http::HttpResponseCode m_HttpResponseCode;
307 bool m_idHasBeenSet = false;
308 bool m_arnHasBeenSet = false;
309 bool m_nameHasBeenSet = false;
310 bool m_descriptionHasBeenSet = false;
311 bool m_sseConfigHasBeenSet = false;
312 bool m_creationTimeHasBeenSet = false;
313 bool m_fallbackLocationHasBeenSet = false;
314 bool m_s3AccessHasBeenSet = false;
315 bool m_eTagAlgorithmFamilyHasBeenSet = false;
316 bool m_statusHasBeenSet = false;
317 bool m_statusMessageHasBeenSet = false;
318 bool m_propagatedSetLevelTagsHasBeenSet = false;
319 bool m_updateTimeHasBeenSet = false;
320 bool m_requestIdHasBeenSet = false;
321};
322
323} // namespace Model
324} // namespace Omics
325} // namespace Aws
GetSequenceStoreResult & WithRequestId(RequestIdT &&value)
GetSequenceStoreResult & WithName(NameT &&value)
GetSequenceStoreResult & WithPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
GetSequenceStoreResult & WithDescription(DescriptionT &&value)
GetSequenceStoreResult & WithCreationTime(CreationTimeT &&value)
AWS_OMICS_API GetSequenceStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSequenceStoreResult & WithS3Access(S3AccessT &&value)
const SequenceStoreS3Access & GetS3Access() const
AWS_OMICS_API GetSequenceStoreResult()=default
void SetPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
GetSequenceStoreResult & WithStatus(SequenceStoreStatus value)
AWS_OMICS_API GetSequenceStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetPropagatedSetLevelTags() const
GetSequenceStoreResult & WithId(IdT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
GetSequenceStoreResult & WithArn(ArnT &&value)
GetSequenceStoreResult & AddPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
void SetETagAlgorithmFamily(ETagAlgorithmFamily value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetSequenceStoreResult & WithFallbackLocation(FallbackLocationT &&value)
GetSequenceStoreResult & WithSseConfig(SseConfigT &&value)
GetSequenceStoreResult & WithETagAlgorithmFamily(ETagAlgorithmFamily value)
void SetFallbackLocation(FallbackLocationT &&value)
GetSequenceStoreResult & WithUpdateTime(UpdateTimeT &&value)
GetSequenceStoreResult & WithStatusMessage(StatusMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue