7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/model/TokenEndpointAuthenticationScheme.h>
10#include <aws/iot-managed-integrations/model/ProactiveRefreshTokenRenewal.h>
23namespace IoTManagedIntegrations
50 template<
typename AuthUrlT = Aws::String>
51 void SetAuthUrl(AuthUrlT&& value) { m_authUrlHasBeenSet =
true; m_authUrl = std::forward<AuthUrlT>(value); }
52 template<
typename AuthUrlT = Aws::String>
63 template<
typename TokenUrlT = Aws::String>
64 void SetTokenUrl(TokenUrlT&& value) { m_tokenUrlHasBeenSet =
true; m_tokenUrl = std::forward<TokenUrlT>(value); }
65 template<
typename TokenUrlT = Aws::String>
76 template<
typename ScopeT = Aws::String>
77 void SetScope(ScopeT&& value) { m_scopeHasBeenSet =
true; m_scope = std::forward<ScopeT>(value); }
78 template<
typename ScopeT = Aws::String>
100 template<
typename OAuthCompleteRedirectUrlT = Aws::String>
101 void SetOAuthCompleteRedirectUrl(OAuthCompleteRedirectUrlT&& value) { m_oAuthCompleteRedirectUrlHasBeenSet =
true; m_oAuthCompleteRedirectUrl = std::forward<OAuthCompleteRedirectUrlT>(value); }
102 template<
typename OAuthCompleteRedirectUrlT = Aws::String>
112 template<
typename ProactiveRefreshTokenRenewalT = ProactiveRefreshTokenRenewal>
113 void SetProactiveRefreshTokenRenewal(ProactiveRefreshTokenRenewalT&& value) { m_proactiveRefreshTokenRenewalHasBeenSet =
true; m_proactiveRefreshTokenRenewal = std::forward<ProactiveRefreshTokenRenewalT>(value); }
114 template<
typename ProactiveRefreshTokenRenewalT = ProactiveRefreshTokenRenewal>
120 bool m_authUrlHasBeenSet =
false;
123 bool m_tokenUrlHasBeenSet =
false;
126 bool m_scopeHasBeenSet =
false;
129 bool m_tokenEndpointAuthenticationSchemeHasBeenSet =
false;
132 bool m_oAuthCompleteRedirectUrlHasBeenSet =
false;
134 ProactiveRefreshTokenRenewal m_proactiveRefreshTokenRenewal;
135 bool m_proactiveRefreshTokenRenewalHasBeenSet =
false;
bool OAuthCompleteRedirectUrlHasBeenSet() const
AWS_IOTMANAGEDINTEGRATIONS_API OAuthConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TokenUrlHasBeenSet() const
AWS_IOTMANAGEDINTEGRATIONS_API OAuthConfig()=default
const Aws::String & GetOAuthCompleteRedirectUrl() const
bool ProactiveRefreshTokenRenewalHasBeenSet() const
void SetProactiveRefreshTokenRenewal(ProactiveRefreshTokenRenewalT &&value)
void SetScope(ScopeT &&value)
const ProactiveRefreshTokenRenewal & GetProactiveRefreshTokenRenewal() const
OAuthConfig & WithTokenUrl(TokenUrlT &&value)
void SetAuthUrl(AuthUrlT &&value)
OAuthConfig & WithAuthUrl(AuthUrlT &&value)
void SetOAuthCompleteRedirectUrl(OAuthCompleteRedirectUrlT &&value)
OAuthConfig & WithTokenEndpointAuthenticationScheme(TokenEndpointAuthenticationScheme value)
OAuthConfig & WithProactiveRefreshTokenRenewal(ProactiveRefreshTokenRenewalT &&value)
bool TokenEndpointAuthenticationSchemeHasBeenSet() const
const Aws::String & GetAuthUrl() const
const Aws::String & GetTokenUrl() const
bool AuthUrlHasBeenSet() const
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetScope() const
OAuthConfig & WithOAuthCompleteRedirectUrl(OAuthCompleteRedirectUrlT &&value)
bool ScopeHasBeenSet() const
void SetTokenUrl(TokenUrlT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API OAuthConfig(Aws::Utils::Json::JsonView jsonValue)
void SetTokenEndpointAuthenticationScheme(TokenEndpointAuthenticationScheme value)
OAuthConfig & WithScope(ScopeT &&value)
TokenEndpointAuthenticationScheme GetTokenEndpointAuthenticationScheme() const
TokenEndpointAuthenticationScheme
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue