7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/OAuth2GrantType.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
43 template <
typename TokenUrlT = Aws::String>
45 m_tokenUrlHasBeenSet =
true;
46 m_tokenUrl = std::forward<TokenUrlT>(value);
48 template <
typename TokenUrlT = Aws::String>
62 m_oAuth2GrantTypeHasBeenSet =
true;
63 m_oAuth2GrantType = value;
79 template <
typename TokenUrlCustomPropertiesT = Aws::Map<Aws::String, Aws::String>>
81 m_tokenUrlCustomPropertiesHasBeenSet =
true;
82 m_tokenUrlCustomProperties = std::forward<TokenUrlCustomPropertiesT>(value);
84 template <
typename TokenUrlCustomPropertiesT = Aws::Map<Aws::String, Aws::String>>
89 template <
typename TokenUrlCustomPropertiesKeyT = Aws::String,
typename TokenUrlCustomPropertiesValueT = Aws::String>
91 m_tokenUrlCustomPropertiesHasBeenSet =
true;
92 m_tokenUrlCustomProperties.emplace(std::forward<TokenUrlCustomPropertiesKeyT>(key),
93 std::forward<TokenUrlCustomPropertiesValueT>(value));
103 bool m_tokenUrlHasBeenSet =
false;
104 bool m_oAuth2GrantTypeHasBeenSet =
false;
105 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