AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VariantStoreItem.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/model/ReferenceItem.h>
10#include <aws/omics/model/StoreStatus.h>
11#include <aws/omics/model/SseConfig.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Omics
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_OMICS_API VariantStoreItem();
41 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline VariantStoreItem& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline VariantStoreItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline VariantStoreItem& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const ReferenceItem& GetReference() const{ return m_reference; }
63 inline bool ReferenceHasBeenSet() const { return m_referenceHasBeenSet; }
64 inline void SetReference(const ReferenceItem& value) { m_referenceHasBeenSet = true; m_reference = value; }
65 inline void SetReference(ReferenceItem&& value) { m_referenceHasBeenSet = true; m_reference = std::move(value); }
66 inline VariantStoreItem& WithReference(const ReferenceItem& value) { SetReference(value); return *this;}
67 inline VariantStoreItem& WithReference(ReferenceItem&& value) { SetReference(std::move(value)); return *this;}
69
71
74 inline const StoreStatus& GetStatus() const{ return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
76 inline void SetStatus(const StoreStatus& value) { m_statusHasBeenSet = true; m_status = value; }
77 inline void SetStatus(StoreStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
78 inline VariantStoreItem& WithStatus(const StoreStatus& value) { SetStatus(value); return *this;}
79 inline VariantStoreItem& WithStatus(StoreStatus&& value) { SetStatus(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetStoreArn() const{ return m_storeArn; }
87 inline bool StoreArnHasBeenSet() const { return m_storeArnHasBeenSet; }
88 inline void SetStoreArn(const Aws::String& value) { m_storeArnHasBeenSet = true; m_storeArn = value; }
89 inline void SetStoreArn(Aws::String&& value) { m_storeArnHasBeenSet = true; m_storeArn = std::move(value); }
90 inline void SetStoreArn(const char* value) { m_storeArnHasBeenSet = true; m_storeArn.assign(value); }
91 inline VariantStoreItem& WithStoreArn(const Aws::String& value) { SetStoreArn(value); return *this;}
92 inline VariantStoreItem& WithStoreArn(Aws::String&& value) { SetStoreArn(std::move(value)); return *this;}
93 inline VariantStoreItem& WithStoreArn(const char* value) { SetStoreArn(value); return *this;}
95
97
100 inline const Aws::String& GetName() const{ return m_name; }
101 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
102 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
103 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
104 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
105 inline VariantStoreItem& WithName(const Aws::String& value) { SetName(value); return *this;}
106 inline VariantStoreItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
107 inline VariantStoreItem& WithName(const char* value) { SetName(value); return *this;}
109
111
114 inline const Aws::String& GetDescription() const{ return m_description; }
115 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
116 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
117 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
118 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
119 inline VariantStoreItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
120 inline VariantStoreItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
121 inline VariantStoreItem& WithDescription(const char* value) { SetDescription(value); return *this;}
123
125
128 inline const SseConfig& GetSseConfig() const{ return m_sseConfig; }
129 inline bool SseConfigHasBeenSet() const { return m_sseConfigHasBeenSet; }
130 inline void SetSseConfig(const SseConfig& value) { m_sseConfigHasBeenSet = true; m_sseConfig = value; }
131 inline void SetSseConfig(SseConfig&& value) { m_sseConfigHasBeenSet = true; m_sseConfig = std::move(value); }
132 inline VariantStoreItem& WithSseConfig(const SseConfig& value) { SetSseConfig(value); return *this;}
133 inline VariantStoreItem& WithSseConfig(SseConfig&& value) { SetSseConfig(std::move(value)); return *this;}
135
137
140 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
141 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
142 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
143 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
144 inline VariantStoreItem& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
145 inline VariantStoreItem& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
147
149
152 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
153 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
154 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
155 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
156 inline VariantStoreItem& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
157 inline VariantStoreItem& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
159
161
164 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
165 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
166 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
167 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
168 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
169 inline VariantStoreItem& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
170 inline VariantStoreItem& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
171 inline VariantStoreItem& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
173
175
178 inline long long GetStoreSizeBytes() const{ return m_storeSizeBytes; }
179 inline bool StoreSizeBytesHasBeenSet() const { return m_storeSizeBytesHasBeenSet; }
180 inline void SetStoreSizeBytes(long long value) { m_storeSizeBytesHasBeenSet = true; m_storeSizeBytes = value; }
181 inline VariantStoreItem& WithStoreSizeBytes(long long value) { SetStoreSizeBytes(value); return *this;}
183 private:
184
185 Aws::String m_id;
186 bool m_idHasBeenSet = false;
187
188 ReferenceItem m_reference;
189 bool m_referenceHasBeenSet = false;
190
191 StoreStatus m_status;
192 bool m_statusHasBeenSet = false;
193
194 Aws::String m_storeArn;
195 bool m_storeArnHasBeenSet = false;
196
197 Aws::String m_name;
198 bool m_nameHasBeenSet = false;
199
200 Aws::String m_description;
201 bool m_descriptionHasBeenSet = false;
202
203 SseConfig m_sseConfig;
204 bool m_sseConfigHasBeenSet = false;
205
206 Aws::Utils::DateTime m_creationTime;
207 bool m_creationTimeHasBeenSet = false;
208
209 Aws::Utils::DateTime m_updateTime;
210 bool m_updateTimeHasBeenSet = false;
211
212 Aws::String m_statusMessage;
213 bool m_statusMessageHasBeenSet = false;
214
215 long long m_storeSizeBytes;
216 bool m_storeSizeBytesHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace Omics
221} // namespace Aws
void SetStatusMessage(Aws::String &&value)
AWS_OMICS_API VariantStoreItem(Aws::Utils::Json::JsonView jsonValue)
VariantStoreItem & WithStatus(StoreStatus &&value)
VariantStoreItem & WithId(const char *value)
void SetStatus(StoreStatus &&value)
VariantStoreItem & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
VariantStoreItem & WithStoreArn(Aws::String &&value)
void SetReference(ReferenceItem &&value)
void SetId(const Aws::String &value)
const Aws::String & GetId() const
void SetReference(const ReferenceItem &value)
VariantStoreItem & WithDescription(Aws::String &&value)
void SetStatus(const StoreStatus &value)
const Aws::String & GetDescription() const
void SetDescription(const char *value)
VariantStoreItem & WithStoreArn(const char *value)
void SetStatusMessage(const char *value)
VariantStoreItem & WithReference(ReferenceItem &&value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
VariantStoreItem & WithSseConfig(SseConfig &&value)
void SetName(const Aws::String &value)
void SetStoreArn(const char *value)
VariantStoreItem & WithName(Aws::String &&value)
void SetStoreArn(const Aws::String &value)
VariantStoreItem & WithStatusMessage(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetDescription(Aws::String &&value)
void SetStoreArn(Aws::String &&value)
VariantStoreItem & WithId(const Aws::String &value)
const Aws::String & GetStoreArn() const
const StoreStatus & GetStatus() const
const Aws::String & GetName() const
VariantStoreItem & WithUpdateTime(const Aws::Utils::DateTime &value)
VariantStoreItem & WithDescription(const Aws::String &value)
void SetSseConfig(const SseConfig &value)
const Aws::Utils::DateTime & GetUpdateTime() const
const SseConfig & GetSseConfig() const
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetId(Aws::String &&value)
void SetStatusMessage(const Aws::String &value)
void SetName(Aws::String &&value)
VariantStoreItem & WithStatus(const StoreStatus &value)
VariantStoreItem & WithCreationTime(Aws::Utils::DateTime &&value)
const ReferenceItem & GetReference() const
VariantStoreItem & WithName(const Aws::String &value)
AWS_OMICS_API VariantStoreItem & operator=(Aws::Utils::Json::JsonView jsonValue)
VariantStoreItem & WithStatusMessage(const char *value)
VariantStoreItem & WithId(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetDescription(const Aws::String &value)
VariantStoreItem & WithUpdateTime(Aws::Utils::DateTime &&value)
VariantStoreItem & WithReference(const ReferenceItem &value)
const Aws::String & GetStatusMessage() const
VariantStoreItem & WithName(const char *value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
VariantStoreItem & WithStoreSizeBytes(long long value)
VariantStoreItem & WithStoreArn(const Aws::String &value)
VariantStoreItem & WithDescription(const char *value)
VariantStoreItem & WithStatusMessage(Aws::String &&value)
VariantStoreItem & WithSseConfig(const SseConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue