/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies limits on the messages that a journey can send and the number of
* times participants can enter a journey.See Also:
AWS
* API Reference
The maximum number of messages that the journey can send to a single * participant during a 24-hour period. The maximum value is 100.
*/ inline int GetDailyCap() const{ return m_dailyCap; } /** *The maximum number of messages that the journey can send to a single * participant during a 24-hour period. The maximum value is 100.
*/ inline bool DailyCapHasBeenSet() const { return m_dailyCapHasBeenSet; } /** *The maximum number of messages that the journey can send to a single * participant during a 24-hour period. The maximum value is 100.
*/ inline void SetDailyCap(int value) { m_dailyCapHasBeenSet = true; m_dailyCap = value; } /** *The maximum number of messages that the journey can send to a single * participant during a 24-hour period. The maximum value is 100.
*/ inline JourneyLimits& WithDailyCap(int value) { SetDailyCap(value); return *this;} /** *The maximum number of times that a participant can enter the journey. The * maximum value is 100. To allow participants to enter the journey an unlimited * number of times, set this value to 0.
*/ inline int GetEndpointReentryCap() const{ return m_endpointReentryCap; } /** *The maximum number of times that a participant can enter the journey. The * maximum value is 100. To allow participants to enter the journey an unlimited * number of times, set this value to 0.
*/ inline bool EndpointReentryCapHasBeenSet() const { return m_endpointReentryCapHasBeenSet; } /** *The maximum number of times that a participant can enter the journey. The * maximum value is 100. To allow participants to enter the journey an unlimited * number of times, set this value to 0.
*/ inline void SetEndpointReentryCap(int value) { m_endpointReentryCapHasBeenSet = true; m_endpointReentryCap = value; } /** *The maximum number of times that a participant can enter the journey. The * maximum value is 100. To allow participants to enter the journey an unlimited * number of times, set this value to 0.
*/ inline JourneyLimits& WithEndpointReentryCap(int value) { SetEndpointReentryCap(value); return *this;} /** *The maximum number of messages that the journey can send each second.
*/ inline int GetMessagesPerSecond() const{ return m_messagesPerSecond; } /** *The maximum number of messages that the journey can send each second.
*/ inline bool MessagesPerSecondHasBeenSet() const { return m_messagesPerSecondHasBeenSet; } /** *The maximum number of messages that the journey can send each second.
*/ inline void SetMessagesPerSecond(int value) { m_messagesPerSecondHasBeenSet = true; m_messagesPerSecond = value; } /** *The maximum number of messages that the journey can send each second.
*/ inline JourneyLimits& WithMessagesPerSecond(int value) { SetMessagesPerSecond(value); return *this;} private: int m_dailyCap; bool m_dailyCapHasBeenSet; int m_endpointReentryCap; bool m_endpointReentryCapHasBeenSet; int m_messagesPerSecond; bool m_messagesPerSecondHasBeenSet; }; } // namespace Model } // namespace Pinpoint } // namespace Aws