AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportReadSetSourceItem.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/model/SourceFiles.h>
9#include <aws/omics/model/FileType.h>
10#include <aws/omics/model/ReadSetImportJobItemStatus.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSMap.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 ImportReadSetSourceItem();
41 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const SourceFiles& GetSourceFiles() const{ return m_sourceFiles; }
49 inline bool SourceFilesHasBeenSet() const { return m_sourceFilesHasBeenSet; }
50 inline void SetSourceFiles(const SourceFiles& value) { m_sourceFilesHasBeenSet = true; m_sourceFiles = value; }
51 inline void SetSourceFiles(SourceFiles&& value) { m_sourceFilesHasBeenSet = true; m_sourceFiles = std::move(value); }
52 inline ImportReadSetSourceItem& WithSourceFiles(const SourceFiles& value) { SetSourceFiles(value); return *this;}
53 inline ImportReadSetSourceItem& WithSourceFiles(SourceFiles&& value) { SetSourceFiles(std::move(value)); return *this;}
55
57
60 inline const FileType& GetSourceFileType() const{ return m_sourceFileType; }
61 inline bool SourceFileTypeHasBeenSet() const { return m_sourceFileTypeHasBeenSet; }
62 inline void SetSourceFileType(const FileType& value) { m_sourceFileTypeHasBeenSet = true; m_sourceFileType = value; }
63 inline void SetSourceFileType(FileType&& value) { m_sourceFileTypeHasBeenSet = true; m_sourceFileType = std::move(value); }
64 inline ImportReadSetSourceItem& WithSourceFileType(const FileType& value) { SetSourceFileType(value); return *this;}
65 inline ImportReadSetSourceItem& WithSourceFileType(FileType&& value) { SetSourceFileType(std::move(value)); return *this;}
67
69
72 inline const ReadSetImportJobItemStatus& GetStatus() const{ return m_status; }
73 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 inline void SetStatus(const ReadSetImportJobItemStatus& value) { m_statusHasBeenSet = true; m_status = value; }
75 inline void SetStatus(ReadSetImportJobItemStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
76 inline ImportReadSetSourceItem& WithStatus(const ReadSetImportJobItemStatus& value) { SetStatus(value); return *this;}
77 inline ImportReadSetSourceItem& WithStatus(ReadSetImportJobItemStatus&& value) { SetStatus(std::move(value)); return *this;}
79
81
84 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
85 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
86 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
87 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
88 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
89 inline ImportReadSetSourceItem& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
90 inline ImportReadSetSourceItem& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
91 inline ImportReadSetSourceItem& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
93
95
98 inline const Aws::String& GetSubjectId() const{ return m_subjectId; }
99 inline bool SubjectIdHasBeenSet() const { return m_subjectIdHasBeenSet; }
100 inline void SetSubjectId(const Aws::String& value) { m_subjectIdHasBeenSet = true; m_subjectId = value; }
101 inline void SetSubjectId(Aws::String&& value) { m_subjectIdHasBeenSet = true; m_subjectId = std::move(value); }
102 inline void SetSubjectId(const char* value) { m_subjectIdHasBeenSet = true; m_subjectId.assign(value); }
103 inline ImportReadSetSourceItem& WithSubjectId(const Aws::String& value) { SetSubjectId(value); return *this;}
104 inline ImportReadSetSourceItem& WithSubjectId(Aws::String&& value) { SetSubjectId(std::move(value)); return *this;}
105 inline ImportReadSetSourceItem& WithSubjectId(const char* value) { SetSubjectId(value); return *this;}
107
109
112 inline const Aws::String& GetSampleId() const{ return m_sampleId; }
113 inline bool SampleIdHasBeenSet() const { return m_sampleIdHasBeenSet; }
114 inline void SetSampleId(const Aws::String& value) { m_sampleIdHasBeenSet = true; m_sampleId = value; }
115 inline void SetSampleId(Aws::String&& value) { m_sampleIdHasBeenSet = true; m_sampleId = std::move(value); }
116 inline void SetSampleId(const char* value) { m_sampleIdHasBeenSet = true; m_sampleId.assign(value); }
117 inline ImportReadSetSourceItem& WithSampleId(const Aws::String& value) { SetSampleId(value); return *this;}
118 inline ImportReadSetSourceItem& WithSampleId(Aws::String&& value) { SetSampleId(std::move(value)); return *this;}
119 inline ImportReadSetSourceItem& WithSampleId(const char* value) { SetSampleId(value); return *this;}
121
123
126 inline const Aws::String& GetGeneratedFrom() const{ return m_generatedFrom; }
127 inline bool GeneratedFromHasBeenSet() const { return m_generatedFromHasBeenSet; }
128 inline void SetGeneratedFrom(const Aws::String& value) { m_generatedFromHasBeenSet = true; m_generatedFrom = value; }
129 inline void SetGeneratedFrom(Aws::String&& value) { m_generatedFromHasBeenSet = true; m_generatedFrom = std::move(value); }
130 inline void SetGeneratedFrom(const char* value) { m_generatedFromHasBeenSet = true; m_generatedFrom.assign(value); }
131 inline ImportReadSetSourceItem& WithGeneratedFrom(const Aws::String& value) { SetGeneratedFrom(value); return *this;}
132 inline ImportReadSetSourceItem& WithGeneratedFrom(Aws::String&& value) { SetGeneratedFrom(std::move(value)); return *this;}
133 inline ImportReadSetSourceItem& WithGeneratedFrom(const char* value) { SetGeneratedFrom(value); return *this;}
135
137
140 inline const Aws::String& GetReferenceArn() const{ return m_referenceArn; }
141 inline bool ReferenceArnHasBeenSet() const { return m_referenceArnHasBeenSet; }
142 inline void SetReferenceArn(const Aws::String& value) { m_referenceArnHasBeenSet = true; m_referenceArn = value; }
143 inline void SetReferenceArn(Aws::String&& value) { m_referenceArnHasBeenSet = true; m_referenceArn = std::move(value); }
144 inline void SetReferenceArn(const char* value) { m_referenceArnHasBeenSet = true; m_referenceArn.assign(value); }
145 inline ImportReadSetSourceItem& WithReferenceArn(const Aws::String& value) { SetReferenceArn(value); return *this;}
146 inline ImportReadSetSourceItem& WithReferenceArn(Aws::String&& value) { SetReferenceArn(std::move(value)); return *this;}
147 inline ImportReadSetSourceItem& WithReferenceArn(const char* value) { SetReferenceArn(value); return *this;}
149
151
154 inline const Aws::String& GetName() const{ return m_name; }
155 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
156 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
157 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
158 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
159 inline ImportReadSetSourceItem& WithName(const Aws::String& value) { SetName(value); return *this;}
160 inline ImportReadSetSourceItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
161 inline ImportReadSetSourceItem& WithName(const char* value) { SetName(value); return *this;}
163
165
168 inline const Aws::String& GetDescription() const{ return m_description; }
169 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
170 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
171 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
172 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
173 inline ImportReadSetSourceItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
174 inline ImportReadSetSourceItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
175 inline ImportReadSetSourceItem& WithDescription(const char* value) { SetDescription(value); return *this;}
177
179
182 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
183 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
184 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
185 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
186 inline ImportReadSetSourceItem& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
187 inline ImportReadSetSourceItem& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
188 inline ImportReadSetSourceItem& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
189 inline ImportReadSetSourceItem& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
190 inline ImportReadSetSourceItem& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
191 inline ImportReadSetSourceItem& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
192 inline ImportReadSetSourceItem& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
193 inline ImportReadSetSourceItem& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
194 inline ImportReadSetSourceItem& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
196
198
201 inline const Aws::String& GetReadSetId() const{ return m_readSetId; }
202 inline bool ReadSetIdHasBeenSet() const { return m_readSetIdHasBeenSet; }
203 inline void SetReadSetId(const Aws::String& value) { m_readSetIdHasBeenSet = true; m_readSetId = value; }
204 inline void SetReadSetId(Aws::String&& value) { m_readSetIdHasBeenSet = true; m_readSetId = std::move(value); }
205 inline void SetReadSetId(const char* value) { m_readSetIdHasBeenSet = true; m_readSetId.assign(value); }
206 inline ImportReadSetSourceItem& WithReadSetId(const Aws::String& value) { SetReadSetId(value); return *this;}
207 inline ImportReadSetSourceItem& WithReadSetId(Aws::String&& value) { SetReadSetId(std::move(value)); return *this;}
208 inline ImportReadSetSourceItem& WithReadSetId(const char* value) { SetReadSetId(value); return *this;}
210 private:
211
212 SourceFiles m_sourceFiles;
213 bool m_sourceFilesHasBeenSet = false;
214
215 FileType m_sourceFileType;
216 bool m_sourceFileTypeHasBeenSet = false;
217
219 bool m_statusHasBeenSet = false;
220
221 Aws::String m_statusMessage;
222 bool m_statusMessageHasBeenSet = false;
223
224 Aws::String m_subjectId;
225 bool m_subjectIdHasBeenSet = false;
226
227 Aws::String m_sampleId;
228 bool m_sampleIdHasBeenSet = false;
229
230 Aws::String m_generatedFrom;
231 bool m_generatedFromHasBeenSet = false;
232
233 Aws::String m_referenceArn;
234 bool m_referenceArnHasBeenSet = false;
235
236 Aws::String m_name;
237 bool m_nameHasBeenSet = false;
238
239 Aws::String m_description;
240 bool m_descriptionHasBeenSet = false;
241
243 bool m_tagsHasBeenSet = false;
244
245 Aws::String m_readSetId;
246 bool m_readSetIdHasBeenSet = false;
247 };
248
249} // namespace Model
250} // namespace Omics
251} // namespace Aws
ImportReadSetSourceItem & WithSourceFiles(const SourceFiles &value)
ImportReadSetSourceItem & WithDescription(const char *value)
ImportReadSetSourceItem & AddTags(const char *key, Aws::String &&value)
ImportReadSetSourceItem & AddTags(Aws::String &&key, Aws::String &&value)
ImportReadSetSourceItem & WithSubjectId(Aws::String &&value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
ImportReadSetSourceItem & WithReadSetId(const char *value)
ImportReadSetSourceItem & WithReadSetId(const Aws::String &value)
AWS_OMICS_API ImportReadSetSourceItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportReadSetSourceItem & WithSourceFileType(const FileType &value)
ImportReadSetSourceItem & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
ImportReadSetSourceItem & WithSampleId(Aws::String &&value)
ImportReadSetSourceItem & AddTags(const Aws::String &key, Aws::String &&value)
ImportReadSetSourceItem & WithStatus(ReadSetImportJobItemStatus &&value)
ImportReadSetSourceItem & WithSourceFileType(FileType &&value)
ImportReadSetSourceItem & WithGeneratedFrom(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_OMICS_API ImportReadSetSourceItem(Aws::Utils::Json::JsonView jsonValue)
ImportReadSetSourceItem & WithName(Aws::String &&value)
ImportReadSetSourceItem & WithSubjectId(const Aws::String &value)
ImportReadSetSourceItem & AddTags(const char *key, const char *value)
ImportReadSetSourceItem & WithDescription(Aws::String &&value)
ImportReadSetSourceItem & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ImportReadSetSourceItem & WithGeneratedFrom(const Aws::String &value)
ImportReadSetSourceItem & WithSampleId(const char *value)
ImportReadSetSourceItem & WithDescription(const Aws::String &value)
void SetStatus(const ReadSetImportJobItemStatus &value)
ImportReadSetSourceItem & WithSubjectId(const char *value)
ImportReadSetSourceItem & WithReferenceArn(const char *value)
ImportReadSetSourceItem & WithStatusMessage(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ImportReadSetSourceItem & AddTags(Aws::String &&key, const char *value)
ImportReadSetSourceItem & WithReferenceArn(Aws::String &&value)
ImportReadSetSourceItem & WithStatusMessage(const Aws::String &value)
const ReadSetImportJobItemStatus & GetStatus() const
ImportReadSetSourceItem & WithGeneratedFrom(Aws::String &&value)
ImportReadSetSourceItem & WithSampleId(const Aws::String &value)
ImportReadSetSourceItem & WithReadSetId(Aws::String &&value)
ImportReadSetSourceItem & WithStatus(const ReadSetImportJobItemStatus &value)
ImportReadSetSourceItem & WithSourceFiles(SourceFiles &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ImportReadSetSourceItem & WithName(const char *value)
ImportReadSetSourceItem & WithStatusMessage(const char *value)
ImportReadSetSourceItem & AddTags(Aws::String &&key, const Aws::String &value)
ImportReadSetSourceItem & WithName(const Aws::String &value)
ImportReadSetSourceItem & AddTags(const Aws::String &key, const Aws::String &value)
ImportReadSetSourceItem & WithReferenceArn(const Aws::String &value)
void SetStatus(ReadSetImportJobItemStatus &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue