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

The identifier of the bot that contains the intent.

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

The identifier of the bot that contains the intent.

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

The identifier of the bot that contains the intent.

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

The identifier of the bot that contains the intent.

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

The identifier of the bot that contains the intent.

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

The identifier of the bot that contains the intent.

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

The identifier of the bot that contains the intent.

*/ inline ListIntentsResult& 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 ListIntentsResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;} /** *

The version of the bot that contains the intent.

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

The version of the bot that contains the intent.

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

The language and locale of the intents in the list.

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

The language and locale of the intents in the list.

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

The language and locale of the intents in the list.

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

The language and locale of the intents in the list.

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

The language and locale of the intents in the list.

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

The language and locale of the intents in the list.

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

The language and locale of the intents in the list.

*/ inline ListIntentsResult& WithLocaleId(const char* value) { SetLocaleId(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& GetIntentSummaries() const{ return m_intentSummaries; } /** *

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 SetIntentSummaries(const Aws::Vector& value) { m_intentSummaries = 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 SetIntentSummaries(Aws::Vector&& value) { m_intentSummaries = 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 ListIntentsResult& WithIntentSummaries(const Aws::Vector& value) { SetIntentSummaries(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 ListIntentsResult& WithIntentSummaries(Aws::Vector&& value) { SetIntentSummaries(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 ListIntentsResult& AddIntentSummaries(const IntentSummary& value) { m_intentSummaries.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 ListIntentsResult& AddIntentSummaries(IntentSummary&& value) { m_intentSummaries.push_back(std::move(value)); return *this; } /** *

A token that indicates whether there are more results to return in a response * to the ListIntents operation. If the nextToken field * is present, you send the contents as the nextToken parameter of a * ListIntents 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 ListIntents operation. If the nextToken field * is present, you send the contents as the nextToken parameter of a * ListIntents 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 ListIntents operation. If the nextToken field * is present, you send the contents as the nextToken parameter of a * ListIntents 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 ListIntents operation. If the nextToken field * is present, you send the contents as the nextToken parameter of a * ListIntents 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 ListIntents operation. If the nextToken field * is present, you send the contents as the nextToken parameter of a * ListIntents operation request to get the next page of results.

*/ inline ListIntentsResult& 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 ListIntents operation. If the nextToken field * is present, you send the contents as the nextToken parameter of a * ListIntents operation request to get the next page of results.

*/ inline ListIntentsResult& 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 ListIntents operation. If the nextToken field * is present, you send the contents as the nextToken parameter of a * ListIntents operation request to get the next page of results.

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