7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/model/PeriodUnit.h>
19namespace CustomerProfiles {
30 AWS_CUSTOMERPROFILES_API
Period() =
default;
42 m_unitHasBeenSet =
true;
55 inline int GetValue()
const {
return m_value; }
58 m_valueHasBeenSet =
true;
74 m_maxInvocationsPerProfileHasBeenSet =
true;
75 m_maxInvocationsPerProfile = value;
91 m_unlimitedHasBeenSet =
true;
104 int m_maxInvocationsPerProfile{0};
106 bool m_unlimited{
false};
107 bool m_unitHasBeenSet =
false;
108 bool m_valueHasBeenSet =
false;
109 bool m_maxInvocationsPerProfileHasBeenSet =
false;
110 bool m_unlimitedHasBeenSet =
false;
bool ValueHasBeenSet() const
Period & WithValue(int value)
AWS_CUSTOMERPROFILES_API Period & operator=(Aws::Utils::Json::JsonView jsonValue)
Period & WithUnit(PeriodUnit value)
void SetUnit(PeriodUnit value)
bool UnlimitedHasBeenSet() const
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
Period & WithUnlimited(bool value)
void SetUnlimited(bool value)
AWS_CUSTOMERPROFILES_API Period()=default
bool UnitHasBeenSet() const
AWS_CUSTOMERPROFILES_API Period(Aws::Utils::Json::JsonView jsonValue)
void SetMaxInvocationsPerProfile(int value)
bool MaxInvocationsPerProfileHasBeenSet() const
int GetMaxInvocationsPerProfile() const
Period & WithMaxInvocationsPerProfile(int value)
PeriodUnit GetUnit() const
bool GetUnlimited() const
Aws::Utils::Json::JsonValue JsonValue