AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OAuth2PropertiesInput.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/OAuth2GrantType.h>
9#include <aws/glue/model/OAuth2ClientApplication.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/glue/model/AuthorizationCodeProperties.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Glue
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_GLUE_API OAuth2PropertiesInput();
43
44
46
51 inline const OAuth2GrantType& GetOAuth2GrantType() const{ return m_oAuth2GrantType; }
52 inline bool OAuth2GrantTypeHasBeenSet() const { return m_oAuth2GrantTypeHasBeenSet; }
53 inline void SetOAuth2GrantType(const OAuth2GrantType& value) { m_oAuth2GrantTypeHasBeenSet = true; m_oAuth2GrantType = value; }
54 inline void SetOAuth2GrantType(OAuth2GrantType&& value) { m_oAuth2GrantTypeHasBeenSet = true; m_oAuth2GrantType = std::move(value); }
55 inline OAuth2PropertiesInput& WithOAuth2GrantType(const OAuth2GrantType& value) { SetOAuth2GrantType(value); return *this;}
56 inline OAuth2PropertiesInput& WithOAuth2GrantType(OAuth2GrantType&& value) { SetOAuth2GrantType(std::move(value)); return *this;}
58
60
64 inline const OAuth2ClientApplication& GetOAuth2ClientApplication() const{ return m_oAuth2ClientApplication; }
65 inline bool OAuth2ClientApplicationHasBeenSet() const { return m_oAuth2ClientApplicationHasBeenSet; }
66 inline void SetOAuth2ClientApplication(const OAuth2ClientApplication& value) { m_oAuth2ClientApplicationHasBeenSet = true; m_oAuth2ClientApplication = value; }
67 inline void SetOAuth2ClientApplication(OAuth2ClientApplication&& value) { m_oAuth2ClientApplicationHasBeenSet = true; m_oAuth2ClientApplication = std::move(value); }
71
73
77 inline const Aws::String& GetTokenUrl() const{ return m_tokenUrl; }
78 inline bool TokenUrlHasBeenSet() const { return m_tokenUrlHasBeenSet; }
79 inline void SetTokenUrl(const Aws::String& value) { m_tokenUrlHasBeenSet = true; m_tokenUrl = value; }
80 inline void SetTokenUrl(Aws::String&& value) { m_tokenUrlHasBeenSet = true; m_tokenUrl = std::move(value); }
81 inline void SetTokenUrl(const char* value) { m_tokenUrlHasBeenSet = true; m_tokenUrl.assign(value); }
82 inline OAuth2PropertiesInput& WithTokenUrl(const Aws::String& value) { SetTokenUrl(value); return *this;}
83 inline OAuth2PropertiesInput& WithTokenUrl(Aws::String&& value) { SetTokenUrl(std::move(value)); return *this;}
84 inline OAuth2PropertiesInput& WithTokenUrl(const char* value) { SetTokenUrl(value); return *this;}
86
88
91 inline const Aws::Map<Aws::String, Aws::String>& GetTokenUrlParametersMap() const{ return m_tokenUrlParametersMap; }
92 inline bool TokenUrlParametersMapHasBeenSet() const { return m_tokenUrlParametersMapHasBeenSet; }
93 inline void SetTokenUrlParametersMap(const Aws::Map<Aws::String, Aws::String>& value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap = value; }
94 inline void SetTokenUrlParametersMap(Aws::Map<Aws::String, Aws::String>&& value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap = std::move(value); }
97 inline OAuth2PropertiesInput& AddTokenUrlParametersMap(const Aws::String& key, const Aws::String& value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap.emplace(key, value); return *this; }
98 inline OAuth2PropertiesInput& AddTokenUrlParametersMap(Aws::String&& key, const Aws::String& value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap.emplace(std::move(key), value); return *this; }
99 inline OAuth2PropertiesInput& AddTokenUrlParametersMap(const Aws::String& key, Aws::String&& value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap.emplace(key, std::move(value)); return *this; }
100 inline OAuth2PropertiesInput& AddTokenUrlParametersMap(Aws::String&& key, Aws::String&& value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap.emplace(std::move(key), std::move(value)); return *this; }
101 inline OAuth2PropertiesInput& AddTokenUrlParametersMap(const char* key, Aws::String&& value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap.emplace(key, std::move(value)); return *this; }
102 inline OAuth2PropertiesInput& AddTokenUrlParametersMap(Aws::String&& key, const char* value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap.emplace(std::move(key), value); return *this; }
103 inline OAuth2PropertiesInput& AddTokenUrlParametersMap(const char* key, const char* value) { m_tokenUrlParametersMapHasBeenSet = true; m_tokenUrlParametersMap.emplace(key, value); return *this; }
105
107
111 inline const AuthorizationCodeProperties& GetAuthorizationCodeProperties() const{ return m_authorizationCodeProperties; }
112 inline bool AuthorizationCodePropertiesHasBeenSet() const { return m_authorizationCodePropertiesHasBeenSet; }
113 inline void SetAuthorizationCodeProperties(const AuthorizationCodeProperties& value) { m_authorizationCodePropertiesHasBeenSet = true; m_authorizationCodeProperties = value; }
114 inline void SetAuthorizationCodeProperties(AuthorizationCodeProperties&& value) { m_authorizationCodePropertiesHasBeenSet = true; m_authorizationCodeProperties = std::move(value); }
118 private:
119
120 OAuth2GrantType m_oAuth2GrantType;
121 bool m_oAuth2GrantTypeHasBeenSet = false;
122
123 OAuth2ClientApplication m_oAuth2ClientApplication;
124 bool m_oAuth2ClientApplicationHasBeenSet = false;
125
126 Aws::String m_tokenUrl;
127 bool m_tokenUrlHasBeenSet = false;
128
129 Aws::Map<Aws::String, Aws::String> m_tokenUrlParametersMap;
130 bool m_tokenUrlParametersMapHasBeenSet = false;
131
132 AuthorizationCodeProperties m_authorizationCodeProperties;
133 bool m_authorizationCodePropertiesHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace Glue
138} // namespace Aws
void SetTokenUrl(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTokenUrlParametersMap() const
void SetAuthorizationCodeProperties(AuthorizationCodeProperties &&value)
void SetTokenUrlParametersMap(Aws::Map< Aws::String, Aws::String > &&value)
void SetOAuth2GrantType(OAuth2GrantType &&value)
OAuth2PropertiesInput & AddTokenUrlParametersMap(const Aws::String &key, Aws::String &&value)
OAuth2PropertiesInput & WithTokenUrl(Aws::String &&value)
OAuth2PropertiesInput & AddTokenUrlParametersMap(const char *key, Aws::String &&value)
void SetTokenUrlParametersMap(const Aws::Map< Aws::String, Aws::String > &value)
OAuth2PropertiesInput & WithTokenUrl(const char *value)
OAuth2PropertiesInput & WithTokenUrl(const Aws::String &value)
void SetOAuth2ClientApplication(const OAuth2ClientApplication &value)
const OAuth2GrantType & GetOAuth2GrantType() const
OAuth2PropertiesInput & WithTokenUrlParametersMap(Aws::Map< Aws::String, Aws::String > &&value)
OAuth2PropertiesInput & WithTokenUrlParametersMap(const Aws::Map< Aws::String, Aws::String > &value)
AWS_GLUE_API OAuth2PropertiesInput & operator=(Aws::Utils::Json::JsonView jsonValue)
OAuth2PropertiesInput & AddTokenUrlParametersMap(Aws::String &&key, Aws::String &&value)
OAuth2PropertiesInput & AddTokenUrlParametersMap(Aws::String &&key, const Aws::String &value)
OAuth2PropertiesInput & WithAuthorizationCodeProperties(AuthorizationCodeProperties &&value)
AWS_GLUE_API OAuth2PropertiesInput(Aws::Utils::Json::JsonView jsonValue)
void SetOAuth2ClientApplication(OAuth2ClientApplication &&value)
void SetOAuth2GrantType(const OAuth2GrantType &value)
OAuth2PropertiesInput & WithOAuth2GrantType(OAuth2GrantType &&value)
OAuth2PropertiesInput & WithOAuth2ClientApplication(const OAuth2ClientApplication &value)
OAuth2PropertiesInput & WithOAuth2GrantType(const OAuth2GrantType &value)
OAuth2PropertiesInput & WithAuthorizationCodeProperties(const AuthorizationCodeProperties &value)
const OAuth2ClientApplication & GetOAuth2ClientApplication() const
void SetAuthorizationCodeProperties(const AuthorizationCodeProperties &value)
OAuth2PropertiesInput & AddTokenUrlParametersMap(const Aws::String &key, const Aws::String &value)
const AuthorizationCodeProperties & GetAuthorizationCodeProperties() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
OAuth2PropertiesInput & AddTokenUrlParametersMap(const char *key, const char *value)
OAuth2PropertiesInput & WithOAuth2ClientApplication(OAuth2ClientApplication &&value)
OAuth2PropertiesInput & AddTokenUrlParametersMap(Aws::String &&key, const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue