AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetVariantImportJobResult.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/core/utils/memory/stl/AWSMap.h>
13#include <aws/omics/model/VariantImportItemDetail.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Omics
29{
30namespace Model
31{
33 {
34 public:
35 AWS_OMICS_API GetVariantImportJobResult() = default;
38
39
41
44 inline const Aws::String& GetId() const { return m_id; }
45 template<typename IdT = Aws::String>
46 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
47 template<typename IdT = Aws::String>
48 GetVariantImportJobResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
56 template<typename DestinationNameT = Aws::String>
57 void SetDestinationName(DestinationNameT&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::forward<DestinationNameT>(value); }
58 template<typename DestinationNameT = Aws::String>
59 GetVariantImportJobResult& WithDestinationName(DestinationNameT&& value) { SetDestinationName(std::forward<DestinationNameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
67 template<typename RoleArnT = Aws::String>
68 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
69 template<typename RoleArnT = Aws::String>
70 GetVariantImportJobResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
72
74
77 inline JobStatus GetStatus() const { return m_status; }
78 inline void SetStatus(JobStatus value) { m_statusHasBeenSet = true; m_status = value; }
79 inline GetVariantImportJobResult& WithStatus(JobStatus value) { SetStatus(value); return *this;}
81
83
86 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
87 template<typename StatusMessageT = Aws::String>
88 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
89 template<typename StatusMessageT = Aws::String>
90 GetVariantImportJobResult& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
98 template<typename CreationTimeT = Aws::Utils::DateTime>
99 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
100 template<typename CreationTimeT = Aws::Utils::DateTime>
101 GetVariantImportJobResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
109 template<typename UpdateTimeT = Aws::Utils::DateTime>
110 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
111 template<typename UpdateTimeT = Aws::Utils::DateTime>
112 GetVariantImportJobResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
120 template<typename CompletionTimeT = Aws::Utils::DateTime>
121 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::forward<CompletionTimeT>(value); }
122 template<typename CompletionTimeT = Aws::Utils::DateTime>
123 GetVariantImportJobResult& WithCompletionTime(CompletionTimeT&& value) { SetCompletionTime(std::forward<CompletionTimeT>(value)); return *this;}
125
127
130 inline const Aws::Vector<VariantImportItemDetail>& GetItems() const { return m_items; }
131 template<typename ItemsT = Aws::Vector<VariantImportItemDetail>>
132 void SetItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items = std::forward<ItemsT>(value); }
133 template<typename ItemsT = Aws::Vector<VariantImportItemDetail>>
134 GetVariantImportJobResult& WithItems(ItemsT&& value) { SetItems(std::forward<ItemsT>(value)); return *this;}
135 template<typename ItemsT = VariantImportItemDetail>
136 GetVariantImportJobResult& AddItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items.emplace_back(std::forward<ItemsT>(value)); return *this; }
138
140
143 inline bool GetRunLeftNormalization() const { return m_runLeftNormalization; }
144 inline void SetRunLeftNormalization(bool value) { m_runLeftNormalizationHasBeenSet = true; m_runLeftNormalization = value; }
147
149
152 inline const Aws::Map<Aws::String, Aws::String>& GetAnnotationFields() const { return m_annotationFields; }
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 GetVariantImportJobResult& WithAnnotationFields(AnnotationFieldsT&& value) { SetAnnotationFields(std::forward<AnnotationFieldsT>(value)); return *this;}
157 template<typename AnnotationFieldsKeyT = Aws::String, typename AnnotationFieldsValueT = Aws::String>
158 GetVariantImportJobResult& AddAnnotationFields(AnnotationFieldsKeyT&& key, AnnotationFieldsValueT&& value) {
159 m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(std::forward<AnnotationFieldsKeyT>(key), std::forward<AnnotationFieldsValueT>(value)); return *this;
160 }
162
164
165 inline const Aws::String& GetRequestId() const { return m_requestId; }
166 template<typename RequestIdT = Aws::String>
167 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
168 template<typename RequestIdT = Aws::String>
169 GetVariantImportJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
171 private:
172
173 Aws::String m_id;
174 bool m_idHasBeenSet = false;
175
176 Aws::String m_destinationName;
177 bool m_destinationNameHasBeenSet = false;
178
179 Aws::String m_roleArn;
180 bool m_roleArnHasBeenSet = false;
181
183 bool m_statusHasBeenSet = false;
184
185 Aws::String m_statusMessage;
186 bool m_statusMessageHasBeenSet = false;
187
188 Aws::Utils::DateTime m_creationTime{};
189 bool m_creationTimeHasBeenSet = false;
190
191 Aws::Utils::DateTime m_updateTime{};
192 bool m_updateTimeHasBeenSet = false;
193
194 Aws::Utils::DateTime m_completionTime{};
195 bool m_completionTimeHasBeenSet = false;
196
198 bool m_itemsHasBeenSet = false;
199
200 bool m_runLeftNormalization{false};
201 bool m_runLeftNormalizationHasBeenSet = false;
202
203 Aws::Map<Aws::String, Aws::String> m_annotationFields;
204 bool m_annotationFieldsHasBeenSet = false;
205
206 Aws::String m_requestId;
207 bool m_requestIdHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace Omics
212} // namespace Aws
GetVariantImportJobResult & WithAnnotationFields(AnnotationFieldsT &&value)
GetVariantImportJobResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< VariantImportItemDetail > & GetItems() const
const Aws::Utils::DateTime & GetCompletionTime() const
GetVariantImportJobResult & WithStatusMessage(StatusMessageT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
GetVariantImportJobResult & WithUpdateTime(UpdateTimeT &&value)
GetVariantImportJobResult & WithId(IdT &&value)
GetVariantImportJobResult & WithCompletionTime(CompletionTimeT &&value)
AWS_OMICS_API GetVariantImportJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetVariantImportJobResult & WithDestinationName(DestinationNameT &&value)
GetVariantImportJobResult & AddItems(ItemsT &&value)
AWS_OMICS_API GetVariantImportJobResult()=default
const Aws::Utils::DateTime & GetCreationTime() const
GetVariantImportJobResult & WithRunLeftNormalization(bool value)
GetVariantImportJobResult & WithCreationTime(CreationTimeT &&value)
GetVariantImportJobResult & AddAnnotationFields(AnnotationFieldsKeyT &&key, AnnotationFieldsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAnnotationFields() const
GetVariantImportJobResult & WithItems(ItemsT &&value)
GetVariantImportJobResult & WithStatus(JobStatus value)
AWS_OMICS_API GetVariantImportJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetVariantImportJobResult & WithRoleArn(RoleArnT &&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