7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
11#include <aws/elasticloadbalancingv2/model/AuthenticateOidcActionConditionalBehaviorEnum.h>
21namespace ElasticLoadBalancingv2 {
37 const char* locationValue)
const;
47 template <
typename IssuerT = Aws::String>
49 m_issuerHasBeenSet =
true;
50 m_issuer = std::forward<IssuerT>(value);
52 template <
typename IssuerT = Aws::String>
66 template <
typename AuthorizationEndpo
intT = Aws::String>
68 m_authorizationEndpointHasBeenSet =
true;
69 m_authorizationEndpoint = std::forward<AuthorizationEndpointT>(value);
71 template <
typename AuthorizationEndpo
intT = Aws::String>
85 template <
typename TokenEndpo
intT = Aws::String>
87 m_tokenEndpointHasBeenSet =
true;
88 m_tokenEndpoint = std::forward<TokenEndpointT>(value);
90 template <
typename TokenEndpo
intT = Aws::String>
104 template <
typename UserInfoEndpo
intT = Aws::String>
106 m_userInfoEndpointHasBeenSet =
true;
107 m_userInfoEndpoint = std::forward<UserInfoEndpointT>(value);
109 template <
typename UserInfoEndpo
intT = Aws::String>
122 template <
typename ClientIdT = Aws::String>
124 m_clientIdHasBeenSet =
true;
125 m_clientId = std::forward<ClientIdT>(value);
127 template <
typename ClientIdT = Aws::String>
142 template <
typename ClientSecretT = Aws::String>
144 m_clientSecretHasBeenSet =
true;
145 m_clientSecret = std::forward<ClientSecretT>(value);
147 template <
typename ClientSecretT = Aws::String>
161 template <
typename SessionCookieNameT = Aws::String>
163 m_sessionCookieNameHasBeenSet =
true;
164 m_sessionCookieName = std::forward<SessionCookieNameT>(value);
166 template <
typename SessionCookieNameT = Aws::String>
181 template <
typename ScopeT = Aws::String>
183 m_scopeHasBeenSet =
true;
184 m_scope = std::forward<ScopeT>(value);
186 template <
typename ScopeT = Aws::String>
188 SetScope(std::forward<ScopeT>(value));
201 m_sessionTimeoutHasBeenSet =
true;
202 m_sessionTimeout = value;
216 return m_authenticationRequestExtraParams;
219 template <
typename AuthenticationRequestExtraParamsT = Aws::Map<Aws::String, Aws::String>>
221 m_authenticationRequestExtraParamsHasBeenSet =
true;
222 m_authenticationRequestExtraParams = std::forward<AuthenticationRequestExtraParamsT>(value);
224 template <
typename AuthenticationRequestExtraParamsT = Aws::Map<Aws::String, Aws::String>>
229 template <
typename AuthenticationRequestExtraParamsKeyT = Aws::String,
typename AuthenticationRequestExtraParamsValueT = Aws::String>
231 AuthenticationRequestExtraParamsValueT&& value) {
232 m_authenticationRequestExtraParamsHasBeenSet =
true;
233 m_authenticationRequestExtraParams.emplace(std::forward<AuthenticationRequestExtraParamsKeyT>(key),
234 std::forward<AuthenticationRequestExtraParamsValueT>(value));
250 m_onUnauthenticatedRequestHasBeenSet =
true;
251 m_onUnauthenticatedRequest = value;
267 m_useExistingClientSecretHasBeenSet =
true;
268 m_useExistingClientSecret = value;
292 long long m_sessionTimeout{0};
298 bool m_useExistingClientSecret{
false};
299 bool m_issuerHasBeenSet =
false;
300 bool m_authorizationEndpointHasBeenSet =
false;
301 bool m_tokenEndpointHasBeenSet =
false;
302 bool m_userInfoEndpointHasBeenSet =
false;
303 bool m_clientIdHasBeenSet =
false;
304 bool m_clientSecretHasBeenSet =
false;
305 bool m_sessionCookieNameHasBeenSet =
false;
306 bool m_scopeHasBeenSet =
false;
307 bool m_sessionTimeoutHasBeenSet =
false;
308 bool m_authenticationRequestExtraParamsHasBeenSet =
false;
309 bool m_onUnauthenticatedRequestHasBeenSet =
false;
310 bool m_useExistingClientSecretHasBeenSet =
false;
bool UserInfoEndpointHasBeenSet() const
AuthenticateOidcActionConfig & WithClientSecret(ClientSecretT &&value)
bool AuthorizationEndpointHasBeenSet() const
const Aws::String & GetTokenEndpoint() const
AuthenticateOidcActionConfig & WithClientId(ClientIdT &&value)
void SetTokenEndpoint(TokenEndpointT &&value)
bool ClientSecretHasBeenSet() const
bool GetUseExistingClientSecret() const
AuthenticateOidcActionConfig & WithSessionCookieName(SessionCookieNameT &&value)
AuthenticateOidcActionConfig & WithUseExistingClientSecret(bool value)
void SetSessionTimeout(long long value)
AuthenticateOidcActionConfig & WithAuthorizationEndpoint(AuthorizationEndpointT &&value)
AWS_ELASTICLOADBALANCINGV2_API AuthenticateOidcActionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TokenEndpointHasBeenSet() const
AuthenticateOidcActionConfig & WithUserInfoEndpoint(UserInfoEndpointT &&value)
const Aws::String & GetUserInfoEndpoint() const
bool SessionTimeoutHasBeenSet() const
AuthenticateOidcActionConfig & WithTokenEndpoint(TokenEndpointT &&value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetAuthorizationEndpoint(AuthorizationEndpointT &&value)
const Aws::String & GetSessionCookieName() const
AuthenticateOidcActionConfig & AddAuthenticationRequestExtraParams(AuthenticationRequestExtraParamsKeyT &&key, AuthenticationRequestExtraParamsValueT &&value)
bool UseExistingClientSecretHasBeenSet() const
AuthenticateOidcActionConfig & WithSessionTimeout(long long value)
bool ScopeHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetClientSecret() const
AuthenticateOidcActionConditionalBehaviorEnum GetOnUnauthenticatedRequest() const
AuthenticateOidcActionConfig & WithIssuer(IssuerT &&value)
const Aws::String & GetScope() const
bool IssuerHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetAuthenticationRequestExtraParams() const
const Aws::String & GetClientId() const
bool AuthenticationRequestExtraParamsHasBeenSet() const
void SetSessionCookieName(SessionCookieNameT &&value)
AuthenticateOidcActionConfig & WithAuthenticationRequestExtraParams(AuthenticationRequestExtraParamsT &&value)
const Aws::String & GetAuthorizationEndpoint() const
void SetUseExistingClientSecret(bool value)
const Aws::String & GetIssuer() const
bool SessionCookieNameHasBeenSet() const
void SetScope(ScopeT &&value)
void SetIssuer(IssuerT &&value)
void SetClientSecret(ClientSecretT &&value)
AWS_ELASTICLOADBALANCINGV2_API AuthenticateOidcActionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetOnUnauthenticatedRequest(AuthenticateOidcActionConditionalBehaviorEnum value)
bool OnUnauthenticatedRequestHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API AuthenticateOidcActionConfig()=default
void SetAuthenticationRequestExtraParams(AuthenticationRequestExtraParamsT &&value)
void SetUserInfoEndpoint(UserInfoEndpointT &&value)
void SetClientId(ClientIdT &&value)
AuthenticateOidcActionConfig & WithScope(ScopeT &&value)
long long GetSessionTimeout() const
AuthenticateOidcActionConfig & WithOnUnauthenticatedRequest(AuthenticateOidcActionConditionalBehaviorEnum value)
bool ClientIdHasBeenSet() const
AuthenticateOidcActionConditionalBehaviorEnum
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
std::basic_ostream< char, std::char_traits< char > > OStream