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

The content definition. This can contain only one text, SSML, or audio list * object.

See Also:

AWS * API Reference

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

The list of text messages.

*/ inline const Aws::Vector& GetTextList() const{ return m_textList; } /** *

The list of text messages.

*/ inline bool TextListHasBeenSet() const { return m_textListHasBeenSet; } /** *

The list of text messages.

*/ inline void SetTextList(const Aws::Vector& value) { m_textListHasBeenSet = true; m_textList = value; } /** *

The list of text messages.

*/ inline void SetTextList(Aws::Vector&& value) { m_textListHasBeenSet = true; m_textList = std::move(value); } /** *

The list of text messages.

*/ inline Content& WithTextList(const Aws::Vector& value) { SetTextList(value); return *this;} /** *

The list of text messages.

*/ inline Content& WithTextList(Aws::Vector&& value) { SetTextList(std::move(value)); return *this;} /** *

The list of text messages.

*/ inline Content& AddTextList(const Text& value) { m_textListHasBeenSet = true; m_textList.push_back(value); return *this; } /** *

The list of text messages.

*/ inline Content& AddTextList(Text&& value) { m_textListHasBeenSet = true; m_textList.push_back(std::move(value)); return *this; } /** *

The list of SSML messages.

*/ inline const Aws::Vector& GetSsmlList() const{ return m_ssmlList; } /** *

The list of SSML messages.

*/ inline bool SsmlListHasBeenSet() const { return m_ssmlListHasBeenSet; } /** *

The list of SSML messages.

*/ inline void SetSsmlList(const Aws::Vector& value) { m_ssmlListHasBeenSet = true; m_ssmlList = value; } /** *

The list of SSML messages.

*/ inline void SetSsmlList(Aws::Vector&& value) { m_ssmlListHasBeenSet = true; m_ssmlList = std::move(value); } /** *

The list of SSML messages.

*/ inline Content& WithSsmlList(const Aws::Vector& value) { SetSsmlList(value); return *this;} /** *

The list of SSML messages.

*/ inline Content& WithSsmlList(Aws::Vector&& value) { SetSsmlList(std::move(value)); return *this;} /** *

The list of SSML messages.

*/ inline Content& AddSsmlList(const Ssml& value) { m_ssmlListHasBeenSet = true; m_ssmlList.push_back(value); return *this; } /** *

The list of SSML messages.

*/ inline Content& AddSsmlList(Ssml&& value) { m_ssmlListHasBeenSet = true; m_ssmlList.push_back(std::move(value)); return *this; } /** *

The list of audio messages.

*/ inline const Aws::Vector