7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workmail/model/ImpersonationRoleType.h>
10#include <aws/core/utils/DateTime.h>
51 inline void SetImpersonationRoleId(
const char* value) { m_impersonationRoleIdHasBeenSet =
true; m_impersonationRoleId.assign(value); }
65 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
109 bool m_impersonationRoleIdHasBeenSet =
false;
112 bool m_nameHasBeenSet =
false;
115 bool m_typeHasBeenSet =
false;
118 bool m_dateCreatedHasBeenSet =
false;
121 bool m_dateModifiedHasBeenSet =
false;
const Aws::String & GetImpersonationRoleId() const
AWS_WORKMAIL_API ImpersonationRole(Aws::Utils::Json::JsonView jsonValue)
ImpersonationRole & WithName(const char *value)
bool DateModifiedHasBeenSet() const
void SetType(ImpersonationRoleType &&value)
const Aws::Utils::DateTime & GetDateModified() const
bool NameHasBeenSet() const
void SetDateCreated(const Aws::Utils::DateTime &value)
void SetDateModified(const Aws::Utils::DateTime &value)
ImpersonationRole & WithName(Aws::String &&value)
bool TypeHasBeenSet() const
void SetDateCreated(Aws::Utils::DateTime &&value)
ImpersonationRole & WithType(const ImpersonationRoleType &value)
ImpersonationRole & WithDateCreated(Aws::Utils::DateTime &&value)
const Aws::String & GetName() const
AWS_WORKMAIL_API ImpersonationRole()
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
ImpersonationRole & WithName(const Aws::String &value)
void SetImpersonationRoleId(const Aws::String &value)
bool DateCreatedHasBeenSet() const
ImpersonationRole & WithImpersonationRoleId(const char *value)
ImpersonationRole & WithDateModified(const Aws::Utils::DateTime &value)
const ImpersonationRoleType & GetType() const
ImpersonationRole & WithType(ImpersonationRoleType &&value)
void SetImpersonationRoleId(const char *value)
ImpersonationRole & WithImpersonationRoleId(Aws::String &&value)
void SetDateModified(Aws::Utils::DateTime &&value)
void SetName(const Aws::String &value)
void SetName(Aws::String &&value)
ImpersonationRole & WithDateModified(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetDateCreated() const
void SetName(const char *value)
ImpersonationRole & WithImpersonationRoleId(const Aws::String &value)
void SetType(const ImpersonationRoleType &value)
void SetImpersonationRoleId(Aws::String &&value)
AWS_WORKMAIL_API ImpersonationRole & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ImpersonationRoleIdHasBeenSet() const
ImpersonationRole & WithDateCreated(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue