/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 GetBuiltinIntentResult { public: AWS_LEXMODELBUILDINGSERVICE_API GetBuiltinIntentResult(); AWS_LEXMODELBUILDINGSERVICE_API GetBuiltinIntentResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELBUILDINGSERVICE_API GetBuiltinIntentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier for a built-in intent.

*/ inline const Aws::String& GetSignature() const{ return m_signature; } /** *

The unique identifier for a built-in intent.

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

The unique identifier for a built-in intent.

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

The unique identifier for a built-in intent.

*/ inline void SetSignature(const char* value) { m_signature.assign(value); } /** *

The unique identifier for a built-in intent.

*/ inline GetBuiltinIntentResult& WithSignature(const Aws::String& value) { SetSignature(value); return *this;} /** *

The unique identifier for a built-in intent.

*/ inline GetBuiltinIntentResult& WithSignature(Aws::String&& value) { SetSignature(std::move(value)); return *this;} /** *

The unique identifier for a built-in intent.

*/ inline GetBuiltinIntentResult& WithSignature(const char* value) { SetSignature(value); return *this;} /** *

A list of locales that the intent supports.

*/ inline const Aws::Vector& GetSupportedLocales() const{ return m_supportedLocales; } /** *

A list of locales that the intent supports.

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

A list of locales that the intent supports.

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

A list of locales that the intent supports.

*/ inline GetBuiltinIntentResult& WithSupportedLocales(const Aws::Vector& value) { SetSupportedLocales(value); return *this;} /** *

A list of locales that the intent supports.

*/ inline GetBuiltinIntentResult& WithSupportedLocales(Aws::Vector&& value) { SetSupportedLocales(std::move(value)); return *this;} /** *

A list of locales that the intent supports.

*/ inline GetBuiltinIntentResult& AddSupportedLocales(const Locale& value) { m_supportedLocales.push_back(value); return *this; } /** *

A list of locales that the intent supports.

*/ inline GetBuiltinIntentResult& AddSupportedLocales(Locale&& value) { m_supportedLocales.push_back(std::move(value)); return *this; } /** *

An array of BuiltinIntentSlot objects, one entry for each slot * type in the intent.

*/ inline const Aws::Vector& GetSlots() const{ return m_slots; } /** *

An array of BuiltinIntentSlot objects, one entry for each slot * type in the intent.

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

An array of BuiltinIntentSlot objects, one entry for each slot * type in the intent.

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

An array of BuiltinIntentSlot objects, one entry for each slot * type in the intent.

*/ inline GetBuiltinIntentResult& WithSlots(const Aws::Vector& value) { SetSlots(value); return *this;} /** *

An array of BuiltinIntentSlot objects, one entry for each slot * type in the intent.

*/ inline GetBuiltinIntentResult& WithSlots(Aws::Vector&& value) { SetSlots(std::move(value)); return *this;} /** *

An array of BuiltinIntentSlot objects, one entry for each slot * type in the intent.

*/ inline GetBuiltinIntentResult& AddSlots(const BuiltinIntentSlot& value) { m_slots.push_back(value); return *this; } /** *

An array of BuiltinIntentSlot objects, one entry for each slot * type in the intent.

*/ inline GetBuiltinIntentResult& AddSlots(BuiltinIntentSlot&& value) { m_slots.push_back(std::move(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 GetBuiltinIntentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetBuiltinIntentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetBuiltinIntentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_signature; Aws::Vector m_supportedLocales; Aws::Vector m_slots; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelBuildingService } // namespace Aws