The codes to use when checking for a successful response from a target. If the protocol version is gRPC, these are gRPC codes. Otherwise, these are HTTP codes.
See Also:
AWS API Reference
Definition at line 33 of file Matcher.h.
const Aws::String& Aws::ElasticLoadBalancingv2::Model::Matcher::GetHttpCode |
( |
| ) |
const |
|
inline |
For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers and Gateway Load Balancers, this must be "200–399".
Definition at line 50 of file Matcher.h.
bool Aws::ElasticLoadBalancingv2::Model::Matcher::HttpCodeHasBeenSet |
( |
| ) |
const |
|
inline |
For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers and Gateway Load Balancers, this must be "200–399".
Definition at line 58 of file Matcher.h.
void Aws::ElasticLoadBalancingv2::Model::Matcher::SetHttpCode |
( |
Aws::String && |
value | ) |
|
|
inline |
For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers and Gateway Load Balancers, this must be "200–399".
Definition at line 74 of file Matcher.h.
void Aws::ElasticLoadBalancingv2::Model::Matcher::SetHttpCode |
( |
const Aws::String & |
value | ) |
|
|
inline |
For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers and Gateway Load Balancers, this must be "200–399".
Definition at line 66 of file Matcher.h.
void Aws::ElasticLoadBalancingv2::Model::Matcher::SetHttpCode |
( |
const char * |
value | ) |
|
|
inline |
For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers and Gateway Load Balancers, this must be "200–399".
Definition at line 82 of file Matcher.h.
Matcher& Aws::ElasticLoadBalancingv2::Model::Matcher::WithHttpCode |
( |
Aws::String && |
value | ) |
|
|
inline |
For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers and Gateway Load Balancers, this must be "200–399".
Definition at line 98 of file Matcher.h.
Matcher& Aws::ElasticLoadBalancingv2::Model::Matcher::WithHttpCode |
( |
const Aws::String & |
value | ) |
|
|
inline |
For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers and Gateway Load Balancers, this must be "200–399".
Definition at line 90 of file Matcher.h.
Matcher& Aws::ElasticLoadBalancingv2::Model::Matcher::WithHttpCode |
( |
const char * |
value | ) |
|
|
inline |
For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
For Network Load Balancers and Gateway Load Balancers, this must be "200–399".
Definition at line 106 of file Matcher.h.