7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9#include <aws/pinpoint/model/JourneyTimeframeCap.h>
44 m_dailyCapHasBeenSet =
true;
62 m_endpointReentryCapHasBeenSet =
true;
63 m_endpointReentryCap = value;
78 m_messagesPerSecondHasBeenSet =
true;
79 m_messagesPerSecond = value;
94 template <
typename Endpo
intReentryIntervalT = Aws::String>
96 m_endpointReentryIntervalHasBeenSet =
true;
97 m_endpointReentryInterval = std::forward<EndpointReentryIntervalT>(value);
99 template <
typename Endpo
intReentryIntervalT = Aws::String>
113 template <
typename TimeframeCapT = JourneyTimeframeCap>
115 m_timeframeCapHasBeenSet =
true;
116 m_timeframeCap = std::forward<TimeframeCapT>(value);
118 template <
typename TimeframeCapT = JourneyTimeframeCap>
133 m_totalCapHasBeenSet =
true;
143 bool m_dailyCapHasBeenSet =
false;
145 int m_endpointReentryCap{0};
146 bool m_endpointReentryCapHasBeenSet =
false;
148 int m_messagesPerSecond{0};
149 bool m_messagesPerSecondHasBeenSet =
false;
152 bool m_endpointReentryIntervalHasBeenSet =
false;
154 JourneyTimeframeCap m_timeframeCap;
155 bool m_timeframeCapHasBeenSet =
false;
158 bool m_totalCapHasBeenSet =
false;
JourneyLimits & WithTotalCap(int value)
bool EndpointReentryCapHasBeenSet() const
const JourneyTimeframeCap & GetTimeframeCap() const
int GetEndpointReentryCap() const
void SetEndpointReentryCap(int value)
void SetTotalCap(int value)
bool MessagesPerSecondHasBeenSet() const
bool DailyCapHasBeenSet() const
const Aws::String & GetEndpointReentryInterval() const
AWS_PINPOINT_API JourneyLimits(Aws::Utils::Json::JsonView jsonValue)
void SetTimeframeCap(TimeframeCapT &&value)
void SetMessagesPerSecond(int value)
JourneyLimits & WithEndpointReentryInterval(EndpointReentryIntervalT &&value)
bool TotalCapHasBeenSet() const
void SetEndpointReentryInterval(EndpointReentryIntervalT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
bool TimeframeCapHasBeenSet() const
void SetDailyCap(int value)
bool EndpointReentryIntervalHasBeenSet() const
JourneyLimits & WithEndpointReentryCap(int value)
JourneyLimits & WithDailyCap(int value)
JourneyLimits & WithTimeframeCap(TimeframeCapT &&value)
AWS_PINPOINT_API JourneyLimits()=default
AWS_PINPOINT_API JourneyLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetMessagesPerSecond() const
JourneyLimits & WithMessagesPerSecond(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue