AWS SDK for C++  1.9.130
AWS SDK for C++
Public Member Functions | List of all members
Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric Class Reference

#include <PredictiveScalingPredefinedLoadMetric.h>

Public Member Functions

 PredictiveScalingPredefinedLoadMetric ()
 
 PredictiveScalingPredefinedLoadMetric (const Aws::Utils::Xml::XmlNode &xmlNode)
 
PredictiveScalingPredefinedLoadMetricoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const PredefinedLoadMetricTypeGetPredefinedMetricType () const
 
bool PredefinedMetricTypeHasBeenSet () const
 
void SetPredefinedMetricType (const PredefinedLoadMetricType &value)
 
void SetPredefinedMetricType (PredefinedLoadMetricType &&value)
 
PredictiveScalingPredefinedLoadMetricWithPredefinedMetricType (const PredefinedLoadMetricType &value)
 
PredictiveScalingPredefinedLoadMetricWithPredefinedMetricType (PredefinedLoadMetricType &&value)
 
const Aws::StringGetResourceLabel () const
 
bool ResourceLabelHasBeenSet () const
 
void SetResourceLabel (const Aws::String &value)
 
void SetResourceLabel (Aws::String &&value)
 
void SetResourceLabel (const char *value)
 
PredictiveScalingPredefinedLoadMetricWithResourceLabel (const Aws::String &value)
 
PredictiveScalingPredefinedLoadMetricWithResourceLabel (Aws::String &&value)
 
PredictiveScalingPredefinedLoadMetricWithResourceLabel (const char *value)
 

Detailed Description

Describes a load metric for a predictive scaling policy.

When returned in the output of DescribePolicies, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.

See Also:

AWS API Reference

Definition at line 35 of file PredictiveScalingPredefinedLoadMetric.h.

Constructor & Destructor Documentation

◆ PredictiveScalingPredefinedLoadMetric() [1/2]

Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::PredictiveScalingPredefinedLoadMetric ( )

◆ PredictiveScalingPredefinedLoadMetric() [2/2]

Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::PredictiveScalingPredefinedLoadMetric ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ GetPredefinedMetricType()

const PredefinedLoadMetricType& Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::GetPredefinedMetricType ( ) const
inline

The metric type.

Definition at line 49 of file PredictiveScalingPredefinedLoadMetric.h.

◆ GetResourceLabel()

const Aws::String& Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::GetResourceLabel ( ) const
inline

A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN

  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

Definition at line 97 of file PredictiveScalingPredefinedLoadMetric.h.

◆ operator=()

PredictiveScalingPredefinedLoadMetric& Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ PredefinedMetricTypeHasBeenSet()

bool Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::PredefinedMetricTypeHasBeenSet ( ) const
inline

The metric type.

Definition at line 54 of file PredictiveScalingPredefinedLoadMetric.h.

◆ ResourceLabelHasBeenSet()

bool Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::ResourceLabelHasBeenSet ( ) const
inline

A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN

  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

Definition at line 119 of file PredictiveScalingPredefinedLoadMetric.h.

◆ SetPredefinedMetricType() [1/2]

void Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::SetPredefinedMetricType ( const PredefinedLoadMetricType value)
inline

The metric type.

Definition at line 59 of file PredictiveScalingPredefinedLoadMetric.h.

◆ SetPredefinedMetricType() [2/2]

void Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::SetPredefinedMetricType ( PredefinedLoadMetricType &&  value)
inline

The metric type.

Definition at line 64 of file PredictiveScalingPredefinedLoadMetric.h.

◆ SetResourceLabel() [1/3]

void Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::SetResourceLabel ( Aws::String &&  value)
inline

A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN

  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

Definition at line 163 of file PredictiveScalingPredefinedLoadMetric.h.

◆ SetResourceLabel() [2/3]

void Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::SetResourceLabel ( const Aws::String value)
inline

A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN

  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

Definition at line 141 of file PredictiveScalingPredefinedLoadMetric.h.

◆ SetResourceLabel() [3/3]

void Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::SetResourceLabel ( const char *  value)
inline

A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN

  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

Definition at line 185 of file PredictiveScalingPredefinedLoadMetric.h.

◆ WithPredefinedMetricType() [1/2]

PredictiveScalingPredefinedLoadMetric& Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::WithPredefinedMetricType ( const PredefinedLoadMetricType value)
inline

The metric type.

Definition at line 69 of file PredictiveScalingPredefinedLoadMetric.h.

◆ WithPredefinedMetricType() [2/2]

PredictiveScalingPredefinedLoadMetric& Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::WithPredefinedMetricType ( PredefinedLoadMetricType &&  value)
inline

The metric type.

Definition at line 74 of file PredictiveScalingPredefinedLoadMetric.h.

◆ WithResourceLabel() [1/3]

PredictiveScalingPredefinedLoadMetric& Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::WithResourceLabel ( Aws::String &&  value)
inline

A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN

  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

Definition at line 229 of file PredictiveScalingPredefinedLoadMetric.h.

◆ WithResourceLabel() [2/3]

PredictiveScalingPredefinedLoadMetric& Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::WithResourceLabel ( const Aws::String value)
inline

A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN

  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

Definition at line 207 of file PredictiveScalingPredefinedLoadMetric.h.

◆ WithResourceLabel() [3/3]

PredictiveScalingPredefinedLoadMetric& Aws::AutoScaling::Model::PredictiveScalingPredefinedLoadMetric::WithResourceLabel ( const char *  value)
inline

A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN

  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

Definition at line 251 of file PredictiveScalingPredefinedLoadMetric.h.


The documentation for this class was generated from the following file: