AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClarifyTextConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ClarifyTextLanguage.h>
9#include <aws/sagemaker/model/ClarifyTextGranularity.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 SageMaker
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_SAGEMAKER_API ClarifyTextConfig();
39 AWS_SAGEMAKER_API ClarifyTextConfig(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
52 inline const ClarifyTextLanguage& GetLanguage() const{ return m_language; }
53 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
54 inline void SetLanguage(const ClarifyTextLanguage& value) { m_languageHasBeenSet = true; m_language = value; }
55 inline void SetLanguage(ClarifyTextLanguage&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
56 inline ClarifyTextConfig& WithLanguage(const ClarifyTextLanguage& value) { SetLanguage(value); return *this;}
57 inline ClarifyTextConfig& WithLanguage(ClarifyTextLanguage&& value) { SetLanguage(std::move(value)); return *this;}
59
61
67 inline const ClarifyTextGranularity& GetGranularity() const{ return m_granularity; }
68 inline bool GranularityHasBeenSet() const { return m_granularityHasBeenSet; }
69 inline void SetGranularity(const ClarifyTextGranularity& value) { m_granularityHasBeenSet = true; m_granularity = value; }
70 inline void SetGranularity(ClarifyTextGranularity&& value) { m_granularityHasBeenSet = true; m_granularity = std::move(value); }
71 inline ClarifyTextConfig& WithGranularity(const ClarifyTextGranularity& value) { SetGranularity(value); return *this;}
72 inline ClarifyTextConfig& WithGranularity(ClarifyTextGranularity&& value) { SetGranularity(std::move(value)); return *this;}
74 private:
75
76 ClarifyTextLanguage m_language;
77 bool m_languageHasBeenSet = false;
78
79 ClarifyTextGranularity m_granularity;
80 bool m_granularityHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace SageMaker
85} // namespace Aws
ClarifyTextConfig & WithLanguage(ClarifyTextLanguage &&value)
AWS_SAGEMAKER_API ClarifyTextConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLanguage(ClarifyTextLanguage &&value)
void SetLanguage(const ClarifyTextLanguage &value)
const ClarifyTextLanguage & GetLanguage() const
void SetGranularity(ClarifyTextGranularity &&value)
const ClarifyTextGranularity & GetGranularity() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ClarifyTextConfig(Aws::Utils::Json::JsonView jsonValue)
ClarifyTextConfig & WithGranularity(ClarifyTextGranularity &&value)
void SetGranularity(const ClarifyTextGranularity &value)
ClarifyTextConfig & WithGranularity(const ClarifyTextGranularity &value)
ClarifyTextConfig & WithLanguage(const ClarifyTextLanguage &value)
Aws::Utils::Json::JsonValue JsonValue