/** * 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 LexModelsV2 { namespace Model { class ListUtteranceAnalyticsDataResult { public: AWS_LEXMODELSV2_API ListUtteranceAnalyticsDataResult(); AWS_LEXMODELSV2_API ListUtteranceAnalyticsDataResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELSV2_API ListUtteranceAnalyticsDataResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier of the bot that the utterances belong to.

*/ inline const Aws::String& GetBotId() const{ return m_botId; } /** *

The unique identifier of the bot that the utterances belong to.

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

The unique identifier of the bot that the utterances belong to.

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

The unique identifier of the bot that the utterances belong to.

*/ inline void SetBotId(const char* value) { m_botId.assign(value); } /** *

The unique identifier of the bot that the utterances belong to.

*/ inline ListUtteranceAnalyticsDataResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;} /** *

The unique identifier of the bot that the utterances belong to.

*/ inline ListUtteranceAnalyticsDataResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;} /** *

The unique identifier of the bot that the utterances belong to.

*/ inline ListUtteranceAnalyticsDataResult& WithBotId(const char* value) { SetBotId(value); return *this;} /** *

If the response from the ListUtteranceAnalyticsData operation contains more * results than specified in the maxResults parameter, a token is returned in the * response.

Use the returned token in the nextToken parameter of a * ListUtteranceAnalyticsData request to return the next page of results. For a * complete set of results, call the ListUtteranceAnalyticsData operation until the * nextToken returned in the response is null.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

If the response from the ListUtteranceAnalyticsData operation contains more * results than specified in the maxResults parameter, a token is returned in the * response.

Use the returned token in the nextToken parameter of a * ListUtteranceAnalyticsData request to return the next page of results. For a * complete set of results, call the ListUtteranceAnalyticsData operation until the * nextToken returned in the response is null.

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

If the response from the ListUtteranceAnalyticsData operation contains more * results than specified in the maxResults parameter, a token is returned in the * response.

Use the returned token in the nextToken parameter of a * ListUtteranceAnalyticsData request to return the next page of results. For a * complete set of results, call the ListUtteranceAnalyticsData operation until the * nextToken returned in the response is null.

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

If the response from the ListUtteranceAnalyticsData operation contains more * results than specified in the maxResults parameter, a token is returned in the * response.

Use the returned token in the nextToken parameter of a * ListUtteranceAnalyticsData request to return the next page of results. For a * complete set of results, call the ListUtteranceAnalyticsData operation until the * nextToken returned in the response is null.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

If the response from the ListUtteranceAnalyticsData operation contains more * results than specified in the maxResults parameter, a token is returned in the * response.

Use the returned token in the nextToken parameter of a * ListUtteranceAnalyticsData request to return the next page of results. For a * complete set of results, call the ListUtteranceAnalyticsData operation until the * nextToken returned in the response is null.

*/ inline ListUtteranceAnalyticsDataResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

If the response from the ListUtteranceAnalyticsData operation contains more * results than specified in the maxResults parameter, a token is returned in the * response.

Use the returned token in the nextToken parameter of a * ListUtteranceAnalyticsData request to return the next page of results. For a * complete set of results, call the ListUtteranceAnalyticsData operation until the * nextToken returned in the response is null.

*/ inline ListUtteranceAnalyticsDataResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

If the response from the ListUtteranceAnalyticsData operation contains more * results than specified in the maxResults parameter, a token is returned in the * response.

Use the returned token in the nextToken parameter of a * ListUtteranceAnalyticsData request to return the next page of results. For a * complete set of results, call the ListUtteranceAnalyticsData operation until the * nextToken returned in the response is null.

*/ inline ListUtteranceAnalyticsDataResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

A list of objects, each of which contains information about an utterance in a * user session with your bot.

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

A list of objects, each of which contains information about an utterance in a * user session with your bot.

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

A list of objects, each of which contains information about an utterance in a * user session with your bot.

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

A list of objects, each of which contains information about an utterance in a * user session with your bot.

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

A list of objects, each of which contains information about an utterance in a * user session with your bot.

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

A list of objects, each of which contains information about an utterance in a * user session with your bot.

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

A list of objects, each of which contains information about an utterance in a * user session with your bot.

*/ inline ListUtteranceAnalyticsDataResult& AddUtterances(UtteranceSpecification&& value) { m_utterances.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListUtteranceAnalyticsDataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListUtteranceAnalyticsDataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListUtteranceAnalyticsDataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_botId; Aws::String m_nextToken; Aws::Vector m_utterances; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws