/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The relative time period over which data is included in the
* aggregation.See Also:
AWS
* API Reference
The amount of time of the specified unit.
*/ inline int GetValue() const{ return m_value; } /** *The amount of time of the specified unit.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The amount of time of the specified unit.
*/ inline void SetValue(int value) { m_valueHasBeenSet = true; m_value = value; } /** *The amount of time of the specified unit.
*/ inline Range& WithValue(int value) { SetValue(value); return *this;} /** *The unit of time.
*/ inline const Unit& GetUnit() const{ return m_unit; } /** *The unit of time.
*/ inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; } /** *The unit of time.
*/ inline void SetUnit(const Unit& value) { m_unitHasBeenSet = true; m_unit = value; } /** *The unit of time.
*/ inline void SetUnit(Unit&& value) { m_unitHasBeenSet = true; m_unit = std::move(value); } /** *The unit of time.
*/ inline Range& WithUnit(const Unit& value) { SetUnit(value); return *this;} /** *The unit of time.
*/ inline Range& WithUnit(Unit&& value) { SetUnit(std::move(value)); return *this;} private: int m_value; bool m_valueHasBeenSet = false; Unit m_unit; bool m_unitHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws