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

The unique identifier of the bot associated with the recommended intent.

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

The unique identifier of the bot associated with the recommended intent.

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

The unique identifier of the bot associated with the recommended intent.

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

The unique identifier of the bot associated with the recommended intent.

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

The unique identifier of the bot associated with the recommended intent.

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

The unique identifier of the bot associated with the recommended intent.

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

The unique identifier of the bot associated with the recommended intent.

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

The version of the bot that contains the intent.

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

The version of the bot that contains the intent.

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

The version of the bot that contains the intent.

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

The version of the bot that contains the intent.

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

The version of the bot that contains the intent.

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

The version of the bot that contains the intent.

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

The version of the bot that contains the intent.

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

The identifier of the language and locale of the intents to list. The string * must match one of the supported locales. For more information, see Supported * languages.

*/ inline const Aws::String& GetLocaleId() const{ return m_localeId; } /** *

The identifier of the language and locale of the intents to list. The string * must match one of the supported locales. For more information, see Supported * languages.

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

The identifier of the language and locale of the intents to list. The string * must match one of the supported locales. For more information, see Supported * languages.

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

The identifier of the language and locale of the intents to list. The string * must match one of the supported locales. For more information, see Supported * languages.

*/ inline void SetLocaleId(const char* value) { m_localeId.assign(value); } /** *

The identifier of the language and locale of the intents to list. The string * must match one of the supported locales. For more information, see Supported * languages.

*/ inline ListRecommendedIntentsResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;} /** *

The identifier of the language and locale of the intents to list. The string * must match one of the supported locales. For more information, see Supported * languages.

*/ inline ListRecommendedIntentsResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;} /** *

The identifier of the language and locale of the intents to list. The string * must match one of the supported locales. For more information, see Supported * languages.

*/ inline ListRecommendedIntentsResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;} /** *

The identifier of the bot recommendation that contains the recommended * intent.

*/ inline const Aws::String& GetBotRecommendationId() const{ return m_botRecommendationId; } /** *

The identifier of the bot recommendation that contains the recommended * intent.

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

The identifier of the bot recommendation that contains the recommended * intent.

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

The identifier of the bot recommendation that contains the recommended * intent.

*/ inline void SetBotRecommendationId(const char* value) { m_botRecommendationId.assign(value); } /** *

The identifier of the bot recommendation that contains the recommended * intent.

*/ inline ListRecommendedIntentsResult& WithBotRecommendationId(const Aws::String& value) { SetBotRecommendationId(value); return *this;} /** *

The identifier of the bot recommendation that contains the recommended * intent.

*/ inline ListRecommendedIntentsResult& WithBotRecommendationId(Aws::String&& value) { SetBotRecommendationId(std::move(value)); return *this;} /** *

The identifier of the bot recommendation that contains the recommended * intent.

*/ inline ListRecommendedIntentsResult& WithBotRecommendationId(const char* value) { SetBotRecommendationId(value); return *this;} /** *

Summary information for the intents that meet the filter criteria specified * in the request. The length of the list is specified in the maxResults parameter * of the request. If there are more intents available, the nextToken field * contains a token to get the next page of results.

*/ inline const Aws::Vector& GetSummaryList() const{ return m_summaryList; } /** *

Summary information for the intents that meet the filter criteria specified * in the request. The length of the list is specified in the maxResults parameter * of the request. If there are more intents available, the nextToken field * contains a token to get the next page of results.

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

Summary information for the intents that meet the filter criteria specified * in the request. The length of the list is specified in the maxResults parameter * of the request. If there are more intents available, the nextToken field * contains a token to get the next page of results.

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

Summary information for the intents that meet the filter criteria specified * in the request. The length of the list is specified in the maxResults parameter * of the request. If there are more intents available, the nextToken field * contains a token to get the next page of results.

*/ inline ListRecommendedIntentsResult& WithSummaryList(const Aws::Vector& value) { SetSummaryList(value); return *this;} /** *

Summary information for the intents that meet the filter criteria specified * in the request. The length of the list is specified in the maxResults parameter * of the request. If there are more intents available, the nextToken field * contains a token to get the next page of results.

*/ inline ListRecommendedIntentsResult& WithSummaryList(Aws::Vector&& value) { SetSummaryList(std::move(value)); return *this;} /** *

Summary information for the intents that meet the filter criteria specified * in the request. The length of the list is specified in the maxResults parameter * of the request. If there are more intents available, the nextToken field * contains a token to get the next page of results.

*/ inline ListRecommendedIntentsResult& AddSummaryList(const RecommendedIntentSummary& value) { m_summaryList.push_back(value); return *this; } /** *

Summary information for the intents that meet the filter criteria specified * in the request. The length of the list is specified in the maxResults parameter * of the request. If there are more intents available, the nextToken field * contains a token to get the next page of results.

*/ inline ListRecommendedIntentsResult& AddSummaryList(RecommendedIntentSummary&& value) { m_summaryList.push_back(std::move(value)); return *this; } /** *

A token that indicates whether there are more results to return in a response * to the ListRecommendedIntents operation. If the nextToken field is present, you * send the contents as the nextToken parameter of a ListRecommendedIntents * operation request to get the next page of results.

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

A token that indicates whether there are more results to return in a response * to the ListRecommendedIntents operation. If the nextToken field is present, you * send the contents as the nextToken parameter of a ListRecommendedIntents * operation request to get the next page of results.

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

A token that indicates whether there are more results to return in a response * to the ListRecommendedIntents operation. If the nextToken field is present, you * send the contents as the nextToken parameter of a ListRecommendedIntents * operation request to get the next page of results.

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

A token that indicates whether there are more results to return in a response * to the ListRecommendedIntents operation. If the nextToken field is present, you * send the contents as the nextToken parameter of a ListRecommendedIntents * operation request to get the next page of results.

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

A token that indicates whether there are more results to return in a response * to the ListRecommendedIntents operation. If the nextToken field is present, you * send the contents as the nextToken parameter of a ListRecommendedIntents * operation request to get the next page of results.

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

A token that indicates whether there are more results to return in a response * to the ListRecommendedIntents operation. If the nextToken field is present, you * send the contents as the nextToken parameter of a ListRecommendedIntents * operation request to get the next page of results.

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

A token that indicates whether there are more results to return in a response * to the ListRecommendedIntents operation. If the nextToken field is present, you * send the contents as the nextToken parameter of a ListRecommendedIntents * operation request to get the next page of results.

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