7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/elasticloadbalancingv2/model/ActionTypeEnum.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/elasticloadbalancingv2/model/AuthenticateOidcActionConfig.h>
12#include <aws/elasticloadbalancingv2/model/AuthenticateCognitoActionConfig.h>
13#include <aws/elasticloadbalancingv2/model/RedirectActionConfig.h>
14#include <aws/elasticloadbalancingv2/model/FixedResponseActionConfig.h>
15#include <aws/elasticloadbalancingv2/model/ForwardActionConfig.h>
27namespace ElasticLoadBalancingv2
43 AWS_ELASTICLOADBALANCINGV2_API
Action();
47 AWS_ELASTICLOADBALANCINGV2_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
74 inline void SetTargetGroupArn(
const char* value) { m_targetGroupArnHasBeenSet =
true; m_targetGroupArn.assign(value); }
114 inline void SetOrder(
int value) { m_orderHasBeenSet =
true; m_order = value; }
164 bool m_typeHasBeenSet =
false;
167 bool m_targetGroupArnHasBeenSet =
false;
170 bool m_authenticateOidcConfigHasBeenSet =
false;
173 bool m_authenticateCognitoConfigHasBeenSet =
false;
176 bool m_orderHasBeenSet =
false;
179 bool m_redirectConfigHasBeenSet =
false;
182 bool m_fixedResponseConfigHasBeenSet =
false;
185 bool m_forwardConfigHasBeenSet =
false;
void SetType(const ActionTypeEnum &value)
Action & WithRedirectConfig(RedirectActionConfig &&value)
bool FixedResponseConfigHasBeenSet() const
void SetTargetGroupArn(Aws::String &&value)
Action & WithOrder(int value)
const ActionTypeEnum & GetType() const
void SetType(ActionTypeEnum &&value)
bool AuthenticateCognitoConfigHasBeenSet() const
void SetAuthenticateCognitoConfig(const AuthenticateCognitoActionConfig &value)
void SetTargetGroupArn(const Aws::String &value)
Action & WithType(ActionTypeEnum &&value)
AWS_ELASTICLOADBALANCINGV2_API Action()
Action & WithRedirectConfig(const RedirectActionConfig &value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const AuthenticateOidcActionConfig & GetAuthenticateOidcConfig() const
bool TargetGroupArnHasBeenSet() const
Action & WithFixedResponseConfig(FixedResponseActionConfig &&value)
bool OrderHasBeenSet() const
bool AuthenticateOidcConfigHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API Action & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Action & WithAuthenticateCognitoConfig(AuthenticateCognitoActionConfig &&value)
Action & WithTargetGroupArn(const Aws::String &value)
void SetAuthenticateOidcConfig(const AuthenticateOidcActionConfig &value)
Action & WithTargetGroupArn(const char *value)
Action & WithTargetGroupArn(Aws::String &&value)
Action & WithFixedResponseConfig(const FixedResponseActionConfig &value)
const Aws::String & GetTargetGroupArn() const
void SetForwardConfig(const ForwardActionConfig &value)
bool ForwardConfigHasBeenSet() const
Action & WithType(const ActionTypeEnum &value)
bool TypeHasBeenSet() const
void SetAuthenticateCognitoConfig(AuthenticateCognitoActionConfig &&value)
Action & WithForwardConfig(const ForwardActionConfig &value)
Action & WithAuthenticateCognitoConfig(const AuthenticateCognitoActionConfig &value)
bool RedirectConfigHasBeenSet() const
void SetRedirectConfig(RedirectActionConfig &&value)
void SetForwardConfig(ForwardActionConfig &&value)
Action & WithAuthenticateOidcConfig(AuthenticateOidcActionConfig &&value)
const RedirectActionConfig & GetRedirectConfig() const
void SetFixedResponseConfig(FixedResponseActionConfig &&value)
Action & WithForwardConfig(ForwardActionConfig &&value)
void SetRedirectConfig(const RedirectActionConfig &value)
const AuthenticateCognitoActionConfig & GetAuthenticateCognitoConfig() const
void SetAuthenticateOidcConfig(AuthenticateOidcActionConfig &&value)
void SetFixedResponseConfig(const FixedResponseActionConfig &value)
const ForwardActionConfig & GetForwardConfig() const
void SetTargetGroupArn(const char *value)
const FixedResponseActionConfig & GetFixedResponseConfig() const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Action & WithAuthenticateOidcConfig(const AuthenticateOidcActionConfig &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