7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
9#include <aws/customer-profiles/model/Period.h>
20namespace CustomerProfiles {
45 m_eventExpirationHasBeenSet =
true;
46 m_eventExpiration = value;
60 template <
typename PeriodsT = Aws::Vector<Period>>
62 m_periodsHasBeenSet =
true;
63 m_periods = std::forward<PeriodsT>(value);
65 template <
typename PeriodsT = Aws::Vector<Period>>
70 template <
typename PeriodsT = Period>
72 m_periodsHasBeenSet =
true;
73 m_periods.emplace_back(std::forward<PeriodsT>(value));
78 long long m_eventExpiration{0};
81 bool m_eventExpirationHasBeenSet =
false;
82 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