AWS SDK for C++  1.9.124
AWS SDK for C++
EntityRecognizerMetadataEntityTypesListItem.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Comprehend
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const Aws::String& GetType() const{ return m_type; }
47 
52  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
53 
58  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
59 
64  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 
70  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
71 
76  inline EntityRecognizerMetadataEntityTypesListItem& WithType(const Aws::String& value) { SetType(value); return *this;}
77 
82  inline EntityRecognizerMetadataEntityTypesListItem& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
83 
88  inline EntityRecognizerMetadataEntityTypesListItem& WithType(const char* value) { SetType(value); return *this;}
89 
90 
95  inline const EntityTypesEvaluationMetrics& GetEvaluationMetrics() const{ return m_evaluationMetrics; }
96 
101  inline bool EvaluationMetricsHasBeenSet() const { return m_evaluationMetricsHasBeenSet; }
102 
107  inline void SetEvaluationMetrics(const EntityTypesEvaluationMetrics& value) { m_evaluationMetricsHasBeenSet = true; m_evaluationMetrics = value; }
108 
113  inline void SetEvaluationMetrics(EntityTypesEvaluationMetrics&& value) { m_evaluationMetricsHasBeenSet = true; m_evaluationMetrics = std::move(value); }
114 
119  inline EntityRecognizerMetadataEntityTypesListItem& WithEvaluationMetrics(const EntityTypesEvaluationMetrics& value) { SetEvaluationMetrics(value); return *this;}
120 
125  inline EntityRecognizerMetadataEntityTypesListItem& WithEvaluationMetrics(EntityTypesEvaluationMetrics&& value) { SetEvaluationMetrics(std::move(value)); return *this;}
126 
127 
132  inline int GetNumberOfTrainMentions() const{ return m_numberOfTrainMentions; }
133 
138  inline bool NumberOfTrainMentionsHasBeenSet() const { return m_numberOfTrainMentionsHasBeenSet; }
139 
144  inline void SetNumberOfTrainMentions(int value) { m_numberOfTrainMentionsHasBeenSet = true; m_numberOfTrainMentions = value; }
145 
150  inline EntityRecognizerMetadataEntityTypesListItem& WithNumberOfTrainMentions(int value) { SetNumberOfTrainMentions(value); return *this;}
151 
152  private:
153 
154  Aws::String m_type;
155  bool m_typeHasBeenSet;
156 
157  EntityTypesEvaluationMetrics m_evaluationMetrics;
158  bool m_evaluationMetricsHasBeenSet;
159 
160  int m_numberOfTrainMentions;
161  bool m_numberOfTrainMentionsHasBeenSet;
162  };
163 
164 } // namespace Model
165 } // namespace Comprehend
166 } // namespace Aws
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHEND_API
#define AWS_COMPREHEND_API
Definition: Comprehend_EXPORTS.h:28
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::GetType
const Aws::String & GetType() const
Definition: EntityRecognizerMetadataEntityTypesListItem.h:46
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::EvaluationMetricsHasBeenSet
bool EvaluationMetricsHasBeenSet() const
Definition: EntityRecognizerMetadataEntityTypesListItem.h:101
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::SetEvaluationMetrics
void SetEvaluationMetrics(EntityTypesEvaluationMetrics &&value)
Definition: EntityRecognizerMetadataEntityTypesListItem.h:113
Aws::Comprehend::Model::EntityTypesEvaluationMetrics
Definition: EntityTypesEvaluationMetrics.h:31
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::SetType
void SetType(const char *value)
Definition: EntityRecognizerMetadataEntityTypesListItem.h:70
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::WithType
EntityRecognizerMetadataEntityTypesListItem & WithType(Aws::String &&value)
Definition: EntityRecognizerMetadataEntityTypesListItem.h:82
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::EntityRecognizerMetadataEntityTypesListItem
EntityRecognizerMetadataEntityTypesListItem(Aws::Utils::Json::JsonView jsonValue)
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::SetType
void SetType(Aws::String &&value)
Definition: EntityRecognizerMetadataEntityTypesListItem.h:64
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::WithType
EntityRecognizerMetadataEntityTypesListItem & WithType(const char *value)
Definition: EntityRecognizerMetadataEntityTypesListItem.h:88
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::WithEvaluationMetrics
EntityRecognizerMetadataEntityTypesListItem & WithEvaluationMetrics(const EntityTypesEvaluationMetrics &value)
Definition: EntityRecognizerMetadataEntityTypesListItem.h:119
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::SetType
void SetType(const Aws::String &value)
Definition: EntityRecognizerMetadataEntityTypesListItem.h:58
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: EntityRecognizerMetadataEntityTypesListItem.h:52
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::SetEvaluationMetrics
void SetEvaluationMetrics(const EntityTypesEvaluationMetrics &value)
Definition: EntityRecognizerMetadataEntityTypesListItem.h:107
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::SetNumberOfTrainMentions
void SetNumberOfTrainMentions(int value)
Definition: EntityRecognizerMetadataEntityTypesListItem.h:144
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem
Definition: EntityRecognizerMetadataEntityTypesListItem.h:34
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::WithEvaluationMetrics
EntityRecognizerMetadataEntityTypesListItem & WithEvaluationMetrics(EntityTypesEvaluationMetrics &&value)
Definition: EntityRecognizerMetadataEntityTypesListItem.h:125
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::NumberOfTrainMentionsHasBeenSet
bool NumberOfTrainMentionsHasBeenSet() const
Definition: EntityRecognizerMetadataEntityTypesListItem.h:138
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::GetNumberOfTrainMentions
int GetNumberOfTrainMentions() const
Definition: EntityRecognizerMetadataEntityTypesListItem.h:132
Comprehend_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::WithType
EntityRecognizerMetadataEntityTypesListItem & WithType(const Aws::String &value)
Definition: EntityRecognizerMetadataEntityTypesListItem.h:76
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::GetEvaluationMetrics
const EntityTypesEvaluationMetrics & GetEvaluationMetrics() const
Definition: EntityRecognizerMetadataEntityTypesListItem.h:95
EntityTypesEvaluationMetrics.h
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::operator=
EntityRecognizerMetadataEntityTypesListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::EntityRecognizerMetadataEntityTypesListItem
EntityRecognizerMetadataEntityTypesListItem()
Aws::Comprehend::Model::EntityRecognizerMetadataEntityTypesListItem::WithNumberOfTrainMentions
EntityRecognizerMetadataEntityTypesListItem & WithNumberOfTrainMentions(int value)
Definition: EntityRecognizerMetadataEntityTypesListItem.h:150