AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
AuthenticationSummary.h
1
6#pragma once
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/SamlConfigurationStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ManagedGrafana {
22namespace Model {
23
32 public:
33 AWS_MANAGEDGRAFANA_API AuthenticationSummary() = default;
34 AWS_MANAGEDGRAFANA_API AuthenticationSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::Vector<AuthenticationProviderTypes>& GetProviders() const { return m_providers; }
44 inline bool ProvidersHasBeenSet() const { return m_providersHasBeenSet; }
45 template <typename ProvidersT = Aws::Vector<AuthenticationProviderTypes>>
46 void SetProviders(ProvidersT&& value) {
47 m_providersHasBeenSet = true;
48 m_providers = std::forward<ProvidersT>(value);
49 }
50 template <typename ProvidersT = Aws::Vector<AuthenticationProviderTypes>>
51 AuthenticationSummary& WithProviders(ProvidersT&& value) {
52 SetProviders(std::forward<ProvidersT>(value));
53 return *this;
54 }
56 m_providersHasBeenSet = true;
57 m_providers.push_back(value);
58 return *this;
59 }
61
63
67 inline SamlConfigurationStatus GetSamlConfigurationStatus() const { return m_samlConfigurationStatus; }
68 inline bool SamlConfigurationStatusHasBeenSet() const { return m_samlConfigurationStatusHasBeenSet; }
70 m_samlConfigurationStatusHasBeenSet = true;
71 m_samlConfigurationStatus = value;
72 }
75 return *this;
76 }
78 private:
80
82 bool m_providersHasBeenSet = false;
83 bool m_samlConfigurationStatusHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace ManagedGrafana
88} // 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