AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuthenticateCognitoActionConfig.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/AuthenticateCognitoActionConditionalBehaviorEnum.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 AuthenticateCognitoActionConfig();
38 AWS_ELASTICLOADBALANCINGV2_API AuthenticateCognitoActionConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_ELASTICLOADBALANCINGV2_API AuthenticateCognitoActionConfig& 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
49 inline const Aws::String& GetUserPoolArn() const{ return m_userPoolArn; }
50 inline bool UserPoolArnHasBeenSet() const { return m_userPoolArnHasBeenSet; }
51 inline void SetUserPoolArn(const Aws::String& value) { m_userPoolArnHasBeenSet = true; m_userPoolArn = value; }
52 inline void SetUserPoolArn(Aws::String&& value) { m_userPoolArnHasBeenSet = true; m_userPoolArn = std::move(value); }
53 inline void SetUserPoolArn(const char* value) { m_userPoolArnHasBeenSet = true; m_userPoolArn.assign(value); }
54 inline AuthenticateCognitoActionConfig& WithUserPoolArn(const Aws::String& value) { SetUserPoolArn(value); return *this;}
55 inline AuthenticateCognitoActionConfig& WithUserPoolArn(Aws::String&& value) { SetUserPoolArn(std::move(value)); return *this;}
56 inline AuthenticateCognitoActionConfig& WithUserPoolArn(const char* value) { SetUserPoolArn(value); return *this;}
58
60
63 inline const Aws::String& GetUserPoolClientId() const{ return m_userPoolClientId; }
64 inline bool UserPoolClientIdHasBeenSet() const { return m_userPoolClientIdHasBeenSet; }
65 inline void SetUserPoolClientId(const Aws::String& value) { m_userPoolClientIdHasBeenSet = true; m_userPoolClientId = value; }
66 inline void SetUserPoolClientId(Aws::String&& value) { m_userPoolClientIdHasBeenSet = true; m_userPoolClientId = std::move(value); }
67 inline void SetUserPoolClientId(const char* value) { m_userPoolClientIdHasBeenSet = true; m_userPoolClientId.assign(value); }
69 inline AuthenticateCognitoActionConfig& WithUserPoolClientId(Aws::String&& value) { SetUserPoolClientId(std::move(value)); return *this;}
70 inline AuthenticateCognitoActionConfig& WithUserPoolClientId(const char* value) { SetUserPoolClientId(value); return *this;}
72
74
78 inline const Aws::String& GetUserPoolDomain() const{ return m_userPoolDomain; }
79 inline bool UserPoolDomainHasBeenSet() const { return m_userPoolDomainHasBeenSet; }
80 inline void SetUserPoolDomain(const Aws::String& value) { m_userPoolDomainHasBeenSet = true; m_userPoolDomain = value; }
81 inline void SetUserPoolDomain(Aws::String&& value) { m_userPoolDomainHasBeenSet = true; m_userPoolDomain = std::move(value); }
82 inline void SetUserPoolDomain(const char* value) { m_userPoolDomainHasBeenSet = true; m_userPoolDomain.assign(value); }
84 inline AuthenticateCognitoActionConfig& WithUserPoolDomain(Aws::String&& value) { SetUserPoolDomain(std::move(value)); return *this;}
85 inline AuthenticateCognitoActionConfig& WithUserPoolDomain(const char* value) { SetUserPoolDomain(value); return *this;}
87
89
93 inline const Aws::String& GetSessionCookieName() const{ return m_sessionCookieName; }
94 inline bool SessionCookieNameHasBeenSet() const { return m_sessionCookieNameHasBeenSet; }
95 inline void SetSessionCookieName(const Aws::String& value) { m_sessionCookieNameHasBeenSet = true; m_sessionCookieName = value; }
96 inline void SetSessionCookieName(Aws::String&& value) { m_sessionCookieNameHasBeenSet = true; m_sessionCookieName = std::move(value); }
97 inline void SetSessionCookieName(const char* value) { m_sessionCookieNameHasBeenSet = true; m_sessionCookieName.assign(value); }
100 inline AuthenticateCognitoActionConfig& WithSessionCookieName(const char* value) { SetSessionCookieName(value); return *this;}
102
104
109 inline const Aws::String& GetScope() const{ return m_scope; }
110 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
111 inline void SetScope(const Aws::String& value) { m_scopeHasBeenSet = true; m_scope = value; }
112 inline void SetScope(Aws::String&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
113 inline void SetScope(const char* value) { m_scopeHasBeenSet = true; m_scope.assign(value); }
114 inline AuthenticateCognitoActionConfig& WithScope(const Aws::String& value) { SetScope(value); return *this;}
115 inline AuthenticateCognitoActionConfig& WithScope(Aws::String&& value) { SetScope(std::move(value)); return *this;}
116 inline AuthenticateCognitoActionConfig& WithScope(const char* value) { SetScope(value); return *this;}
118
120
124 inline long long GetSessionTimeout() const{ return m_sessionTimeout; }
125 inline bool SessionTimeoutHasBeenSet() const { return m_sessionTimeoutHasBeenSet; }
126 inline void SetSessionTimeout(long long value) { m_sessionTimeoutHasBeenSet = true; m_sessionTimeout = value; }
127 inline AuthenticateCognitoActionConfig& WithSessionTimeout(long long value) { SetSessionTimeout(value); return *this;}
129
131
135 inline const Aws::Map<Aws::String, Aws::String>& GetAuthenticationRequestExtraParams() const{ return m_authenticationRequestExtraParams; }
136 inline bool AuthenticationRequestExtraParamsHasBeenSet() const { return m_authenticationRequestExtraParamsHasBeenSet; }
137 inline void SetAuthenticationRequestExtraParams(const Aws::Map<Aws::String, Aws::String>& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams = value; }
138 inline void SetAuthenticationRequestExtraParams(Aws::Map<Aws::String, Aws::String>&& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams = std::move(value); }
141 inline AuthenticateCognitoActionConfig& AddAuthenticationRequestExtraParams(const Aws::String& key, const Aws::String& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(key, value); return *this; }
142 inline AuthenticateCognitoActionConfig& AddAuthenticationRequestExtraParams(Aws::String&& key, const Aws::String& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(std::move(key), value); return *this; }
143 inline AuthenticateCognitoActionConfig& AddAuthenticationRequestExtraParams(const Aws::String& key, Aws::String&& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(key, std::move(value)); return *this; }
144 inline AuthenticateCognitoActionConfig& AddAuthenticationRequestExtraParams(Aws::String&& key, Aws::String&& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(std::move(key), std::move(value)); return *this; }
145 inline AuthenticateCognitoActionConfig& AddAuthenticationRequestExtraParams(const char* key, Aws::String&& value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(key, std::move(value)); return *this; }
146 inline AuthenticateCognitoActionConfig& AddAuthenticationRequestExtraParams(Aws::String&& key, const char* value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(std::move(key), value); return *this; }
147 inline AuthenticateCognitoActionConfig& AddAuthenticationRequestExtraParams(const char* key, const char* value) { m_authenticationRequestExtraParamsHasBeenSet = true; m_authenticationRequestExtraParams.emplace(key, value); return *this; }
149
151
158 inline const AuthenticateCognitoActionConditionalBehaviorEnum& GetOnUnauthenticatedRequest() const{ return m_onUnauthenticatedRequest; }
159 inline bool OnUnauthenticatedRequestHasBeenSet() const { return m_onUnauthenticatedRequestHasBeenSet; }
160 inline void SetOnUnauthenticatedRequest(const AuthenticateCognitoActionConditionalBehaviorEnum& value) { m_onUnauthenticatedRequestHasBeenSet = true; m_onUnauthenticatedRequest = value; }
161 inline void SetOnUnauthenticatedRequest(AuthenticateCognitoActionConditionalBehaviorEnum&& value) { m_onUnauthenticatedRequestHasBeenSet = true; m_onUnauthenticatedRequest = std::move(value); }
165 private:
166
167 Aws::String m_userPoolArn;
168 bool m_userPoolArnHasBeenSet = false;
169
170 Aws::String m_userPoolClientId;
171 bool m_userPoolClientIdHasBeenSet = false;
172
173 Aws::String m_userPoolDomain;
174 bool m_userPoolDomainHasBeenSet = false;
175
176 Aws::String m_sessionCookieName;
177 bool m_sessionCookieNameHasBeenSet = false;
178
179 Aws::String m_scope;
180 bool m_scopeHasBeenSet = false;
181
182 long long m_sessionTimeout;
183 bool m_sessionTimeoutHasBeenSet = false;
184
185 Aws::Map<Aws::String, Aws::String> m_authenticationRequestExtraParams;
186 bool m_authenticationRequestExtraParamsHasBeenSet = false;
187
188 AuthenticateCognitoActionConditionalBehaviorEnum m_onUnauthenticatedRequest;
189 bool m_onUnauthenticatedRequestHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace ElasticLoadBalancingv2
194} // namespace Aws
AuthenticateCognitoActionConfig & WithUserPoolClientId(Aws::String &&value)
AuthenticateCognitoActionConfig & WithSessionCookieName(Aws::String &&value)
AuthenticateCognitoActionConfig & WithUserPoolClientId(const Aws::String &value)
AWS_ELASTICLOADBALANCINGV2_API AuthenticateCognitoActionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AuthenticateCognitoActionConfig & AddAuthenticationRequestExtraParams(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAuthenticationRequestExtraParams() const
const AuthenticateCognitoActionConditionalBehaviorEnum & GetOnUnauthenticatedRequest() const
AuthenticateCognitoActionConfig & WithUserPoolDomain(const char *value)
AuthenticateCognitoActionConfig & AddAuthenticationRequestExtraParams(Aws::String &&key, const Aws::String &value)
void SetOnUnauthenticatedRequest(AuthenticateCognitoActionConditionalBehaviorEnum &&value)
AuthenticateCognitoActionConfig & AddAuthenticationRequestExtraParams(const Aws::String &key, const Aws::String &value)
AuthenticateCognitoActionConfig & WithUserPoolDomain(const Aws::String &value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetAuthenticationRequestExtraParams(Aws::Map< Aws::String, Aws::String > &&value)
AuthenticateCognitoActionConfig & WithOnUnauthenticatedRequest(AuthenticateCognitoActionConditionalBehaviorEnum &&value)
AuthenticateCognitoActionConfig & WithUserPoolArn(const Aws::String &value)
AuthenticateCognitoActionConfig & AddAuthenticationRequestExtraParams(Aws::String &&key, const char *value)
AuthenticateCognitoActionConfig & AddAuthenticationRequestExtraParams(const char *key, const char *value)
AuthenticateCognitoActionConfig & WithAuthenticationRequestExtraParams(Aws::Map< Aws::String, Aws::String > &&value)
AuthenticateCognitoActionConfig & WithUserPoolClientId(const char *value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AuthenticateCognitoActionConfig & WithScope(const Aws::String &value)
AuthenticateCognitoActionConfig & WithSessionCookieName(const char *value)
AuthenticateCognitoActionConfig & AddAuthenticationRequestExtraParams(const Aws::String &key, Aws::String &&value)
AWS_ELASTICLOADBALANCINGV2_API AuthenticateCognitoActionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
AuthenticateCognitoActionConfig & WithUserPoolArn(Aws::String &&value)
void SetOnUnauthenticatedRequest(const AuthenticateCognitoActionConditionalBehaviorEnum &value)
AuthenticateCognitoActionConfig & WithUserPoolDomain(Aws::String &&value)
AuthenticateCognitoActionConfig & WithOnUnauthenticatedRequest(const AuthenticateCognitoActionConditionalBehaviorEnum &value)
AuthenticateCognitoActionConfig & WithAuthenticationRequestExtraParams(const Aws::Map< Aws::String, Aws::String > &value)
AuthenticateCognitoActionConfig & WithSessionCookieName(const Aws::String &value)
void SetAuthenticationRequestExtraParams(const Aws::Map< Aws::String, Aws::String > &value)
AuthenticateCognitoActionConfig & AddAuthenticationRequestExtraParams(Aws::String &&key, 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