AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AuthenticationSummary.h
1
6#pragma once
7#include <aws/grafana/ManagedGrafana_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/grafana/model/SamlConfigurationStatus.h>
10#include <aws/grafana/model/AuthenticationProviderTypes.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ManagedGrafana
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_MANAGEDGRAFANA_API AuthenticationSummary() = default;
39 AWS_MANAGEDGRAFANA_API AuthenticationSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::Vector<AuthenticationProviderTypes>& GetProviders() const { return m_providers; }
50 inline bool ProvidersHasBeenSet() const { return m_providersHasBeenSet; }
51 template<typename ProvidersT = Aws::Vector<AuthenticationProviderTypes>>
52 void SetProviders(ProvidersT&& value) { m_providersHasBeenSet = true; m_providers = std::forward<ProvidersT>(value); }
53 template<typename ProvidersT = Aws::Vector<AuthenticationProviderTypes>>
54 AuthenticationSummary& WithProviders(ProvidersT&& value) { SetProviders(std::forward<ProvidersT>(value)); return *this;}
55 inline AuthenticationSummary& AddProviders(AuthenticationProviderTypes value) { m_providersHasBeenSet = true; m_providers.push_back(value); return *this; }
57
59
63 inline SamlConfigurationStatus GetSamlConfigurationStatus() const { return m_samlConfigurationStatus; }
64 inline bool SamlConfigurationStatusHasBeenSet() const { return m_samlConfigurationStatusHasBeenSet; }
65 inline void SetSamlConfigurationStatus(SamlConfigurationStatus value) { m_samlConfigurationStatusHasBeenSet = true; m_samlConfigurationStatus = value; }
68 private:
69
71 bool m_providersHasBeenSet = false;
72
74 bool m_samlConfigurationStatusHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ManagedGrafana
79} // namespace Aws
SamlConfigurationStatus GetSamlConfigurationStatus() const
const Aws::Vector< AuthenticationProviderTypes > & GetProviders() const
void SetSamlConfigurationStatus(SamlConfigurationStatus value)
AWS_MANAGEDGRAFANA_API AuthenticationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDGRAFANA_API AuthenticationSummary()=default
AuthenticationSummary & WithSamlConfigurationStatus(SamlConfigurationStatus value)
AWS_MANAGEDGRAFANA_API AuthenticationSummary(Aws::Utils::Json::JsonView jsonValue)
AuthenticationSummary & AddProviders(AuthenticationProviderTypes value)
AuthenticationSummary & WithProviders(ProvidersT &&value)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue