7#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cognito-identity/model/MappingRuleMatchType.h>
22namespace CognitoIdentity
49 template<
typename ClaimT = Aws::String>
50 void SetClaim(ClaimT&& value) { m_claimHasBeenSet =
true; m_claim = std::forward<ClaimT>(value); }
51 template<
typename ClaimT = Aws::String>
72 template<
typename ValueT = Aws::String>
73 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
74 template<
typename ValueT = Aws::String>
84 template<
typename RoleARNT = Aws::String>
85 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet =
true; m_roleARN = std::forward<RoleARNT>(value); }
86 template<
typename RoleARNT = Aws::String>
92 bool m_claimHasBeenSet =
false;
95 bool m_matchTypeHasBeenSet =
false;
98 bool m_valueHasBeenSet =
false;
101 bool m_roleARNHasBeenSet =
false;
bool ValueHasBeenSet() const
AWS_COGNITOIDENTITY_API MappingRule & operator=(Aws::Utils::Json::JsonView jsonValue)
MappingRule & WithClaim(ClaimT &&value)
void SetValue(ValueT &&value)
bool MatchTypeHasBeenSet() const
void SetRoleARN(RoleARNT &&value)
const Aws::String & GetClaim() const
void SetClaim(ClaimT &&value)
bool ClaimHasBeenSet() const
bool RoleARNHasBeenSet() const
void SetMatchType(MappingRuleMatchType value)
const Aws::String & GetRoleARN() const
MappingRule & WithMatchType(MappingRuleMatchType value)
AWS_COGNITOIDENTITY_API MappingRule(Aws::Utils::Json::JsonView jsonValue)
MappingRuleMatchType GetMatchType() const
AWS_COGNITOIDENTITY_API Aws::Utils::Json::JsonValue Jsonize() const
MappingRule & WithValue(ValueT &&value)
MappingRule & WithRoleARN(RoleARNT &&value)
AWS_COGNITOIDENTITY_API MappingRule()=default
const Aws::String & GetValue() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue