7#include <aws/grafana/ManagedGrafana_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/grafana/model/AssertionAttributes.h>
10#include <aws/grafana/model/IdpMetadata.h>
11#include <aws/grafana/model/RoleValues.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
25namespace ManagedGrafana
53 template<
typename AllowedOrganizationsT = Aws::Vector<Aws::String>>
54 void SetAllowedOrganizations(AllowedOrganizationsT&& value) { m_allowedOrganizationsHasBeenSet =
true; m_allowedOrganizations = std::forward<AllowedOrganizationsT>(value); }
55 template<
typename AllowedOrganizationsT = Aws::Vector<Aws::String>>
57 template<
typename AllowedOrganizationsT = Aws::String>
58 SamlConfiguration&
AddAllowedOrganizations(AllowedOrganizationsT&& value) { m_allowedOrganizationsHasBeenSet =
true; m_allowedOrganizations.emplace_back(std::forward<AllowedOrganizationsT>(value));
return *
this; }
69 template<
typename AssertionAttributesT = AssertionAttributes>
70 void SetAssertionAttributes(AssertionAttributesT&& value) { m_assertionAttributesHasBeenSet =
true; m_assertionAttributes = std::forward<AssertionAttributesT>(value); }
71 template<
typename AssertionAttributesT = AssertionAttributes>
82 template<
typename IdpMetadataT = IdpMetadata>
83 void SetIdpMetadata(IdpMetadataT&& value) { m_idpMetadataHasBeenSet =
true; m_idpMetadata = std::forward<IdpMetadataT>(value); }
84 template<
typename IdpMetadataT = IdpMetadata>
107 template<
typename RoleValuesT = RoleValues>
108 void SetRoleValues(RoleValuesT&& value) { m_roleValuesHasBeenSet =
true; m_roleValues = std::forward<RoleValuesT>(value); }
109 template<
typename RoleValuesT = RoleValues>
115 bool m_allowedOrganizationsHasBeenSet =
false;
118 bool m_assertionAttributesHasBeenSet =
false;
121 bool m_idpMetadataHasBeenSet =
false;
123 int m_loginValidityDuration{0};
124 bool m_loginValidityDurationHasBeenSet =
false;
126 RoleValues m_roleValues;
127 bool m_roleValuesHasBeenSet =
false;
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
bool IdpMetadataHasBeenSet() const
const RoleValues & GetRoleValues() const
AWS_MANAGEDGRAFANA_API SamlConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRoleValues(RoleValuesT &&value)
AWS_MANAGEDGRAFANA_API SamlConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetAllowedOrganizations() const
bool LoginValidityDurationHasBeenSet() const
void SetIdpMetadata(IdpMetadataT &&value)
void SetLoginValidityDuration(int value)
SamlConfiguration & WithAssertionAttributes(AssertionAttributesT &&value)
const AssertionAttributes & GetAssertionAttributes() const
SamlConfiguration & WithIdpMetadata(IdpMetadataT &&value)
void SetAssertionAttributes(AssertionAttributesT &&value)
bool AllowedOrganizationsHasBeenSet() const
SamlConfiguration & AddAllowedOrganizations(AllowedOrganizationsT &&value)
void SetAllowedOrganizations(AllowedOrganizationsT &&value)
SamlConfiguration & WithRoleValues(RoleValuesT &&value)
bool AssertionAttributesHasBeenSet() const
int GetLoginValidityDuration() const
AWS_MANAGEDGRAFANA_API SamlConfiguration()=default
bool RoleValuesHasBeenSet() const
const IdpMetadata & GetIdpMetadata() const
SamlConfiguration & WithLoginValidityDuration(int value)
SamlConfiguration & WithAllowedOrganizations(AllowedOrganizationsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue