AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
IdentityProviderConfiguration.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/OpenIDConnectProviderConfiguration.h>
9#include <aws/qbusiness/model/SamlProviderConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QBusiness {
21namespace Model {
22
30 public:
31 AWS_QBUSINESS_API IdentityProviderConfiguration() = default;
34 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const SamlProviderConfiguration& GetSamlConfiguration() const { return m_samlConfiguration; }
39 inline bool SamlConfigurationHasBeenSet() const { return m_samlConfigurationHasBeenSet; }
40 template <typename SamlConfigurationT = SamlProviderConfiguration>
42 m_samlConfigurationHasBeenSet = true;
43 m_samlConfiguration = std::forward<SamlConfigurationT>(value);
44 }
45 template <typename SamlConfigurationT = SamlProviderConfiguration>
47 SetSamlConfiguration(std::forward<SamlConfigurationT>(value));
48 return *this;
49 }
51
53
54 inline const OpenIDConnectProviderConfiguration& GetOpenIDConnectConfiguration() const { return m_openIDConnectConfiguration; }
55 inline bool OpenIDConnectConfigurationHasBeenSet() const { return m_openIDConnectConfigurationHasBeenSet; }
56 template <typename OpenIDConnectConfigurationT = OpenIDConnectProviderConfiguration>
58 m_openIDConnectConfigurationHasBeenSet = true;
59 m_openIDConnectConfiguration = std::forward<OpenIDConnectConfigurationT>(value);
60 }
61 template <typename OpenIDConnectConfigurationT = OpenIDConnectProviderConfiguration>
63 SetOpenIDConnectConfiguration(std::forward<OpenIDConnectConfigurationT>(value));
64 return *this;
65 }
67 private:
68 SamlProviderConfiguration m_samlConfiguration;
69
70 OpenIDConnectProviderConfiguration m_openIDConnectConfiguration;
71 bool m_samlConfigurationHasBeenSet = false;
72 bool m_openIDConnectConfigurationHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace QBusiness
77} // 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