7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/customer-profiles/model/Period.h>
22namespace CustomerProfiles
50 inline void SetEventExpiration(
long long value) { m_eventExpirationHasBeenSet =
true; m_eventExpiration = value; }
60 template<
typename PeriodsT = Aws::Vector<Period>>
61 void SetPeriods(PeriodsT&& value) { m_periodsHasBeenSet =
true; m_periods = std::forward<PeriodsT>(value); }
62 template<
typename PeriodsT = Aws::Vector<Period>>
64 template<
typename PeriodsT = Period>
65 EventTriggerLimits&
AddPeriods(PeriodsT&& value) { m_periodsHasBeenSet =
true; m_periods.emplace_back(std::forward<PeriodsT>(value));
return *
this; }
69 long long m_eventExpiration{0};
70 bool m_eventExpirationHasBeenSet =
false;
73 bool m_periodsHasBeenSet =
false;
EventTriggerLimits & WithPeriods(PeriodsT &&value)
bool PeriodsHasBeenSet() const
void SetPeriods(PeriodsT &&value)
EventTriggerLimits & AddPeriods(PeriodsT &&value)
AWS_CUSTOMERPROFILES_API EventTriggerLimits()=default
AWS_CUSTOMERPROFILES_API EventTriggerLimits(Aws::Utils::Json::JsonView jsonValue)
bool EventExpirationHasBeenSet() const
void SetEventExpiration(long long value)
const Aws::Vector< Period > & GetPeriods() const
EventTriggerLimits & WithEventExpiration(long long value)
AWS_CUSTOMERPROFILES_API EventTriggerLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetEventExpiration() const
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue