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
51 inline void SetClaim(
const char* value) { m_claimHasBeenSet =
true; m_claim.assign(value); }
78 inline void SetValue(
const char* value) { m_valueHasBeenSet =
true; m_value.assign(value); }
92 inline void SetRoleARN(
const char* value) { m_roleARNHasBeenSet =
true; m_roleARN.assign(value); }
100 bool m_claimHasBeenSet =
false;
103 bool m_matchTypeHasBeenSet =
false;
106 bool m_valueHasBeenSet =
false;
109 bool m_roleARNHasBeenSet =
false;
void SetValue(const Aws::String &value)
void SetClaim(const Aws::String &value)
void SetClaim(const char *value)
void SetClaim(Aws::String &&value)
bool ValueHasBeenSet() const
MappingRule & WithClaim(const Aws::String &value)
MappingRule & WithValue(const Aws::String &value)
AWS_COGNITOIDENTITY_API MappingRule & operator=(Aws::Utils::Json::JsonView jsonValue)
MappingRule & WithValue(const char *value)
void SetRoleARN(const char *value)
void SetRoleARN(Aws::String &&value)
bool MatchTypeHasBeenSet() const
void SetMatchType(const MappingRuleMatchType &value)
const Aws::String & GetClaim() const
bool ClaimHasBeenSet() const
void SetValue(const char *value)
MappingRule & WithMatchType(const MappingRuleMatchType &value)
MappingRule & WithRoleARN(const Aws::String &value)
AWS_COGNITOIDENTITY_API MappingRule()
MappingRule & WithRoleARN(const char *value)
void SetMatchType(MappingRuleMatchType &&value)
MappingRule & WithClaim(const char *value)
bool RoleARNHasBeenSet() const
MappingRule & WithValue(Aws::String &&value)
const MappingRuleMatchType & GetMatchType() const
const Aws::String & GetRoleARN() const
void SetValue(Aws::String &&value)
MappingRule & WithClaim(Aws::String &&value)
AWS_COGNITOIDENTITY_API MappingRule(Aws::Utils::Json::JsonView jsonValue)
AWS_COGNITOIDENTITY_API Aws::Utils::Json::JsonValue Jsonize() const
MappingRule & WithRoleARN(Aws::String &&value)
const Aws::String & GetValue() const
void SetRoleARN(const Aws::String &value)
MappingRule & WithMatchType(MappingRuleMatchType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue