/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an action. Each rule must include exactly one of the
* following types of actions: forward
, fixed-response
,
* or redirect
, and it must be the last action to be
* performed.See Also:
AWS
* API Reference
The type of action.
*/ inline const ActionTypeEnum& GetType() const{ return m_type; } /** *The type of action.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of action.
*/ inline void SetType(const ActionTypeEnum& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of action.
*/ inline void SetType(ActionTypeEnum&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of action.
*/ inline Action& WithType(const ActionTypeEnum& value) { SetType(value); return *this;} /** *The type of action.
*/ inline Action& WithType(ActionTypeEnum&& value) { SetType(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the target group. Specify only when
* Type
is forward
and you want to route to a single
* target group. To route to one or more target groups, use
* ForwardConfig
instead.
The Amazon Resource Name (ARN) of the target group. Specify only when
* Type
is forward
and you want to route to a single
* target group. To route to one or more target groups, use
* ForwardConfig
instead.
The Amazon Resource Name (ARN) of the target group. Specify only when
* Type
is forward
and you want to route to a single
* target group. To route to one or more target groups, use
* ForwardConfig
instead.
The Amazon Resource Name (ARN) of the target group. Specify only when
* Type
is forward
and you want to route to a single
* target group. To route to one or more target groups, use
* ForwardConfig
instead.
The Amazon Resource Name (ARN) of the target group. Specify only when
* Type
is forward
and you want to route to a single
* target group. To route to one or more target groups, use
* ForwardConfig
instead.
The Amazon Resource Name (ARN) of the target group. Specify only when
* Type
is forward
and you want to route to a single
* target group. To route to one or more target groups, use
* ForwardConfig
instead.
The Amazon Resource Name (ARN) of the target group. Specify only when
* Type
is forward
and you want to route to a single
* target group. To route to one or more target groups, use
* ForwardConfig
instead.
The Amazon Resource Name (ARN) of the target group. Specify only when
* Type
is forward
and you want to route to a single
* target group. To route to one or more target groups, use
* ForwardConfig
instead.
[HTTPS listeners] Information about an identity provider that is compliant
* with OpenID Connect (OIDC). Specify only when Type
is
* authenticate-oidc
.
[HTTPS listeners] Information about an identity provider that is compliant
* with OpenID Connect (OIDC). Specify only when Type
is
* authenticate-oidc
.
[HTTPS listeners] Information about an identity provider that is compliant
* with OpenID Connect (OIDC). Specify only when Type
is
* authenticate-oidc
.
[HTTPS listeners] Information about an identity provider that is compliant
* with OpenID Connect (OIDC). Specify only when Type
is
* authenticate-oidc
.
[HTTPS listeners] Information about an identity provider that is compliant
* with OpenID Connect (OIDC). Specify only when Type
is
* authenticate-oidc
.
[HTTPS listeners] Information about an identity provider that is compliant
* with OpenID Connect (OIDC). Specify only when Type
is
* authenticate-oidc
.
[HTTPS listeners] Information for using Amazon Cognito to authenticate users.
* Specify only when Type
is authenticate-cognito
.
[HTTPS listeners] Information for using Amazon Cognito to authenticate users.
* Specify only when Type
is authenticate-cognito
.
[HTTPS listeners] Information for using Amazon Cognito to authenticate users.
* Specify only when Type
is authenticate-cognito
.
[HTTPS listeners] Information for using Amazon Cognito to authenticate users.
* Specify only when Type
is authenticate-cognito
.
[HTTPS listeners] Information for using Amazon Cognito to authenticate users.
* Specify only when Type
is authenticate-cognito
.
[HTTPS listeners] Information for using Amazon Cognito to authenticate users.
* Specify only when Type
is authenticate-cognito
.
The order for the action. This value is required for rules with multiple * actions. The action with the lowest value for order is performed first.
*/ inline int GetOrder() const{ return m_order; } /** *The order for the action. This value is required for rules with multiple * actions. The action with the lowest value for order is performed first.
*/ inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; } /** *The order for the action. This value is required for rules with multiple * actions. The action with the lowest value for order is performed first.
*/ inline void SetOrder(int value) { m_orderHasBeenSet = true; m_order = value; } /** *The order for the action. This value is required for rules with multiple * actions. The action with the lowest value for order is performed first.
*/ inline Action& WithOrder(int value) { SetOrder(value); return *this;} /** *[Application Load Balancer] Information for creating a redirect action.
* Specify only when Type
is redirect
.
[Application Load Balancer] Information for creating a redirect action.
* Specify only when Type
is redirect
.
[Application Load Balancer] Information for creating a redirect action.
* Specify only when Type
is redirect
.
[Application Load Balancer] Information for creating a redirect action.
* Specify only when Type
is redirect
.
[Application Load Balancer] Information for creating a redirect action.
* Specify only when Type
is redirect
.
[Application Load Balancer] Information for creating a redirect action.
* Specify only when Type
is redirect
.
[Application Load Balancer] Information for creating an action that returns a
* custom HTTP response. Specify only when Type
is
* fixed-response
.
[Application Load Balancer] Information for creating an action that returns a
* custom HTTP response. Specify only when Type
is
* fixed-response
.
[Application Load Balancer] Information for creating an action that returns a
* custom HTTP response. Specify only when Type
is
* fixed-response
.
[Application Load Balancer] Information for creating an action that returns a
* custom HTTP response. Specify only when Type
is
* fixed-response
.
[Application Load Balancer] Information for creating an action that returns a
* custom HTTP response. Specify only when Type
is
* fixed-response
.
[Application Load Balancer] Information for creating an action that returns a
* custom HTTP response. Specify only when Type
is
* fixed-response
.
Information for creating an action that distributes requests among one or
* more target groups. For Network Load Balancers, you can specify a single target
* group. Specify only when Type
is forward
. If you
* specify both ForwardConfig
and TargetGroupArn
, you can
* specify only one target group using ForwardConfig
and it must be
* the same target group specified in TargetGroupArn
.
Information for creating an action that distributes requests among one or
* more target groups. For Network Load Balancers, you can specify a single target
* group. Specify only when Type
is forward
. If you
* specify both ForwardConfig
and TargetGroupArn
, you can
* specify only one target group using ForwardConfig
and it must be
* the same target group specified in TargetGroupArn
.
Information for creating an action that distributes requests among one or
* more target groups. For Network Load Balancers, you can specify a single target
* group. Specify only when Type
is forward
. If you
* specify both ForwardConfig
and TargetGroupArn
, you can
* specify only one target group using ForwardConfig
and it must be
* the same target group specified in TargetGroupArn
.
Information for creating an action that distributes requests among one or
* more target groups. For Network Load Balancers, you can specify a single target
* group. Specify only when Type
is forward
. If you
* specify both ForwardConfig
and TargetGroupArn
, you can
* specify only one target group using ForwardConfig
and it must be
* the same target group specified in TargetGroupArn
.
Information for creating an action that distributes requests among one or
* more target groups. For Network Load Balancers, you can specify a single target
* group. Specify only when Type
is forward
. If you
* specify both ForwardConfig
and TargetGroupArn
, you can
* specify only one target group using ForwardConfig
and it must be
* the same target group specified in TargetGroupArn
.
Information for creating an action that distributes requests among one or
* more target groups. For Network Load Balancers, you can specify a single target
* group. Specify only when Type
is forward
. If you
* specify both ForwardConfig
and TargetGroupArn
, you can
* specify only one target group using ForwardConfig
and it must be
* the same target group specified in TargetGroupArn
.