7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workmail/model/AccessEffect.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
50 inline void SetImpersonationRuleId(
const char* value) { m_impersonationRuleIdHasBeenSet =
true; m_impersonationRuleId.assign(value); }
64 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
78 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
129 bool m_impersonationRuleIdHasBeenSet =
false;
132 bool m_nameHasBeenSet =
false;
135 bool m_descriptionHasBeenSet =
false;
138 bool m_effectHasBeenSet =
false;
141 bool m_targetUsersHasBeenSet =
false;
144 bool m_notTargetUsersHasBeenSet =
false;
void SetName(Aws::String &&value)
void SetDescription(const char *value)
void SetName(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetImpersonationRuleId(const Aws::String &value)
ImpersonationRule & WithName(const char *value)
bool DescriptionHasBeenSet() const
void SetNotTargetUsers(const Aws::Vector< Aws::String > &value)
ImpersonationRule & WithName(Aws::String &&value)
ImpersonationRule & AddTargetUsers(const char *value)
ImpersonationRule & WithEffect(AccessEffect &&value)
AWS_WORKMAIL_API ImpersonationRule()
void SetEffect(const AccessEffect &value)
AWS_WORKMAIL_API ImpersonationRule(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
const Aws::Vector< Aws::String > & GetTargetUsers() const
void SetNotTargetUsers(Aws::Vector< Aws::String > &&value)
bool TargetUsersHasBeenSet() const
void SetImpersonationRuleId(Aws::String &&value)
ImpersonationRule & AddTargetUsers(const Aws::String &value)
bool NotTargetUsersHasBeenSet() const
ImpersonationRule & AddNotTargetUsers(const Aws::String &value)
void SetImpersonationRuleId(const char *value)
AWS_WORKMAIL_API ImpersonationRule & operator=(Aws::Utils::Json::JsonView jsonValue)
ImpersonationRule & WithTargetUsers(const Aws::Vector< Aws::String > &value)
ImpersonationRule & WithNotTargetUsers(Aws::Vector< Aws::String > &&value)
const AccessEffect & GetEffect() const
ImpersonationRule & WithImpersonationRuleId(Aws::String &&value)
ImpersonationRule & WithTargetUsers(Aws::Vector< Aws::String > &&value)
ImpersonationRule & WithDescription(Aws::String &&value)
ImpersonationRule & WithEffect(const AccessEffect &value)
ImpersonationRule & AddNotTargetUsers(Aws::String &&value)
ImpersonationRule & WithName(const Aws::String &value)
bool ImpersonationRuleIdHasBeenSet() const
ImpersonationRule & WithImpersonationRuleId(const Aws::String &value)
ImpersonationRule & AddTargetUsers(Aws::String &&value)
ImpersonationRule & WithImpersonationRuleId(const char *value)
const Aws::Vector< Aws::String > & GetNotTargetUsers() const
ImpersonationRule & WithDescription(const Aws::String &value)
ImpersonationRule & WithNotTargetUsers(const Aws::Vector< Aws::String > &value)
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(Aws::String &&value)
void SetTargetUsers(const Aws::Vector< Aws::String > &value)
void SetEffect(AccessEffect &&value)
void SetTargetUsers(Aws::Vector< Aws::String > &&value)
ImpersonationRule & AddNotTargetUsers(const char *value)
const Aws::String & GetDescription() const
ImpersonationRule & WithDescription(const char *value)
const Aws::String & GetImpersonationRuleId() const
void SetName(const char *value)
bool EffectHasBeenSet() const
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue