AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetAdapterVersionResult.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/textract/model/AdapterVersionStatus.h>
12#include <aws/textract/model/AdapterVersionDatasetConfig.h>
13#include <aws/textract/model/OutputConfig.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/textract/model/FeatureType.h>
16#include <aws/textract/model/AdapterVersionEvaluationMetric.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace Textract
32{
33namespace Model
34{
36 {
37 public:
38 AWS_TEXTRACT_API GetAdapterVersionResult() = default;
41
42
44
47 inline const Aws::String& GetAdapterId() const { return m_adapterId; }
48 template<typename AdapterIdT = Aws::String>
49 void SetAdapterId(AdapterIdT&& value) { m_adapterIdHasBeenSet = true; m_adapterId = std::forward<AdapterIdT>(value); }
50 template<typename AdapterIdT = Aws::String>
51 GetAdapterVersionResult& WithAdapterId(AdapterIdT&& value) { SetAdapterId(std::forward<AdapterIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetAdapterVersion() const { return m_adapterVersion; }
59 template<typename AdapterVersionT = Aws::String>
60 void SetAdapterVersion(AdapterVersionT&& value) { m_adapterVersionHasBeenSet = true; m_adapterVersion = std::forward<AdapterVersionT>(value); }
61 template<typename AdapterVersionT = Aws::String>
62 GetAdapterVersionResult& WithAdapterVersion(AdapterVersionT&& value) { SetAdapterVersion(std::forward<AdapterVersionT>(value)); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
70 template<typename CreationTimeT = Aws::Utils::DateTime>
71 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
72 template<typename CreationTimeT = Aws::Utils::DateTime>
73 GetAdapterVersionResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
75
77
80 inline const Aws::Vector<FeatureType>& GetFeatureTypes() const { return m_featureTypes; }
81 template<typename FeatureTypesT = Aws::Vector<FeatureType>>
82 void SetFeatureTypes(FeatureTypesT&& value) { m_featureTypesHasBeenSet = true; m_featureTypes = std::forward<FeatureTypesT>(value); }
83 template<typename FeatureTypesT = Aws::Vector<FeatureType>>
84 GetAdapterVersionResult& WithFeatureTypes(FeatureTypesT&& value) { SetFeatureTypes(std::forward<FeatureTypesT>(value)); return *this;}
85 inline GetAdapterVersionResult& AddFeatureTypes(FeatureType value) { m_featureTypesHasBeenSet = true; m_featureTypes.push_back(value); return *this; }
87
89
92 inline AdapterVersionStatus GetStatus() const { return m_status; }
93 inline void SetStatus(AdapterVersionStatus value) { m_statusHasBeenSet = true; m_status = value; }
94 inline GetAdapterVersionResult& WithStatus(AdapterVersionStatus value) { SetStatus(value); return *this;}
96
98
101 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
102 template<typename StatusMessageT = Aws::String>
103 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
104 template<typename StatusMessageT = Aws::String>
105 GetAdapterVersionResult& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
107
109
113 inline const AdapterVersionDatasetConfig& GetDatasetConfig() const { return m_datasetConfig; }
114 template<typename DatasetConfigT = AdapterVersionDatasetConfig>
115 void SetDatasetConfig(DatasetConfigT&& value) { m_datasetConfigHasBeenSet = true; m_datasetConfig = std::forward<DatasetConfigT>(value); }
116 template<typename DatasetConfigT = AdapterVersionDatasetConfig>
117 GetAdapterVersionResult& WithDatasetConfig(DatasetConfigT&& value) { SetDatasetConfig(std::forward<DatasetConfigT>(value)); return *this;}
119
121
125 inline const Aws::String& GetKMSKeyId() const { return m_kMSKeyId; }
126 template<typename KMSKeyIdT = Aws::String>
127 void SetKMSKeyId(KMSKeyIdT&& value) { m_kMSKeyIdHasBeenSet = true; m_kMSKeyId = std::forward<KMSKeyIdT>(value); }
128 template<typename KMSKeyIdT = Aws::String>
129 GetAdapterVersionResult& WithKMSKeyId(KMSKeyIdT&& value) { SetKMSKeyId(std::forward<KMSKeyIdT>(value)); return *this;}
131
133
134 inline const OutputConfig& GetOutputConfig() const { return m_outputConfig; }
135 template<typename OutputConfigT = OutputConfig>
136 void SetOutputConfig(OutputConfigT&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::forward<OutputConfigT>(value); }
137 template<typename OutputConfigT = OutputConfig>
138 GetAdapterVersionResult& WithOutputConfig(OutputConfigT&& value) { SetOutputConfig(std::forward<OutputConfigT>(value)); return *this;}
140
142
146 inline const Aws::Vector<AdapterVersionEvaluationMetric>& GetEvaluationMetrics() const { return m_evaluationMetrics; }
147 template<typename EvaluationMetricsT = Aws::Vector<AdapterVersionEvaluationMetric>>
148 void SetEvaluationMetrics(EvaluationMetricsT&& value) { m_evaluationMetricsHasBeenSet = true; m_evaluationMetrics = std::forward<EvaluationMetricsT>(value); }
149 template<typename EvaluationMetricsT = Aws::Vector<AdapterVersionEvaluationMetric>>
150 GetAdapterVersionResult& WithEvaluationMetrics(EvaluationMetricsT&& value) { SetEvaluationMetrics(std::forward<EvaluationMetricsT>(value)); return *this;}
151 template<typename EvaluationMetricsT = AdapterVersionEvaluationMetric>
152 GetAdapterVersionResult& AddEvaluationMetrics(EvaluationMetricsT&& value) { m_evaluationMetricsHasBeenSet = true; m_evaluationMetrics.emplace_back(std::forward<EvaluationMetricsT>(value)); return *this; }
154
156
160 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
161 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
162 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
163 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
164 GetAdapterVersionResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
165 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
166 GetAdapterVersionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
167 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
168 }
170
172
173 inline const Aws::String& GetRequestId() const { return m_requestId; }
174 template<typename RequestIdT = Aws::String>
175 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
176 template<typename RequestIdT = Aws::String>
177 GetAdapterVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
179 private:
180
181 Aws::String m_adapterId;
182 bool m_adapterIdHasBeenSet = false;
183
184 Aws::String m_adapterVersion;
185 bool m_adapterVersionHasBeenSet = false;
186
187 Aws::Utils::DateTime m_creationTime{};
188 bool m_creationTimeHasBeenSet = false;
189
190 Aws::Vector<FeatureType> m_featureTypes;
191 bool m_featureTypesHasBeenSet = false;
192
194 bool m_statusHasBeenSet = false;
195
196 Aws::String m_statusMessage;
197 bool m_statusMessageHasBeenSet = false;
198
199 AdapterVersionDatasetConfig m_datasetConfig;
200 bool m_datasetConfigHasBeenSet = false;
201
202 Aws::String m_kMSKeyId;
203 bool m_kMSKeyIdHasBeenSet = false;
204
205 OutputConfig m_outputConfig;
206 bool m_outputConfigHasBeenSet = false;
207
209 bool m_evaluationMetricsHasBeenSet = false;
210
212 bool m_tagsHasBeenSet = false;
213
214 Aws::String m_requestId;
215 bool m_requestIdHasBeenSet = false;
216 };
217
218} // namespace Model
219} // namespace Textract
220} // namespace Aws
const AdapterVersionDatasetConfig & GetDatasetConfig() const
GetAdapterVersionResult & WithStatus(AdapterVersionStatus value)
const Aws::Vector< AdapterVersionEvaluationMetric > & GetEvaluationMetrics() const
GetAdapterVersionResult & WithEvaluationMetrics(EvaluationMetricsT &&value)
GetAdapterVersionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetAdapterVersionResult & WithTags(TagsT &&value)
GetAdapterVersionResult & WithAdapterId(AdapterIdT &&value)
GetAdapterVersionResult & WithOutputConfig(OutputConfigT &&value)
GetAdapterVersionResult & WithFeatureTypes(FeatureTypesT &&value)
GetAdapterVersionResult & WithRequestId(RequestIdT &&value)
GetAdapterVersionResult & WithDatasetConfig(DatasetConfigT &&value)
GetAdapterVersionResult & WithCreationTime(CreationTimeT &&value)
void SetEvaluationMetrics(EvaluationMetricsT &&value)
GetAdapterVersionResult & AddEvaluationMetrics(EvaluationMetricsT &&value)
AWS_TEXTRACT_API GetAdapterVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAdapterVersionResult & WithStatusMessage(StatusMessageT &&value)
GetAdapterVersionResult & WithKMSKeyId(KMSKeyIdT &&value)
AWS_TEXTRACT_API GetAdapterVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_TEXTRACT_API GetAdapterVersionResult()=default
GetAdapterVersionResult & WithAdapterVersion(AdapterVersionT &&value)
GetAdapterVersionResult & AddFeatureTypes(FeatureType value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::Vector< FeatureType > & GetFeatureTypes() const
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