/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the quota period.See Also:
AWS
* API Reference
The value.
*/ inline int GetPeriodValue() const{ return m_periodValue; } /** *The value.
*/ inline bool PeriodValueHasBeenSet() const { return m_periodValueHasBeenSet; } /** *The value.
*/ inline void SetPeriodValue(int value) { m_periodValueHasBeenSet = true; m_periodValue = value; } /** *The value.
*/ inline QuotaPeriod& WithPeriodValue(int value) { SetPeriodValue(value); return *this;} /** *The time unit.
*/ inline const PeriodUnit& GetPeriodUnit() const{ return m_periodUnit; } /** *The time unit.
*/ inline bool PeriodUnitHasBeenSet() const { return m_periodUnitHasBeenSet; } /** *The time unit.
*/ inline void SetPeriodUnit(const PeriodUnit& value) { m_periodUnitHasBeenSet = true; m_periodUnit = value; } /** *The time unit.
*/ inline void SetPeriodUnit(PeriodUnit&& value) { m_periodUnitHasBeenSet = true; m_periodUnit = std::move(value); } /** *The time unit.
*/ inline QuotaPeriod& WithPeriodUnit(const PeriodUnit& value) { SetPeriodUnit(value); return *this;} /** *The time unit.
*/ inline QuotaPeriod& WithPeriodUnit(PeriodUnit&& value) { SetPeriodUnit(std::move(value)); return *this;} private: int m_periodValue; bool m_periodValueHasBeenSet = false; PeriodUnit m_periodUnit; bool m_periodUnitHasBeenSet = false; }; } // namespace Model } // namespace ServiceQuotas } // namespace Aws