/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The exclude period of TimeRangeFilter
or
* RelativeDatesFilter
.See Also:
AWS
* API Reference
The amount or number of the exclude period.
*/ inline int GetAmount() const{ return m_amount; } /** *The amount or number of the exclude period.
*/ inline bool AmountHasBeenSet() const { return m_amountHasBeenSet; } /** *The amount or number of the exclude period.
*/ inline void SetAmount(int value) { m_amountHasBeenSet = true; m_amount = value; } /** *The amount or number of the exclude period.
*/ inline ExcludePeriodConfiguration& WithAmount(int value) { SetAmount(value); return *this;} /** *The granularity or unit (day, month, year) of the exclude period.
*/ inline const TimeGranularity& GetGranularity() const{ return m_granularity; } /** *The granularity or unit (day, month, year) of the exclude period.
*/ inline bool GranularityHasBeenSet() const { return m_granularityHasBeenSet; } /** *The granularity or unit (day, month, year) of the exclude period.
*/ inline void SetGranularity(const TimeGranularity& value) { m_granularityHasBeenSet = true; m_granularity = value; } /** *The granularity or unit (day, month, year) of the exclude period.
*/ inline void SetGranularity(TimeGranularity&& value) { m_granularityHasBeenSet = true; m_granularity = std::move(value); } /** *The granularity or unit (day, month, year) of the exclude period.
*/ inline ExcludePeriodConfiguration& WithGranularity(const TimeGranularity& value) { SetGranularity(value); return *this;} /** *The granularity or unit (day, month, year) of the exclude period.
*/ inline ExcludePeriodConfiguration& WithGranularity(TimeGranularity&& value) { SetGranularity(std::move(value)); return *this;} /** *The status of the exclude period. Choose from the following options:
ENABLED
DISABLED
The status of the exclude period. Choose from the following options:
ENABLED
DISABLED
The status of the exclude period. Choose from the following options:
ENABLED
DISABLED
The status of the exclude period. Choose from the following options:
ENABLED
DISABLED
The status of the exclude period. Choose from the following options:
ENABLED
DISABLED
The status of the exclude period. Choose from the following options:
ENABLED
DISABLED