7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/grafana/ManagedGrafana_EXPORTS.h>
10#include <aws/grafana/model/AssertionAttributes.h>
11#include <aws/grafana/model/IdpMetadata.h>
12#include <aws/grafana/model/RoleValues.h>
23namespace ManagedGrafana {
47 template <
typename AllowedOrganizationsT = Aws::Vector<Aws::String>>
49 m_allowedOrganizationsHasBeenSet =
true;
50 m_allowedOrganizations = std::forward<AllowedOrganizationsT>(value);
52 template <
typename AllowedOrganizationsT = Aws::Vector<Aws::String>>
57 template <
typename AllowedOrganizationsT = Aws::String>
59 m_allowedOrganizationsHasBeenSet =
true;
60 m_allowedOrganizations.emplace_back(std::forward<AllowedOrganizationsT>(value));
73 template <
typename AssertionAttributesT = AssertionAttributes>
75 m_assertionAttributesHasBeenSet =
true;
76 m_assertionAttributes = std::forward<AssertionAttributesT>(value);
78 template <
typename AssertionAttributesT = AssertionAttributes>
92 template <
typename IdpMetadataT = IdpMetadata>
94 m_idpMetadataHasBeenSet =
true;
95 m_idpMetadata = std::forward<IdpMetadataT>(value);
97 template <
typename IdpMetadataT = IdpMetadata>
112 m_loginValidityDurationHasBeenSet =
true;
113 m_loginValidityDuration = value;
129 template <
typename RoleValuesT = RoleValues>
131 m_roleValuesHasBeenSet =
true;
132 m_roleValues = std::forward<RoleValuesT>(value);
134 template <
typename RoleValuesT = RoleValues>
142 bool m_allowedOrganizationsHasBeenSet =
false;
145 bool m_assertionAttributesHasBeenSet =
false;
148 bool m_idpMetadataHasBeenSet =
false;
150 int m_loginValidityDuration{0};
151 bool m_loginValidityDurationHasBeenSet =
false;
153 RoleValues m_roleValues;
154 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