/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that contains the configuration settings for a sentiment analysis
* task.See Also:
AWS
* API Reference
The name of the rule in the sentiment configuration.
*/ inline const Aws::String& GetRuleName() const{ return m_ruleName; } /** *The name of the rule in the sentiment configuration.
*/ inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; } /** *The name of the rule in the sentiment configuration.
*/ inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; } /** *The name of the rule in the sentiment configuration.
*/ inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); } /** *The name of the rule in the sentiment configuration.
*/ inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); } /** *The name of the rule in the sentiment configuration.
*/ inline SentimentConfiguration& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;} /** *The name of the rule in the sentiment configuration.
*/ inline SentimentConfiguration& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;} /** *The name of the rule in the sentiment configuration.
*/ inline SentimentConfiguration& WithRuleName(const char* value) { SetRuleName(value); return *this;} /** *The type of sentiment, POSITIVE
, NEGATIVE
, or
* NEUTRAL
.
The type of sentiment, POSITIVE
, NEGATIVE
, or
* NEUTRAL
.
The type of sentiment, POSITIVE
, NEGATIVE
, or
* NEUTRAL
.
The type of sentiment, POSITIVE
, NEGATIVE
, or
* NEUTRAL
.
The type of sentiment, POSITIVE
, NEGATIVE
, or
* NEUTRAL
.
The type of sentiment, POSITIVE
, NEGATIVE
, or
* NEUTRAL
.
Specifies the analysis interval.
*/ inline int GetTimePeriod() const{ return m_timePeriod; } /** *Specifies the analysis interval.
*/ inline bool TimePeriodHasBeenSet() const { return m_timePeriodHasBeenSet; } /** *Specifies the analysis interval.
*/ inline void SetTimePeriod(int value) { m_timePeriodHasBeenSet = true; m_timePeriod = value; } /** *Specifies the analysis interval.
*/ inline SentimentConfiguration& WithTimePeriod(int value) { SetTimePeriod(value); return *this;} private: Aws::String m_ruleName; bool m_ruleNameHasBeenSet = false; SentimentType m_sentimentType; bool m_sentimentTypeHasBeenSet = false; int m_timePeriod; bool m_timePeriodHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws