AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
AuthenticationConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/AuthenticationType.h>
10#include <aws/glue/model/OAuth2Properties.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue {
22namespace Model {
23
31 public:
32 AWS_GLUE_API AuthenticationConfiguration() = default;
36
38
41 inline AuthenticationType GetAuthenticationType() const { return m_authenticationType; }
42 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
44 m_authenticationTypeHasBeenSet = true;
45 m_authenticationType = value;
46 }
49 return *this;
50 }
52
54
57 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
58 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
59 template <typename SecretArnT = Aws::String>
60 void SetSecretArn(SecretArnT&& value) {
61 m_secretArnHasBeenSet = true;
62 m_secretArn = std::forward<SecretArnT>(value);
63 }
64 template <typename SecretArnT = Aws::String>
66 SetSecretArn(std::forward<SecretArnT>(value));
67 return *this;
68 }
70
72
77 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
78 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
79 template <typename KmsKeyArnT = Aws::String>
80 void SetKmsKeyArn(KmsKeyArnT&& value) {
81 m_kmsKeyArnHasBeenSet = true;
82 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
83 }
84 template <typename KmsKeyArnT = Aws::String>
86 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
87 return *this;
88 }
90
92
95 inline const OAuth2Properties& GetOAuth2Properties() const { return m_oAuth2Properties; }
96 inline bool OAuth2PropertiesHasBeenSet() const { return m_oAuth2PropertiesHasBeenSet; }
97 template <typename OAuth2PropertiesT = OAuth2Properties>
98 void SetOAuth2Properties(OAuth2PropertiesT&& value) {
99 m_oAuth2PropertiesHasBeenSet = true;
100 m_oAuth2Properties = std::forward<OAuth2PropertiesT>(value);
101 }
102 template <typename OAuth2PropertiesT = OAuth2Properties>
104 SetOAuth2Properties(std::forward<OAuth2PropertiesT>(value));
105 return *this;
106 }
108 private:
110
111 Aws::String m_secretArn;
112
113 Aws::String m_kmsKeyArn;
114
115 OAuth2Properties m_oAuth2Properties;
116 bool m_authenticationTypeHasBeenSet = false;
117 bool m_secretArnHasBeenSet = false;
118 bool m_kmsKeyArnHasBeenSet = false;
119 bool m_oAuth2PropertiesHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace Glue
124} // namespace Aws
AWS_GLUE_API AuthenticationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API AuthenticationConfiguration()=default
AWS_GLUE_API AuthenticationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AuthenticationConfiguration & WithSecretArn(SecretArnT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AuthenticationConfiguration & WithOAuth2Properties(OAuth2PropertiesT &&value)
AuthenticationConfiguration & WithKmsKeyArn(KmsKeyArnT &&value)
AuthenticationConfiguration & WithAuthenticationType(AuthenticationType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue