/** * 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 AWS_LEXMODELBUILDINGSERVICE_API GetBuiltinIntentResult { public: GetBuiltinIntentResult(); GetBuiltinIntentResult(const Aws::AmazonWebServiceResult& result); 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; } private: Aws::String m_signature; Aws::Vector m_supportedLocales; Aws::Vector m_slots; }; } // namespace Model } // namespace LexModelBuildingService } // namespace Aws