7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/JourneyTimeframeCap.h>
49 inline void SetDailyCap(
int value) { m_dailyCapHasBeenSet =
true; m_dailyCap = value; }
61 inline void SetEndpointReentryCap(
int value) { m_endpointReentryCapHasBeenSet =
true; m_endpointReentryCap = value; }
71 inline void SetMessagesPerSecond(
int value) { m_messagesPerSecondHasBeenSet =
true; m_messagesPerSecond = value; }
84 inline void SetEndpointReentryInterval(
const char* value) { m_endpointReentryIntervalHasBeenSet =
true; m_endpointReentryInterval.assign(value); }
110 inline void SetTotalCap(
int value) { m_totalCapHasBeenSet =
true; m_totalCap = value; }
116 bool m_dailyCapHasBeenSet =
false;
118 int m_endpointReentryCap;
119 bool m_endpointReentryCapHasBeenSet =
false;
121 int m_messagesPerSecond;
122 bool m_messagesPerSecondHasBeenSet =
false;
125 bool m_endpointReentryIntervalHasBeenSet =
false;
128 bool m_timeframeCapHasBeenSet =
false;
131 bool m_totalCapHasBeenSet =
false;
JourneyLimits & WithTotalCap(int value)
bool EndpointReentryCapHasBeenSet() const
JourneyLimits & WithTimeframeCap(JourneyTimeframeCap &&value)
const JourneyTimeframeCap & GetTimeframeCap() const
void SetEndpointReentryInterval(const Aws::String &value)
int GetEndpointReentryCap() const
JourneyLimits & WithEndpointReentryInterval(const Aws::String &value)
void SetEndpointReentryCap(int value)
void SetEndpointReentryInterval(Aws::String &&value)
void SetTotalCap(int value)
bool MessagesPerSecondHasBeenSet() const
bool DailyCapHasBeenSet() const
JourneyLimits & WithEndpointReentryInterval(const char *value)
void SetEndpointReentryInterval(const char *value)
const Aws::String & GetEndpointReentryInterval() const
AWS_PINPOINT_API JourneyLimits(Aws::Utils::Json::JsonView jsonValue)
void SetMessagesPerSecond(int value)
bool TotalCapHasBeenSet() const
void SetTimeframeCap(JourneyTimeframeCap &&value)
AWS_PINPOINT_API JourneyLimits()
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
bool TimeframeCapHasBeenSet() const
void SetDailyCap(int value)
bool EndpointReentryIntervalHasBeenSet() const
JourneyLimits & WithEndpointReentryCap(int value)
void SetTimeframeCap(const JourneyTimeframeCap &value)
JourneyLimits & WithDailyCap(int value)
AWS_PINPOINT_API JourneyLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
JourneyLimits & WithTimeframeCap(const JourneyTimeframeCap &value)
int GetMessagesPerSecond() const
JourneyLimits & WithMessagesPerSecond(int value)
JourneyLimits & WithEndpointReentryInterval(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue