/** * 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 optional configuration of subtotals cells.

See Also:

AWS * API Reference

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

The field ID of the subtotal options.

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

The field ID of the subtotal options.

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

The field ID of the subtotal options.

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

The field ID of the subtotal options.

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

The field ID of the subtotal options.

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

The field ID of the subtotal options.

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

The field ID of the subtotal options.

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

The field ID of the subtotal options.

*/ inline PivotTableFieldSubtotalOptions& WithFieldId(const char* value) { SetFieldId(value); return *this;} private: Aws::String m_fieldId; bool m_fieldIdHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws