AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuthenticationConfiguration.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/AuthenticationType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/OAuth2Properties.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 Glue
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
47 inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
48 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
49 inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
50 inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
54
56
59 inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
60 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
61 inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
62 inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
63 inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
64 inline AuthenticationConfiguration& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
65 inline AuthenticationConfiguration& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
66 inline AuthenticationConfiguration& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
68
70
73 inline const OAuth2Properties& GetOAuth2Properties() const{ return m_oAuth2Properties; }
74 inline bool OAuth2PropertiesHasBeenSet() const { return m_oAuth2PropertiesHasBeenSet; }
75 inline void SetOAuth2Properties(const OAuth2Properties& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties = value; }
76 inline void SetOAuth2Properties(OAuth2Properties&& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties = std::move(value); }
78 inline AuthenticationConfiguration& WithOAuth2Properties(OAuth2Properties&& value) { SetOAuth2Properties(std::move(value)); return *this;}
80 private:
81
82 AuthenticationType m_authenticationType;
83 bool m_authenticationTypeHasBeenSet = false;
84
85 Aws::String m_secretArn;
86 bool m_secretArnHasBeenSet = false;
87
88 OAuth2Properties m_oAuth2Properties;
89 bool m_oAuth2PropertiesHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Glue
94} // namespace Aws
AWS_GLUE_API AuthenticationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API AuthenticationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AuthenticationConfiguration & WithOAuth2Properties(OAuth2Properties &&value)
void SetOAuth2Properties(const OAuth2Properties &value)
AuthenticationConfiguration & WithAuthenticationType(const AuthenticationType &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AuthenticationConfiguration & WithAuthenticationType(AuthenticationType &&value)
AuthenticationConfiguration & WithOAuth2Properties(const OAuth2Properties &value)
AuthenticationConfiguration & WithSecretArn(const Aws::String &value)
AuthenticationConfiguration & WithSecretArn(const char *value)
void SetAuthenticationType(const AuthenticationType &value)
const AuthenticationType & GetAuthenticationType() const
AuthenticationConfiguration & WithSecretArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue