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

Provides a list of utterances that have been made to a specific version of * your bot. The list contains a maximum of 100 utterances.

See * Also:

AWS * API Reference

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

The version of the bot that processed the list.

*/ inline const Aws::String& GetBotVersion() const{ return m_botVersion; } /** *

The version of the bot that processed the list.

*/ inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; } /** *

The version of the bot that processed the list.

*/ inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; } /** *

The version of the bot that processed the list.

*/ inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); } /** *

The version of the bot that processed the list.

*/ inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); } /** *

The version of the bot that processed the list.

*/ inline UtteranceList& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;} /** *

The version of the bot that processed the list.

*/ inline UtteranceList& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;} /** *

The version of the bot that processed the list.

*/ inline UtteranceList& WithBotVersion(const char* value) { SetBotVersion(value); return *this;} /** *

One or more UtteranceData objects that contain information about the * utterances that have been made to a bot. The maximum number of object is * 100.

*/ inline const Aws::Vector& GetUtterances() const{ return m_utterances; } /** *

One or more UtteranceData objects that contain information about the * utterances that have been made to a bot. The maximum number of object is * 100.

*/ inline bool UtterancesHasBeenSet() const { return m_utterancesHasBeenSet; } /** *

One or more UtteranceData objects that contain information about the * utterances that have been made to a bot. The maximum number of object is * 100.

*/ inline void SetUtterances(const Aws::Vector& value) { m_utterancesHasBeenSet = true; m_utterances = value; } /** *

One or more UtteranceData objects that contain information about the * utterances that have been made to a bot. The maximum number of object is * 100.

*/ inline void SetUtterances(Aws::Vector&& value) { m_utterancesHasBeenSet = true; m_utterances = std::move(value); } /** *

One or more UtteranceData objects that contain information about the * utterances that have been made to a bot. The maximum number of object is * 100.

*/ inline UtteranceList& WithUtterances(const Aws::Vector& value) { SetUtterances(value); return *this;} /** *

One or more UtteranceData objects that contain information about the * utterances that have been made to a bot. The maximum number of object is * 100.

*/ inline UtteranceList& WithUtterances(Aws::Vector&& value) { SetUtterances(std::move(value)); return *this;} /** *

One or more UtteranceData objects that contain information about the * utterances that have been made to a bot. The maximum number of object is * 100.

*/ inline UtteranceList& AddUtterances(const UtteranceData& value) { m_utterancesHasBeenSet = true; m_utterances.push_back(value); return *this; } /** *

One or more UtteranceData objects that contain information about the * utterances that have been made to a bot. The maximum number of object is * 100.

*/ inline UtteranceList& AddUtterances(UtteranceData&& value) { m_utterancesHasBeenSet = true; m_utterances.push_back(std::move(value)); return *this; } private: Aws::String m_botVersion; bool m_botVersionHasBeenSet = false; Aws::Vector m_utterances; bool m_utterancesHasBeenSet = false; }; } // namespace Model } // namespace LexModelBuildingService } // namespace Aws