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

An array of BotAliasMetadata objects, each describing a bot * alias.

*/ inline const Aws::Vector& GetBotAliases() const{ return m_botAliases; } /** *

An array of BotAliasMetadata objects, each describing a bot * alias.

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

An array of BotAliasMetadata objects, each describing a bot * alias.

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

An array of BotAliasMetadata objects, each describing a bot * alias.

*/ inline GetBotAliasesResult& WithBotAliases(const Aws::Vector& value) { SetBotAliases(value); return *this;} /** *

An array of BotAliasMetadata objects, each describing a bot * alias.

*/ inline GetBotAliasesResult& WithBotAliases(Aws::Vector&& value) { SetBotAliases(std::move(value)); return *this;} /** *

An array of BotAliasMetadata objects, each describing a bot * alias.

*/ inline GetBotAliasesResult& AddBotAliases(const BotAliasMetadata& value) { m_botAliases.push_back(value); return *this; } /** *

An array of BotAliasMetadata objects, each describing a bot * alias.

*/ inline GetBotAliasesResult& AddBotAliases(BotAliasMetadata&& value) { m_botAliases.push_back(std::move(value)); return *this; } /** *

A pagination token for fetching next page of aliases. If the response to this * call is truncated, Amazon Lex returns a pagination token in the response. To * fetch the next page of aliases, specify the pagination token in the next * request.

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

A pagination token for fetching next page of aliases. If the response to this * call is truncated, Amazon Lex returns a pagination token in the response. To * fetch the next page of aliases, specify the pagination token in the next * request.

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

A pagination token for fetching next page of aliases. If the response to this * call is truncated, Amazon Lex returns a pagination token in the response. To * fetch the next page of aliases, specify the pagination token in the next * request.

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

A pagination token for fetching next page of aliases. If the response to this * call is truncated, Amazon Lex returns a pagination token in the response. To * fetch the next page of aliases, specify the pagination token in the next * request.

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

A pagination token for fetching next page of aliases. If the response to this * call is truncated, Amazon Lex returns a pagination token in the response. To * fetch the next page of aliases, specify the pagination token in the next * request.

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

A pagination token for fetching next page of aliases. If the response to this * call is truncated, Amazon Lex returns a pagination token in the response. To * fetch the next page of aliases, specify the pagination token in the next * request.

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

A pagination token for fetching next page of aliases. If the response to this * call is truncated, Amazon Lex returns a pagination token in the response. To * fetch the next page of aliases, specify the pagination token in the next * request.

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