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

The unique identifier assigned by Amazon Lex to the bot.

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

The unique identifier assigned by Amazon Lex to the bot.

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

The unique identifier assigned by Amazon Lex to the bot.

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

The unique identifier assigned by Amazon Lex to the bot.

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

The unique identifier assigned by Amazon Lex to the bot.

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

The unique identifier assigned by Amazon Lex to the bot.

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

The unique identifier assigned by Amazon Lex to the bot.

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

The version of the bot that was imported. It will always be * DRAFT.

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

The version of the bot that was imported. It will always be * DRAFT.

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

The version of the bot that was imported. It will always be * DRAFT.

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

The version of the bot that was imported. It will always be * DRAFT.

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

The version of the bot that was imported. It will always be * DRAFT.

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

The version of the bot that was imported. It will always be * DRAFT.

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

The version of the bot that was imported. It will always be * DRAFT.

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

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

*/ inline const Aws::Vector& GetImportSummaries() const{ return m_importSummaries; } /** *

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

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

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

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

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

*/ inline ListImportsResult& WithImportSummaries(const Aws::Vector& value) { SetImportSummaries(value); return *this;} /** *

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

*/ inline ListImportsResult& WithImportSummaries(Aws::Vector&& value) { SetImportSummaries(std::move(value)); return *this;} /** *

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

*/ inline ListImportsResult& AddImportSummaries(const ImportSummary& value) { m_importSummaries.push_back(value); return *this; } /** *

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

*/ inline ListImportsResult& AddImportSummaries(ImportSummary&& value) { m_importSummaries.push_back(std::move(value)); return *this; } /** *

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

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

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

*/ inline ListImportsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The locale specified in the request.

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

The locale specified in the request.

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

The locale specified in the request.

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

The locale specified in the request.

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

The locale specified in the request.

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

The locale specified in the request.

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

The locale specified in the request.

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