7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/workmail/WorkMail_EXPORTS.h>
40 template <
typename ImpersonationRuleIdT = Aws::String>
42 m_impersonationRuleIdHasBeenSet =
true;
43 m_impersonationRuleId = std::forward<ImpersonationRuleIdT>(value);
45 template <
typename ImpersonationRuleIdT = Aws::String>
58 template <
typename NameT = Aws::String>
60 m_nameHasBeenSet =
true;
61 m_name = std::forward<NameT>(value);
63 template <
typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
73 bool m_impersonationRuleIdHasBeenSet =
false;
74 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