AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnnotationStoreItem.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/StoreFormat.h>
12#include <aws/omics/model/SseConfig.h>
13#include <aws/core/utils/DateTime.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Omics
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_OMICS_API AnnotationStoreItem();
42 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline AnnotationStoreItem& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline AnnotationStoreItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline AnnotationStoreItem& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const ReferenceItem& GetReference() const{ return m_reference; }
64 inline bool ReferenceHasBeenSet() const { return m_referenceHasBeenSet; }
65 inline void SetReference(const ReferenceItem& value) { m_referenceHasBeenSet = true; m_reference = value; }
66 inline void SetReference(ReferenceItem&& value) { m_referenceHasBeenSet = true; m_reference = std::move(value); }
67 inline AnnotationStoreItem& WithReference(const ReferenceItem& value) { SetReference(value); return *this;}
68 inline AnnotationStoreItem& WithReference(ReferenceItem&& value) { SetReference(std::move(value)); return *this;}
70
72
75 inline const StoreStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const StoreStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(StoreStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
79 inline AnnotationStoreItem& WithStatus(const StoreStatus& value) { SetStatus(value); return *this;}
80 inline AnnotationStoreItem& WithStatus(StoreStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetStoreArn() const{ return m_storeArn; }
88 inline bool StoreArnHasBeenSet() const { return m_storeArnHasBeenSet; }
89 inline void SetStoreArn(const Aws::String& value) { m_storeArnHasBeenSet = true; m_storeArn = value; }
90 inline void SetStoreArn(Aws::String&& value) { m_storeArnHasBeenSet = true; m_storeArn = std::move(value); }
91 inline void SetStoreArn(const char* value) { m_storeArnHasBeenSet = true; m_storeArn.assign(value); }
92 inline AnnotationStoreItem& WithStoreArn(const Aws::String& value) { SetStoreArn(value); return *this;}
93 inline AnnotationStoreItem& WithStoreArn(Aws::String&& value) { SetStoreArn(std::move(value)); return *this;}
94 inline AnnotationStoreItem& WithStoreArn(const char* value) { SetStoreArn(value); return *this;}
96
98
101 inline const Aws::String& GetName() const{ return m_name; }
102 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
103 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
104 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
105 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
106 inline AnnotationStoreItem& WithName(const Aws::String& value) { SetName(value); return *this;}
107 inline AnnotationStoreItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
108 inline AnnotationStoreItem& WithName(const char* value) { SetName(value); return *this;}
110
112
115 inline const StoreFormat& GetStoreFormat() const{ return m_storeFormat; }
116 inline bool StoreFormatHasBeenSet() const { return m_storeFormatHasBeenSet; }
117 inline void SetStoreFormat(const StoreFormat& value) { m_storeFormatHasBeenSet = true; m_storeFormat = value; }
118 inline void SetStoreFormat(StoreFormat&& value) { m_storeFormatHasBeenSet = true; m_storeFormat = std::move(value); }
119 inline AnnotationStoreItem& WithStoreFormat(const StoreFormat& value) { SetStoreFormat(value); return *this;}
120 inline AnnotationStoreItem& WithStoreFormat(StoreFormat&& value) { SetStoreFormat(std::move(value)); return *this;}
122
124
127 inline const Aws::String& GetDescription() const{ return m_description; }
128 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
129 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
130 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
131 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
132 inline AnnotationStoreItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
133 inline AnnotationStoreItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
134 inline AnnotationStoreItem& WithDescription(const char* value) { SetDescription(value); return *this;}
136
138
141 inline const SseConfig& GetSseConfig() const{ return m_sseConfig; }
142 inline bool SseConfigHasBeenSet() const { return m_sseConfigHasBeenSet; }
143 inline void SetSseConfig(const SseConfig& value) { m_sseConfigHasBeenSet = true; m_sseConfig = value; }
144 inline void SetSseConfig(SseConfig&& value) { m_sseConfigHasBeenSet = true; m_sseConfig = std::move(value); }
145 inline AnnotationStoreItem& WithSseConfig(const SseConfig& value) { SetSseConfig(value); return *this;}
146 inline AnnotationStoreItem& WithSseConfig(SseConfig&& value) { SetSseConfig(std::move(value)); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
154 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
155 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
156 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
157 inline AnnotationStoreItem& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
158 inline AnnotationStoreItem& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
160
162
165 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
166 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
167 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
168 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
169 inline AnnotationStoreItem& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
170 inline AnnotationStoreItem& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
172
174
177 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
178 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
179 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
180 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
181 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
182 inline AnnotationStoreItem& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
183 inline AnnotationStoreItem& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
184 inline AnnotationStoreItem& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
186
188
191 inline long long GetStoreSizeBytes() const{ return m_storeSizeBytes; }
192 inline bool StoreSizeBytesHasBeenSet() const { return m_storeSizeBytesHasBeenSet; }
193 inline void SetStoreSizeBytes(long long value) { m_storeSizeBytesHasBeenSet = true; m_storeSizeBytes = value; }
194 inline AnnotationStoreItem& WithStoreSizeBytes(long long value) { SetStoreSizeBytes(value); return *this;}
196 private:
197
198 Aws::String m_id;
199 bool m_idHasBeenSet = false;
200
201 ReferenceItem m_reference;
202 bool m_referenceHasBeenSet = false;
203
204 StoreStatus m_status;
205 bool m_statusHasBeenSet = false;
206
207 Aws::String m_storeArn;
208 bool m_storeArnHasBeenSet = false;
209
210 Aws::String m_name;
211 bool m_nameHasBeenSet = false;
212
213 StoreFormat m_storeFormat;
214 bool m_storeFormatHasBeenSet = false;
215
216 Aws::String m_description;
217 bool m_descriptionHasBeenSet = false;
218
219 SseConfig m_sseConfig;
220 bool m_sseConfigHasBeenSet = false;
221
222 Aws::Utils::DateTime m_creationTime;
223 bool m_creationTimeHasBeenSet = false;
224
225 Aws::Utils::DateTime m_updateTime;
226 bool m_updateTimeHasBeenSet = false;
227
228 Aws::String m_statusMessage;
229 bool m_statusMessageHasBeenSet = false;
230
231 long long m_storeSizeBytes;
232 bool m_storeSizeBytesHasBeenSet = false;
233 };
234
235} // namespace Model
236} // namespace Omics
237} // namespace Aws
AnnotationStoreItem & WithStatusMessage(const Aws::String &value)
AnnotationStoreItem & WithId(Aws::String &&value)
AWS_OMICS_API AnnotationStoreItem(Aws::Utils::Json::JsonView jsonValue)
AnnotationStoreItem & WithStoreSizeBytes(long long value)
AnnotationStoreItem & WithReference(ReferenceItem &&value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStatusMessage() const
void SetDescription(const Aws::String &value)
AnnotationStoreItem & WithId(const Aws::String &value)
AnnotationStoreItem & WithDescription(Aws::String &&value)
const ReferenceItem & GetReference() const
void SetUpdateTime(const Aws::Utils::DateTime &value)
AnnotationStoreItem & WithDescription(const char *value)
void SetStoreFormat(const StoreFormat &value)
AnnotationStoreItem & WithReference(const ReferenceItem &value)
AnnotationStoreItem & WithSseConfig(const SseConfig &value)
AnnotationStoreItem & WithDescription(const Aws::String &value)
AnnotationStoreItem & WithUpdateTime(const Aws::Utils::DateTime &value)
void SetId(const Aws::String &value)
void SetSseConfig(const SseConfig &value)
void SetName(const Aws::String &value)
AnnotationStoreItem & WithName(const Aws::String &value)
AnnotationStoreItem & WithName(Aws::String &&value)
AnnotationStoreItem & WithUpdateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetDescription() const
void SetStatusMessage(const Aws::String &value)
AnnotationStoreItem & WithStatusMessage(Aws::String &&value)
AnnotationStoreItem & WithStoreFormat(StoreFormat &&value)
AnnotationStoreItem & WithStatusMessage(const char *value)
AnnotationStoreItem & WithStoreArn(const Aws::String &value)
AWS_OMICS_API AnnotationStoreItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdateTime() const
AnnotationStoreItem & WithId(const char *value)
void SetReference(const ReferenceItem &value)
AnnotationStoreItem & WithCreationTime(Aws::Utils::DateTime &&value)
AnnotationStoreItem & WithStatus(StoreStatus &&value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetStoreArn() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetStatus(const StoreStatus &value)
AnnotationStoreItem & WithName(const char *value)
AnnotationStoreItem & WithCreationTime(const Aws::Utils::DateTime &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
AnnotationStoreItem & WithStatus(const StoreStatus &value)
void SetReference(ReferenceItem &&value)
AnnotationStoreItem & WithStoreFormat(const StoreFormat &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AnnotationStoreItem & WithStoreArn(Aws::String &&value)
AnnotationStoreItem & WithStoreArn(const char *value)
void SetStoreArn(const Aws::String &value)
const StoreFormat & GetStoreFormat() const
AnnotationStoreItem & WithSseConfig(SseConfig &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue