/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The text format for the title. This is a union type structure. For
* this structure to be valid, only one of the attributes can be
* defined.See Also:
AWS
* API Reference
Plain text format.
*/ inline const Aws::String& GetPlainText() const{ return m_plainText; } /** *Plain text format.
*/ inline bool PlainTextHasBeenSet() const { return m_plainTextHasBeenSet; } /** *Plain text format.
*/ inline void SetPlainText(const Aws::String& value) { m_plainTextHasBeenSet = true; m_plainText = value; } /** *Plain text format.
*/ inline void SetPlainText(Aws::String&& value) { m_plainTextHasBeenSet = true; m_plainText = std::move(value); } /** *Plain text format.
*/ inline void SetPlainText(const char* value) { m_plainTextHasBeenSet = true; m_plainText.assign(value); } /** *Plain text format.
*/ inline ShortFormatText& WithPlainText(const Aws::String& value) { SetPlainText(value); return *this;} /** *Plain text format.
*/ inline ShortFormatText& WithPlainText(Aws::String&& value) { SetPlainText(std::move(value)); return *this;} /** *Plain text format.
*/ inline ShortFormatText& WithPlainText(const char* value) { SetPlainText(value); return *this;} /** *Rich text. Examples of rich text include bold, underline, and italics.
*/ inline const Aws::String& GetRichText() const{ return m_richText; } /** *Rich text. Examples of rich text include bold, underline, and italics.
*/ inline bool RichTextHasBeenSet() const { return m_richTextHasBeenSet; } /** *Rich text. Examples of rich text include bold, underline, and italics.
*/ inline void SetRichText(const Aws::String& value) { m_richTextHasBeenSet = true; m_richText = value; } /** *Rich text. Examples of rich text include bold, underline, and italics.
*/ inline void SetRichText(Aws::String&& value) { m_richTextHasBeenSet = true; m_richText = std::move(value); } /** *Rich text. Examples of rich text include bold, underline, and italics.
*/ inline void SetRichText(const char* value) { m_richTextHasBeenSet = true; m_richText.assign(value); } /** *Rich text. Examples of rich text include bold, underline, and italics.
*/ inline ShortFormatText& WithRichText(const Aws::String& value) { SetRichText(value); return *this;} /** *Rich text. Examples of rich text include bold, underline, and italics.
*/ inline ShortFormatText& WithRichText(Aws::String&& value) { SetRichText(std::move(value)); return *this;} /** *Rich text. Examples of rich text include bold, underline, and italics.
*/ inline ShortFormatText& WithRichText(const char* value) { SetRichText(value); return *this;} private: Aws::String m_plainText; bool m_plainTextHasBeenSet = false; Aws::String m_richText; bool m_richTextHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws