AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuthenticationConfigurationInput.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/AuthenticationType.h>
9#include <aws/glue/model/OAuth2PropertiesInput.h>
10#include <aws/core/utils/memory/stl/AWSString.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
48 inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
49 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
50 inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
51 inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
55
57
60 inline const OAuth2PropertiesInput& GetOAuth2Properties() const{ return m_oAuth2Properties; }
61 inline bool OAuth2PropertiesHasBeenSet() const { return m_oAuth2PropertiesHasBeenSet; }
62 inline void SetOAuth2Properties(const OAuth2PropertiesInput& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties = value; }
63 inline void SetOAuth2Properties(OAuth2PropertiesInput&& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties = std::move(value); }
67
69
73 inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
74 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
75 inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
76 inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
77 inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
78 inline AuthenticationConfigurationInput& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
79 inline AuthenticationConfigurationInput& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
80 inline AuthenticationConfigurationInput& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
82 private:
83
84 AuthenticationType m_authenticationType;
85 bool m_authenticationTypeHasBeenSet = false;
86
87 OAuth2PropertiesInput m_oAuth2Properties;
88 bool m_oAuth2PropertiesHasBeenSet = false;
89
90 Aws::String m_secretArn;
91 bool m_secretArnHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Glue
96} // namespace Aws
AuthenticationConfigurationInput & WithAuthenticationType(AuthenticationType &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AuthenticationConfigurationInput & WithSecretArn(const char *value)
AuthenticationConfigurationInput & WithSecretArn(const Aws::String &value)
AuthenticationConfigurationInput & WithAuthenticationType(const AuthenticationType &value)
AWS_GLUE_API AuthenticationConfigurationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AuthenticationConfigurationInput & WithOAuth2Properties(OAuth2PropertiesInput &&value)
AuthenticationConfigurationInput & WithOAuth2Properties(const OAuth2PropertiesInput &value)
AuthenticationConfigurationInput & WithSecretArn(Aws::String &&value)
AWS_GLUE_API AuthenticationConfigurationInput(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue