7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename ImpersonationRuleIdT = Aws::String>
47 void SetImpersonationRuleId(ImpersonationRuleIdT&& value) { m_impersonationRuleIdHasBeenSet =
true; m_impersonationRuleId = std::forward<ImpersonationRuleIdT>(value); }
48 template<
typename ImpersonationRuleIdT = Aws::String>
58 template<
typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
60 template<
typename NameT = Aws::String>
66 bool m_impersonationRuleIdHasBeenSet =
false;
69 bool m_nameHasBeenSet =
false;
const Aws::String & GetName() const
const Aws::String & GetImpersonationRuleId() const
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
AWS_WORKMAIL_API ImpersonationMatchedRule()=default
bool NameHasBeenSet() const
ImpersonationMatchedRule & WithName(NameT &&value)
void SetImpersonationRuleId(ImpersonationRuleIdT &&value)
AWS_WORKMAIL_API ImpersonationMatchedRule & operator=(Aws::Utils::Json::JsonView jsonValue)
ImpersonationMatchedRule & WithImpersonationRuleId(ImpersonationRuleIdT &&value)
bool ImpersonationRuleIdHasBeenSet() const
AWS_WORKMAIL_API ImpersonationMatchedRule(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue