/** * 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 rolling date configuration of a date time filter.

See * Also:

AWS * API Reference

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

The data set that is used in the rolling date configuration.

*/ inline const Aws::String& GetDataSetIdentifier() const{ return m_dataSetIdentifier; } /** *

The data set that is used in the rolling date configuration.

*/ inline bool DataSetIdentifierHasBeenSet() const { return m_dataSetIdentifierHasBeenSet; } /** *

The data set that is used in the rolling date configuration.

*/ inline void SetDataSetIdentifier(const Aws::String& value) { m_dataSetIdentifierHasBeenSet = true; m_dataSetIdentifier = value; } /** *

The data set that is used in the rolling date configuration.

*/ inline void SetDataSetIdentifier(Aws::String&& value) { m_dataSetIdentifierHasBeenSet = true; m_dataSetIdentifier = std::move(value); } /** *

The data set that is used in the rolling date configuration.

*/ inline void SetDataSetIdentifier(const char* value) { m_dataSetIdentifierHasBeenSet = true; m_dataSetIdentifier.assign(value); } /** *

The data set that is used in the rolling date configuration.

*/ inline RollingDateConfiguration& WithDataSetIdentifier(const Aws::String& value) { SetDataSetIdentifier(value); return *this;} /** *

The data set that is used in the rolling date configuration.

*/ inline RollingDateConfiguration& WithDataSetIdentifier(Aws::String&& value) { SetDataSetIdentifier(std::move(value)); return *this;} /** *

The data set that is used in the rolling date configuration.

*/ inline RollingDateConfiguration& WithDataSetIdentifier(const char* value) { SetDataSetIdentifier(value); return *this;} /** *

The expression of the rolling date configuration.

*/ inline const Aws::String& GetExpression() const{ return m_expression; } /** *

The expression of the rolling date configuration.

*/ inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; } /** *

The expression of the rolling date configuration.

*/ inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; } /** *

The expression of the rolling date configuration.

*/ inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); } /** *

The expression of the rolling date configuration.

*/ inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); } /** *

The expression of the rolling date configuration.

*/ inline RollingDateConfiguration& WithExpression(const Aws::String& value) { SetExpression(value); return *this;} /** *

The expression of the rolling date configuration.

*/ inline RollingDateConfiguration& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;} /** *

The expression of the rolling date configuration.

*/ inline RollingDateConfiguration& WithExpression(const char* value) { SetExpression(value); return *this;} private: Aws::String m_dataSetIdentifier; bool m_dataSetIdentifierHasBeenSet = false; Aws::String m_expression; bool m_expressionHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws