AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuthenticateOidcActionConfig.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace ElasticLoadBalancingv2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_ELASTICLOADBALANCINGV2_API AuthenticateOidcActionConfig();
38 AWS_ELASTICLOADBALANCINGV2_API AuthenticateOidcActionConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_ELASTICLOADBALANCINGV2_API AuthenticateOidcActionConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
50 inline const Aws::String& GetIssuer() const{ return m_issuer; }
51 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
52 inline void SetIssuer(const Aws::String& value) { m_issuerHasBeenSet = true; m_issuer = value; }
53 inline void SetIssuer(Aws::String&& value) { m_issuerHasBeenSet = true; m_issuer = std::move(value); }
54 inline void SetIssuer(const char* value) { m_issuerHasBeenSet = true; m_issuer.assign(value); }
55 inline AuthenticateOidcActionConfig& WithIssuer(const Aws::String& value) { SetIssuer(value); return *this;}
56 inline AuthenticateOidcActionConfig& WithIssuer(Aws::String&& value) { SetIssuer(std::move(value)); return *this;}
57 inline AuthenticateOidcActionConfig& WithIssuer(const char* value) { SetIssuer(value); return *this;}
59
61
65 inline const Aws::String& GetAuthorizationEndpoint() const{ return m_authorizationEndpoint; }
66 inline bool AuthorizationEndpointHasBeenSet() const { return m_authorizationEndpointHasBeenSet; }
67 inline void SetAuthorizationEndpoint(const Aws::String& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = value; }
68 inline void SetAuthorizationEndpoint(Aws::String&& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = std::move(value); }
69 inline void SetAuthorizationEndpoint(const char* value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint.assign(value); }
72 inline AuthenticateOidcActionConfig& WithAuthorizationEndpoint(const char* value) { SetAuthorizationEndpoint(value); return *this;}
74
76
80 inline const Aws::String& GetTokenEndpoint() const{ return m_tokenEndpoint; }
81 inline bool TokenEndpointHasBeenSet() const { return m_tokenEndpointHasBeenSet; }
82 inline void SetTokenEndpoint(const Aws::String& value) { m_tokenEndpointHasBeenSet = true; m_tokenEndpoint = value; }
83 inline void SetTokenEndpoint(Aws::String&& value) { m_tokenEndpointHasBeenSet = true; m_tokenEndpoint = std::move(value); }
84 inline void SetTokenEndpoint(const char* value) { m_tokenEndpointHasBeenSet = true; m_tokenEndpoint.assign(value); }
85 inline AuthenticateOidcActionConfig& WithTokenEndpoint(const Aws::String& value) { SetTokenEndpoint(value); return *this;}
86 inline AuthenticateOidcActionConfig& WithTokenEndpoint(Aws::String&& value) { SetTokenEndpoint(std::move(value)); return *this;}
87 inline AuthenticateOidcActionConfig& WithTokenEndpoint(const char* value) { SetTokenEndpoint(value); return *this;}
89
91
95 inline const Aws::String& GetUserInfoEndpoint() const{ return m_userInfoEndpoint; }
96 inline bool UserInfoEndpointHasBeenSet() const { return m_userInfoEndpointHasBeenSet; }
97 inline void SetUserInfoEndpoint(const Aws::String& value) { m_userInfoEndpointHasBeenSet = true; m_userInfoEndpoint = value; }
98 inline void SetUserInfoEndpoint(Aws::String&& value) { m_userInfoEndpointHasBeenSet = true; m_userInfoEndpoint = std::move(value); }
99 inline void SetUserInfoEndpoint(const char* value) { m_userInfoEndpointHasBeenSet = true; m_userInfoEndpoint.assign(value); }
101 inline AuthenticateOidcActionConfig& WithUserInfoEndpoint(Aws::String&& value) { SetUserInfoEndpoint(std::move(value)); return *this;}
102 inline AuthenticateOidcActionConfig& WithUserInfoEndpoint(const char* value) { SetUserInfoEndpoint(value); return *this;}
104
106
109 inline const Aws::String& GetClientId() const{ return m_clientId; }
110 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
111 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
112 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
113 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
114 inline AuthenticateOidcActionConfig& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
115 inline AuthenticateOidcActionConfig& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
116 inline AuthenticateOidcActionConfig& WithClientId(const char* value) { SetClientId(value); return *this;}
118
120
125 inline const Aws::String& GetClientSecret() const{ return m_clientSecret; }
126 inline bool ClientSecretHasBeenSet() const { return m_clientSecretHasBeenSet; }
127 inline void SetClientSecret(const Aws::String& value) { m_clientSecretHasBeenSet = true; m_clientSecret = value; }
128 inline void SetClientSecret(Aws::String&& value) { m_clientSecretHasBeenSet = true; m_clientSecret = std::move(value); }
129 inline void SetClientSecret(const char* value) { m_clientSecretHasBeenSet = true; m_clientSecret.assign(value); }
130 inline AuthenticateOidcActionConfig& WithClientSecret(const Aws::String& value) { SetClientSecret(value); return *this;}
131 inline AuthenticateOidcActionConfig& WithClientSecret(Aws::String&& value) { SetClientSecret(std::move(value)); return *this;}
132 inline AuthenticateOidcActionConfig& WithClientSecret(const char* value) { SetClientSecret(value); return *this;}
134
136
140 inline const Aws::String& GetSessionCookieName() const{ return m_sessionCookieName; }
141 inline bool SessionCookieNameHasBeenSet() const { return m_sessionCookieNameHasBeenSet; }
142 inline void SetSessionCookieName(const Aws::String& value) { m_sessionCookieNameHasBeenSet = true; m_sessionCookieName = value; }
143 inline void SetSessionCookieName(Aws::String&& value) { m_sessionCookieNameHasBeenSet = true; m_sessionCookieName = std::move(value); }
144 inline void SetSessionCookieName(const char* value) { m_sessionCookieNameHasBeenSet = true; m_sessionCookieName.assign(value); }
146 inline AuthenticateOidcActionConfig& WithSessionCookieName(Aws::String&& value) { SetSessionCookieName(std::move(value)); return *this;}
147 inline AuthenticateOidcActionConfig& WithSessionCookieName(const char* value) { SetSessionCookieName(value); return *this;}
149
151
156 inline const Aws::String& GetScope() const{ return m_scope; }
157 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
158 inline void SetScope(const Aws::String& value) { m_scopeHasBeenSet = true; m_scope = value; }
159 inline void SetScope(Aws::String&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
160 inline void SetScope(const char* value) { m_scopeHasBeenSet = true; m_scope.assign(value); }
161 inline AuthenticateOidcActionConfig& WithScope(const Aws::String& value) { SetScope(value); return *this;}
162 inline AuthenticateOidcActionConfig& WithScope(Aws::String&& value) { SetScope(std::move(value)); return *this;}
163 inline AuthenticateOidcActionConfig& WithScope(const char* value) { SetScope(value); return *this;}
165
167
171 inline long long GetSessionTimeout() const{ return m_sessionTimeout; }
172 inline bool SessionTimeoutHasBeenSet() const { return m_sessionTimeoutHasBeenSet; }
173 inline void SetSessionTimeout(long long value) { m_sessionTimeoutHasBeenSet = true; m_sessionTimeout = value; }
174 inline AuthenticateOidcActionConfig& WithSessionTimeout(long long value) { SetSessionTimeout(value); return *this;}
176
178
182 inline const Aws::Map<Aws::String, Aws::String>& GetAuthenticationRequestExtraParams() const{ return m_authenticationRequestExtraParams; }
183 inline bool AuthenticationRequestExtraParamsHasBeenSet() const { return m_authenticationRequestExtraParamsHasBeenSet; }
184 inline void SetAuthenticationRequestExtraParams(const Aws::Map<Aws::String, Aws::String>& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams = value; }
185 inline void SetAuthenticationRequestExtraParams(Aws::Map<Aws::String, Aws::String>&& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams = std::move(value); }
188 inline AuthenticateOidcActionConfig& AddAuthenticationRequestExtraParams(const Aws::String& key, const Aws::String& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(key, value); return *this; }
189 inline AuthenticateOidcActionConfig& AddAuthenticationRequestExtraParams(Aws::String&& key, const Aws::String& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(std::move(key), value); return *this; }
190 inline AuthenticateOidcActionConfig& AddAuthenticationRequestExtraParams(const Aws::String& key, Aws::String&& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(key, std::move(value)); return *this; }
191 inline AuthenticateOidcActionConfig& AddAuthenticationRequestExtraParams(Aws::String&& key, Aws::String&& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(std::move(key), std::move(value)); return *this; }
192 inline AuthenticateOidcActionConfig& AddAuthenticationRequestExtraParams(const char* key, Aws::String&& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(key, std::move(value)); return *this; }
193 inline AuthenticateOidcActionConfig& AddAuthenticationRequestExtraParams(Aws::String&& key, const char* value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(std::move(key), value); return *this; }
194 inline AuthenticateOidcActionConfig& AddAuthenticationRequestExtraParams(const char* key, const char* value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(key, value); return *this; }
196
198
205 inline const AuthenticateOidcActionConditionalBehaviorEnum& GetOnUnauthenticatedRequest() const{ return m_onUnauthenticatedRequest; }
206 inline bool OnUnauthenticatedRequestHasBeenSet() const { return m_onUnauthenticatedRequestHasBeenSet; }
207 inline void SetOnUnauthenticatedRequest(const AuthenticateOidcActionConditionalBehaviorEnum& value) { m_onUnauthenticatedRequestHasBeenSet = true; m_onUnauthenticatedRequest = value; }
208 inline void SetOnUnauthenticatedRequest(AuthenticateOidcActionConditionalBehaviorEnum&& value) { m_onUnauthenticatedRequestHasBeenSet = true; m_onUnauthenticatedRequest = std::move(value); }
212
214
218 inline bool GetUseExistingClientSecret() const{ return m_useExistingClientSecret; }
219 inline bool UseExistingClientSecretHasBeenSet() const { return m_useExistingClientSecretHasBeenSet; }
220 inline void SetUseExistingClientSecret(bool value) { m_useExistingClientSecretHasBeenSet = true; m_useExistingClientSecret = value; }
223 private:
224
225 Aws::String m_issuer;
226 bool m_issuerHasBeenSet = false;
227
228 Aws::String m_authorizationEndpoint;
229 bool m_authorizationEndpointHasBeenSet = false;
230
231 Aws::String m_tokenEndpoint;
232 bool m_tokenEndpointHasBeenSet = false;
233
234 Aws::String m_userInfoEndpoint;
235 bool m_userInfoEndpointHasBeenSet = false;
236
237 Aws::String m_clientId;
238 bool m_clientIdHasBeenSet = false;
239
240 Aws::String m_clientSecret;
241 bool m_clientSecretHasBeenSet = false;
242
243 Aws::String m_sessionCookieName;
244 bool m_sessionCookieNameHasBeenSet = false;
245
246 Aws::String m_scope;
247 bool m_scopeHasBeenSet = false;
248
249 long long m_sessionTimeout;
250 bool m_sessionTimeoutHasBeenSet = false;
251
252 Aws::Map<Aws::String, Aws::String> m_authenticationRequestExtraParams;
253 bool m_authenticationRequestExtraParamsHasBeenSet = false;
254
255 AuthenticateOidcActionConditionalBehaviorEnum m_onUnauthenticatedRequest;
256 bool m_onUnauthenticatedRequestHasBeenSet = false;
257
258 bool m_useExistingClientSecret;
259 bool m_useExistingClientSecretHasBeenSet = false;
260 };
261
262} // namespace Model
263} // namespace ElasticLoadBalancingv2
264} // namespace Aws
AuthenticateOidcActionConfig & WithClientSecret(const Aws::String &value)
AuthenticateOidcActionConfig & WithOnUnauthenticatedRequest(const AuthenticateOidcActionConditionalBehaviorEnum &value)
AuthenticateOidcActionConfig & WithAuthenticationRequestExtraParams(const Aws::Map< Aws::String, Aws::String > &value)
AuthenticateOidcActionConfig & WithUserInfoEndpoint(const char *value)
AuthenticateOidcActionConfig & AddAuthenticationRequestExtraParams(const Aws::String &key, Aws::String &&value)
void SetAuthenticationRequestExtraParams(const Aws::Map< Aws::String, Aws::String > &value)
AuthenticateOidcActionConfig & WithSessionCookieName(const char *value)
AuthenticateOidcActionConfig & AddAuthenticationRequestExtraParams(const char *key, Aws::String &&value)
const AuthenticateOidcActionConditionalBehaviorEnum & GetOnUnauthenticatedRequest() const
AuthenticateOidcActionConfig & WithUserInfoEndpoint(const Aws::String &value)
AWS_ELASTICLOADBALANCINGV2_API AuthenticateOidcActionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AuthenticateOidcActionConfig & AddAuthenticationRequestExtraParams(Aws::String &&key, const Aws::String &value)
AuthenticateOidcActionConfig & WithOnUnauthenticatedRequest(AuthenticateOidcActionConditionalBehaviorEnum &&value)
void SetAuthenticationRequestExtraParams(Aws::Map< Aws::String, Aws::String > &&value)
AuthenticateOidcActionConfig & WithAuthorizationEndpoint(Aws::String &&value)
AuthenticateOidcActionConfig & WithIssuer(Aws::String &&value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AuthenticateOidcActionConfig & WithSessionCookieName(const Aws::String &value)
AuthenticateOidcActionConfig & WithClientId(Aws::String &&value)
AuthenticateOidcActionConfig & WithClientSecret(Aws::String &&value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AuthenticateOidcActionConfig & WithSessionCookieName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAuthenticationRequestExtraParams() const
void SetOnUnauthenticatedRequest(AuthenticateOidcActionConditionalBehaviorEnum &&value)
AuthenticateOidcActionConfig & WithTokenEndpoint(Aws::String &&value)
AuthenticateOidcActionConfig & WithAuthenticationRequestExtraParams(Aws::Map< Aws::String, Aws::String > &&value)
void SetOnUnauthenticatedRequest(const AuthenticateOidcActionConditionalBehaviorEnum &value)
AuthenticateOidcActionConfig & WithTokenEndpoint(const Aws::String &value)
AuthenticateOidcActionConfig & WithClientId(const Aws::String &value)
AuthenticateOidcActionConfig & WithScope(const Aws::String &value)
AuthenticateOidcActionConfig & WithTokenEndpoint(const char *value)
AuthenticateOidcActionConfig & WithAuthorizationEndpoint(const Aws::String &value)
AuthenticateOidcActionConfig & WithAuthorizationEndpoint(const char *value)
AWS_ELASTICLOADBALANCINGV2_API AuthenticateOidcActionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
AuthenticateOidcActionConfig & AddAuthenticationRequestExtraParams(Aws::String &&key, Aws::String &&value)
AuthenticateOidcActionConfig & WithIssuer(const Aws::String &value)
AuthenticateOidcActionConfig & WithUserInfoEndpoint(Aws::String &&value)
AuthenticateOidcActionConfig & AddAuthenticationRequestExtraParams(Aws::String &&key, const char *value)
AuthenticateOidcActionConfig & AddAuthenticationRequestExtraParams(const char *key, const char *value)
AuthenticateOidcActionConfig & AddAuthenticationRequestExtraParams(const Aws::String &key, const Aws::String &value)
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