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

An array of builtinIntentMetadata objects, one for each intent * in the response.

*/ inline const Aws::Vector& GetIntents() const{ return m_intents; } /** *

An array of builtinIntentMetadata objects, one for each intent * in the response.

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

An array of builtinIntentMetadata objects, one for each intent * in the response.

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

An array of builtinIntentMetadata objects, one for each intent * in the response.

*/ inline GetBuiltinIntentsResult& WithIntents(const Aws::Vector& value) { SetIntents(value); return *this;} /** *

An array of builtinIntentMetadata objects, one for each intent * in the response.

*/ inline GetBuiltinIntentsResult& WithIntents(Aws::Vector&& value) { SetIntents(std::move(value)); return *this;} /** *

An array of builtinIntentMetadata objects, one for each intent * in the response.

*/ inline GetBuiltinIntentsResult& AddIntents(const BuiltinIntentMetadata& value) { m_intents.push_back(value); return *this; } /** *

An array of builtinIntentMetadata objects, one for each intent * in the response.

*/ inline GetBuiltinIntentsResult& AddIntents(BuiltinIntentMetadata&& value) { m_intents.push_back(std::move(value)); return *this; } /** *

A pagination token that fetches the next page of intents. If the response to * this API call is truncated, Amazon Lex returns a pagination token in the * response. To fetch the next page of intents, specify the pagination token in the * next request.

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

A pagination token that fetches the next page of intents. If the response to * this API call is truncated, Amazon Lex returns a pagination token in the * response. To fetch the next page of intents, specify the pagination token in the * next request.

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

A pagination token that fetches the next page of intents. If the response to * this API call is truncated, Amazon Lex returns a pagination token in the * response. To fetch the next page of intents, specify the pagination token in the * next request.

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

A pagination token that fetches the next page of intents. If the response to * this API call is truncated, Amazon Lex returns a pagination token in the * response. To fetch the next page of intents, specify the pagination token in the * next request.

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

A pagination token that fetches the next page of intents. If the response to * this API call is truncated, Amazon Lex returns a pagination token in the * response. To fetch the next page of intents, specify the pagination token in the * next request.

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

A pagination token that fetches the next page of intents. If the response to * this API call is truncated, Amazon Lex returns a pagination token in the * response. To fetch the next page of intents, specify the pagination token in the * next request.

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

A pagination token that fetches the next page of intents. If the response to * this API call is truncated, Amazon Lex returns a pagination token in the * response. To fetch the next page of intents, specify the pagination token in the * next request.

*/ inline GetBuiltinIntentsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_intents; Aws::String m_nextToken; }; } // namespace Model } // namespace LexModelBuildingService } // namespace Aws