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>
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
61 template<
typename EmailT = Aws::String>
62 void SetEmail(EmailT&& value) { m_emailHasBeenSet =
true; m_email = std::forward<EmailT>(value); }
63 template<
typename EmailT = Aws::String>
73 template<
typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
75 template<
typename NameT = Aws::String>
105 template<
typename EnabledDateT = Aws::Utils::DateTime>
106 void SetEnabledDate(EnabledDateT&& value) { m_enabledDateHasBeenSet =
true; m_enabledDate = std::forward<EnabledDateT>(value); }
107 template<
typename EnabledDateT = Aws::Utils::DateTime>
117 template<
typename DisabledDateT = Aws::Utils::DateTime>
118 void SetDisabledDate(DisabledDateT&& value) { m_disabledDateHasBeenSet =
true; m_disabledDate = std::forward<DisabledDateT>(value); }
119 template<
typename DisabledDateT = Aws::Utils::DateTime>
129 template<
typename DescriptionT = Aws::String>
130 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
131 template<
typename DescriptionT = Aws::String>
137 bool m_idHasBeenSet =
false;
140 bool m_emailHasBeenSet =
false;
143 bool m_nameHasBeenSet =
false;
146 bool m_typeHasBeenSet =
false;
149 bool m_stateHasBeenSet =
false;
152 bool m_enabledDateHasBeenSet =
false;
155 bool m_disabledDateHasBeenSet =
false;
158 bool m_descriptionHasBeenSet =
false;
AWS_WORKMAIL_API Resource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEmail() const
Resource & WithEnabledDate(EnabledDateT &&value)
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WORKMAIL_API Resource()=default
bool DisabledDateHasBeenSet() const
Resource & WithDisabledDate(DisabledDateT &&value)
ResourceType GetType() const
bool EmailHasBeenSet() const
EntityState GetState() const
void SetType(ResourceType value)
void SetEnabledDate(EnabledDateT &&value)
void SetDisabledDate(DisabledDateT &&value)
const Aws::Utils::DateTime & GetEnabledDate() const
Resource & WithId(IdT &&value)
bool EnabledDateHasBeenSet() const
void SetState(EntityState value)
Resource & WithEmail(EmailT &&value)
void SetEmail(EmailT &&value)
Resource & WithDescription(DescriptionT &&value)
Resource & WithType(ResourceType value)
const Aws::String & GetName() const
bool DescriptionHasBeenSet() const
const Aws::String & GetId() const
bool IdHasBeenSet() const
bool TypeHasBeenSet() const
Resource & WithName(NameT &&value)
AWS_WORKMAIL_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
Resource & WithState(EntityState value)
bool NameHasBeenSet() const
const Aws::String & GetDescription() const
void SetDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetDisabledDate() const
void SetName(NameT &&value)
bool StateHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue