/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Determines whether Amazon Lex will use Amazon Comprehend to detect the
* sentiment of user utterances.See Also:
AWS
* API Reference
Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of * user utterances.
*/ inline bool GetDetectSentiment() const{ return m_detectSentiment; } /** *Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of * user utterances.
*/ inline bool DetectSentimentHasBeenSet() const { return m_detectSentimentHasBeenSet; } /** *Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of * user utterances.
*/ inline void SetDetectSentiment(bool value) { m_detectSentimentHasBeenSet = true; m_detectSentiment = value; } /** *Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of * user utterances.
*/ inline SentimentAnalysisSettings& WithDetectSentiment(bool value) { SetDetectSentiment(value); return *this;} private: bool m_detectSentiment; bool m_detectSentimentHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws