AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EntityRecognitionConfig.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/comprehend/model/EntityTypesListItem.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 Comprehend
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_COMPREHEND_API EntityRecognitionConfig();
39 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<EntityTypesListItem>& GetEntityTypes() const{ return m_entityTypes; }
47 inline bool EntityTypesHasBeenSet() const { return m_entityTypesHasBeenSet; }
48 inline void SetEntityTypes(const Aws::Vector<EntityTypesListItem>& value) { m_entityTypesHasBeenSet = true; m_entityTypes = value; }
49 inline void SetEntityTypes(Aws::Vector<EntityTypesListItem>&& value) { m_entityTypesHasBeenSet = true; m_entityTypes = std::move(value); }
52 inline EntityRecognitionConfig& AddEntityTypes(const EntityTypesListItem& value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(value); return *this; }
53 inline EntityRecognitionConfig& AddEntityTypes(EntityTypesListItem&& value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(std::move(value)); return *this; }
55 private:
56
58 bool m_entityTypesHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Comprehend
63} // namespace Aws
EntityRecognitionConfig & WithEntityTypes(const Aws::Vector< EntityTypesListItem > &value)
void SetEntityTypes(const Aws::Vector< EntityTypesListItem > &value)
AWS_COMPREHEND_API EntityRecognitionConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHEND_API EntityRecognitionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEntityTypes(Aws::Vector< EntityTypesListItem > &&value)
EntityRecognitionConfig & AddEntityTypes(EntityTypesListItem &&value)
EntityRecognitionConfig & AddEntityTypes(const EntityTypesListItem &value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
EntityRecognitionConfig & WithEntityTypes(Aws::Vector< EntityTypesListItem > &&value)
const Aws::Vector< EntityTypesListItem > & GetEntityTypes() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue