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

The identifier for the bot for which you retrieved session metrics.

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

The identifier for the bot for which you retrieved session metrics.

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

The identifier for the bot for which you retrieved session metrics.

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

The identifier for the bot for which you retrieved session metrics.

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

The identifier for the bot for which you retrieved session metrics.

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

The identifier for the bot for which you retrieved session metrics.

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

The identifier for the bot for which you retrieved session metrics.

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

The results for the session metrics.

*/ inline const Aws::Vector& GetResults() const{ return m_results; } /** *

The results for the session metrics.

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

The results for the session metrics.

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

The results for the session metrics.

*/ inline ListSessionMetricsResult& WithResults(const Aws::Vector& value) { SetResults(value); return *this;} /** *

The results for the session metrics.

*/ inline ListSessionMetricsResult& WithResults(Aws::Vector&& value) { SetResults(std::move(value)); return *this;} /** *

The results for the session metrics.

*/ inline ListSessionMetricsResult& AddResults(const AnalyticsSessionResult& value) { m_results.push_back(value); return *this; } /** *

The results for the session metrics.

*/ inline ListSessionMetricsResult& AddResults(AnalyticsSessionResult&& value) { m_results.push_back(std::move(value)); return *this; } /** *

If the response from the ListSessionMetrics 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 * ListSessionMetrics request to return the next page of results. For a complete * set of results, call the ListSessionMetrics operation until the nextToken * returned in the response is null.

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

If the response from the ListSessionMetrics 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 * ListSessionMetrics request to return the next page of results. For a complete * set of results, call the ListSessionMetrics 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 ListSessionMetrics 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 * ListSessionMetrics request to return the next page of results. For a complete * set of results, call the ListSessionMetrics 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 ListSessionMetrics 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 * ListSessionMetrics request to return the next page of results. For a complete * set of results, call the ListSessionMetrics 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 ListSessionMetrics 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 * ListSessionMetrics request to return the next page of results. For a complete * set of results, call the ListSessionMetrics operation until the nextToken * returned in the response is null.

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

If the response from the ListSessionMetrics 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 * ListSessionMetrics request to return the next page of results. For a complete * set of results, call the ListSessionMetrics operation until the nextToken * returned in the response is null.

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

If the response from the ListSessionMetrics 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 * ListSessionMetrics request to return the next page of results. For a complete * set of results, call the ListSessionMetrics operation until the nextToken * returned in the response is null.

*/ inline ListSessionMetricsResult& WithNextToken(const char* value) { SetNextToken(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 ListSessionMetricsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListSessionMetricsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListSessionMetricsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_botId; Aws::Vector m_results; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws