/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { /** *

A statistical summary of the bot recommendation results.

See * Also:

AWS * API Reference

*/ class BotRecommendationResultStatistics { public: AWS_LEXMODELSV2_API BotRecommendationResultStatistics(); AWS_LEXMODELSV2_API BotRecommendationResultStatistics(Aws::Utils::Json::JsonView jsonValue); AWS_LEXMODELSV2_API BotRecommendationResultStatistics& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Statistical information about about the intents associated with the bot * recommendation results.

*/ inline const IntentStatistics& GetIntents() const{ return m_intents; } /** *

Statistical information about about the intents associated with the bot * recommendation results.

*/ inline bool IntentsHasBeenSet() const { return m_intentsHasBeenSet; } /** *

Statistical information about about the intents associated with the bot * recommendation results.

*/ inline void SetIntents(const IntentStatistics& value) { m_intentsHasBeenSet = true; m_intents = value; } /** *

Statistical information about about the intents associated with the bot * recommendation results.

*/ inline void SetIntents(IntentStatistics&& value) { m_intentsHasBeenSet = true; m_intents = std::move(value); } /** *

Statistical information about about the intents associated with the bot * recommendation results.

*/ inline BotRecommendationResultStatistics& WithIntents(const IntentStatistics& value) { SetIntents(value); return *this;} /** *

Statistical information about about the intents associated with the bot * recommendation results.

*/ inline BotRecommendationResultStatistics& WithIntents(IntentStatistics&& value) { SetIntents(std::move(value)); return *this;} /** *

Statistical information about the slot types associated with the bot * recommendation results.

*/ inline const SlotTypeStatistics& GetSlotTypes() const{ return m_slotTypes; } /** *

Statistical information about the slot types associated with the bot * recommendation results.

*/ inline bool SlotTypesHasBeenSet() const { return m_slotTypesHasBeenSet; } /** *

Statistical information about the slot types associated with the bot * recommendation results.

*/ inline void SetSlotTypes(const SlotTypeStatistics& value) { m_slotTypesHasBeenSet = true; m_slotTypes = value; } /** *

Statistical information about the slot types associated with the bot * recommendation results.

*/ inline void SetSlotTypes(SlotTypeStatistics&& value) { m_slotTypesHasBeenSet = true; m_slotTypes = std::move(value); } /** *

Statistical information about the slot types associated with the bot * recommendation results.

*/ inline BotRecommendationResultStatistics& WithSlotTypes(const SlotTypeStatistics& value) { SetSlotTypes(value); return *this;} /** *

Statistical information about the slot types associated with the bot * recommendation results.

*/ inline BotRecommendationResultStatistics& WithSlotTypes(SlotTypeStatistics&& value) { SetSlotTypes(std::move(value)); return *this;} private: IntentStatistics m_intents; bool m_intentsHasBeenSet = false; SlotTypeStatistics m_slotTypes; bool m_slotTypesHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws