AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SentimentAnalysisSettings.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexModelsV2
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_LEXMODELSV2_API SentimentAnalysisSettings();
36 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline bool GetDetectSentiment() const{ return m_detectSentiment; }
45 inline bool DetectSentimentHasBeenSet() const { return m_detectSentimentHasBeenSet; }
46 inline void SetDetectSentiment(bool value) { m_detectSentimentHasBeenSet = true; m_detectSentiment = value; }
47 inline SentimentAnalysisSettings& WithDetectSentiment(bool value) { SetDetectSentiment(value); return *this;}
49 private:
50
51 bool m_detectSentiment;
52 bool m_detectSentimentHasBeenSet = false;
53 };
54
55} // namespace Model
56} // namespace LexModelsV2
57} // namespace Aws
SentimentAnalysisSettings & WithDetectSentiment(bool value)
AWS_LEXMODELSV2_API SentimentAnalysisSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API SentimentAnalysisSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue