7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetImpersonationRuleId(
const char* value) { m_impersonationRuleIdHasBeenSet =
true; m_impersonationRuleId.assign(value); }
62 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
70 bool m_impersonationRuleIdHasBeenSet =
false;
73 bool m_nameHasBeenSet =
false;
ImpersonationMatchedRule & WithName(const Aws::String &value)
void SetImpersonationRuleId(Aws::String &&value)
const Aws::String & GetName() const
const Aws::String & GetImpersonationRuleId() const
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const Aws::String &value)
void SetImpersonationRuleId(const char *value)
ImpersonationMatchedRule & WithImpersonationRuleId(Aws::String &&value)
bool NameHasBeenSet() const
void SetName(Aws::String &&value)
void SetImpersonationRuleId(const Aws::String &value)
ImpersonationMatchedRule & WithImpersonationRuleId(const char *value)
ImpersonationMatchedRule & WithName(Aws::String &&value)
void SetName(const char *value)
ImpersonationMatchedRule & WithName(const char *value)
AWS_WORKMAIL_API ImpersonationMatchedRule & operator=(Aws::Utils::Json::JsonView jsonValue)
ImpersonationMatchedRule & WithImpersonationRuleId(const Aws::String &value)
bool ImpersonationRuleIdHasBeenSet() const
AWS_WORKMAIL_API ImpersonationMatchedRule(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKMAIL_API ImpersonationMatchedRule()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue