AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetAnnotationImportJobResult.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/AWSVector.h>
12#include <aws/omics/model/FormatOptions.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/omics/model/AnnotationImportItemDetail.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace Omics
30{
31namespace Model
32{
34 {
35 public:
36 AWS_OMICS_API GetAnnotationImportJobResult() = default;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 template<typename IdT = Aws::String>
47 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
48 template<typename IdT = Aws::String>
49 GetAnnotationImportJobResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
57 template<typename DestinationNameT = Aws::String>
58 void SetDestinationName(DestinationNameT&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::forward<DestinationNameT>(value); }
59 template<typename DestinationNameT = Aws::String>
60 GetAnnotationImportJobResult& WithDestinationName(DestinationNameT&& value) { SetDestinationName(std::forward<DestinationNameT>(value)); return *this;}
62
64
67 inline const Aws::String& GetVersionName() const { return m_versionName; }
68 template<typename VersionNameT = Aws::String>
69 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
70 template<typename VersionNameT = Aws::String>
71 GetAnnotationImportJobResult& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
73
75
78 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
79 template<typename RoleArnT = Aws::String>
80 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
81 template<typename RoleArnT = Aws::String>
82 GetAnnotationImportJobResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
84
86
89 inline JobStatus GetStatus() const { return m_status; }
90 inline void SetStatus(JobStatus value) { m_statusHasBeenSet = true; m_status = value; }
91 inline GetAnnotationImportJobResult& WithStatus(JobStatus value) { SetStatus(value); return *this;}
93
95
98 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
99 template<typename StatusMessageT = Aws::String>
100 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
101 template<typename StatusMessageT = Aws::String>
102 GetAnnotationImportJobResult& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
110 template<typename CreationTimeT = Aws::Utils::DateTime>
111 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
112 template<typename CreationTimeT = Aws::Utils::DateTime>
113 GetAnnotationImportJobResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
115
117
120 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
121 template<typename UpdateTimeT = Aws::Utils::DateTime>
122 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
123 template<typename UpdateTimeT = Aws::Utils::DateTime>
124 GetAnnotationImportJobResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
132 template<typename CompletionTimeT = Aws::Utils::DateTime>
133 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::forward<CompletionTimeT>(value); }
134 template<typename CompletionTimeT = Aws::Utils::DateTime>
135 GetAnnotationImportJobResult& WithCompletionTime(CompletionTimeT&& value) { SetCompletionTime(std::forward<CompletionTimeT>(value)); return *this;}
137
139
142 inline const Aws::Vector<AnnotationImportItemDetail>& GetItems() const { return m_items; }
143 template<typename ItemsT = Aws::Vector<AnnotationImportItemDetail>>
144 void SetItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items = std::forward<ItemsT>(value); }
145 template<typename ItemsT = Aws::Vector<AnnotationImportItemDetail>>
146 GetAnnotationImportJobResult& WithItems(ItemsT&& value) { SetItems(std::forward<ItemsT>(value)); return *this;}
147 template<typename ItemsT = AnnotationImportItemDetail>
148 GetAnnotationImportJobResult& AddItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items.emplace_back(std::forward<ItemsT>(value)); return *this; }
150
152
155 inline bool GetRunLeftNormalization() const { return m_runLeftNormalization; }
156 inline void SetRunLeftNormalization(bool value) { m_runLeftNormalizationHasBeenSet = true; m_runLeftNormalization = value; }
159
161
162 inline const FormatOptions& GetFormatOptions() const { return m_formatOptions; }
163 template<typename FormatOptionsT = FormatOptions>
164 void SetFormatOptions(FormatOptionsT&& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = std::forward<FormatOptionsT>(value); }
165 template<typename FormatOptionsT = FormatOptions>
166 GetAnnotationImportJobResult& WithFormatOptions(FormatOptionsT&& value) { SetFormatOptions(std::forward<FormatOptionsT>(value)); return *this;}
168
170
173 inline const Aws::Map<Aws::String, Aws::String>& GetAnnotationFields() const { return m_annotationFields; }
174 template<typename AnnotationFieldsT = Aws::Map<Aws::String, Aws::String>>
175 void SetAnnotationFields(AnnotationFieldsT&& value) { m_annotationFieldsHasBeenSet = true; m_annotationFields = std::forward<AnnotationFieldsT>(value); }
176 template<typename AnnotationFieldsT = Aws::Map<Aws::String, Aws::String>>
177 GetAnnotationImportJobResult& WithAnnotationFields(AnnotationFieldsT&& value) { SetAnnotationFields(std::forward<AnnotationFieldsT>(value)); return *this;}
178 template<typename AnnotationFieldsKeyT = Aws::String, typename AnnotationFieldsValueT = Aws::String>
179 GetAnnotationImportJobResult& AddAnnotationFields(AnnotationFieldsKeyT&& key, AnnotationFieldsValueT&& value) {
180 m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(std::forward<AnnotationFieldsKeyT>(key), std::forward<AnnotationFieldsValueT>(value)); return *this;
181 }
183
185
186 inline const Aws::String& GetRequestId() const { return m_requestId; }
187 template<typename RequestIdT = Aws::String>
188 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
189 template<typename RequestIdT = Aws::String>
190 GetAnnotationImportJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
192 private:
193
194 Aws::String m_id;
195 bool m_idHasBeenSet = false;
196
197 Aws::String m_destinationName;
198 bool m_destinationNameHasBeenSet = false;
199
200 Aws::String m_versionName;
201 bool m_versionNameHasBeenSet = false;
202
203 Aws::String m_roleArn;
204 bool m_roleArnHasBeenSet = false;
205
207 bool m_statusHasBeenSet = false;
208
209 Aws::String m_statusMessage;
210 bool m_statusMessageHasBeenSet = false;
211
212 Aws::Utils::DateTime m_creationTime{};
213 bool m_creationTimeHasBeenSet = false;
214
215 Aws::Utils::DateTime m_updateTime{};
216 bool m_updateTimeHasBeenSet = false;
217
218 Aws::Utils::DateTime m_completionTime{};
219 bool m_completionTimeHasBeenSet = false;
220
222 bool m_itemsHasBeenSet = false;
223
224 bool m_runLeftNormalization{false};
225 bool m_runLeftNormalizationHasBeenSet = false;
226
227 FormatOptions m_formatOptions;
228 bool m_formatOptionsHasBeenSet = false;
229
230 Aws::Map<Aws::String, Aws::String> m_annotationFields;
231 bool m_annotationFieldsHasBeenSet = false;
232
233 Aws::String m_requestId;
234 bool m_requestIdHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace Omics
239} // namespace Aws
GetAnnotationImportJobResult & WithRunLeftNormalization(bool value)
GetAnnotationImportJobResult & WithAnnotationFields(AnnotationFieldsT &&value)
GetAnnotationImportJobResult & AddItems(ItemsT &&value)
AWS_OMICS_API GetAnnotationImportJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OMICS_API GetAnnotationImportJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAnnotationImportJobResult & AddAnnotationFields(AnnotationFieldsKeyT &&key, AnnotationFieldsValueT &&value)
GetAnnotationImportJobResult & WithDestinationName(DestinationNameT &&value)
GetAnnotationImportJobResult & WithCompletionTime(CompletionTimeT &&value)
GetAnnotationImportJobResult & WithStatusMessage(StatusMessageT &&value)
GetAnnotationImportJobResult & WithRoleArn(RoleArnT &&value)
GetAnnotationImportJobResult & WithStatus(JobStatus value)
GetAnnotationImportJobResult & WithUpdateTime(UpdateTimeT &&value)
GetAnnotationImportJobResult & WithItems(ItemsT &&value)
AWS_OMICS_API GetAnnotationImportJobResult()=default
const Aws::Map< Aws::String, Aws::String > & GetAnnotationFields() const
GetAnnotationImportJobResult & WithRequestId(RequestIdT &&value)
GetAnnotationImportJobResult & WithVersionName(VersionNameT &&value)
const Aws::Vector< AnnotationImportItemDetail > & GetItems() const
GetAnnotationImportJobResult & WithCreationTime(CreationTimeT &&value)
GetAnnotationImportJobResult & WithId(IdT &&value)
GetAnnotationImportJobResult & WithFormatOptions(FormatOptionsT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue