7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/AuthorizationCodeProperties.h>
9#include <aws/datazone/model/OAuth2ClientApplication.h>
10#include <aws/datazone/model/GlueOAuth2Credentials.h>
11#include <aws/datazone/model/OAuth2GrantType.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
51 template<
typename AuthorizationCodePropertiesT = AuthorizationCodeProperties>
52 void SetAuthorizationCodeProperties(AuthorizationCodePropertiesT&& value) { m_authorizationCodePropertiesHasBeenSet =
true; m_authorizationCodeProperties = std::forward<AuthorizationCodePropertiesT>(value); }
53 template<
typename AuthorizationCodePropertiesT = AuthorizationCodeProperties>
63 template<
typename OAuth2ClientApplicationT = OAuth2ClientApplication>
64 void SetOAuth2ClientApplication(OAuth2ClientApplicationT&& value) { m_oAuth2ClientApplicationHasBeenSet =
true; m_oAuth2ClientApplication = std::forward<OAuth2ClientApplicationT>(value); }
65 template<
typename OAuth2ClientApplicationT = OAuth2ClientApplication>
75 template<
typename OAuth2CredentialsT = GlueOAuth2Credentials>
76 void SetOAuth2Credentials(OAuth2CredentialsT&& value) { m_oAuth2CredentialsHasBeenSet =
true; m_oAuth2Credentials = std::forward<OAuth2CredentialsT>(value); }
77 template<
typename OAuth2CredentialsT = GlueOAuth2Credentials>
97 template<
typename TokenUrlT = Aws::String>
98 void SetTokenUrl(TokenUrlT&& value) { m_tokenUrlHasBeenSet =
true; m_tokenUrl = std::forward<TokenUrlT>(value); }
99 template<
typename TokenUrlT = Aws::String>
109 template<
typename TokenUrlParametersMapT = Aws::Map<Aws::String, Aws::String>>
110 void SetTokenUrlParametersMap(TokenUrlParametersMapT&& value) { m_tokenUrlParametersMapHasBeenSet =
true; m_tokenUrlParametersMap = std::forward<TokenUrlParametersMapT>(value); }
111 template<
typename TokenUrlParametersMapT = Aws::Map<Aws::String, Aws::String>>
113 template<
typename TokenUrlParametersMapKeyT = Aws::String,
typename TokenUrlParametersMapValueT = Aws::String>
115 m_tokenUrlParametersMapHasBeenSet =
true; m_tokenUrlParametersMap.emplace(std::forward<TokenUrlParametersMapKeyT>(key), std::forward<TokenUrlParametersMapValueT>(value));
return *
this;
121 bool m_authorizationCodePropertiesHasBeenSet =
false;
124 bool m_oAuth2ClientApplicationHasBeenSet =
false;
127 bool m_oAuth2CredentialsHasBeenSet =
false;
130 bool m_oAuth2GrantTypeHasBeenSet =
false;
133 bool m_tokenUrlHasBeenSet =
false;
136 bool m_tokenUrlParametersMapHasBeenSet =
false;
const Aws::String & GetTokenUrl() const
OAuth2Properties & AddTokenUrlParametersMap(TokenUrlParametersMapKeyT &&key, TokenUrlParametersMapValueT &&value)
void SetAuthorizationCodeProperties(AuthorizationCodePropertiesT &&value)
void SetOAuth2ClientApplication(OAuth2ClientApplicationT &&value)
AWS_DATAZONE_API OAuth2Properties(Aws::Utils::Json::JsonView jsonValue)
OAuth2Properties & WithTokenUrlParametersMap(TokenUrlParametersMapT &&value)
void SetOAuth2Credentials(OAuth2CredentialsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTokenUrlParametersMap() const
const OAuth2ClientApplication & GetOAuth2ClientApplication() const
AWS_DATAZONE_API OAuth2Properties & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTokenUrl(TokenUrlT &&value)
bool TokenUrlParametersMapHasBeenSet() const
OAuth2Properties & WithOAuth2Credentials(OAuth2CredentialsT &&value)
const AuthorizationCodeProperties & GetAuthorizationCodeProperties() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
OAuth2Properties & WithTokenUrl(TokenUrlT &&value)
void SetOAuth2GrantType(OAuth2GrantType value)
const GlueOAuth2Credentials & GetOAuth2Credentials() const
AWS_DATAZONE_API OAuth2Properties()=default
bool OAuth2CredentialsHasBeenSet() const
OAuth2GrantType GetOAuth2GrantType() const
OAuth2Properties & WithOAuth2ClientApplication(OAuth2ClientApplicationT &&value)
OAuth2Properties & WithOAuth2GrantType(OAuth2GrantType value)
OAuth2Properties & WithAuthorizationCodeProperties(AuthorizationCodePropertiesT &&value)
bool OAuth2GrantTypeHasBeenSet() const
bool TokenUrlHasBeenSet() const
bool OAuth2ClientApplicationHasBeenSet() const
void SetTokenUrlParametersMap(TokenUrlParametersMapT &&value)
bool AuthorizationCodePropertiesHasBeenSet() const
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