AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PluginAuthConfiguration.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/BasicAuthConfiguration.h>
9#include <aws/qbusiness/model/OAuth2ClientCredentialConfiguration.h>
10#include <aws/qbusiness/model/NoAuthConfiguration.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 QBusiness
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QBUSINESS_API PluginAuthConfiguration();
40 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const BasicAuthConfiguration& GetBasicAuthConfiguration() const{ return m_basicAuthConfiguration; }
49 inline bool BasicAuthConfigurationHasBeenSet() const { return m_basicAuthConfigurationHasBeenSet; }
50 inline void SetBasicAuthConfiguration(const BasicAuthConfiguration& value) { m_basicAuthConfigurationHasBeenSet = true; m_basicAuthConfiguration = value; }
51 inline void SetBasicAuthConfiguration(BasicAuthConfiguration&& value) { m_basicAuthConfigurationHasBeenSet = true; m_basicAuthConfiguration = std::move(value); }
55
57
61 inline const OAuth2ClientCredentialConfiguration& GetOAuth2ClientCredentialConfiguration() const{ return m_oAuth2ClientCredentialConfiguration; }
62 inline bool OAuth2ClientCredentialConfigurationHasBeenSet() const { return m_oAuth2ClientCredentialConfigurationHasBeenSet; }
63 inline void SetOAuth2ClientCredentialConfiguration(const OAuth2ClientCredentialConfiguration& value) { m_oAuth2ClientCredentialConfigurationHasBeenSet = true; m_oAuth2ClientCredentialConfiguration = value; }
64 inline void SetOAuth2ClientCredentialConfiguration(OAuth2ClientCredentialConfiguration&& value) { m_oAuth2ClientCredentialConfigurationHasBeenSet = true; m_oAuth2ClientCredentialConfiguration = std::move(value); }
68
70
73 inline const NoAuthConfiguration& GetNoAuthConfiguration() const{ return m_noAuthConfiguration; }
74 inline bool NoAuthConfigurationHasBeenSet() const { return m_noAuthConfigurationHasBeenSet; }
75 inline void SetNoAuthConfiguration(const NoAuthConfiguration& value) { m_noAuthConfigurationHasBeenSet = true; m_noAuthConfiguration = value; }
76 inline void SetNoAuthConfiguration(NoAuthConfiguration&& value) { m_noAuthConfigurationHasBeenSet = true; m_noAuthConfiguration = std::move(value); }
80 private:
81
82 BasicAuthConfiguration m_basicAuthConfiguration;
83 bool m_basicAuthConfigurationHasBeenSet = false;
84
85 OAuth2ClientCredentialConfiguration m_oAuth2ClientCredentialConfiguration;
86 bool m_oAuth2ClientCredentialConfigurationHasBeenSet = false;
87
88 NoAuthConfiguration m_noAuthConfiguration;
89 bool m_noAuthConfigurationHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace QBusiness
94} // namespace Aws
PluginAuthConfiguration & WithOAuth2ClientCredentialConfiguration(OAuth2ClientCredentialConfiguration &&value)
AWS_QBUSINESS_API PluginAuthConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetOAuth2ClientCredentialConfiguration(const OAuth2ClientCredentialConfiguration &value)
PluginAuthConfiguration & WithNoAuthConfiguration(NoAuthConfiguration &&value)
const BasicAuthConfiguration & GetBasicAuthConfiguration() const
PluginAuthConfiguration & WithOAuth2ClientCredentialConfiguration(const OAuth2ClientCredentialConfiguration &value)
PluginAuthConfiguration & WithBasicAuthConfiguration(const BasicAuthConfiguration &value)
const OAuth2ClientCredentialConfiguration & GetOAuth2ClientCredentialConfiguration() const
void SetBasicAuthConfiguration(const BasicAuthConfiguration &value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBasicAuthConfiguration(BasicAuthConfiguration &&value)
PluginAuthConfiguration & WithNoAuthConfiguration(const NoAuthConfiguration &value)
const NoAuthConfiguration & GetNoAuthConfiguration() const
void SetNoAuthConfiguration(const NoAuthConfiguration &value)
void SetNoAuthConfiguration(NoAuthConfiguration &&value)
void SetOAuth2ClientCredentialConfiguration(OAuth2ClientCredentialConfiguration &&value)
AWS_QBUSINESS_API PluginAuthConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
PluginAuthConfiguration & WithBasicAuthConfiguration(BasicAuthConfiguration &&value)
Aws::Utils::Json::JsonValue JsonValue