/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LexModelBuildingService { namespace Model { class AWS_LEXMODELBUILDINGSERVICE_API GetUtterancesViewResult { public: GetUtterancesViewResult(); GetUtterancesViewResult(const Aws::AmazonWebServiceResult& result); GetUtterancesViewResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the bot for which utterance information was returned.

*/ inline const Aws::String& GetBotName() const{ return m_botName; } /** *

The name of the bot for which utterance information was returned.

*/ inline void SetBotName(const Aws::String& value) { m_botName = value; } /** *

The name of the bot for which utterance information was returned.

*/ inline void SetBotName(Aws::String&& value) { m_botName = std::move(value); } /** *

The name of the bot for which utterance information was returned.

*/ inline void SetBotName(const char* value) { m_botName.assign(value); } /** *

The name of the bot for which utterance information was returned.

*/ inline GetUtterancesViewResult& WithBotName(const Aws::String& value) { SetBotName(value); return *this;} /** *

The name of the bot for which utterance information was returned.

*/ inline GetUtterancesViewResult& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;} /** *

The name of the bot for which utterance information was returned.

*/ inline GetUtterancesViewResult& WithBotName(const char* value) { SetBotName(value); return *this;} /** *

An array of UtteranceList objects, each containing a list of * UtteranceData objects describing the utterances that were processed by * your bot. The response contains a maximum of 100 UtteranceData * objects for each version. Amazon Lex returns the most frequent utterances * received by the bot in the last 15 days.

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

An array of UtteranceList objects, each containing a list of * UtteranceData objects describing the utterances that were processed by * your bot. The response contains a maximum of 100 UtteranceData * objects for each version. Amazon Lex returns the most frequent utterances * received by the bot in the last 15 days.

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

An array of UtteranceList objects, each containing a list of * UtteranceData objects describing the utterances that were processed by * your bot. The response contains a maximum of 100 UtteranceData * objects for each version. Amazon Lex returns the most frequent utterances * received by the bot in the last 15 days.

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

An array of UtteranceList objects, each containing a list of * UtteranceData objects describing the utterances that were processed by * your bot. The response contains a maximum of 100 UtteranceData * objects for each version. Amazon Lex returns the most frequent utterances * received by the bot in the last 15 days.

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

An array of UtteranceList objects, each containing a list of * UtteranceData objects describing the utterances that were processed by * your bot. The response contains a maximum of 100 UtteranceData * objects for each version. Amazon Lex returns the most frequent utterances * received by the bot in the last 15 days.

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

An array of UtteranceList objects, each containing a list of * UtteranceData objects describing the utterances that were processed by * your bot. The response contains a maximum of 100 UtteranceData * objects for each version. Amazon Lex returns the most frequent utterances * received by the bot in the last 15 days.

*/ inline GetUtterancesViewResult& AddUtterances(const UtteranceList& value) { m_utterances.push_back(value); return *this; } /** *

An array of UtteranceList objects, each containing a list of * UtteranceData objects describing the utterances that were processed by * your bot. The response contains a maximum of 100 UtteranceData * objects for each version. Amazon Lex returns the most frequent utterances * received by the bot in the last 15 days.

*/ inline GetUtterancesViewResult& AddUtterances(UtteranceList&& value) { m_utterances.push_back(std::move(value)); return *this; } private: Aws::String m_botName; Aws::Vector m_utterances; }; } // namespace Model } // namespace LexModelBuildingService } // namespace Aws