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

The options for a table field.

See Also:

AWS * API Reference

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

The field ID for a table field.

*/ inline const Aws::String& GetFieldId() const{ return m_fieldId; } /** *

The field ID for a table field.

*/ inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; } /** *

The field ID for a table field.

*/ inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; } /** *

The field ID for a table field.

*/ inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); } /** *

The field ID for a table field.

*/ inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); } /** *

The field ID for a table field.

*/ inline TableFieldOption& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;} /** *

The field ID for a table field.

*/ inline TableFieldOption& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;} /** *

The field ID for a table field.

*/ inline TableFieldOption& WithFieldId(const char* value) { SetFieldId(value); return *this;} /** *

The width for a table field.

*/ inline const Aws::String& GetWidth() const{ return m_width; } /** *

The width for a table field.

*/ inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; } /** *

The width for a table field.

*/ inline void SetWidth(const Aws::String& value) { m_widthHasBeenSet = true; m_width = value; } /** *

The width for a table field.

*/ inline void SetWidth(Aws::String&& value) { m_widthHasBeenSet = true; m_width = std::move(value); } /** *

The width for a table field.

*/ inline void SetWidth(const char* value) { m_widthHasBeenSet = true; m_width.assign(value); } /** *

The width for a table field.

*/ inline TableFieldOption& WithWidth(const Aws::String& value) { SetWidth(value); return *this;} /** *

The width for a table field.

*/ inline TableFieldOption& WithWidth(Aws::String&& value) { SetWidth(std::move(value)); return *this;} /** *

The width for a table field.

*/ inline TableFieldOption& WithWidth(const char* value) { SetWidth(value); return *this;} /** *

The custom label for a table field.

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

The custom label for a table field.

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

The custom label for a table field.

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

The custom label for a table field.

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

The custom label for a table field.

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

The custom label for a table field.

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

The custom label for a table field.

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

The custom label for a table field.

*/ inline TableFieldOption& WithCustomLabel(const char* value) { SetCustomLabel(value); return *this;} /** *

The visibility of a table field.

*/ inline const Visibility& GetVisibility() const{ return m_visibility; } /** *

The visibility of a table field.

*/ inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; } /** *

The visibility of a table field.

*/ inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; } /** *

The visibility of a table field.

*/ inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); } /** *

The visibility of a table field.

*/ inline TableFieldOption& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;} /** *

The visibility of a table field.

*/ inline TableFieldOption& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;} /** *

The URL configuration for a table field.

*/ inline const TableFieldURLConfiguration& GetURLStyling() const{ return m_uRLStyling; } /** *

The URL configuration for a table field.

*/ inline bool URLStylingHasBeenSet() const { return m_uRLStylingHasBeenSet; } /** *

The URL configuration for a table field.

*/ inline void SetURLStyling(const TableFieldURLConfiguration& value) { m_uRLStylingHasBeenSet = true; m_uRLStyling = value; } /** *

The URL configuration for a table field.

*/ inline void SetURLStyling(TableFieldURLConfiguration&& value) { m_uRLStylingHasBeenSet = true; m_uRLStyling = std::move(value); } /** *

The URL configuration for a table field.

*/ inline TableFieldOption& WithURLStyling(const TableFieldURLConfiguration& value) { SetURLStyling(value); return *this;} /** *

The URL configuration for a table field.

*/ inline TableFieldOption& WithURLStyling(TableFieldURLConfiguration&& value) { SetURLStyling(std::move(value)); return *this;} private: Aws::String m_fieldId; bool m_fieldIdHasBeenSet = false; Aws::String m_width; bool m_widthHasBeenSet = false; Aws::String m_customLabel; bool m_customLabelHasBeenSet = false; Visibility m_visibility; bool m_visibilityHasBeenSet = false; TableFieldURLConfiguration m_uRLStyling; bool m_uRLStylingHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws