7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workmail/model/ResourceType.h>
10#include <aws/workmail/model/EntityState.h>
11#include <aws/core/utils/DateTime.h>
50 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
51 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
65 inline void SetEmail(
const char* value) { m_emailHasBeenSet =
true; m_email.assign(value); }
79 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
141 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
149 bool m_idHasBeenSet =
false;
152 bool m_emailHasBeenSet =
false;
155 bool m_nameHasBeenSet =
false;
158 bool m_typeHasBeenSet =
false;
161 bool m_stateHasBeenSet =
false;
164 bool m_enabledDateHasBeenSet =
false;
167 bool m_disabledDateHasBeenSet =
false;
170 bool m_descriptionHasBeenSet =
false;
AWS_WORKMAIL_API Resource(Aws::Utils::Json::JsonView jsonValue)
Resource & WithDescription(const Aws::String &value)
Resource & WithDisabledDate(const Aws::Utils::DateTime &value)
void SetType(const ResourceType &value)
const Aws::String & GetEmail() const
void SetName(const Aws::String &value)
Resource & WithEmail(const Aws::String &value)
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const char *value)
void SetState(const EntityState &value)
Resource & WithEmail(const char *value)
Resource & WithState(EntityState &&value)
Resource & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
bool DisabledDateHasBeenSet() const
void SetName(Aws::String &&value)
void SetEmail(const Aws::String &value)
Resource & WithEnabledDate(Aws::Utils::DateTime &&value)
bool EmailHasBeenSet() const
void SetEmail(Aws::String &&value)
Resource & WithId(const Aws::String &value)
Resource & WithDisabledDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEnabledDate() const
bool EnabledDateHasBeenSet() const
Resource & WithType(ResourceType &&value)
Resource & WithDescription(const char *value)
void SetType(ResourceType &&value)
void SetState(EntityState &&value)
void SetEnabledDate(const Aws::Utils::DateTime &value)
Resource & WithName(const char *value)
Resource & WithName(Aws::String &&value)
void SetDisabledDate(Aws::Utils::DateTime &&value)
const Aws::String & GetName() const
Resource & WithId(const char *value)
bool DescriptionHasBeenSet() const
Resource & WithState(const EntityState &value)
void SetId(const Aws::String &value)
void SetEnabledDate(Aws::Utils::DateTime &&value)
Resource & WithId(Aws::String &&value)
const Aws::String & GetId() const
Resource & WithType(const ResourceType &value)
void SetDescription(Aws::String &&value)
const EntityState & GetState() const
bool IdHasBeenSet() const
bool TypeHasBeenSet() const
const ResourceType & GetType() const
void SetDescription(const char *value)
void SetId(Aws::String &&value)
Resource & WithEnabledDate(const Aws::Utils::DateTime &value)
void SetEmail(const char *value)
AWS_WORKMAIL_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
Resource & WithName(const Aws::String &value)
void SetDisabledDate(const Aws::Utils::DateTime &value)
bool NameHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetDisabledDate() const
void SetId(const char *value)
Resource & WithEmail(Aws::String &&value)
AWS_WORKMAIL_API Resource()
bool StateHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue