7#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
8#include <aws/cognito-identity/model/MappingRuleMatchType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace CognitoIdentity {
43 template <
typename ClaimT = Aws::String>
45 m_claimHasBeenSet =
true;
46 m_claim = std::forward<ClaimT>(value);
48 template <
typename ClaimT = Aws::String>
50 SetClaim(std::forward<ClaimT>(value));
63 m_matchTypeHasBeenSet =
true;
78 template <
typename ValueT = Aws::String>
80 m_valueHasBeenSet =
true;
81 m_value = std::forward<ValueT>(value);
83 template <
typename ValueT = Aws::String>
85 SetValue(std::forward<ValueT>(value));
96 template <
typename RoleARNT = Aws::String>
98 m_roleARNHasBeenSet =
true;
99 m_roleARN = std::forward<RoleARNT>(value);
101 template <
typename RoleARNT = Aws::String>
115 bool m_claimHasBeenSet =
false;
116 bool m_matchTypeHasBeenSet =
false;
117 bool m_valueHasBeenSet =
false;
118 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