AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaskConfig.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/LanguageCode.h>
9#include <aws/comprehend/model/DocumentClassificationConfig.h>
10#include <aws/comprehend/model/EntityRecognitionConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Comprehend
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_COMPREHEND_API TaskConfig();
38 AWS_COMPREHEND_API TaskConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_COMPREHEND_API TaskConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
48 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
49 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
50 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
51 inline TaskConfig& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
52 inline TaskConfig& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
54
56
59 inline const DocumentClassificationConfig& GetDocumentClassificationConfig() const{ return m_documentClassificationConfig; }
60 inline bool DocumentClassificationConfigHasBeenSet() const { return m_documentClassificationConfigHasBeenSet; }
61 inline void SetDocumentClassificationConfig(const DocumentClassificationConfig& value) { m_documentClassificationConfigHasBeenSet = true; m_documentClassificationConfig = value; }
62 inline void SetDocumentClassificationConfig(DocumentClassificationConfig&& value) { m_documentClassificationConfigHasBeenSet = true; m_documentClassificationConfig = std::move(value); }
66
68
71 inline const EntityRecognitionConfig& GetEntityRecognitionConfig() const{ return m_entityRecognitionConfig; }
72 inline bool EntityRecognitionConfigHasBeenSet() const { return m_entityRecognitionConfigHasBeenSet; }
73 inline void SetEntityRecognitionConfig(const EntityRecognitionConfig& value) { m_entityRecognitionConfigHasBeenSet = true; m_entityRecognitionConfig = value; }
74 inline void SetEntityRecognitionConfig(EntityRecognitionConfig&& value) { m_entityRecognitionConfigHasBeenSet = true; m_entityRecognitionConfig = std::move(value); }
78 private:
79
80 LanguageCode m_languageCode;
81 bool m_languageCodeHasBeenSet = false;
82
83 DocumentClassificationConfig m_documentClassificationConfig;
84 bool m_documentClassificationConfigHasBeenSet = false;
85
86 EntityRecognitionConfig m_entityRecognitionConfig;
87 bool m_entityRecognitionConfigHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Comprehend
92} // namespace Aws
void SetDocumentClassificationConfig(DocumentClassificationConfig &&value)
Definition TaskConfig.h:62
void SetDocumentClassificationConfig(const DocumentClassificationConfig &value)
Definition TaskConfig.h:61
void SetLanguageCode(LanguageCode &&value)
Definition TaskConfig.h:50
TaskConfig & WithLanguageCode(LanguageCode &&value)
Definition TaskConfig.h:52
AWS_COMPREHEND_API TaskConfig(Aws::Utils::Json::JsonView jsonValue)
const LanguageCode & GetLanguageCode() const
Definition TaskConfig.h:47
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
TaskConfig & WithDocumentClassificationConfig(DocumentClassificationConfig &&value)
Definition TaskConfig.h:64
AWS_COMPREHEND_API TaskConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEntityRecognitionConfig(const EntityRecognitionConfig &value)
Definition TaskConfig.h:73
TaskConfig & WithDocumentClassificationConfig(const DocumentClassificationConfig &value)
Definition TaskConfig.h:63
TaskConfig & WithEntityRecognitionConfig(EntityRecognitionConfig &&value)
Definition TaskConfig.h:76
AWS_COMPREHEND_API TaskConfig()
TaskConfig & WithLanguageCode(const LanguageCode &value)
Definition TaskConfig.h:51
bool EntityRecognitionConfigHasBeenSet() const
Definition TaskConfig.h:72
TaskConfig & WithEntityRecognitionConfig(const EntityRecognitionConfig &value)
Definition TaskConfig.h:75
void SetEntityRecognitionConfig(EntityRecognitionConfig &&value)
Definition TaskConfig.h:74
const DocumentClassificationConfig & GetDocumentClassificationConfig() const
Definition TaskConfig.h:59
void SetLanguageCode(const LanguageCode &value)
Definition TaskConfig.h:49
const EntityRecognitionConfig & GetEntityRecognitionConfig() const
Definition TaskConfig.h:71
bool DocumentClassificationConfigHasBeenSet() const
Definition TaskConfig.h:60
Aws::Utils::Json::JsonValue JsonValue