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

The identifier of the bot to list versions for.

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

The identifier of the bot to list versions for.

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

The identifier of the bot to list versions for.

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

The identifier of the bot to list versions for.

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

The identifier of the bot to list versions for.

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

The identifier of the bot to list versions for.

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

The identifier of the bot to list versions for.

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

Summary information for the bot versions 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 versions * available, the nextToken field contains a token to get the next * page of results.

*/ inline const Aws::Vector& GetBotVersionSummaries() const{ return m_botVersionSummaries; } /** *

Summary information for the bot versions 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 versions * available, the nextToken field contains a token to get the next * page of results.

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

Summary information for the bot versions 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 versions * available, the nextToken field contains a token to get the next * page of results.

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

Summary information for the bot versions 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 versions * available, the nextToken field contains a token to get the next * page of results.

*/ inline ListBotVersionsResult& WithBotVersionSummaries(const Aws::Vector& value) { SetBotVersionSummaries(value); return *this;} /** *

Summary information for the bot versions 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 versions * available, the nextToken field contains a token to get the next * page of results.

*/ inline ListBotVersionsResult& WithBotVersionSummaries(Aws::Vector&& value) { SetBotVersionSummaries(std::move(value)); return *this;} /** *

Summary information for the bot versions 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 versions * available, the nextToken field contains a token to get the next * page of results.

*/ inline ListBotVersionsResult& AddBotVersionSummaries(const BotVersionSummary& value) { m_botVersionSummaries.push_back(value); return *this; } /** *

Summary information for the bot versions 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 versions * available, the nextToken field contains a token to get the next * page of results.

*/ inline ListBotVersionsResult& AddBotVersionSummaries(BotVersionSummary&& value) { m_botVersionSummaries.push_back(std::move(value)); return *this; } /** *

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

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

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

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