7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/workmail/model/PersonalAccessTokenConfigurationStatus.h>
66 inline void SetLifetimeInDays(
int value) { m_lifetimeInDaysHasBeenSet =
true; m_lifetimeInDays = value; }
72 bool m_statusHasBeenSet =
false;
75 bool m_lifetimeInDaysHasBeenSet =
false;
AWS_WORKMAIL_API PersonalAccessTokenConfiguration()
AWS_WORKMAIL_API PersonalAccessTokenConfiguration(Aws::Utils::Json::JsonView jsonValue)
PersonalAccessTokenConfiguration & WithStatus(PersonalAccessTokenConfigurationStatus &&value)
void SetStatus(PersonalAccessTokenConfigurationStatus &&value)
bool LifetimeInDaysHasBeenSet() const
int GetLifetimeInDays() const
PersonalAccessTokenConfiguration & WithLifetimeInDays(int value)
AWS_WORKMAIL_API PersonalAccessTokenConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLifetimeInDays(int value)
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const PersonalAccessTokenConfigurationStatus & GetStatus() const
bool StatusHasBeenSet() const
void SetStatus(const PersonalAccessTokenConfigurationStatus &value)
PersonalAccessTokenConfiguration & WithStatus(const PersonalAccessTokenConfigurationStatus &value)
PersonalAccessTokenConfigurationStatus
Aws::Utils::Json::JsonValue JsonValue