7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
9#include <aws/iot-managed-integrations/model/ProactiveRefreshTokenRenewal.h>
10#include <aws/iot-managed-integrations/model/TokenEndpointAuthenticationScheme.h>
21namespace IoTManagedIntegrations {
44 template <
typename AuthUrlT = Aws::String>
46 m_authUrlHasBeenSet =
true;
47 m_authUrl = std::forward<AuthUrlT>(value);
49 template <
typename AuthUrlT = Aws::String>
63 template <
typename TokenUrlT = Aws::String>
65 m_tokenUrlHasBeenSet =
true;
66 m_tokenUrl = std::forward<TokenUrlT>(value);
68 template <
typename TokenUrlT = Aws::String>
82 template <
typename ScopeT = Aws::String>
84 m_scopeHasBeenSet =
true;
85 m_scope = std::forward<ScopeT>(value);
87 template <
typename ScopeT = Aws::String>
89 SetScope(std::forward<ScopeT>(value));
102 m_tokenEndpointAuthenticationSchemeHasBeenSet =
true;
103 m_tokenEndpointAuthenticationScheme = value;
118 template <
typename OAuthCompleteRedirectUrlT = Aws::String>
120 m_oAuthCompleteRedirectUrlHasBeenSet =
true;
121 m_oAuthCompleteRedirectUrl = std::forward<OAuthCompleteRedirectUrlT>(value);
123 template <
typename OAuthCompleteRedirectUrlT = Aws::String>
136 template <
typename ProactiveRefreshTokenRenewalT = ProactiveRefreshTokenRenewal>
138 m_proactiveRefreshTokenRenewalHasBeenSet =
true;
139 m_proactiveRefreshTokenRenewal = std::forward<ProactiveRefreshTokenRenewalT>(value);
141 template <
typename ProactiveRefreshTokenRenewalT = ProactiveRefreshTokenRenewal>
158 ProactiveRefreshTokenRenewal m_proactiveRefreshTokenRenewal;
159 bool m_authUrlHasBeenSet =
false;
160 bool m_tokenUrlHasBeenSet =
false;
161 bool m_scopeHasBeenSet =
false;
162 bool m_tokenEndpointAuthenticationSchemeHasBeenSet =
false;
163 bool m_oAuthCompleteRedirectUrlHasBeenSet =
false;
164 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