AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateSequenceStoreResult.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 CreateSequenceStoreResult() = 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>
99 SetDescription(std::forward<DescriptionT>(value));
100 return *this;
101 }
103
105
109 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
110 template <typename SseConfigT = SseConfig>
111 void SetSseConfig(SseConfigT&& value) {
112 m_sseConfigHasBeenSet = true;
113 m_sseConfig = std::forward<SseConfigT>(value);
114 }
115 template <typename SseConfigT = SseConfig>
117 SetSseConfig(std::forward<SseConfigT>(value));
118 return *this;
119 }
121
123
126 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
127 template <typename CreationTimeT = Aws::Utils::DateTime>
128 void SetCreationTime(CreationTimeT&& value) {
129 m_creationTimeHasBeenSet = true;
130 m_creationTime = std::forward<CreationTimeT>(value);
131 }
132 template <typename CreationTimeT = Aws::Utils::DateTime>
134 SetCreationTime(std::forward<CreationTimeT>(value));
135 return *this;
136 }
138
140
144 inline const Aws::String& GetFallbackLocation() const { return m_fallbackLocation; }
145 template <typename FallbackLocationT = Aws::String>
146 void SetFallbackLocation(FallbackLocationT&& value) {
147 m_fallbackLocationHasBeenSet = true;
148 m_fallbackLocation = std::forward<FallbackLocationT>(value);
149 }
150 template <typename FallbackLocationT = Aws::String>
152 SetFallbackLocation(std::forward<FallbackLocationT>(value));
153 return *this;
154 }
156
158
161 inline ETagAlgorithmFamily GetETagAlgorithmFamily() const { return m_eTagAlgorithmFamily; }
163 m_eTagAlgorithmFamilyHasBeenSet = true;
164 m_eTagAlgorithmFamily = value;
165 }
168 return *this;
169 }
171
173
176 inline SequenceStoreStatus GetStatus() const { return m_status; }
177 inline void SetStatus(SequenceStoreStatus value) {
178 m_statusHasBeenSet = true;
179 m_status = value;
180 }
182 SetStatus(value);
183 return *this;
184 }
186
188
191 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
192 template <typename StatusMessageT = Aws::String>
193 void SetStatusMessage(StatusMessageT&& value) {
194 m_statusMessageHasBeenSet = true;
195 m_statusMessage = std::forward<StatusMessageT>(value);
196 }
197 template <typename StatusMessageT = Aws::String>
199 SetStatusMessage(std::forward<StatusMessageT>(value));
200 return *this;
201 }
203
205
209 inline const Aws::Vector<Aws::String>& GetPropagatedSetLevelTags() const { return m_propagatedSetLevelTags; }
210 template <typename PropagatedSetLevelTagsT = Aws::Vector<Aws::String>>
211 void SetPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
212 m_propagatedSetLevelTagsHasBeenSet = true;
213 m_propagatedSetLevelTags = std::forward<PropagatedSetLevelTagsT>(value);
214 }
215 template <typename PropagatedSetLevelTagsT = Aws::Vector<Aws::String>>
216 CreateSequenceStoreResult& WithPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
217 SetPropagatedSetLevelTags(std::forward<PropagatedSetLevelTagsT>(value));
218 return *this;
219 }
220 template <typename PropagatedSetLevelTagsT = Aws::String>
221 CreateSequenceStoreResult& AddPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
222 m_propagatedSetLevelTagsHasBeenSet = true;
223 m_propagatedSetLevelTags.emplace_back(std::forward<PropagatedSetLevelTagsT>(value));
224 return *this;
225 }
227
229
230 inline const SequenceStoreS3Access& GetS3Access() const { return m_s3Access; }
231 template <typename S3AccessT = SequenceStoreS3Access>
232 void SetS3Access(S3AccessT&& value) {
233 m_s3AccessHasBeenSet = true;
234 m_s3Access = std::forward<S3AccessT>(value);
235 }
236 template <typename S3AccessT = SequenceStoreS3Access>
238 SetS3Access(std::forward<S3AccessT>(value));
239 return *this;
240 }
242
244
245 inline const Aws::String& GetRequestId() const { return m_requestId; }
246 template <typename RequestIdT = Aws::String>
247 void SetRequestId(RequestIdT&& value) {
248 m_requestIdHasBeenSet = true;
249 m_requestId = std::forward<RequestIdT>(value);
250 }
251 template <typename RequestIdT = Aws::String>
253 SetRequestId(std::forward<RequestIdT>(value));
254 return *this;
255 }
257 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
258
259 private:
260 Aws::String m_id;
261
262 Aws::String m_arn;
263
264 Aws::String m_name;
265
266 Aws::String m_description;
267
268 SseConfig m_sseConfig;
269
270 Aws::Utils::DateTime m_creationTime{};
271
272 Aws::String m_fallbackLocation;
273
275
277
278 Aws::String m_statusMessage;
279
280 Aws::Vector<Aws::String> m_propagatedSetLevelTags;
281
282 SequenceStoreS3Access m_s3Access;
283
284 Aws::String m_requestId;
285 Aws::Http::HttpResponseCode m_HttpResponseCode;
286 bool m_idHasBeenSet = false;
287 bool m_arnHasBeenSet = false;
288 bool m_nameHasBeenSet = false;
289 bool m_descriptionHasBeenSet = false;
290 bool m_sseConfigHasBeenSet = false;
291 bool m_creationTimeHasBeenSet = false;
292 bool m_fallbackLocationHasBeenSet = false;
293 bool m_eTagAlgorithmFamilyHasBeenSet = false;
294 bool m_statusHasBeenSet = false;
295 bool m_statusMessageHasBeenSet = false;
296 bool m_propagatedSetLevelTagsHasBeenSet = false;
297 bool m_s3AccessHasBeenSet = false;
298 bool m_requestIdHasBeenSet = false;
299};
300
301} // namespace Model
302} // namespace Omics
303} // namespace Aws
AWS_OMICS_API CreateSequenceStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSequenceStoreResult & WithFallbackLocation(FallbackLocationT &&value)
const SequenceStoreS3Access & GetS3Access() const
CreateSequenceStoreResult & WithETagAlgorithmFamily(ETagAlgorithmFamily value)
CreateSequenceStoreResult & WithRequestId(RequestIdT &&value)
CreateSequenceStoreResult & WithId(IdT &&value)
CreateSequenceStoreResult & WithName(NameT &&value)
CreateSequenceStoreResult & WithStatusMessage(StatusMessageT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateSequenceStoreResult & AddPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
CreateSequenceStoreResult & WithStatus(SequenceStoreStatus value)
CreateSequenceStoreResult & WithArn(ArnT &&value)
CreateSequenceStoreResult & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
CreateSequenceStoreResult & WithSseConfig(SseConfigT &&value)
CreateSequenceStoreResult & WithPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
AWS_OMICS_API CreateSequenceStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetPropagatedSetLevelTags() const
void SetPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
CreateSequenceStoreResult & WithS3Access(S3AccessT &&value)
AWS_OMICS_API CreateSequenceStoreResult()=default
CreateSequenceStoreResult & WithCreationTime(CreationTimeT &&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