AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ClarifyTextConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ClarifyTextGranularity.h>
9#include <aws/sagemaker/model/ClarifyTextLanguage.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
32 public:
33 AWS_SAGEMAKER_API ClarifyTextConfig() = default;
34 AWS_SAGEMAKER_API ClarifyTextConfig(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
46 inline ClarifyTextLanguage GetLanguage() const { return m_language; }
47 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
48 inline void SetLanguage(ClarifyTextLanguage value) {
49 m_languageHasBeenSet = true;
50 m_language = value;
51 }
53 SetLanguage(value);
54 return *this;
55 }
57
59
65 inline ClarifyTextGranularity GetGranularity() const { return m_granularity; }
66 inline bool GranularityHasBeenSet() const { return m_granularityHasBeenSet; }
68 m_granularityHasBeenSet = true;
69 m_granularity = value;
70 }
72 SetGranularity(value);
73 return *this;
74 }
76 private:
78
80 bool m_languageHasBeenSet = false;
81 bool m_granularityHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace SageMaker
86} // namespace Aws
ClarifyTextLanguage GetLanguage() const
ClarifyTextGranularity GetGranularity() const
ClarifyTextConfig & WithGranularity(ClarifyTextGranularity value)
AWS_SAGEMAKER_API ClarifyTextConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGranularity(ClarifyTextGranularity value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ClarifyTextConfig()=default
AWS_SAGEMAKER_API ClarifyTextConfig(Aws::Utils::Json::JsonView jsonValue)
ClarifyTextConfig & WithLanguage(ClarifyTextLanguage value)
void SetLanguage(ClarifyTextLanguage value)
Aws::Utils::Json::JsonValue JsonValue