/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides summary information for aggregated utterances. The
* ListAggregatedUtterances
operations combines all instances of the
* same utterance into a single aggregated summary.See Also:
AWS
* API Reference
The text of the utterance. If the utterance was used with the
* RecognizeUtterance
operation, the text is the transcription of the
* audio utterance.
The text of the utterance. If the utterance was used with the
* RecognizeUtterance
operation, the text is the transcription of the
* audio utterance.
The text of the utterance. If the utterance was used with the
* RecognizeUtterance
operation, the text is the transcription of the
* audio utterance.
The text of the utterance. If the utterance was used with the
* RecognizeUtterance
operation, the text is the transcription of the
* audio utterance.
The text of the utterance. If the utterance was used with the
* RecognizeUtterance
operation, the text is the transcription of the
* audio utterance.
The text of the utterance. If the utterance was used with the
* RecognizeUtterance
operation, the text is the transcription of the
* audio utterance.
The text of the utterance. If the utterance was used with the
* RecognizeUtterance
operation, the text is the transcription of the
* audio utterance.
The text of the utterance. If the utterance was used with the
* RecognizeUtterance
operation, the text is the transcription of the
* audio utterance.
The number of times that the utterance was detected by Amazon Lex during the * time period. When an utterance is detected, it activates an intent or a * slot.
*/ inline int GetHitCount() const{ return m_hitCount; } /** *The number of times that the utterance was detected by Amazon Lex during the * time period. When an utterance is detected, it activates an intent or a * slot.
*/ inline bool HitCountHasBeenSet() const { return m_hitCountHasBeenSet; } /** *The number of times that the utterance was detected by Amazon Lex during the * time period. When an utterance is detected, it activates an intent or a * slot.
*/ inline void SetHitCount(int value) { m_hitCountHasBeenSet = true; m_hitCount = value; } /** *The number of times that the utterance was detected by Amazon Lex during the * time period. When an utterance is detected, it activates an intent or a * slot.
*/ inline AggregatedUtterancesSummary& WithHitCount(int value) { SetHitCount(value); return *this;} /** *The number of times that the utterance was missed by Amazon Lex An utterance * is missed when it doesn't activate an intent or slot.
*/ inline int GetMissedCount() const{ return m_missedCount; } /** *The number of times that the utterance was missed by Amazon Lex An utterance * is missed when it doesn't activate an intent or slot.
*/ inline bool MissedCountHasBeenSet() const { return m_missedCountHasBeenSet; } /** *The number of times that the utterance was missed by Amazon Lex An utterance * is missed when it doesn't activate an intent or slot.
*/ inline void SetMissedCount(int value) { m_missedCountHasBeenSet = true; m_missedCount = value; } /** *The number of times that the utterance was missed by Amazon Lex An utterance * is missed when it doesn't activate an intent or slot.
*/ inline AggregatedUtterancesSummary& WithMissedCount(int value) { SetMissedCount(value); return *this;} /** *The date and time that the utterance was first recorded in the time window * for aggregation. An utterance may have been sent to Amazon Lex before that time, * but only utterances within the time window are counted.
*/ inline const Aws::Utils::DateTime& GetUtteranceFirstRecordedInAggregationDuration() const{ return m_utteranceFirstRecordedInAggregationDuration; } /** *The date and time that the utterance was first recorded in the time window * for aggregation. An utterance may have been sent to Amazon Lex before that time, * but only utterances within the time window are counted.
*/ inline bool UtteranceFirstRecordedInAggregationDurationHasBeenSet() const { return m_utteranceFirstRecordedInAggregationDurationHasBeenSet; } /** *The date and time that the utterance was first recorded in the time window * for aggregation. An utterance may have been sent to Amazon Lex before that time, * but only utterances within the time window are counted.
*/ inline void SetUtteranceFirstRecordedInAggregationDuration(const Aws::Utils::DateTime& value) { m_utteranceFirstRecordedInAggregationDurationHasBeenSet = true; m_utteranceFirstRecordedInAggregationDuration = value; } /** *The date and time that the utterance was first recorded in the time window * for aggregation. An utterance may have been sent to Amazon Lex before that time, * but only utterances within the time window are counted.
*/ inline void SetUtteranceFirstRecordedInAggregationDuration(Aws::Utils::DateTime&& value) { m_utteranceFirstRecordedInAggregationDurationHasBeenSet = true; m_utteranceFirstRecordedInAggregationDuration = std::move(value); } /** *The date and time that the utterance was first recorded in the time window * for aggregation. An utterance may have been sent to Amazon Lex before that time, * but only utterances within the time window are counted.
*/ inline AggregatedUtterancesSummary& WithUtteranceFirstRecordedInAggregationDuration(const Aws::Utils::DateTime& value) { SetUtteranceFirstRecordedInAggregationDuration(value); return *this;} /** *The date and time that the utterance was first recorded in the time window * for aggregation. An utterance may have been sent to Amazon Lex before that time, * but only utterances within the time window are counted.
*/ inline AggregatedUtterancesSummary& WithUtteranceFirstRecordedInAggregationDuration(Aws::Utils::DateTime&& value) { SetUtteranceFirstRecordedInAggregationDuration(std::move(value)); return *this;} /** *The last date and time that an utterance was recorded in the time window for * aggregation. An utterance may be sent to Amazon Lex after that time, but only * utterances within the time window are counted.
*/ inline const Aws::Utils::DateTime& GetUtteranceLastRecordedInAggregationDuration() const{ return m_utteranceLastRecordedInAggregationDuration; } /** *The last date and time that an utterance was recorded in the time window for * aggregation. An utterance may be sent to Amazon Lex after that time, but only * utterances within the time window are counted.
*/ inline bool UtteranceLastRecordedInAggregationDurationHasBeenSet() const { return m_utteranceLastRecordedInAggregationDurationHasBeenSet; } /** *The last date and time that an utterance was recorded in the time window for * aggregation. An utterance may be sent to Amazon Lex after that time, but only * utterances within the time window are counted.
*/ inline void SetUtteranceLastRecordedInAggregationDuration(const Aws::Utils::DateTime& value) { m_utteranceLastRecordedInAggregationDurationHasBeenSet = true; m_utteranceLastRecordedInAggregationDuration = value; } /** *The last date and time that an utterance was recorded in the time window for * aggregation. An utterance may be sent to Amazon Lex after that time, but only * utterances within the time window are counted.
*/ inline void SetUtteranceLastRecordedInAggregationDuration(Aws::Utils::DateTime&& value) { m_utteranceLastRecordedInAggregationDurationHasBeenSet = true; m_utteranceLastRecordedInAggregationDuration = std::move(value); } /** *The last date and time that an utterance was recorded in the time window for * aggregation. An utterance may be sent to Amazon Lex after that time, but only * utterances within the time window are counted.
*/ inline AggregatedUtterancesSummary& WithUtteranceLastRecordedInAggregationDuration(const Aws::Utils::DateTime& value) { SetUtteranceLastRecordedInAggregationDuration(value); return *this;} /** *The last date and time that an utterance was recorded in the time window for * aggregation. An utterance may be sent to Amazon Lex after that time, but only * utterances within the time window are counted.
*/ inline AggregatedUtterancesSummary& WithUtteranceLastRecordedInAggregationDuration(Aws::Utils::DateTime&& value) { SetUtteranceLastRecordedInAggregationDuration(std::move(value)); return *this;} /** *Aggregated utterance data may contain utterances from versions of your bot * that have since been deleted. When the aggregated contains this kind of data, * this field is set to true.
*/ inline bool GetContainsDataFromDeletedResources() const{ return m_containsDataFromDeletedResources; } /** *Aggregated utterance data may contain utterances from versions of your bot * that have since been deleted. When the aggregated contains this kind of data, * this field is set to true.
*/ inline bool ContainsDataFromDeletedResourcesHasBeenSet() const { return m_containsDataFromDeletedResourcesHasBeenSet; } /** *Aggregated utterance data may contain utterances from versions of your bot * that have since been deleted. When the aggregated contains this kind of data, * this field is set to true.
*/ inline void SetContainsDataFromDeletedResources(bool value) { m_containsDataFromDeletedResourcesHasBeenSet = true; m_containsDataFromDeletedResources = value; } /** *Aggregated utterance data may contain utterances from versions of your bot * that have since been deleted. When the aggregated contains this kind of data, * this field is set to true.
*/ inline AggregatedUtterancesSummary& WithContainsDataFromDeletedResources(bool value) { SetContainsDataFromDeletedResources(value); return *this;} private: Aws::String m_utterance; bool m_utteranceHasBeenSet = false; int m_hitCount; bool m_hitCountHasBeenSet = false; int m_missedCount; bool m_missedCountHasBeenSet = false; Aws::Utils::DateTime m_utteranceFirstRecordedInAggregationDuration; bool m_utteranceFirstRecordedInAggregationDurationHasBeenSet = false; Aws::Utils::DateTime m_utteranceLastRecordedInAggregationDuration; bool m_utteranceLastRecordedInAggregationDurationHasBeenSet = false; bool m_containsDataFromDeletedResources; bool m_containsDataFromDeletedResourcesHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws