7#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
8#include <aws/rolesanywhere/model/CertificateField.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rolesanywhere/model/MappingRule.h>
23namespace RolesAnywhere
59 template<
typename MappingRulesT = Aws::Vector<MappingRule>>
60 void SetMappingRules(MappingRulesT&& value) { m_mappingRulesHasBeenSet =
true; m_mappingRules = std::forward<MappingRulesT>(value); }
61 template<
typename MappingRulesT = Aws::Vector<MappingRule>>
63 template<
typename MappingRulesT = MappingRule>
64 AttributeMapping&
AddMappingRules(MappingRulesT&& value) { m_mappingRulesHasBeenSet =
true; m_mappingRules.emplace_back(std::forward<MappingRulesT>(value));
return *
this; }
69 bool m_certificateFieldHasBeenSet =
false;
72 bool m_mappingRulesHasBeenSet =
false;
const Aws::Vector< MappingRule > & GetMappingRules() const
AWS_ROLESANYWHERE_API AttributeMapping(Aws::Utils::Json::JsonView jsonValue)
bool MappingRulesHasBeenSet() const
AttributeMapping & AddMappingRules(MappingRulesT &&value)
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMappingRules(MappingRulesT &&value)
CertificateField GetCertificateField() const
void SetCertificateField(CertificateField value)
AWS_ROLESANYWHERE_API AttributeMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROLESANYWHERE_API AttributeMapping()=default
bool CertificateFieldHasBeenSet() const
AttributeMapping & WithMappingRules(MappingRulesT &&value)
AttributeMapping & WithCertificateField(CertificateField value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue