/** * 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 QuickSight { namespace Model { /** *

A text box.

See Also:

AWS * API Reference

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

The unique identifier for a text box. This identifier must be unique within * the context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have text boxes that share identifiers.

*/ inline const Aws::String& GetSheetTextBoxId() const{ return m_sheetTextBoxId; } /** *

The unique identifier for a text box. This identifier must be unique within * the context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have text boxes that share identifiers.

*/ inline bool SheetTextBoxIdHasBeenSet() const { return m_sheetTextBoxIdHasBeenSet; } /** *

The unique identifier for a text box. This identifier must be unique within * the context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have text boxes that share identifiers.

*/ inline void SetSheetTextBoxId(const Aws::String& value) { m_sheetTextBoxIdHasBeenSet = true; m_sheetTextBoxId = value; } /** *

The unique identifier for a text box. This identifier must be unique within * the context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have text boxes that share identifiers.

*/ inline void SetSheetTextBoxId(Aws::String&& value) { m_sheetTextBoxIdHasBeenSet = true; m_sheetTextBoxId = std::move(value); } /** *

The unique identifier for a text box. This identifier must be unique within * the context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have text boxes that share identifiers.

*/ inline void SetSheetTextBoxId(const char* value) { m_sheetTextBoxIdHasBeenSet = true; m_sheetTextBoxId.assign(value); } /** *

The unique identifier for a text box. This identifier must be unique within * the context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have text boxes that share identifiers.

*/ inline SheetTextBox& WithSheetTextBoxId(const Aws::String& value) { SetSheetTextBoxId(value); return *this;} /** *

The unique identifier for a text box. This identifier must be unique within * the context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have text boxes that share identifiers.

*/ inline SheetTextBox& WithSheetTextBoxId(Aws::String&& value) { SetSheetTextBoxId(std::move(value)); return *this;} /** *

The unique identifier for a text box. This identifier must be unique within * the context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have text boxes that share identifiers.

*/ inline SheetTextBox& WithSheetTextBoxId(const char* value) { SetSheetTextBoxId(value); return *this;} /** *

The content that is displayed in the text box.

*/ inline const Aws::String& GetContent() const{ return m_content; } /** *

The content that is displayed in the text box.

*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *

The content that is displayed in the text box.

*/ inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; } /** *

The content that is displayed in the text box.

*/ inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *

The content that is displayed in the text box.

*/ inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); } /** *

The content that is displayed in the text box.

*/ inline SheetTextBox& WithContent(const Aws::String& value) { SetContent(value); return *this;} /** *

The content that is displayed in the text box.

*/ inline SheetTextBox& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} /** *

The content that is displayed in the text box.

*/ inline SheetTextBox& WithContent(const char* value) { SetContent(value); return *this;} private: Aws::String m_sheetTextBoxId; bool m_sheetTextBoxIdHasBeenSet = false; Aws::String m_content; bool m_contentHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws