/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The number of messages that can be sent to an endpoint during the specified
* timeframe for all journeys.See Also:
AWS
* API Reference
The maximum number of messages that all journeys can send to an endpoint * during the specified timeframe. The maximum value is 100. If set to 0, this * limit will not apply.
*/ inline int GetCap() const{ return m_cap; } /** *The maximum number of messages that all journeys can send to an endpoint * during the specified timeframe. The maximum value is 100. If set to 0, this * limit will not apply.
*/ inline bool CapHasBeenSet() const { return m_capHasBeenSet; } /** *The maximum number of messages that all journeys can send to an endpoint * during the specified timeframe. The maximum value is 100. If set to 0, this * limit will not apply.
*/ inline void SetCap(int value) { m_capHasBeenSet = true; m_cap = value; } /** *The maximum number of messages that all journeys can send to an endpoint * during the specified timeframe. The maximum value is 100. If set to 0, this * limit will not apply.
*/ inline JourneyTimeframeCap& WithCap(int value) { SetCap(value); return *this;} /** *The length of the timeframe in days. The maximum value is 30. If set to 0, * this limit will not apply.
*/ inline int GetDays() const{ return m_days; } /** *The length of the timeframe in days. The maximum value is 30. If set to 0, * this limit will not apply.
*/ inline bool DaysHasBeenSet() const { return m_daysHasBeenSet; } /** *The length of the timeframe in days. The maximum value is 30. If set to 0, * this limit will not apply.
*/ inline void SetDays(int value) { m_daysHasBeenSet = true; m_days = value; } /** *The length of the timeframe in days. The maximum value is 30. If set to 0, * this limit will not apply.
*/ inline JourneyTimeframeCap& WithDays(int value) { SetDays(value); return *this;} private: int m_cap; bool m_capHasBeenSet = false; int m_days; bool m_daysHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws