7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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>
62 template<
typename AuthCodeUrlT = Aws::String>
63 void SetAuthCodeUrl(AuthCodeUrlT&& value) { m_authCodeUrlHasBeenSet =
true; m_authCodeUrl = std::forward<AuthCodeUrlT>(value); }
64 template<
typename AuthCodeUrlT = Aws::String>
74 template<
typename OAuthScopesT = Aws::Vector<Aws::String>>
75 void SetOAuthScopes(OAuthScopesT&& value) { m_oAuthScopesHasBeenSet =
true; m_oAuthScopes = std::forward<OAuthScopesT>(value); }
76 template<
typename OAuthScopesT = Aws::Vector<Aws::String>>
78 template<
typename OAuthScopesT = Aws::String>
79 OAuthProperties&
AddOAuthScopes(OAuthScopesT&& value) { m_oAuthScopesHasBeenSet =
true; m_oAuthScopes.emplace_back(std::forward<OAuthScopesT>(value));
return *
this; }
84 bool m_tokenUrlHasBeenSet =
false;
87 bool m_authCodeUrlHasBeenSet =
false;
90 bool m_oAuthScopesHasBeenSet =
false;
AWS_APPFLOW_API OAuthProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TokenUrlHasBeenSet() const
OAuthProperties & AddOAuthScopes(OAuthScopesT &&value)
bool AuthCodeUrlHasBeenSet() const
const Aws::Vector< Aws::String > & GetOAuthScopes() const
void SetOAuthScopes(OAuthScopesT &&value)
OAuthProperties & WithOAuthScopes(OAuthScopesT &&value)
void SetTokenUrl(TokenUrlT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAuthCodeUrl() const
AWS_APPFLOW_API OAuthProperties(Aws::Utils::Json::JsonView jsonValue)
OAuthProperties & WithTokenUrl(TokenUrlT &&value)
OAuthProperties & WithAuthCodeUrl(AuthCodeUrlT &&value)
const Aws::String & GetTokenUrl() const
AWS_APPFLOW_API OAuthProperties()=default
bool OAuthScopesHasBeenSet() const
void SetAuthCodeUrl(AuthCodeUrlT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue