/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LexModelBuildingService { namespace Model { /** *

Provides metadata for a built-in intent.

See Also:

AWS * API Reference

*/ class BuiltinIntentMetadata { public: AWS_LEXMODELBUILDINGSERVICE_API BuiltinIntentMetadata(); AWS_LEXMODELBUILDINGSERVICE_API BuiltinIntentMetadata(Aws::Utils::Json::JsonView jsonValue); AWS_LEXMODELBUILDINGSERVICE_API BuiltinIntentMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A unique identifier for the built-in intent. To find the signature for an * intent, see Standard * Built-in Intents in the Alexa Skills Kit.

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

A unique identifier for the built-in intent. To find the signature for an * intent, see Standard * Built-in Intents in the Alexa Skills Kit.

*/ inline bool SignatureHasBeenSet() const { return m_signatureHasBeenSet; } /** *

A unique identifier for the built-in intent. To find the signature for an * intent, see Standard * Built-in Intents in the Alexa Skills Kit.

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

A unique identifier for the built-in intent. To find the signature for an * intent, see Standard * Built-in Intents in the Alexa Skills Kit.

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

A unique identifier for the built-in intent. To find the signature for an * intent, see Standard * Built-in Intents in the Alexa Skills Kit.

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

A unique identifier for the built-in intent. To find the signature for an * intent, see Standard * Built-in Intents in the Alexa Skills Kit.

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

A unique identifier for the built-in intent. To find the signature for an * intent, see Standard * Built-in Intents in the Alexa Skills Kit.

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

A unique identifier for the built-in intent. To find the signature for an * intent, see Standard * Built-in Intents in the Alexa Skills Kit.

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

A list of identifiers for the locales that the intent supports.

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

A list of identifiers for the locales that the intent supports.

*/ inline bool SupportedLocalesHasBeenSet() const { return m_supportedLocalesHasBeenSet; } /** *

A list of identifiers for the locales that the intent supports.

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

A list of identifiers for the locales that the intent supports.

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

A list of identifiers for the locales that the intent supports.

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

A list of identifiers for the locales that the intent supports.

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

A list of identifiers for the locales that the intent supports.

*/ inline BuiltinIntentMetadata& AddSupportedLocales(const Locale& value) { m_supportedLocalesHasBeenSet = true; m_supportedLocales.push_back(value); return *this; } /** *

A list of identifiers for the locales that the intent supports.

*/ inline BuiltinIntentMetadata& AddSupportedLocales(Locale&& value) { m_supportedLocalesHasBeenSet = true; m_supportedLocales.push_back(std::move(value)); return *this; } private: Aws::String m_signature; bool m_signatureHasBeenSet = false; Aws::Vector m_supportedLocales; bool m_supportedLocalesHasBeenSet = false; }; } // namespace Model } // namespace LexModelBuildingService } // namespace Aws