7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appflow/model/OAuth2GrantType.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
49 template<
typename TokenUrlT = Aws::String>
50 void SetTokenUrl(TokenUrlT&& value) { m_tokenUrlHasBeenSet =
true; m_tokenUrl = std::forward<TokenUrlT>(value); }
51 template<
typename TokenUrlT = Aws::String>
73 template<
typename TokenUrlCustomPropertiesT = Aws::Map<Aws::String, Aws::String>>
74 void SetTokenUrlCustomProperties(TokenUrlCustomPropertiesT&& value) { m_tokenUrlCustomPropertiesHasBeenSet =
true; m_tokenUrlCustomProperties = std::forward<TokenUrlCustomPropertiesT>(value); }
75 template<
typename TokenUrlCustomPropertiesT = Aws::Map<Aws::String, Aws::String>>
77 template<
typename TokenUrlCustomPropertiesKeyT = Aws::String,
typename TokenUrlCustomPropertiesValueT = Aws::String>
79 m_tokenUrlCustomPropertiesHasBeenSet =
true; m_tokenUrlCustomProperties.emplace(std::forward<TokenUrlCustomPropertiesKeyT>(key), std::forward<TokenUrlCustomPropertiesValueT>(value));
return *
this;
85 bool m_tokenUrlHasBeenSet =
false;
88 bool m_oAuth2GrantTypeHasBeenSet =
false;
91 bool m_tokenUrlCustomPropertiesHasBeenSet =
false;
const Aws::String & GetTokenUrl() const
AWS_APPFLOW_API OAuth2Properties()=default
AWS_APPFLOW_API OAuth2Properties & operator=(Aws::Utils::Json::JsonView jsonValue)
OAuth2Properties & WithTokenUrlCustomProperties(TokenUrlCustomPropertiesT &&value)
bool OAuth2GrantTypeHasBeenSet() const
void SetTokenUrl(TokenUrlT &&value)
void SetTokenUrlCustomProperties(TokenUrlCustomPropertiesT &&value)
OAuth2Properties & WithOAuth2GrantType(OAuth2GrantType value)
bool TokenUrlCustomPropertiesHasBeenSet() const
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOAuth2GrantType(OAuth2GrantType value)
OAuth2Properties & AddTokenUrlCustomProperties(TokenUrlCustomPropertiesKeyT &&key, TokenUrlCustomPropertiesValueT &&value)
AWS_APPFLOW_API OAuth2Properties(Aws::Utils::Json::JsonView jsonValue)
OAuth2GrantType GetOAuth2GrantType() const
const Aws::Map< Aws::String, Aws::String > & GetTokenUrlCustomProperties() const
OAuth2Properties & WithTokenUrl(TokenUrlT &&value)
bool TokenUrlHasBeenSet() 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