AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GetSequenceStoreResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/omics/Omics_EXPORTS.h>
11#include <aws/omics/model/ETagAlgorithmFamily.h>
12#include <aws/omics/model/SequenceStoreS3Access.h>
13#include <aws/omics/model/SequenceStoreStatus.h>
14#include <aws/omics/model/SseConfig.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 GetSequenceStoreResult() = 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 Aws::String& GetArn() const { return m_arn; }
57 template <typename ArnT = Aws::String>
58 void SetArn(ArnT&& value) {
59 m_arnHasBeenSet = true;
60 m_arn = std::forward<ArnT>(value);
61 }
62 template <typename ArnT = Aws::String>
64 SetArn(std::forward<ArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 template <typename NameT = Aws::String>
75 void SetName(NameT&& value) {
76 m_nameHasBeenSet = true;
77 m_name = std::forward<NameT>(value);
78 }
79 template <typename NameT = Aws::String>
81 SetName(std::forward<NameT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetDescription() const { return m_description; }
91 template <typename DescriptionT = Aws::String>
92 void SetDescription(DescriptionT&& value) {
93 m_descriptionHasBeenSet = true;
94 m_description = std::forward<DescriptionT>(value);
95 }
96 template <typename DescriptionT = Aws::String>
97 GetSequenceStoreResult& WithDescription(DescriptionT&& value) {
98 SetDescription(std::forward<DescriptionT>(value));
99 return *this;
100 }
102
104
107 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
108 template <typename SseConfigT = SseConfig>
109 void SetSseConfig(SseConfigT&& value) {
110 m_sseConfigHasBeenSet = true;
111 m_sseConfig = std::forward<SseConfigT>(value);
112 }
113 template <typename SseConfigT = SseConfig>
115 SetSseConfig(std::forward<SseConfigT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
125 template <typename CreationTimeT = Aws::Utils::DateTime>
126 void SetCreationTime(CreationTimeT&& value) {
127 m_creationTimeHasBeenSet = true;
128 m_creationTime = std::forward<CreationTimeT>(value);
129 }
130 template <typename CreationTimeT = Aws::Utils::DateTime>
131 GetSequenceStoreResult& WithCreationTime(CreationTimeT&& value) {
132 SetCreationTime(std::forward<CreationTimeT>(value));
133 return *this;
134 }
136
138
142 inline const Aws::String& GetFallbackLocation() const { return m_fallbackLocation; }
143 template <typename FallbackLocationT = Aws::String>
144 void SetFallbackLocation(FallbackLocationT&& value) {
145 m_fallbackLocationHasBeenSet = true;
146 m_fallbackLocation = std::forward<FallbackLocationT>(value);
147 }
148 template <typename FallbackLocationT = Aws::String>
149 GetSequenceStoreResult& WithFallbackLocation(FallbackLocationT&& value) {
150 SetFallbackLocation(std::forward<FallbackLocationT>(value));
151 return *this;
152 }
154
156
160 inline const SequenceStoreS3Access& GetS3Access() const { return m_s3Access; }
161 template <typename S3AccessT = SequenceStoreS3Access>
162 void SetS3Access(S3AccessT&& value) {
163 m_s3AccessHasBeenSet = true;
164 m_s3Access = std::forward<S3AccessT>(value);
165 }
166 template <typename S3AccessT = SequenceStoreS3Access>
168 SetS3Access(std::forward<S3AccessT>(value));
169 return *this;
170 }
172
174
177 inline ETagAlgorithmFamily GetETagAlgorithmFamily() const { return m_eTagAlgorithmFamily; }
179 m_eTagAlgorithmFamilyHasBeenSet = true;
180 m_eTagAlgorithmFamily = value;
181 }
184 return *this;
185 }
187
189
192 inline SequenceStoreStatus GetStatus() const { return m_status; }
193 inline void SetStatus(SequenceStoreStatus value) {
194 m_statusHasBeenSet = true;
195 m_status = value;
196 }
198 SetStatus(value);
199 return *this;
200 }
202
204
207 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
208 template <typename StatusMessageT = Aws::String>
209 void SetStatusMessage(StatusMessageT&& value) {
210 m_statusMessageHasBeenSet = true;
211 m_statusMessage = std::forward<StatusMessageT>(value);
212 }
213 template <typename StatusMessageT = Aws::String>
214 GetSequenceStoreResult& WithStatusMessage(StatusMessageT&& value) {
215 SetStatusMessage(std::forward<StatusMessageT>(value));
216 return *this;
217 }
219
221
225 inline const Aws::Vector<Aws::String>& GetPropagatedSetLevelTags() const { return m_propagatedSetLevelTags; }
226 template <typename PropagatedSetLevelTagsT = Aws::Vector<Aws::String>>
227 void SetPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
228 m_propagatedSetLevelTagsHasBeenSet = true;
229 m_propagatedSetLevelTags = std::forward<PropagatedSetLevelTagsT>(value);
230 }
231 template <typename PropagatedSetLevelTagsT = Aws::Vector<Aws::String>>
232 GetSequenceStoreResult& WithPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
233 SetPropagatedSetLevelTags(std::forward<PropagatedSetLevelTagsT>(value));
234 return *this;
235 }
236 template <typename PropagatedSetLevelTagsT = Aws::String>
237 GetSequenceStoreResult& AddPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
238 m_propagatedSetLevelTagsHasBeenSet = true;
239 m_propagatedSetLevelTags.emplace_back(std::forward<PropagatedSetLevelTagsT>(value));
240 return *this;
241 }
243
245
248 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
249 template <typename UpdateTimeT = Aws::Utils::DateTime>
250 void SetUpdateTime(UpdateTimeT&& value) {
251 m_updateTimeHasBeenSet = true;
252 m_updateTime = std::forward<UpdateTimeT>(value);
253 }
254 template <typename UpdateTimeT = Aws::Utils::DateTime>
256 SetUpdateTime(std::forward<UpdateTimeT>(value));
257 return *this;
258 }
260
262
263 inline const Aws::String& GetRequestId() const { return m_requestId; }
264 template <typename RequestIdT = Aws::String>
265 void SetRequestId(RequestIdT&& value) {
266 m_requestIdHasBeenSet = true;
267 m_requestId = std::forward<RequestIdT>(value);
268 }
269 template <typename RequestIdT = Aws::String>
271 SetRequestId(std::forward<RequestIdT>(value));
272 return *this;
273 }
275 private:
276 Aws::String m_id;
277
278 Aws::String m_arn;
279
280 Aws::String m_name;
281
282 Aws::String m_description;
283
284 SseConfig m_sseConfig;
285
286 Aws::Utils::DateTime m_creationTime{};
287
288 Aws::String m_fallbackLocation;
289
290 SequenceStoreS3Access m_s3Access;
291
293
295
296 Aws::String m_statusMessage;
297
298 Aws::Vector<Aws::String> m_propagatedSetLevelTags;
299
300 Aws::Utils::DateTime m_updateTime{};
301
302 Aws::String m_requestId;
303 bool m_idHasBeenSet = false;
304 bool m_arnHasBeenSet = false;
305 bool m_nameHasBeenSet = false;
306 bool m_descriptionHasBeenSet = false;
307 bool m_sseConfigHasBeenSet = false;
308 bool m_creationTimeHasBeenSet = false;
309 bool m_fallbackLocationHasBeenSet = false;
310 bool m_s3AccessHasBeenSet = false;
311 bool m_eTagAlgorithmFamilyHasBeenSet = false;
312 bool m_statusHasBeenSet = false;
313 bool m_statusMessageHasBeenSet = false;
314 bool m_propagatedSetLevelTagsHasBeenSet = false;
315 bool m_updateTimeHasBeenSet = false;
316 bool m_requestIdHasBeenSet = false;
317};
318
319} // namespace Model
320} // namespace Omics
321} // 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)
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