/** * 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 { /** *

The configuration for a custom label on a * ReferenceLine.

See Also:

AWS * API Reference

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

The string text of the custom label.

*/ inline const Aws::String& GetCustomLabel() const{ return m_customLabel; } /** *

The string text of the custom label.

*/ inline bool CustomLabelHasBeenSet() const { return m_customLabelHasBeenSet; } /** *

The string text of the custom label.

*/ inline void SetCustomLabel(const Aws::String& value) { m_customLabelHasBeenSet = true; m_customLabel = value; } /** *

The string text of the custom label.

*/ inline void SetCustomLabel(Aws::String&& value) { m_customLabelHasBeenSet = true; m_customLabel = std::move(value); } /** *

The string text of the custom label.

*/ inline void SetCustomLabel(const char* value) { m_customLabelHasBeenSet = true; m_customLabel.assign(value); } /** *

The string text of the custom label.

*/ inline ReferenceLineCustomLabelConfiguration& WithCustomLabel(const Aws::String& value) { SetCustomLabel(value); return *this;} /** *

The string text of the custom label.

*/ inline ReferenceLineCustomLabelConfiguration& WithCustomLabel(Aws::String&& value) { SetCustomLabel(std::move(value)); return *this;} /** *

The string text of the custom label.

*/ inline ReferenceLineCustomLabelConfiguration& WithCustomLabel(const char* value) { SetCustomLabel(value); return *this;} private: Aws::String m_customLabel; bool m_customLabelHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws