AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReadSetListItem.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/ReadSetStatus.h>
10#include <aws/omics/model/FileType.h>
11#include <aws/omics/model/SequenceInformation.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/omics/model/CreationType.h>
14#include <aws/omics/model/ETag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Omics
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_OMICS_API ReadSetListItem();
43 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetId() const{ return m_id; }
51 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
53 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
54 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
55 inline ReadSetListItem& WithId(const Aws::String& value) { SetId(value); return *this;}
56 inline ReadSetListItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
57 inline ReadSetListItem& WithId(const char* value) { SetId(value); return *this;}
59
61
64 inline const Aws::String& GetArn() const{ return m_arn; }
65 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
66 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
67 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
68 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
69 inline ReadSetListItem& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 inline ReadSetListItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
71 inline ReadSetListItem& WithArn(const char* value) { SetArn(value); return *this;}
73
75
78 inline const Aws::String& GetSequenceStoreId() const{ return m_sequenceStoreId; }
79 inline bool SequenceStoreIdHasBeenSet() const { return m_sequenceStoreIdHasBeenSet; }
80 inline void SetSequenceStoreId(const Aws::String& value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId = value; }
81 inline void SetSequenceStoreId(Aws::String&& value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId = std::move(value); }
82 inline void SetSequenceStoreId(const char* value) { m_sequenceStoreIdHasBeenSet = true; m_sequenceStoreId.assign(value); }
83 inline ReadSetListItem& WithSequenceStoreId(const Aws::String& value) { SetSequenceStoreId(value); return *this;}
84 inline ReadSetListItem& WithSequenceStoreId(Aws::String&& value) { SetSequenceStoreId(std::move(value)); return *this;}
85 inline ReadSetListItem& WithSequenceStoreId(const char* value) { SetSequenceStoreId(value); return *this;}
87
89
92 inline const Aws::String& GetSubjectId() const{ return m_subjectId; }
93 inline bool SubjectIdHasBeenSet() const { return m_subjectIdHasBeenSet; }
94 inline void SetSubjectId(const Aws::String& value) { m_subjectIdHasBeenSet = true; m_subjectId = value; }
95 inline void SetSubjectId(Aws::String&& value) { m_subjectIdHasBeenSet = true; m_subjectId = std::move(value); }
96 inline void SetSubjectId(const char* value) { m_subjectIdHasBeenSet = true; m_subjectId.assign(value); }
97 inline ReadSetListItem& WithSubjectId(const Aws::String& value) { SetSubjectId(value); return *this;}
98 inline ReadSetListItem& WithSubjectId(Aws::String&& value) { SetSubjectId(std::move(value)); return *this;}
99 inline ReadSetListItem& WithSubjectId(const char* value) { SetSubjectId(value); return *this;}
101
103
106 inline const Aws::String& GetSampleId() const{ return m_sampleId; }
107 inline bool SampleIdHasBeenSet() const { return m_sampleIdHasBeenSet; }
108 inline void SetSampleId(const Aws::String& value) { m_sampleIdHasBeenSet = true; m_sampleId = value; }
109 inline void SetSampleId(Aws::String&& value) { m_sampleIdHasBeenSet = true; m_sampleId = std::move(value); }
110 inline void SetSampleId(const char* value) { m_sampleIdHasBeenSet = true; m_sampleId.assign(value); }
111 inline ReadSetListItem& WithSampleId(const Aws::String& value) { SetSampleId(value); return *this;}
112 inline ReadSetListItem& WithSampleId(Aws::String&& value) { SetSampleId(std::move(value)); return *this;}
113 inline ReadSetListItem& WithSampleId(const char* value) { SetSampleId(value); return *this;}
115
117
120 inline const ReadSetStatus& GetStatus() const{ return m_status; }
121 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
122 inline void SetStatus(const ReadSetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
123 inline void SetStatus(ReadSetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
124 inline ReadSetListItem& WithStatus(const ReadSetStatus& value) { SetStatus(value); return *this;}
125 inline ReadSetListItem& WithStatus(ReadSetStatus&& value) { SetStatus(std::move(value)); return *this;}
127
129
132 inline const Aws::String& GetName() const{ return m_name; }
133 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
134 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
135 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
136 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
137 inline ReadSetListItem& WithName(const Aws::String& value) { SetName(value); return *this;}
138 inline ReadSetListItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
139 inline ReadSetListItem& WithName(const char* value) { SetName(value); return *this;}
141
143
146 inline const Aws::String& GetDescription() const{ return m_description; }
147 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
148 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
149 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
150 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
151 inline ReadSetListItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
152 inline ReadSetListItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
153 inline ReadSetListItem& WithDescription(const char* value) { SetDescription(value); return *this;}
155
157
160 inline const Aws::String& GetReferenceArn() const{ return m_referenceArn; }
161 inline bool ReferenceArnHasBeenSet() const { return m_referenceArnHasBeenSet; }
162 inline void SetReferenceArn(const Aws::String& value) { m_referenceArnHasBeenSet = true; m_referenceArn = value; }
163 inline void SetReferenceArn(Aws::String&& value) { m_referenceArnHasBeenSet = true; m_referenceArn = std::move(value); }
164 inline void SetReferenceArn(const char* value) { m_referenceArnHasBeenSet = true; m_referenceArn.assign(value); }
165 inline ReadSetListItem& WithReferenceArn(const Aws::String& value) { SetReferenceArn(value); return *this;}
166 inline ReadSetListItem& WithReferenceArn(Aws::String&& value) { SetReferenceArn(std::move(value)); return *this;}
167 inline ReadSetListItem& WithReferenceArn(const char* value) { SetReferenceArn(value); return *this;}
169
171
174 inline const FileType& GetFileType() const{ return m_fileType; }
175 inline bool FileTypeHasBeenSet() const { return m_fileTypeHasBeenSet; }
176 inline void SetFileType(const FileType& value) { m_fileTypeHasBeenSet = true; m_fileType = value; }
177 inline void SetFileType(FileType&& value) { m_fileTypeHasBeenSet = true; m_fileType = std::move(value); }
178 inline ReadSetListItem& WithFileType(const FileType& value) { SetFileType(value); return *this;}
179 inline ReadSetListItem& WithFileType(FileType&& value) { SetFileType(std::move(value)); return *this;}
181
183
184 inline const SequenceInformation& GetSequenceInformation() const{ return m_sequenceInformation; }
185 inline bool SequenceInformationHasBeenSet() const { return m_sequenceInformationHasBeenSet; }
186 inline void SetSequenceInformation(const SequenceInformation& value) { m_sequenceInformationHasBeenSet = true; m_sequenceInformation = value; }
187 inline void SetSequenceInformation(SequenceInformation&& value) { m_sequenceInformationHasBeenSet = true; m_sequenceInformation = std::move(value); }
189 inline ReadSetListItem& WithSequenceInformation(SequenceInformation&& value) { SetSequenceInformation(std::move(value)); return *this;}
191
193
196 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
197 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
198 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
199 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
200 inline ReadSetListItem& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
201 inline ReadSetListItem& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
203
205
209 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
210 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
211 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
212 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
213 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
214 inline ReadSetListItem& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
215 inline ReadSetListItem& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
216 inline ReadSetListItem& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
218
220
223 inline const CreationType& GetCreationType() const{ return m_creationType; }
224 inline bool CreationTypeHasBeenSet() const { return m_creationTypeHasBeenSet; }
225 inline void SetCreationType(const CreationType& value) { m_creationTypeHasBeenSet = true; m_creationType = value; }
226 inline void SetCreationType(CreationType&& value) { m_creationTypeHasBeenSet = true; m_creationType = std::move(value); }
227 inline ReadSetListItem& WithCreationType(const CreationType& value) { SetCreationType(value); return *this;}
228 inline ReadSetListItem& WithCreationType(CreationType&& value) { SetCreationType(std::move(value)); return *this;}
230
232
236 inline const ETag& GetEtag() const{ return m_etag; }
237 inline bool EtagHasBeenSet() const { return m_etagHasBeenSet; }
238 inline void SetEtag(const ETag& value) { m_etagHasBeenSet = true; m_etag = value; }
239 inline void SetEtag(ETag&& value) { m_etagHasBeenSet = true; m_etag = std::move(value); }
240 inline ReadSetListItem& WithEtag(const ETag& value) { SetEtag(value); return *this;}
241 inline ReadSetListItem& WithEtag(ETag&& value) { SetEtag(std::move(value)); return *this;}
243 private:
244
245 Aws::String m_id;
246 bool m_idHasBeenSet = false;
247
248 Aws::String m_arn;
249 bool m_arnHasBeenSet = false;
250
251 Aws::String m_sequenceStoreId;
252 bool m_sequenceStoreIdHasBeenSet = false;
253
254 Aws::String m_subjectId;
255 bool m_subjectIdHasBeenSet = false;
256
257 Aws::String m_sampleId;
258 bool m_sampleIdHasBeenSet = false;
259
260 ReadSetStatus m_status;
261 bool m_statusHasBeenSet = false;
262
263 Aws::String m_name;
264 bool m_nameHasBeenSet = false;
265
266 Aws::String m_description;
267 bool m_descriptionHasBeenSet = false;
268
269 Aws::String m_referenceArn;
270 bool m_referenceArnHasBeenSet = false;
271
272 FileType m_fileType;
273 bool m_fileTypeHasBeenSet = false;
274
275 SequenceInformation m_sequenceInformation;
276 bool m_sequenceInformationHasBeenSet = false;
277
278 Aws::Utils::DateTime m_creationTime;
279 bool m_creationTimeHasBeenSet = false;
280
281 Aws::String m_statusMessage;
282 bool m_statusMessageHasBeenSet = false;
283
284 CreationType m_creationType;
285 bool m_creationTypeHasBeenSet = false;
286
287 ETag m_etag;
288 bool m_etagHasBeenSet = false;
289 };
290
291} // namespace Model
292} // namespace Omics
293} // namespace Aws
AWS_OMICS_API ReadSetListItem(Aws::Utils::Json::JsonView jsonValue)
void SetCreationType(CreationType &&value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
ReadSetListItem & WithCreationTime(const Aws::Utils::DateTime &value)
void SetReferenceArn(Aws::String &&value)
ReadSetListItem & WithReferenceArn(Aws::String &&value)
ReadSetListItem & WithSampleId(const char *value)
void SetSampleId(const Aws::String &value)
const SequenceInformation & GetSequenceInformation() const
ReadSetListItem & WithSubjectId(const Aws::String &value)
void SetSequenceInformation(SequenceInformation &&value)
ReadSetListItem & WithStatusMessage(const char *value)
const Aws::String & GetStatusMessage() const
const ReadSetStatus & GetStatus() const
ReadSetListItem & WithEtag(ETag &&value)
void SetReferenceArn(const char *value)
ReadSetListItem & WithFileType(FileType &&value)
void SetStatus(const ReadSetStatus &value)
void SetSequenceStoreId(const Aws::String &value)
void SetDescription(const char *value)
void SetStatus(ReadSetStatus &&value)
ReadSetListItem & WithSampleId(const Aws::String &value)
ReadSetListItem & WithSampleId(Aws::String &&value)
const Aws::String & GetReferenceArn() const
void SetDescription(const Aws::String &value)
ReadSetListItem & WithSequenceStoreId(Aws::String &&value)
ReadSetListItem & WithId(const char *value)
ReadSetListItem & WithCreationType(CreationType &&value)
void SetSequenceInformation(const SequenceInformation &value)
ReadSetListItem & WithName(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ReadSetListItem & WithArn(Aws::String &&value)
void SetFileType(const FileType &value)
void SetSampleId(Aws::String &&value)
ReadSetListItem & WithSequenceStoreId(const Aws::String &value)
ReadSetListItem & WithCreationTime(Aws::Utils::DateTime &&value)
void SetArn(Aws::String &&value)
ReadSetListItem & WithArn(const Aws::String &value)
ReadSetListItem & WithStatusMessage(Aws::String &&value)
void SetId(const Aws::String &value)
ReadSetListItem & WithCreationType(const CreationType &value)
const Aws::String & GetSampleId() const
ReadSetListItem & WithDescription(Aws::String &&value)
ReadSetListItem & WithSequenceStoreId(const char *value)
void SetDescription(Aws::String &&value)
void SetName(const Aws::String &value)
ReadSetListItem & WithSequenceInformation(const SequenceInformation &value)
void SetSequenceStoreId(Aws::String &&value)
AWS_OMICS_API ReadSetListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubjectId(const char *value)
void SetName(Aws::String &&value)
const Aws::String & GetName() const
ReadSetListItem & WithStatus(ReadSetStatus &&value)
void SetSequenceStoreId(const char *value)
ReadSetListItem & WithSubjectId(Aws::String &&value)
ReadSetListItem & WithArn(const char *value)
const CreationType & GetCreationType() const
const Aws::String & GetId() const
ReadSetListItem & WithName(const Aws::String &value)
void SetStatusMessage(Aws::String &&value)
ReadSetListItem & WithId(const Aws::String &value)
ReadSetListItem & WithStatusMessage(const Aws::String &value)
ReadSetListItem & WithStatus(const ReadSetStatus &value)
void SetId(Aws::String &&value)
ReadSetListItem & WithSubjectId(const char *value)
void SetStatusMessage(const char *value)
ReadSetListItem & WithId(Aws::String &&value)
ReadSetListItem & WithDescription(const Aws::String &value)
void SetStatusMessage(const Aws::String &value)
ReadSetListItem & WithSequenceInformation(SequenceInformation &&value)
const Aws::String & GetArn() const
void SetCreationType(const CreationType &value)
ReadSetListItem & WithFileType(const FileType &value)
ReadSetListItem & WithName(Aws::String &&value)
void SetArn(const Aws::String &value)
ReadSetListItem & WithDescription(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
ReadSetListItem & WithReferenceArn(const char *value)
const Aws::String & GetSubjectId() const
void SetSubjectId(const Aws::String &value)
const Aws::String & GetSequenceStoreId() const
void SetSubjectId(Aws::String &&value)
void SetReferenceArn(const Aws::String &value)
ReadSetListItem & WithEtag(const ETag &value)
const FileType & GetFileType() const
void SetSampleId(const char *value)
ReadSetListItem & WithReferenceArn(const Aws::String &value)
const Aws::String & GetDescription() const
void SetCreationTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue