7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
10#include <aws/elasticloadbalancingv2/model/ActionTypeEnum.h>
11#include <aws/elasticloadbalancingv2/model/AuthenticateCognitoActionConfig.h>
12#include <aws/elasticloadbalancingv2/model/AuthenticateOidcActionConfig.h>
13#include <aws/elasticloadbalancingv2/model/FixedResponseActionConfig.h>
14#include <aws/elasticloadbalancingv2/model/ForwardActionConfig.h>
15#include <aws/elasticloadbalancingv2/model/JwtValidationActionConfig.h>
16#include <aws/elasticloadbalancingv2/model/RedirectActionConfig.h>
26namespace ElasticLoadBalancingv2 {
42 AWS_ELASTICLOADBALANCINGV2_API
Action() =
default;
47 const char* locationValue)
const;
57 m_typeHasBeenSet =
true;
75 template <
typename TargetGroupArnT = Aws::String>
77 m_targetGroupArnHasBeenSet =
true;
78 m_targetGroupArn = std::forward<TargetGroupArnT>(value);
80 template <
typename TargetGroupArnT = Aws::String>
95 template <
typename AuthenticateO
idcConfigT = AuthenticateO
idcActionConfig>
97 m_authenticateOidcConfigHasBeenSet =
true;
98 m_authenticateOidcConfig = std::forward<AuthenticateOidcConfigT>(value);
100 template <
typename AuthenticateO
idcConfigT = AuthenticateO
idcActionConfig>
114 template <
typename AuthenticateCognitoConfigT = AuthenticateCognitoActionConfig>
116 m_authenticateCognitoConfigHasBeenSet =
true;
117 m_authenticateCognitoConfig = std::forward<AuthenticateCognitoConfigT>(value);
119 template <
typename AuthenticateCognitoConfigT = AuthenticateCognitoActionConfig>
134 m_orderHasBeenSet =
true;
150 template <
typename RedirectConfigT = RedirectActionConfig>
152 m_redirectConfigHasBeenSet =
true;
153 m_redirectConfig = std::forward<RedirectConfigT>(value);
155 template <
typename RedirectConfigT = RedirectActionConfig>
170 template <
typename FixedResponseConfigT = FixedResponseActionConfig>
172 m_fixedResponseConfigHasBeenSet =
true;
173 m_fixedResponseConfig = std::forward<FixedResponseConfigT>(value);
175 template <
typename FixedResponseConfigT = FixedResponseActionConfig>
193 template <
typename ForwardConfigT = ForwardActionConfig>
195 m_forwardConfigHasBeenSet =
true;
196 m_forwardConfig = std::forward<ForwardConfigT>(value);
198 template <
typename ForwardConfigT = ForwardActionConfig>
213 template <
typename JwtVal
idationConfigT = JwtVal
idationActionConfig>
215 m_jwtValidationConfigHasBeenSet =
true;
216 m_jwtValidationConfig = std::forward<JwtValidationConfigT>(value);
218 template <
typename JwtVal
idationConfigT = JwtVal
idationActionConfig>
229 AuthenticateOidcActionConfig m_authenticateOidcConfig;
231 AuthenticateCognitoActionConfig m_authenticateCognitoConfig;
235 RedirectActionConfig m_redirectConfig;
237 FixedResponseActionConfig m_fixedResponseConfig;
239 ForwardActionConfig m_forwardConfig;
241 JwtValidationActionConfig m_jwtValidationConfig;
242 bool m_typeHasBeenSet =
false;
243 bool m_targetGroupArnHasBeenSet =
false;
244 bool m_authenticateOidcConfigHasBeenSet =
false;
245 bool m_authenticateCognitoConfigHasBeenSet =
false;
246 bool m_orderHasBeenSet =
false;
247 bool m_redirectConfigHasBeenSet =
false;
248 bool m_fixedResponseConfigHasBeenSet =
false;
249 bool m_forwardConfigHasBeenSet =
false;
250 bool m_jwtValidationConfigHasBeenSet =
false;
bool FixedResponseConfigHasBeenSet() const
Action & WithOrder(int value)
void SetType(ActionTypeEnum value)
bool AuthenticateCognitoConfigHasBeenSet() const
void SetTargetGroupArn(TargetGroupArnT &&value)
void SetRedirectConfig(RedirectConfigT &&value)
Action & WithTargetGroupArn(TargetGroupArnT &&value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const AuthenticateOidcActionConfig & GetAuthenticateOidcConfig() const
AWS_ELASTICLOADBALANCINGV2_API Action()=default
bool TargetGroupArnHasBeenSet() const
void SetAuthenticateOidcConfig(AuthenticateOidcConfigT &&value)
bool OrderHasBeenSet() const
bool AuthenticateOidcConfigHasBeenSet() const
Action & WithAuthenticateCognitoConfig(AuthenticateCognitoConfigT &&value)
bool JwtValidationConfigHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API Action & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetJwtValidationConfig(JwtValidationConfigT &&value)
Action & WithFixedResponseConfig(FixedResponseConfigT &&value)
void SetAuthenticateCognitoConfig(AuthenticateCognitoConfigT &&value)
const Aws::String & GetTargetGroupArn() const
bool ForwardConfigHasBeenSet() const
Action & WithAuthenticateOidcConfig(AuthenticateOidcConfigT &&value)
bool TypeHasBeenSet() const
const JwtValidationActionConfig & GetJwtValidationConfig() const
bool RedirectConfigHasBeenSet() const
void SetForwardConfig(ForwardConfigT &&value)
Action & WithRedirectConfig(RedirectConfigT &&value)
const RedirectActionConfig & GetRedirectConfig() const
Action & WithForwardConfig(ForwardConfigT &&value)
const AuthenticateCognitoActionConfig & GetAuthenticateCognitoConfig() const
void SetFixedResponseConfig(FixedResponseConfigT &&value)
ActionTypeEnum GetType() const
const ForwardActionConfig & GetForwardConfig() const
const FixedResponseActionConfig & GetFixedResponseConfig() const
Action & WithJwtValidationConfig(JwtValidationConfigT &&value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Action & WithType(ActionTypeEnum value)
AWS_ELASTICLOADBALANCINGV2_API Action(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream