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

The default values of the * DateTimeParameterDeclaration.

See Also:

AWS * API Reference

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

The dynamic value of the DataTimeDefaultValues. Different * defaults are displayed according to users, groups, and values mapping.

*/ inline const DynamicDefaultValue& GetDynamicValue() const{ return m_dynamicValue; } /** *

The dynamic value of the DataTimeDefaultValues. Different * defaults are displayed according to users, groups, and values mapping.

*/ inline bool DynamicValueHasBeenSet() const { return m_dynamicValueHasBeenSet; } /** *

The dynamic value of the DataTimeDefaultValues. Different * defaults are displayed according to users, groups, and values mapping.

*/ inline void SetDynamicValue(const DynamicDefaultValue& value) { m_dynamicValueHasBeenSet = true; m_dynamicValue = value; } /** *

The dynamic value of the DataTimeDefaultValues. Different * defaults are displayed according to users, groups, and values mapping.

*/ inline void SetDynamicValue(DynamicDefaultValue&& value) { m_dynamicValueHasBeenSet = true; m_dynamicValue = std::move(value); } /** *

The dynamic value of the DataTimeDefaultValues. Different * defaults are displayed according to users, groups, and values mapping.

*/ inline DateTimeDefaultValues& WithDynamicValue(const DynamicDefaultValue& value) { SetDynamicValue(value); return *this;} /** *

The dynamic value of the DataTimeDefaultValues. Different * defaults are displayed according to users, groups, and values mapping.

*/ inline DateTimeDefaultValues& WithDynamicValue(DynamicDefaultValue&& value) { SetDynamicValue(std::move(value)); return *this;} /** *

The static values of the DataTimeDefaultValues.

*/ inline const Aws::Vector& GetStaticValues() const{ return m_staticValues; } /** *

The static values of the DataTimeDefaultValues.

*/ inline bool StaticValuesHasBeenSet() const { return m_staticValuesHasBeenSet; } /** *

The static values of the DataTimeDefaultValues.

*/ inline void SetStaticValues(const Aws::Vector& value) { m_staticValuesHasBeenSet = true; m_staticValues = value; } /** *

The static values of the DataTimeDefaultValues.

*/ inline void SetStaticValues(Aws::Vector&& value) { m_staticValuesHasBeenSet = true; m_staticValues = std::move(value); } /** *

The static values of the DataTimeDefaultValues.

*/ inline DateTimeDefaultValues& WithStaticValues(const Aws::Vector& value) { SetStaticValues(value); return *this;} /** *

The static values of the DataTimeDefaultValues.

*/ inline DateTimeDefaultValues& WithStaticValues(Aws::Vector&& value) { SetStaticValues(std::move(value)); return *this;} /** *

The static values of the DataTimeDefaultValues.

*/ inline DateTimeDefaultValues& AddStaticValues(const Aws::Utils::DateTime& value) { m_staticValuesHasBeenSet = true; m_staticValues.push_back(value); return *this; } /** *

The static values of the DataTimeDefaultValues.

*/ inline DateTimeDefaultValues& AddStaticValues(Aws::Utils::DateTime&& value) { m_staticValuesHasBeenSet = true; m_staticValues.push_back(std::move(value)); return *this; } /** *

The rolling date of the DataTimeDefaultValues. The date is * determined from the dataset based on input expression.

*/ inline const RollingDateConfiguration& GetRollingDate() const{ return m_rollingDate; } /** *

The rolling date of the DataTimeDefaultValues. The date is * determined from the dataset based on input expression.

*/ inline bool RollingDateHasBeenSet() const { return m_rollingDateHasBeenSet; } /** *

The rolling date of the DataTimeDefaultValues. The date is * determined from the dataset based on input expression.

*/ inline void SetRollingDate(const RollingDateConfiguration& value) { m_rollingDateHasBeenSet = true; m_rollingDate = value; } /** *

The rolling date of the DataTimeDefaultValues. The date is * determined from the dataset based on input expression.

*/ inline void SetRollingDate(RollingDateConfiguration&& value) { m_rollingDateHasBeenSet = true; m_rollingDate = std::move(value); } /** *

The rolling date of the DataTimeDefaultValues. The date is * determined from the dataset based on input expression.

*/ inline DateTimeDefaultValues& WithRollingDate(const RollingDateConfiguration& value) { SetRollingDate(value); return *this;} /** *

The rolling date of the DataTimeDefaultValues. The date is * determined from the dataset based on input expression.

*/ inline DateTimeDefaultValues& WithRollingDate(RollingDateConfiguration&& value) { SetRollingDate(std::move(value)); return *this;} private: DynamicDefaultValue m_dynamicValue; bool m_dynamicValueHasBeenSet = false; Aws::Vector m_staticValues; bool m_staticValuesHasBeenSet = false; RollingDateConfiguration m_rollingDate; bool m_rollingDateHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws