7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workmail/WorkMail_EXPORTS.h>
10#include <aws/workmail/model/EntityState.h>
11#include <aws/workmail/model/ResourceType.h>
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
61 template <
typename EmailT = Aws::String>
63 m_emailHasBeenSet =
true;
64 m_email = std::forward<EmailT>(value);
66 template <
typename EmailT = Aws::String>
68 SetEmail(std::forward<EmailT>(value));
79 template <
typename NameT = Aws::String>
81 m_nameHasBeenSet =
true;
82 m_name = std::forward<NameT>(value);
84 template <
typename NameT = Aws::String>
86 SetName(std::forward<NameT>(value));
98 m_typeHasBeenSet =
true;
114 m_stateHasBeenSet =
true;
129 template <
typename EnabledDateT = Aws::Utils::DateTime>
131 m_enabledDateHasBeenSet =
true;
132 m_enabledDate = std::forward<EnabledDateT>(value);
134 template <
typename EnabledDateT = Aws::Utils::DateTime>
147 template <
typename DisabledDateT = Aws::Utils::DateTime>
149 m_disabledDateHasBeenSet =
true;
150 m_disabledDate = std::forward<DisabledDateT>(value);
152 template <
typename DisabledDateT = Aws::Utils::DateTime>
165 template <
typename DescriptionT = Aws::String>
167 m_descriptionHasBeenSet =
true;
168 m_description = std::forward<DescriptionT>(value);
170 template <
typename DescriptionT = Aws::String>
192 bool m_idHasBeenSet =
false;
193 bool m_emailHasBeenSet =
false;
194 bool m_nameHasBeenSet =
false;
195 bool m_typeHasBeenSet =
false;
196 bool m_stateHasBeenSet =
false;
197 bool m_enabledDateHasBeenSet =
false;
198 bool m_disabledDateHasBeenSet =
false;
199 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