AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
IdentityProviderConfiguration.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/SamlProviderConfiguration.h>
9#include <aws/qbusiness/model/OpenIDConnectProviderConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QBusiness
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QBUSINESS_API IdentityProviderConfiguration() = default;
39 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const SamlProviderConfiguration& GetSamlConfiguration() const { return m_samlConfiguration; }
45 inline bool SamlConfigurationHasBeenSet() const { return m_samlConfigurationHasBeenSet; }
46 template<typename SamlConfigurationT = SamlProviderConfiguration>
47 void SetSamlConfiguration(SamlConfigurationT&& value) { m_samlConfigurationHasBeenSet = true; m_samlConfiguration = std::forward<SamlConfigurationT>(value); }
48 template<typename SamlConfigurationT = SamlProviderConfiguration>
49 IdentityProviderConfiguration& WithSamlConfiguration(SamlConfigurationT&& value) { SetSamlConfiguration(std::forward<SamlConfigurationT>(value)); return *this;}
51
53
54 inline const OpenIDConnectProviderConfiguration& GetOpenIDConnectConfiguration() const { return m_openIDConnectConfiguration; }
55 inline bool OpenIDConnectConfigurationHasBeenSet() const { return m_openIDConnectConfigurationHasBeenSet; }
56 template<typename OpenIDConnectConfigurationT = OpenIDConnectProviderConfiguration>
57 void SetOpenIDConnectConfiguration(OpenIDConnectConfigurationT&& value) { m_openIDConnectConfigurationHasBeenSet = true; m_openIDConnectConfiguration = std::forward<OpenIDConnectConfigurationT>(value); }
58 template<typename OpenIDConnectConfigurationT = OpenIDConnectProviderConfiguration>
59 IdentityProviderConfiguration& WithOpenIDConnectConfiguration(OpenIDConnectConfigurationT&& value) { SetOpenIDConnectConfiguration(std::forward<OpenIDConnectConfigurationT>(value)); return *this;}
61 private:
62
63 SamlProviderConfiguration m_samlConfiguration;
64 bool m_samlConfigurationHasBeenSet = false;
65
66 OpenIDConnectProviderConfiguration m_openIDConnectConfiguration;
67 bool m_openIDConnectConfigurationHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace QBusiness
72} // namespace Aws
IdentityProviderConfiguration & WithOpenIDConnectConfiguration(OpenIDConnectConfigurationT &&value)
AWS_QBUSINESS_API IdentityProviderConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetOpenIDConnectConfiguration(OpenIDConnectConfigurationT &&value)
const SamlProviderConfiguration & GetSamlConfiguration() const
AWS_QBUSINESS_API IdentityProviderConfiguration()=default
AWS_QBUSINESS_API IdentityProviderConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
IdentityProviderConfiguration & WithSamlConfiguration(SamlConfigurationT &&value)
const OpenIDConnectProviderConfiguration & GetOpenIDConnectConfiguration() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue