/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { /** *

Defines a Speech Synthesis Markup Language (SSML) prompt.

See * Also:

AWS * API Reference

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

The SSML text that defines the prompt.

*/ inline const Aws::String& GetValue() const{ return m_value; } /** *

The SSML text that defines the prompt.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

The SSML text that defines the prompt.

*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *

The SSML text that defines the prompt.

*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *

The SSML text that defines the prompt.

*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *

The SSML text that defines the prompt.

*/ inline SSMLMessage& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *

The SSML text that defines the prompt.

*/ inline SSMLMessage& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *

The SSML text that defines the prompt.

*/ inline SSMLMessage& WithValue(const char* value) { SetValue(value); return *this;} private: Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws