AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
VariantStoreItem.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/StoreStatus.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Omics {
24namespace Model {
25
32 public:
33 AWS_OMICS_API VariantStoreItem() = default;
36 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template <typename IdT = Aws::String>
45 void SetId(IdT&& value) {
46 m_idHasBeenSet = true;
47 m_id = std::forward<IdT>(value);
48 }
49 template <typename IdT = Aws::String>
50 VariantStoreItem& WithId(IdT&& value) {
51 SetId(std::forward<IdT>(value));
52 return *this;
53 }
55
57
60 inline const ReferenceItem& GetReference() const { return m_reference; }
61 inline bool ReferenceHasBeenSet() const { return m_referenceHasBeenSet; }
62 template <typename ReferenceT = ReferenceItem>
63 void SetReference(ReferenceT&& value) {
64 m_referenceHasBeenSet = true;
65 m_reference = std::forward<ReferenceT>(value);
66 }
67 template <typename ReferenceT = ReferenceItem>
68 VariantStoreItem& WithReference(ReferenceT&& value) {
69 SetReference(std::forward<ReferenceT>(value));
70 return *this;
71 }
73
75
78 inline StoreStatus GetStatus() const { return m_status; }
79 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
80 inline void SetStatus(StoreStatus value) {
81 m_statusHasBeenSet = true;
82 m_status = value;
83 }
85 SetStatus(value);
86 return *this;
87 }
89
91
94 inline const Aws::String& GetStoreArn() const { return m_storeArn; }
95 inline bool StoreArnHasBeenSet() const { return m_storeArnHasBeenSet; }
96 template <typename StoreArnT = Aws::String>
97 void SetStoreArn(StoreArnT&& value) {
98 m_storeArnHasBeenSet = true;
99 m_storeArn = std::forward<StoreArnT>(value);
100 }
101 template <typename StoreArnT = Aws::String>
102 VariantStoreItem& WithStoreArn(StoreArnT&& value) {
103 SetStoreArn(std::forward<StoreArnT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetName() const { return m_name; }
113 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
114 template <typename NameT = Aws::String>
115 void SetName(NameT&& value) {
116 m_nameHasBeenSet = true;
117 m_name = std::forward<NameT>(value);
118 }
119 template <typename NameT = Aws::String>
120 VariantStoreItem& WithName(NameT&& value) {
121 SetName(std::forward<NameT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetDescription() const { return m_description; }
131 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
132 template <typename DescriptionT = Aws::String>
133 void SetDescription(DescriptionT&& value) {
134 m_descriptionHasBeenSet = true;
135 m_description = std::forward<DescriptionT>(value);
136 }
137 template <typename DescriptionT = Aws::String>
138 VariantStoreItem& WithDescription(DescriptionT&& value) {
139 SetDescription(std::forward<DescriptionT>(value));
140 return *this;
141 }
143
145
148 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
149 inline bool SseConfigHasBeenSet() const { return m_sseConfigHasBeenSet; }
150 template <typename SseConfigT = SseConfig>
151 void SetSseConfig(SseConfigT&& value) {
152 m_sseConfigHasBeenSet = true;
153 m_sseConfig = std::forward<SseConfigT>(value);
154 }
155 template <typename SseConfigT = SseConfig>
156 VariantStoreItem& WithSseConfig(SseConfigT&& value) {
157 SetSseConfig(std::forward<SseConfigT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
167 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
168 template <typename CreationTimeT = Aws::Utils::DateTime>
169 void SetCreationTime(CreationTimeT&& value) {
170 m_creationTimeHasBeenSet = true;
171 m_creationTime = std::forward<CreationTimeT>(value);
172 }
173 template <typename CreationTimeT = Aws::Utils::DateTime>
174 VariantStoreItem& WithCreationTime(CreationTimeT&& value) {
175 SetCreationTime(std::forward<CreationTimeT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
185 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
186 template <typename UpdateTimeT = Aws::Utils::DateTime>
187 void SetUpdateTime(UpdateTimeT&& value) {
188 m_updateTimeHasBeenSet = true;
189 m_updateTime = std::forward<UpdateTimeT>(value);
190 }
191 template <typename UpdateTimeT = Aws::Utils::DateTime>
192 VariantStoreItem& WithUpdateTime(UpdateTimeT&& value) {
193 SetUpdateTime(std::forward<UpdateTimeT>(value));
194 return *this;
195 }
197
199
202 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
203 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
204 template <typename StatusMessageT = Aws::String>
205 void SetStatusMessage(StatusMessageT&& value) {
206 m_statusMessageHasBeenSet = true;
207 m_statusMessage = std::forward<StatusMessageT>(value);
208 }
209 template <typename StatusMessageT = Aws::String>
210 VariantStoreItem& WithStatusMessage(StatusMessageT&& value) {
211 SetStatusMessage(std::forward<StatusMessageT>(value));
212 return *this;
213 }
215
217
220 inline long long GetStoreSizeBytes() const { return m_storeSizeBytes; }
221 inline bool StoreSizeBytesHasBeenSet() const { return m_storeSizeBytesHasBeenSet; }
222 inline void SetStoreSizeBytes(long long value) {
223 m_storeSizeBytesHasBeenSet = true;
224 m_storeSizeBytes = value;
225 }
226 inline VariantStoreItem& WithStoreSizeBytes(long long value) {
227 SetStoreSizeBytes(value);
228 return *this;
229 }
231 private:
232 Aws::String m_id;
233
234 ReferenceItem m_reference;
235
237
238 Aws::String m_storeArn;
239
240 Aws::String m_name;
241
242 Aws::String m_description;
243
244 SseConfig m_sseConfig;
245
246 Aws::Utils::DateTime m_creationTime{};
247
248 Aws::Utils::DateTime m_updateTime{};
249
250 Aws::String m_statusMessage;
251
252 long long m_storeSizeBytes{0};
253 bool m_idHasBeenSet = false;
254 bool m_referenceHasBeenSet = false;
255 bool m_statusHasBeenSet = false;
256 bool m_storeArnHasBeenSet = false;
257 bool m_nameHasBeenSet = false;
258 bool m_descriptionHasBeenSet = false;
259 bool m_sseConfigHasBeenSet = false;
260 bool m_creationTimeHasBeenSet = false;
261 bool m_updateTimeHasBeenSet = false;
262 bool m_statusMessageHasBeenSet = false;
263 bool m_storeSizeBytesHasBeenSet = false;
264};
265
266} // namespace Model
267} // namespace Omics
268} // namespace Aws
AWS_OMICS_API VariantStoreItem(Aws::Utils::Json::JsonView jsonValue)
VariantStoreItem & WithStatus(StoreStatus value)
VariantStoreItem & WithStatusMessage(StatusMessageT &&value)
void SetSseConfig(SseConfigT &&value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetId() const
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetStoreArn() const
VariantStoreItem & WithId(IdT &&value)
void SetStoreArn(StoreArnT &&value)
const Aws::String & GetName() const
VariantStoreItem & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
const SseConfig & GetSseConfig() const
void SetCreationTime(CreationTimeT &&value)
void SetStatusMessage(StatusMessageT &&value)
void SetDescription(DescriptionT &&value)
VariantStoreItem & WithName(NameT &&value)
VariantStoreItem & WithStoreArn(StoreArnT &&value)
const ReferenceItem & GetReference() const
AWS_OMICS_API VariantStoreItem & operator=(Aws::Utils::Json::JsonView jsonValue)
VariantStoreItem & WithCreationTime(CreationTimeT &&value)
void SetReference(ReferenceT &&value)
const Aws::String & GetStatusMessage() const
VariantStoreItem & WithReference(ReferenceT &&value)
VariantStoreItem & WithUpdateTime(UpdateTimeT &&value)
void SetUpdateTime(UpdateTimeT &&value)
VariantStoreItem & WithStoreSizeBytes(long long value)
AWS_OMICS_API VariantStoreItem()=default
VariantStoreItem & WithSseConfig(SseConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue