AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
AnnotationStoreItem.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/Omics_EXPORTS.h>
10#include <aws/omics/model/ReferenceItem.h>
11#include <aws/omics/model/SseConfig.h>
12#include <aws/omics/model/StoreFormat.h>
13#include <aws/omics/model/StoreStatus.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Omics {
25namespace Model {
26
33 public:
34 AWS_OMICS_API AnnotationStoreItem() = default;
37 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
61 inline const ReferenceItem& GetReference() const { return m_reference; }
62 inline bool ReferenceHasBeenSet() const { return m_referenceHasBeenSet; }
63 template <typename ReferenceT = ReferenceItem>
64 void SetReference(ReferenceT&& value) {
65 m_referenceHasBeenSet = true;
66 m_reference = std::forward<ReferenceT>(value);
67 }
68 template <typename ReferenceT = ReferenceItem>
69 AnnotationStoreItem& WithReference(ReferenceT&& value) {
70 SetReference(std::forward<ReferenceT>(value));
71 return *this;
72 }
74
76
79 inline StoreStatus GetStatus() const { return m_status; }
80 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
81 inline void SetStatus(StoreStatus value) {
82 m_statusHasBeenSet = true;
83 m_status = value;
84 }
86 SetStatus(value);
87 return *this;
88 }
90
92
95 inline const Aws::String& GetStoreArn() const { return m_storeArn; }
96 inline bool StoreArnHasBeenSet() const { return m_storeArnHasBeenSet; }
97 template <typename StoreArnT = Aws::String>
98 void SetStoreArn(StoreArnT&& value) {
99 m_storeArnHasBeenSet = true;
100 m_storeArn = std::forward<StoreArnT>(value);
101 }
102 template <typename StoreArnT = Aws::String>
103 AnnotationStoreItem& WithStoreArn(StoreArnT&& value) {
104 SetStoreArn(std::forward<StoreArnT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetName() const { return m_name; }
114 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
115 template <typename NameT = Aws::String>
116 void SetName(NameT&& value) {
117 m_nameHasBeenSet = true;
118 m_name = std::forward<NameT>(value);
119 }
120 template <typename NameT = Aws::String>
122 SetName(std::forward<NameT>(value));
123 return *this;
124 }
126
128
131 inline StoreFormat GetStoreFormat() const { return m_storeFormat; }
132 inline bool StoreFormatHasBeenSet() const { return m_storeFormatHasBeenSet; }
133 inline void SetStoreFormat(StoreFormat value) {
134 m_storeFormatHasBeenSet = true;
135 m_storeFormat = value;
136 }
138 SetStoreFormat(value);
139 return *this;
140 }
142
144
147 inline const Aws::String& GetDescription() const { return m_description; }
148 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
149 template <typename DescriptionT = Aws::String>
150 void SetDescription(DescriptionT&& value) {
151 m_descriptionHasBeenSet = true;
152 m_description = std::forward<DescriptionT>(value);
153 }
154 template <typename DescriptionT = Aws::String>
155 AnnotationStoreItem& WithDescription(DescriptionT&& value) {
156 SetDescription(std::forward<DescriptionT>(value));
157 return *this;
158 }
160
162
165 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
166 inline bool SseConfigHasBeenSet() const { return m_sseConfigHasBeenSet; }
167 template <typename SseConfigT = SseConfig>
168 void SetSseConfig(SseConfigT&& value) {
169 m_sseConfigHasBeenSet = true;
170 m_sseConfig = std::forward<SseConfigT>(value);
171 }
172 template <typename SseConfigT = SseConfig>
173 AnnotationStoreItem& WithSseConfig(SseConfigT&& value) {
174 SetSseConfig(std::forward<SseConfigT>(value));
175 return *this;
176 }
178
180
183 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
184 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
185 template <typename CreationTimeT = Aws::Utils::DateTime>
186 void SetCreationTime(CreationTimeT&& value) {
187 m_creationTimeHasBeenSet = true;
188 m_creationTime = std::forward<CreationTimeT>(value);
189 }
190 template <typename CreationTimeT = Aws::Utils::DateTime>
191 AnnotationStoreItem& WithCreationTime(CreationTimeT&& value) {
192 SetCreationTime(std::forward<CreationTimeT>(value));
193 return *this;
194 }
196
198
201 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
202 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
203 template <typename UpdateTimeT = Aws::Utils::DateTime>
204 void SetUpdateTime(UpdateTimeT&& value) {
205 m_updateTimeHasBeenSet = true;
206 m_updateTime = std::forward<UpdateTimeT>(value);
207 }
208 template <typename UpdateTimeT = Aws::Utils::DateTime>
209 AnnotationStoreItem& WithUpdateTime(UpdateTimeT&& value) {
210 SetUpdateTime(std::forward<UpdateTimeT>(value));
211 return *this;
212 }
214
216
219 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
220 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
221 template <typename StatusMessageT = Aws::String>
222 void SetStatusMessage(StatusMessageT&& value) {
223 m_statusMessageHasBeenSet = true;
224 m_statusMessage = std::forward<StatusMessageT>(value);
225 }
226 template <typename StatusMessageT = Aws::String>
227 AnnotationStoreItem& WithStatusMessage(StatusMessageT&& value) {
228 SetStatusMessage(std::forward<StatusMessageT>(value));
229 return *this;
230 }
232
234
237 inline long long GetStoreSizeBytes() const { return m_storeSizeBytes; }
238 inline bool StoreSizeBytesHasBeenSet() const { return m_storeSizeBytesHasBeenSet; }
239 inline void SetStoreSizeBytes(long long value) {
240 m_storeSizeBytesHasBeenSet = true;
241 m_storeSizeBytes = value;
242 }
243 inline AnnotationStoreItem& WithStoreSizeBytes(long long value) {
244 SetStoreSizeBytes(value);
245 return *this;
246 }
248 private:
249 Aws::String m_id;
250
251 ReferenceItem m_reference;
252
254
255 Aws::String m_storeArn;
256
257 Aws::String m_name;
258
259 StoreFormat m_storeFormat{StoreFormat::NOT_SET};
260
261 Aws::String m_description;
262
263 SseConfig m_sseConfig;
264
265 Aws::Utils::DateTime m_creationTime{};
266
267 Aws::Utils::DateTime m_updateTime{};
268
269 Aws::String m_statusMessage;
270
271 long long m_storeSizeBytes{0};
272 bool m_idHasBeenSet = false;
273 bool m_referenceHasBeenSet = false;
274 bool m_statusHasBeenSet = false;
275 bool m_storeArnHasBeenSet = false;
276 bool m_nameHasBeenSet = false;
277 bool m_storeFormatHasBeenSet = false;
278 bool m_descriptionHasBeenSet = false;
279 bool m_sseConfigHasBeenSet = false;
280 bool m_creationTimeHasBeenSet = false;
281 bool m_updateTimeHasBeenSet = false;
282 bool m_statusMessageHasBeenSet = false;
283 bool m_storeSizeBytesHasBeenSet = false;
284};
285
286} // namespace Model
287} // namespace Omics
288} // namespace Aws
AWS_OMICS_API AnnotationStoreItem(Aws::Utils::Json::JsonView jsonValue)
AWS_OMICS_API AnnotationStoreItem()=default
AnnotationStoreItem & WithStoreSizeBytes(long long value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
AnnotationStoreItem & WithStatus(StoreStatus value)
const Aws::String & GetStatusMessage() const
AnnotationStoreItem & WithStoreFormat(StoreFormat value)
AnnotationStoreItem & WithId(IdT &&value)
AnnotationStoreItem & WithCreationTime(CreationTimeT &&value)
const ReferenceItem & GetReference() const
AnnotationStoreItem & WithName(NameT &&value)
AnnotationStoreItem & WithDescription(DescriptionT &&value)
AnnotationStoreItem & WithStoreArn(StoreArnT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetDescription() const
AnnotationStoreItem & WithUpdateTime(UpdateTimeT &&value)
AWS_OMICS_API AnnotationStoreItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdateTime() const
AnnotationStoreItem & WithStatusMessage(StatusMessageT &&value)
const Aws::String & GetStoreArn() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetStatusMessage(StatusMessageT &&value)
AnnotationStoreItem & WithSseConfig(SseConfigT &&value)
AnnotationStoreItem & WithReference(ReferenceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue