7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/OAuth2CustomParameter.h>
9#include <aws/appflow/model/OAuth2GrantType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename OauthScopesT = Aws::Vector<Aws::String>>
46 m_oauthScopesHasBeenSet =
true;
47 m_oauthScopes = std::forward<OauthScopesT>(value);
49 template <
typename OauthScopesT = Aws::Vector<Aws::String>>
54 template <
typename OauthScopesT = Aws::String>
56 m_oauthScopesHasBeenSet =
true;
57 m_oauthScopes.emplace_back(std::forward<OauthScopesT>(value));
68 template <
typename TokenUrlsT = Aws::Vector<Aws::String>>
70 m_tokenUrlsHasBeenSet =
true;
71 m_tokenUrls = std::forward<TokenUrlsT>(value);
73 template <
typename TokenUrlsT = Aws::Vector<Aws::String>>
78 template <
typename TokenUrlsT = Aws::String>
80 m_tokenUrlsHasBeenSet =
true;
81 m_tokenUrls.emplace_back(std::forward<TokenUrlsT>(value));
92 template <
typename AuthCodeUrlsT = Aws::Vector<Aws::String>>
94 m_authCodeUrlsHasBeenSet =
true;
95 m_authCodeUrls = std::forward<AuthCodeUrlsT>(value);
97 template <
typename AuthCodeUrlsT = Aws::Vector<Aws::String>>
102 template <
typename AuthCodeUrlsT = Aws::String>
104 m_authCodeUrlsHasBeenSet =
true;
105 m_authCodeUrls.emplace_back(std::forward<AuthCodeUrlsT>(value));
116 template <
typename Oauth2GrantTypesSupportedT = Aws::Vector<OAuth2GrantType>>
118 m_oauth2GrantTypesSupportedHasBeenSet =
true;
119 m_oauth2GrantTypesSupported = std::forward<Oauth2GrantTypesSupportedT>(value);
121 template <
typename Oauth2GrantTypesSupportedT = Aws::Vector<OAuth2GrantType>>
127 m_oauth2GrantTypesSupportedHasBeenSet =
true;
128 m_oauth2GrantTypesSupported.push_back(value);
139 template <
typename Oauth2CustomPropertiesT = Aws::Vector<OAuth2CustomParameter>>
141 m_oauth2CustomPropertiesHasBeenSet =
true;
142 m_oauth2CustomProperties = std::forward<Oauth2CustomPropertiesT>(value);
144 template <
typename Oauth2CustomPropertiesT = Aws::Vector<OAuth2CustomParameter>>
149 template <
typename Oauth2CustomPropertiesT = OAuth2CustomParameter>
151 m_oauth2CustomPropertiesHasBeenSet =
true;
152 m_oauth2CustomProperties.emplace_back(std::forward<Oauth2CustomPropertiesT>(value));
166 bool m_oauthScopesHasBeenSet =
false;
167 bool m_tokenUrlsHasBeenSet =
false;
168 bool m_authCodeUrlsHasBeenSet =
false;
169 bool m_oauth2GrantTypesSupportedHasBeenSet =
false;
170 bool m_oauth2CustomPropertiesHasBeenSet =
false;
OAuth2Defaults & WithOauthScopes(OauthScopesT &&value)
bool AuthCodeUrlsHasBeenSet() const
bool OauthScopesHasBeenSet() const
AWS_APPFLOW_API OAuth2Defaults(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< OAuth2CustomParameter > & GetOauth2CustomProperties() const
OAuth2Defaults & WithOauth2GrantTypesSupported(Oauth2GrantTypesSupportedT &&value)
void SetOauth2CustomProperties(Oauth2CustomPropertiesT &&value)
OAuth2Defaults & WithOauth2CustomProperties(Oauth2CustomPropertiesT &&value)
OAuth2Defaults & AddOauthScopes(OauthScopesT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
bool Oauth2GrantTypesSupportedHasBeenSet() const
void SetOauthScopes(OauthScopesT &&value)
OAuth2Defaults & AddOauth2GrantTypesSupported(OAuth2GrantType value)
bool Oauth2CustomPropertiesHasBeenSet() const
void SetAuthCodeUrls(AuthCodeUrlsT &&value)
OAuth2Defaults & AddTokenUrls(TokenUrlsT &&value)
void SetTokenUrls(TokenUrlsT &&value)
OAuth2Defaults & AddAuthCodeUrls(AuthCodeUrlsT &&value)
void SetOauth2GrantTypesSupported(Oauth2GrantTypesSupportedT &&value)
OAuth2Defaults & AddOauth2CustomProperties(Oauth2CustomPropertiesT &&value)
bool TokenUrlsHasBeenSet() const
const Aws::Vector< OAuth2GrantType > & GetOauth2GrantTypesSupported() const
AWS_APPFLOW_API OAuth2Defaults & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetOauthScopes() const
const Aws::Vector< Aws::String > & GetTokenUrls() const
OAuth2Defaults & WithAuthCodeUrls(AuthCodeUrlsT &&value)
AWS_APPFLOW_API OAuth2Defaults()=default
const Aws::Vector< Aws::String > & GetAuthCodeUrls() const
OAuth2Defaults & WithTokenUrls(TokenUrlsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue