AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuthenticationDescription.h
1
6#pragma once
7#include <aws/grafana/ManagedGrafana_EXPORTS.h>
8#include <aws/grafana/model/AwsSsoAuthentication.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/grafana/model/SamlAuthentication.h>
11#include <aws/grafana/model/AuthenticationProviderTypes.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ManagedGrafana
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_MANAGEDGRAFANA_API AuthenticationDescription();
39 AWS_MANAGEDGRAFANA_API AuthenticationDescription(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const AwsSsoAuthentication& GetAwsSso() const{ return m_awsSso; }
50 inline bool AwsSsoHasBeenSet() const { return m_awsSsoHasBeenSet; }
51 inline void SetAwsSso(const AwsSsoAuthentication& value) { m_awsSsoHasBeenSet = true; m_awsSso = value; }
52 inline void SetAwsSso(AwsSsoAuthentication&& value) { m_awsSsoHasBeenSet = true; m_awsSso = std::move(value); }
53 inline AuthenticationDescription& WithAwsSso(const AwsSsoAuthentication& value) { SetAwsSso(value); return *this;}
54 inline AuthenticationDescription& WithAwsSso(AwsSsoAuthentication&& value) { SetAwsSso(std::move(value)); return *this;}
56
58
63 inline const Aws::Vector<AuthenticationProviderTypes>& GetProviders() const{ return m_providers; }
64 inline bool ProvidersHasBeenSet() const { return m_providersHasBeenSet; }
65 inline void SetProviders(const Aws::Vector<AuthenticationProviderTypes>& value) { m_providersHasBeenSet = true; m_providers = value; }
66 inline void SetProviders(Aws::Vector<AuthenticationProviderTypes>&& value) { m_providersHasBeenSet = true; m_providers = std::move(value); }
69 inline AuthenticationDescription& AddProviders(const AuthenticationProviderTypes& value) { m_providersHasBeenSet = true; m_providers.push_back(value); return *this; }
70 inline AuthenticationDescription& AddProviders(AuthenticationProviderTypes&& value) { m_providersHasBeenSet = true; m_providers.push_back(std::move(value)); return *this; }
72
74
79 inline const SamlAuthentication& GetSaml() const{ return m_saml; }
80 inline bool SamlHasBeenSet() const { return m_samlHasBeenSet; }
81 inline void SetSaml(const SamlAuthentication& value) { m_samlHasBeenSet = true; m_saml = value; }
82 inline void SetSaml(SamlAuthentication&& value) { m_samlHasBeenSet = true; m_saml = std::move(value); }
83 inline AuthenticationDescription& WithSaml(const SamlAuthentication& value) { SetSaml(value); return *this;}
84 inline AuthenticationDescription& WithSaml(SamlAuthentication&& value) { SetSaml(std::move(value)); return *this;}
86 private:
87
88 AwsSsoAuthentication m_awsSso;
89 bool m_awsSsoHasBeenSet = false;
90
92 bool m_providersHasBeenSet = false;
93
94 SamlAuthentication m_saml;
95 bool m_samlHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace ManagedGrafana
100} // namespace Aws
AuthenticationDescription & WithAwsSso(const AwsSsoAuthentication &value)
AWS_MANAGEDGRAFANA_API AuthenticationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProviders(const Aws::Vector< AuthenticationProviderTypes > &value)
AuthenticationDescription & AddProviders(AuthenticationProviderTypes &&value)
void SetProviders(Aws::Vector< AuthenticationProviderTypes > &&value)
const Aws::Vector< AuthenticationProviderTypes > & GetProviders() const
AuthenticationDescription & WithProviders(Aws::Vector< AuthenticationProviderTypes > &&value)
AuthenticationDescription & AddProviders(const AuthenticationProviderTypes &value)
AWS_MANAGEDGRAFANA_API AuthenticationDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
AuthenticationDescription & WithSaml(SamlAuthentication &&value)
AuthenticationDescription & WithSaml(const SamlAuthentication &value)
AuthenticationDescription & WithAwsSso(AwsSsoAuthentication &&value)
AuthenticationDescription & WithProviders(const Aws::Vector< AuthenticationProviderTypes > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue