AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AnnotationImportJobItem.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/JobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Omics
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_OMICS_API AnnotationImportJobItem() = default;
40 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const { return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 AnnotationImportJobItem& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
60 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
61 template<typename DestinationNameT = Aws::String>
62 void SetDestinationName(DestinationNameT&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::forward<DestinationNameT>(value); }
63 template<typename DestinationNameT = Aws::String>
64 AnnotationImportJobItem& WithDestinationName(DestinationNameT&& value) { SetDestinationName(std::forward<DestinationNameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetVersionName() const { return m_versionName; }
72 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
73 template<typename VersionNameT = Aws::String>
74 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
75 template<typename VersionNameT = Aws::String>
76 AnnotationImportJobItem& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
78
80
83 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
84 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
85 template<typename RoleArnT = Aws::String>
86 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
87 template<typename RoleArnT = Aws::String>
88 AnnotationImportJobItem& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
90
92
95 inline JobStatus GetStatus() const { return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(JobStatus value) { m_statusHasBeenSet = true; m_status = value; }
98 inline AnnotationImportJobItem& WithStatus(JobStatus value) { SetStatus(value); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
106 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
107 template<typename CreationTimeT = Aws::Utils::DateTime>
108 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
109 template<typename CreationTimeT = Aws::Utils::DateTime>
110 AnnotationImportJobItem& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
118 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
119 template<typename UpdateTimeT = Aws::Utils::DateTime>
120 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
121 template<typename UpdateTimeT = Aws::Utils::DateTime>
122 AnnotationImportJobItem& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
130 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
131 template<typename CompletionTimeT = Aws::Utils::DateTime>
132 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::forward<CompletionTimeT>(value); }
133 template<typename CompletionTimeT = Aws::Utils::DateTime>
134 AnnotationImportJobItem& WithCompletionTime(CompletionTimeT&& value) { SetCompletionTime(std::forward<CompletionTimeT>(value)); return *this;}
136
138
141 inline bool GetRunLeftNormalization() const { return m_runLeftNormalization; }
142 inline bool RunLeftNormalizationHasBeenSet() const { return m_runLeftNormalizationHasBeenSet; }
143 inline void SetRunLeftNormalization(bool value) { m_runLeftNormalizationHasBeenSet = true; m_runLeftNormalization = value; }
146
148
151 inline const Aws::Map<Aws::String, Aws::String>& GetAnnotationFields() const { return m_annotationFields; }
152 inline bool AnnotationFieldsHasBeenSet() const { return m_annotationFieldsHasBeenSet; }
153 template<typename AnnotationFieldsT = Aws::Map<Aws::String, Aws::String>>
154 void SetAnnotationFields(AnnotationFieldsT&& value) { m_annotationFieldsHasBeenSet = true; m_annotationFields = std::forward<AnnotationFieldsT>(value); }
155 template<typename AnnotationFieldsT = Aws::Map<Aws::String, Aws::String>>
156 AnnotationImportJobItem& WithAnnotationFields(AnnotationFieldsT&& value) { SetAnnotationFields(std::forward<AnnotationFieldsT>(value)); return *this;}
157 template<typename AnnotationFieldsKeyT = Aws::String, typename AnnotationFieldsValueT = Aws::String>
158 AnnotationImportJobItem& AddAnnotationFields(AnnotationFieldsKeyT&& key, AnnotationFieldsValueT&& value) {
159 m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(std::forward<AnnotationFieldsKeyT>(key), std::forward<AnnotationFieldsValueT>(value)); return *this;
160 }
162 private:
163
164 Aws::String m_id;
165 bool m_idHasBeenSet = false;
166
167 Aws::String m_destinationName;
168 bool m_destinationNameHasBeenSet = false;
169
170 Aws::String m_versionName;
171 bool m_versionNameHasBeenSet = false;
172
173 Aws::String m_roleArn;
174 bool m_roleArnHasBeenSet = false;
175
177 bool m_statusHasBeenSet = false;
178
179 Aws::Utils::DateTime m_creationTime{};
180 bool m_creationTimeHasBeenSet = false;
181
182 Aws::Utils::DateTime m_updateTime{};
183 bool m_updateTimeHasBeenSet = false;
184
185 Aws::Utils::DateTime m_completionTime{};
186 bool m_completionTimeHasBeenSet = false;
187
188 bool m_runLeftNormalization{false};
189 bool m_runLeftNormalizationHasBeenSet = false;
190
191 Aws::Map<Aws::String, Aws::String> m_annotationFields;
192 bool m_annotationFieldsHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace Omics
197} // namespace Aws
AnnotationImportJobItem & WithDestinationName(DestinationNameT &&value)
AnnotationImportJobItem & WithAnnotationFields(AnnotationFieldsT &&value)
AWS_OMICS_API AnnotationImportJobItem()=default
void SetDestinationName(DestinationNameT &&value)
AWS_OMICS_API AnnotationImportJobItem(Aws::Utils::Json::JsonView jsonValue)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAnnotationFields(AnnotationFieldsT &&value)
const Aws::Utils::DateTime & GetCompletionTime() const
AnnotationImportJobItem & WithUpdateTime(UpdateTimeT &&value)
AnnotationImportJobItem & WithCreationTime(CreationTimeT &&value)
AnnotationImportJobItem & WithId(IdT &&value)
AnnotationImportJobItem & WithCompletionTime(CompletionTimeT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
AnnotationImportJobItem & WithRunLeftNormalization(bool value)
AnnotationImportJobItem & WithStatus(JobStatus value)
const Aws::Map< Aws::String, Aws::String > & GetAnnotationFields() const
const Aws::Utils::DateTime & GetCreationTime() const
AnnotationImportJobItem & WithVersionName(VersionNameT &&value)
AnnotationImportJobItem & WithRoleArn(RoleArnT &&value)
AWS_OMICS_API AnnotationImportJobItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AnnotationImportJobItem & AddAnnotationFields(AnnotationFieldsKeyT &&key, AnnotationFieldsValueT &&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