AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
EntityRecognitionConfig.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/EntityTypesListItem.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Comprehend {
21namespace Model {
22
30 public:
31 AWS_COMPREHEND_API EntityRecognitionConfig() = default;
34 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<EntityTypesListItem>& GetEntityTypes() const { return m_entityTypes; }
41 inline bool EntityTypesHasBeenSet() const { return m_entityTypesHasBeenSet; }
42 template <typename EntityTypesT = Aws::Vector<EntityTypesListItem>>
43 void SetEntityTypes(EntityTypesT&& value) {
44 m_entityTypesHasBeenSet = true;
45 m_entityTypes = std::forward<EntityTypesT>(value);
46 }
47 template <typename EntityTypesT = Aws::Vector<EntityTypesListItem>>
49 SetEntityTypes(std::forward<EntityTypesT>(value));
50 return *this;
51 }
52 template <typename EntityTypesT = EntityTypesListItem>
53 EntityRecognitionConfig& AddEntityTypes(EntityTypesT&& value) {
54 m_entityTypesHasBeenSet = true;
55 m_entityTypes.emplace_back(std::forward<EntityTypesT>(value));
56 return *this;
57 }
59 private:
61 bool m_entityTypesHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace Comprehend
66} // namespace Aws
EntityRecognitionConfig & AddEntityTypes(EntityTypesT &&value)
AWS_COMPREHEND_API EntityRecognitionConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHEND_API EntityRecognitionConfig()=default
AWS_COMPREHEND_API EntityRecognitionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
EntityRecognitionConfig & WithEntityTypes(EntityTypesT &&value)
const Aws::Vector< EntityTypesListItem > & GetEntityTypes() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue