AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
47 inline const Aws::String& GetAdapterId() const{ return m_adapterId; }
48 inline void SetAdapterId(const Aws::String& value) { m_adapterId = value; }
49 inline void SetAdapterId(Aws::String&& value) { m_adapterId = std::move(value); }
50 inline void SetAdapterId(const char* value) { m_adapterId.assign(value); }
51 inline GetAdapterVersionResult& WithAdapterId(const Aws::String& value) { SetAdapterId(value); return *this;}
52 inline GetAdapterVersionResult& WithAdapterId(Aws::String&& value) { SetAdapterId(std::move(value)); return *this;}
53 inline GetAdapterVersionResult& WithAdapterId(const char* value) { SetAdapterId(value); return *this;}
55
57
60 inline const Aws::String& GetAdapterVersion() const{ return m_adapterVersion; }
61 inline void SetAdapterVersion(const Aws::String& value) { m_adapterVersion = value; }
62 inline void SetAdapterVersion(Aws::String&& value) { m_adapterVersion = std::move(value); }
63 inline void SetAdapterVersion(const char* value) { m_adapterVersion.assign(value); }
64 inline GetAdapterVersionResult& WithAdapterVersion(const Aws::String& value) { SetAdapterVersion(value); return *this;}
65 inline GetAdapterVersionResult& WithAdapterVersion(Aws::String&& value) { SetAdapterVersion(std::move(value)); return *this;}
66 inline GetAdapterVersionResult& WithAdapterVersion(const char* value) { SetAdapterVersion(value); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
74 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
75 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
77 inline GetAdapterVersionResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
79
81
84 inline const Aws::Vector<FeatureType>& GetFeatureTypes() const{ return m_featureTypes; }
85 inline void SetFeatureTypes(const Aws::Vector<FeatureType>& value) { m_featureTypes = value; }
86 inline void SetFeatureTypes(Aws::Vector<FeatureType>&& value) { m_featureTypes = std::move(value); }
88 inline GetAdapterVersionResult& WithFeatureTypes(Aws::Vector<FeatureType>&& value) { SetFeatureTypes(std::move(value)); return *this;}
89 inline GetAdapterVersionResult& AddFeatureTypes(const FeatureType& value) { m_featureTypes.push_back(value); return *this; }
90 inline GetAdapterVersionResult& AddFeatureTypes(FeatureType&& value) { m_featureTypes.push_back(std::move(value)); return *this; }
92
94
97 inline const AdapterVersionStatus& GetStatus() const{ return m_status; }
98 inline void SetStatus(const AdapterVersionStatus& value) { m_status = value; }
99 inline void SetStatus(AdapterVersionStatus&& value) { m_status = std::move(value); }
100 inline GetAdapterVersionResult& WithStatus(const AdapterVersionStatus& value) { SetStatus(value); return *this;}
101 inline GetAdapterVersionResult& WithStatus(AdapterVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
103
105
108 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
109 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
110 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
111 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
112 inline GetAdapterVersionResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
113 inline GetAdapterVersionResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
114 inline GetAdapterVersionResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
116
118
122 inline const AdapterVersionDatasetConfig& GetDatasetConfig() const{ return m_datasetConfig; }
123 inline void SetDatasetConfig(const AdapterVersionDatasetConfig& value) { m_datasetConfig = value; }
124 inline void SetDatasetConfig(AdapterVersionDatasetConfig&& value) { m_datasetConfig = std::move(value); }
128
130
134 inline const Aws::String& GetKMSKeyId() const{ return m_kMSKeyId; }
135 inline void SetKMSKeyId(const Aws::String& value) { m_kMSKeyId = value; }
136 inline void SetKMSKeyId(Aws::String&& value) { m_kMSKeyId = std::move(value); }
137 inline void SetKMSKeyId(const char* value) { m_kMSKeyId.assign(value); }
138 inline GetAdapterVersionResult& WithKMSKeyId(const Aws::String& value) { SetKMSKeyId(value); return *this;}
139 inline GetAdapterVersionResult& WithKMSKeyId(Aws::String&& value) { SetKMSKeyId(std::move(value)); return *this;}
140 inline GetAdapterVersionResult& WithKMSKeyId(const char* value) { SetKMSKeyId(value); return *this;}
142
144
145 inline const OutputConfig& GetOutputConfig() const{ return m_outputConfig; }
146 inline void SetOutputConfig(const OutputConfig& value) { m_outputConfig = value; }
147 inline void SetOutputConfig(OutputConfig&& value) { m_outputConfig = std::move(value); }
148 inline GetAdapterVersionResult& WithOutputConfig(const OutputConfig& value) { SetOutputConfig(value); return *this;}
149 inline GetAdapterVersionResult& WithOutputConfig(OutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;}
151
153
157 inline const Aws::Vector<AdapterVersionEvaluationMetric>& GetEvaluationMetrics() const{ return m_evaluationMetrics; }
158 inline void SetEvaluationMetrics(const Aws::Vector<AdapterVersionEvaluationMetric>& value) { m_evaluationMetrics = value; }
159 inline void SetEvaluationMetrics(Aws::Vector<AdapterVersionEvaluationMetric>&& value) { m_evaluationMetrics = std::move(value); }
162 inline GetAdapterVersionResult& AddEvaluationMetrics(const AdapterVersionEvaluationMetric& value) { m_evaluationMetrics.push_back(value); return *this; }
163 inline GetAdapterVersionResult& AddEvaluationMetrics(AdapterVersionEvaluationMetric&& value) { m_evaluationMetrics.push_back(std::move(value)); return *this; }
165
167
171 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
172 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
173 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
174 inline GetAdapterVersionResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
175 inline GetAdapterVersionResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
176 inline GetAdapterVersionResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
177 inline GetAdapterVersionResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
178 inline GetAdapterVersionResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
179 inline GetAdapterVersionResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
180 inline GetAdapterVersionResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
181 inline GetAdapterVersionResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
182 inline GetAdapterVersionResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
184
186
187 inline const Aws::String& GetRequestId() const{ return m_requestId; }
188 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
189 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
190 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
191 inline GetAdapterVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
192 inline GetAdapterVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
193 inline GetAdapterVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
195 private:
196
197 Aws::String m_adapterId;
198
199 Aws::String m_adapterVersion;
200
201 Aws::Utils::DateTime m_creationTime;
202
203 Aws::Vector<FeatureType> m_featureTypes;
204
205 AdapterVersionStatus m_status;
206
207 Aws::String m_statusMessage;
208
209 AdapterVersionDatasetConfig m_datasetConfig;
210
211 Aws::String m_kMSKeyId;
212
213 OutputConfig m_outputConfig;
214
216
218
219 Aws::String m_requestId;
220 };
221
222} // namespace Model
223} // namespace Textract
224} // namespace Aws
GetAdapterVersionResult & AddEvaluationMetrics(const AdapterVersionEvaluationMetric &value)
GetAdapterVersionResult & AddTags(const char *key, Aws::String &&value)
void SetDatasetConfig(const AdapterVersionDatasetConfig &value)
const AdapterVersionDatasetConfig & GetDatasetConfig() const
GetAdapterVersionResult & WithOutputConfig(OutputConfig &&value)
GetAdapterVersionResult & WithOutputConfig(const OutputConfig &value)
const Aws::Vector< AdapterVersionEvaluationMetric > & GetEvaluationMetrics() const
GetAdapterVersionResult & WithFeatureTypes(Aws::Vector< FeatureType > &&value)
void SetDatasetConfig(AdapterVersionDatasetConfig &&value)
GetAdapterVersionResult & WithStatusMessage(const Aws::String &value)
GetAdapterVersionResult & WithEvaluationMetrics(Aws::Vector< AdapterVersionEvaluationMetric > &&value)
GetAdapterVersionResult & WithAdapterVersion(Aws::String &&value)
void SetFeatureTypes(Aws::Vector< FeatureType > &&value)
GetAdapterVersionResult & WithStatus(const AdapterVersionStatus &value)
GetAdapterVersionResult & WithCreationTime(const Aws::Utils::DateTime &value)
GetAdapterVersionResult & WithStatusMessage(const char *value)
GetAdapterVersionResult & WithAdapterId(const char *value)
void SetEvaluationMetrics(const Aws::Vector< AdapterVersionEvaluationMetric > &value)
GetAdapterVersionResult & WithCreationTime(Aws::Utils::DateTime &&value)
GetAdapterVersionResult & AddFeatureTypes(FeatureType &&value)
GetAdapterVersionResult & WithEvaluationMetrics(const Aws::Vector< AdapterVersionEvaluationMetric > &value)
GetAdapterVersionResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
GetAdapterVersionResult & WithAdapterId(Aws::String &&value)
GetAdapterVersionResult & AddFeatureTypes(const FeatureType &value)
GetAdapterVersionResult & AddTags(const Aws::String &key, Aws::String &&value)
GetAdapterVersionResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetAdapterVersionResult & WithKMSKeyId(const char *value)
GetAdapterVersionResult & WithAdapterVersion(const Aws::String &value)
void SetFeatureTypes(const Aws::Vector< FeatureType > &value)
GetAdapterVersionResult & WithAdapterId(const Aws::String &value)
void SetStatus(const AdapterVersionStatus &value)
AWS_TEXTRACT_API GetAdapterVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAdapterVersionResult & AddTags(Aws::String &&key, Aws::String &&value)
GetAdapterVersionResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetAdapterVersionResult & WithStatusMessage(Aws::String &&value)
AWS_TEXTRACT_API GetAdapterVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAdapterVersionResult & WithFeatureTypes(const Aws::Vector< FeatureType > &value)
GetAdapterVersionResult & WithDatasetConfig(const AdapterVersionDatasetConfig &value)
GetAdapterVersionResult & WithRequestId(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
GetAdapterVersionResult & AddTags(Aws::String &&key, const Aws::String &value)
GetAdapterVersionResult & WithStatus(AdapterVersionStatus &&value)
GetAdapterVersionResult & WithRequestId(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetAdapterVersionResult & AddTags(Aws::String &&key, const char *value)
GetAdapterVersionResult & WithRequestId(const char *value)
GetAdapterVersionResult & WithKMSKeyId(Aws::String &&value)
GetAdapterVersionResult & AddTags(const char *key, const char *value)
GetAdapterVersionResult & WithDatasetConfig(AdapterVersionDatasetConfig &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetAdapterVersionResult & WithKMSKeyId(const Aws::String &value)
GetAdapterVersionResult & WithAdapterVersion(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const AdapterVersionStatus & GetStatus() const
const Aws::Utils::DateTime & GetCreationTime() const
GetAdapterVersionResult & AddEvaluationMetrics(AdapterVersionEvaluationMetric &&value)
void SetEvaluationMetrics(Aws::Vector< AdapterVersionEvaluationMetric > &&value)
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