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

The identifier of the bot that contains the slots.

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

The identifier of the bot that contains the slots.

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

The identifier of the bot that contains the slots.

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

The identifier of the bot that contains the slots.

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

The identifier of the bot that contains the slots.

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

The identifier of the bot that contains the slots.

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

The identifier of the bot that contains the slots.

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

The version of the bot that contains the slots.

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

The version of the bot that contains the slots.

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

The version of the bot that contains the slots.

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

The version of the bot that contains the slots.

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

The version of the bot that contains the slots.

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

The version of the bot that contains the slots.

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

The version of the bot that contains the slots.

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

The language and locale of the slots in the list.

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

The language and locale of the slots in the list.

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

The language and locale of the slots in the list.

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

The language and locale of the slots in the list.

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

The language and locale of the slots in the list.

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

The language and locale of the slots in the list.

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

The language and locale of the slots in the list.

*/ inline ListSlotsResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;} /** *

The identifier of the intent that contains the slots.

*/ inline const Aws::String& GetIntentId() const{ return m_intentId; } /** *

The identifier of the intent that contains the slots.

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

The identifier of the intent that contains the slots.

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

The identifier of the intent that contains the slots.

*/ inline void SetIntentId(const char* value) { m_intentId.assign(value); } /** *

The identifier of the intent that contains the slots.

*/ inline ListSlotsResult& WithIntentId(const Aws::String& value) { SetIntentId(value); return *this;} /** *

The identifier of the intent that contains the slots.

*/ inline ListSlotsResult& WithIntentId(Aws::String&& value) { SetIntentId(std::move(value)); return *this;} /** *

The identifier of the intent that contains the slots.

*/ inline ListSlotsResult& WithIntentId(const char* value) { SetIntentId(value); return *this;} /** *

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

*/ inline const Aws::Vector& GetSlotSummaries() const{ return m_slotSummaries; } /** *

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

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

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

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

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

*/ inline ListSlotsResult& WithSlotSummaries(const Aws::Vector& value) { SetSlotSummaries(value); return *this;} /** *

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

*/ inline ListSlotsResult& WithSlotSummaries(Aws::Vector&& value) { SetSlotSummaries(std::move(value)); return *this;} /** *

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

*/ inline ListSlotsResult& AddSlotSummaries(const SlotSummary& value) { m_slotSummaries.push_back(value); return *this; } /** *

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

*/ inline ListSlotsResult& AddSlotSummaries(SlotSummary&& value) { m_slotSummaries.push_back(std::move(value)); return *this; } /** *

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

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

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

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