7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/grafana/ManagedGrafana_EXPORTS.h>
9#include <aws/grafana/model/AuthenticationProviderTypes.h>
10#include <aws/grafana/model/AwsSsoAuthentication.h>
11#include <aws/grafana/model/SamlAuthentication.h>
22namespace ManagedGrafana {
45 template <
typename AwsSsoT = AwsSsoAuthentication>
47 m_awsSsoHasBeenSet =
true;
48 m_awsSso = std::forward<AwsSsoT>(value);
50 template <
typename AwsSsoT = AwsSsoAuthentication>
65 template <
typename Prov
idersT = Aws::Vector<AuthenticationProv
iderTypes>>
67 m_providersHasBeenSet =
true;
68 m_providers = std::forward<ProvidersT>(value);
70 template <
typename Prov
idersT = Aws::Vector<AuthenticationProv
iderTypes>>
76 m_providersHasBeenSet =
true;
77 m_providers.push_back(value);
90 template <
typename SamlT = SamlAuthentication>
92 m_samlHasBeenSet =
true;
93 m_saml = std::forward<SamlT>(value);
95 template <
typename SamlT = SamlAuthentication>
97 SetSaml(std::forward<SamlT>(value));
107 bool m_awsSsoHasBeenSet =
false;
108 bool m_providersHasBeenSet =
false;
109 bool m_samlHasBeenSet =
false;
AWS_MANAGEDGRAFANA_API AuthenticationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProviders(ProvidersT &&value)
AWS_MANAGEDGRAFANA_API AuthenticationDescription()=default
bool SamlHasBeenSet() const
const Aws::Vector< AuthenticationProviderTypes > & GetProviders() const
const AwsSsoAuthentication & GetAwsSso() const
void SetAwsSso(AwsSsoT &&value)
AWS_MANAGEDGRAFANA_API AuthenticationDescription(Aws::Utils::Json::JsonView jsonValue)
void SetSaml(SamlT &&value)
const SamlAuthentication & GetSaml() const
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
AuthenticationDescription & AddProviders(AuthenticationProviderTypes value)
AuthenticationDescription & WithSaml(SamlT &&value)
AuthenticationDescription & WithAwsSso(AwsSsoT &&value)
bool AwsSsoHasBeenSet() const
bool ProvidersHasBeenSet() const
AuthenticationDescription & WithProviders(ProvidersT &&value)
AuthenticationProviderTypes
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue