7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/elasticloadbalancingv2/model/AuthenticateOidcActionConditionalBehaviorEnum.h>
23namespace ElasticLoadBalancingv2
41 AWS_ELASTICLOADBALANCINGV2_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
52 template<
typename IssuerT = Aws::String>
53 void SetIssuer(IssuerT&& value) { m_issuerHasBeenSet =
true; m_issuer = std::forward<IssuerT>(value); }
54 template<
typename IssuerT = Aws::String>
65 template<
typename AuthorizationEndpo
intT = Aws::String>
66 void SetAuthorizationEndpoint(AuthorizationEndpointT&& value) { m_authorizationEndpointHasBeenSet =
true; m_authorizationEndpoint = std::forward<AuthorizationEndpointT>(value); }
67 template<
typename AuthorizationEndpo
intT = Aws::String>
78 template<
typename TokenEndpo
intT = Aws::String>
79 void SetTokenEndpoint(TokenEndpointT&& value) { m_tokenEndpointHasBeenSet =
true; m_tokenEndpoint = std::forward<TokenEndpointT>(value); }
80 template<
typename TokenEndpo
intT = Aws::String>
91 template<
typename UserInfoEndpo
intT = Aws::String>
92 void SetUserInfoEndpoint(UserInfoEndpointT&& value) { m_userInfoEndpointHasBeenSet =
true; m_userInfoEndpoint = std::forward<UserInfoEndpointT>(value); }
93 template<
typename UserInfoEndpo
intT = Aws::String>
103 template<
typename ClientIdT = Aws::String>
104 void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet =
true; m_clientId = std::forward<ClientIdT>(value); }
105 template<
typename ClientIdT = Aws::String>
117 template<
typename ClientSecretT = Aws::String>
118 void SetClientSecret(ClientSecretT&& value) { m_clientSecretHasBeenSet =
true; m_clientSecret = std::forward<ClientSecretT>(value); }
119 template<
typename ClientSecretT = Aws::String>
130 template<
typename SessionCookieNameT = Aws::String>
131 void SetSessionCookieName(SessionCookieNameT&& value) { m_sessionCookieNameHasBeenSet =
true; m_sessionCookieName = std::forward<SessionCookieNameT>(value); }
132 template<
typename SessionCookieNameT = Aws::String>
144 template<
typename ScopeT = Aws::String>
145 void SetScope(ScopeT&& value) { m_scopeHasBeenSet =
true; m_scope = std::forward<ScopeT>(value); }
146 template<
typename ScopeT = Aws::String>
157 inline void SetSessionTimeout(
long long value) { m_sessionTimeoutHasBeenSet =
true; m_sessionTimeout = value; }
168 template<
typename AuthenticationRequestExtraParamsT = Aws::Map<Aws::String, Aws::String>>
169 void SetAuthenticationRequestExtraParams(AuthenticationRequestExtraParamsT&& value) { m_authenticationRequestExtraParamsHasBeenSet =
true; m_authenticationRequestExtraParams = std::forward<AuthenticationRequestExtraParamsT>(value); }
170 template<
typename AuthenticationRequestExtraParamsT = Aws::Map<Aws::String, Aws::String>>
172 template<
typename AuthenticationRequestExtraParamsKeyT = Aws::String,
typename AuthenticationRequestExtraParamsValueT = Aws::String>
174 m_authenticationRequestExtraParamsHasBeenSet =
true; m_authenticationRequestExtraParams.emplace(std::forward<AuthenticationRequestExtraParamsKeyT>(key), std::forward<AuthenticationRequestExtraParamsValueT>(value));
return *
this;
205 bool m_issuerHasBeenSet =
false;
208 bool m_authorizationEndpointHasBeenSet =
false;
211 bool m_tokenEndpointHasBeenSet =
false;
214 bool m_userInfoEndpointHasBeenSet =
false;
217 bool m_clientIdHasBeenSet =
false;
220 bool m_clientSecretHasBeenSet =
false;
223 bool m_sessionCookieNameHasBeenSet =
false;
226 bool m_scopeHasBeenSet =
false;
228 long long m_sessionTimeout{0};
229 bool m_sessionTimeoutHasBeenSet =
false;
232 bool m_authenticationRequestExtraParamsHasBeenSet =
false;
235 bool m_onUnauthenticatedRequestHasBeenSet =
false;
237 bool m_useExistingClientSecret{
false};
238 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