AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdapterVersionEvaluationMetric.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/textract/model/EvaluationMetric.h>
9#include <aws/textract/model/FeatureType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Textract
23{
24namespace Model
25{
26
35 {
36 public:
40 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const EvaluationMetric& GetBaseline() const{ return m_baseline; }
48 inline bool BaselineHasBeenSet() const { return m_baselineHasBeenSet; }
49 inline void SetBaseline(const EvaluationMetric& value) { m_baselineHasBeenSet = true; m_baseline = value; }
50 inline void SetBaseline(EvaluationMetric&& value) { m_baselineHasBeenSet = true; m_baseline = std::move(value); }
51 inline AdapterVersionEvaluationMetric& WithBaseline(const EvaluationMetric& value) { SetBaseline(value); return *this;}
52 inline AdapterVersionEvaluationMetric& WithBaseline(EvaluationMetric&& value) { SetBaseline(std::move(value)); return *this;}
54
56
59 inline const EvaluationMetric& GetAdapterVersion() const{ return m_adapterVersion; }
60 inline bool AdapterVersionHasBeenSet() const { return m_adapterVersionHasBeenSet; }
61 inline void SetAdapterVersion(const EvaluationMetric& value) { m_adapterVersionHasBeenSet = true; m_adapterVersion = value; }
62 inline void SetAdapterVersion(EvaluationMetric&& value) { m_adapterVersionHasBeenSet = true; m_adapterVersion = std::move(value); }
64 inline AdapterVersionEvaluationMetric& WithAdapterVersion(EvaluationMetric&& value) { SetAdapterVersion(std::move(value)); return *this;}
66
68
71 inline const FeatureType& GetFeatureType() const{ return m_featureType; }
72 inline bool FeatureTypeHasBeenSet() const { return m_featureTypeHasBeenSet; }
73 inline void SetFeatureType(const FeatureType& value) { m_featureTypeHasBeenSet = true; m_featureType = value; }
74 inline void SetFeatureType(FeatureType&& value) { m_featureTypeHasBeenSet = true; m_featureType = std::move(value); }
75 inline AdapterVersionEvaluationMetric& WithFeatureType(const FeatureType& value) { SetFeatureType(value); return *this;}
76 inline AdapterVersionEvaluationMetric& WithFeatureType(FeatureType&& value) { SetFeatureType(std::move(value)); return *this;}
78 private:
79
80 EvaluationMetric m_baseline;
81 bool m_baselineHasBeenSet = false;
82
83 EvaluationMetric m_adapterVersion;
84 bool m_adapterVersionHasBeenSet = false;
85
86 FeatureType m_featureType;
87 bool m_featureTypeHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Textract
92} // namespace Aws
AdapterVersionEvaluationMetric & WithFeatureType(FeatureType &&value)
AdapterVersionEvaluationMetric & WithFeatureType(const FeatureType &value)
AdapterVersionEvaluationMetric & WithBaseline(const EvaluationMetric &value)
AWS_TEXTRACT_API AdapterVersionEvaluationMetric(Aws::Utils::Json::JsonView jsonValue)
AdapterVersionEvaluationMetric & WithAdapterVersion(EvaluationMetric &&value)
AWS_TEXTRACT_API AdapterVersionEvaluationMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
AdapterVersionEvaluationMetric & WithAdapterVersion(const EvaluationMetric &value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
AdapterVersionEvaluationMetric & WithBaseline(EvaluationMetric &&value)
Aws::Utils::Json::JsonValue JsonValue