AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
SentimentAnalysisSettings.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace LexModelsV2 {
17namespace Model {
18
26 public:
27 AWS_LEXMODELSV2_API SentimentAnalysisSettings() = default;
30 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline bool GetDetectSentiment() const { return m_detectSentiment; }
38 inline bool DetectSentimentHasBeenSet() const { return m_detectSentimentHasBeenSet; }
39 inline void SetDetectSentiment(bool value) {
40 m_detectSentimentHasBeenSet = true;
41 m_detectSentiment = value;
42 }
44 SetDetectSentiment(value);
45 return *this;
46 }
48 private:
49 bool m_detectSentiment{false};
50 bool m_detectSentimentHasBeenSet = false;
51};
52
53} // namespace Model
54} // namespace LexModelsV2
55} // 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_LEXMODELSV2_API SentimentAnalysisSettings()=default
Aws::Utils::Json::JsonValue JsonValue