AWS SDK for C++  1.8.94
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::AutoScaling::Model::EnableMetricsCollectionRequest Class Reference

#include <EnableMetricsCollectionRequest.h>

+ Inheritance diagram for Aws::AutoScaling::Model::EnableMetricsCollectionRequest:

Public Member Functions

 EnableMetricsCollectionRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetAutoScalingGroupName () const
 
bool AutoScalingGroupNameHasBeenSet () const
 
void SetAutoScalingGroupName (const Aws::String &value)
 
void SetAutoScalingGroupName (Aws::String &&value)
 
void SetAutoScalingGroupName (const char *value)
 
EnableMetricsCollectionRequestWithAutoScalingGroupName (const Aws::String &value)
 
EnableMetricsCollectionRequestWithAutoScalingGroupName (Aws::String &&value)
 
EnableMetricsCollectionRequestWithAutoScalingGroupName (const char *value)
 
const Aws::Vector< Aws::String > & GetMetrics () const
 
bool MetricsHasBeenSet () const
 
void SetMetrics (const Aws::Vector< Aws::String > &value)
 
void SetMetrics (Aws::Vector< Aws::String > &&value)
 
EnableMetricsCollectionRequestWithMetrics (const Aws::Vector< Aws::String > &value)
 
EnableMetricsCollectionRequestWithMetrics (Aws::Vector< Aws::String > &&value)
 
EnableMetricsCollectionRequestAddMetrics (const Aws::String &value)
 
EnableMetricsCollectionRequestAddMetrics (Aws::String &&value)
 
EnableMetricsCollectionRequestAddMetrics (const char *value)
 
const Aws::StringGetGranularity () const
 
bool GranularityHasBeenSet () const
 
void SetGranularity (const Aws::String &value)
 
void SetGranularity (Aws::String &&value)
 
void SetGranularity (const char *value)
 
EnableMetricsCollectionRequestWithGranularity (const Aws::String &value)
 
EnableMetricsCollectionRequestWithGranularity (Aws::String &&value)
 
EnableMetricsCollectionRequestWithGranularity (const char *value)
 
- Public Member Functions inherited from Aws::AutoScaling::AutoScalingRequest
virtual ~AutoScalingRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::AutoScaling::AutoScalingRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 22 of file EnableMetricsCollectionRequest.h.

Constructor & Destructor Documentation

◆ EnableMetricsCollectionRequest()

Aws::AutoScaling::Model::EnableMetricsCollectionRequest::EnableMetricsCollectionRequest ( )

Member Function Documentation

◆ AddMetrics() [1/3]

EnableMetricsCollectionRequest& Aws::AutoScaling::Model::EnableMetricsCollectionRequest::AddMetrics ( const Aws::String value)
inline

Specifies which group-level metrics to start collecting. You can specify one or more of the following metrics:

  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupStandbyInstances

  • GroupTerminatingInstances

  • GroupTotalInstances

The instance weighting feature supports the following additional metrics:

  • GroupInServiceCapacity

  • GroupPendingCapacity

  • GroupStandbyCapacity

  • GroupTerminatingCapacity

  • GroupTotalCapacity

If you omit this parameter, all metrics are enabled.

Definition at line 219 of file EnableMetricsCollectionRequest.h.

◆ AddMetrics() [2/3]

EnableMetricsCollectionRequest& Aws::AutoScaling::Model::EnableMetricsCollectionRequest::AddMetrics ( Aws::String &&  value)
inline

Specifies which group-level metrics to start collecting. You can specify one or more of the following metrics:

  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupStandbyInstances

  • GroupTerminatingInstances

  • GroupTotalInstances

The instance weighting feature supports the following additional metrics:

  • GroupInServiceCapacity

  • GroupPendingCapacity

  • GroupStandbyCapacity

  • GroupTerminatingCapacity

  • GroupTotalCapacity

If you omit this parameter, all metrics are enabled.

Definition at line 239 of file EnableMetricsCollectionRequest.h.

◆ AddMetrics() [3/3]

EnableMetricsCollectionRequest& Aws::AutoScaling::Model::EnableMetricsCollectionRequest::AddMetrics ( const char *  value)
inline

Specifies which group-level metrics to start collecting. You can specify one or more of the following metrics:

  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupStandbyInstances

  • GroupTerminatingInstances

  • GroupTotalInstances

The instance weighting feature supports the following additional metrics:

  • GroupInServiceCapacity

  • GroupPendingCapacity

  • GroupStandbyCapacity

  • GroupTerminatingCapacity

  • GroupTotalCapacity

If you omit this parameter, all metrics are enabled.

Definition at line 259 of file EnableMetricsCollectionRequest.h.

◆ AutoScalingGroupNameHasBeenSet()

bool Aws::AutoScaling::Model::EnableMetricsCollectionRequest::AutoScalingGroupNameHasBeenSet ( ) const
inline

The name of the Auto Scaling group.

Definition at line 48 of file EnableMetricsCollectionRequest.h.

◆ DumpBodyToUrl()

void Aws::AutoScaling::Model::EnableMetricsCollectionRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ GetAutoScalingGroupName()

const Aws::String& Aws::AutoScaling::Model::EnableMetricsCollectionRequest::GetAutoScalingGroupName ( ) const
inline

The name of the Auto Scaling group.

Definition at line 43 of file EnableMetricsCollectionRequest.h.

◆ GetGranularity()

const Aws::String& Aws::AutoScaling::Model::EnableMetricsCollectionRequest::GetGranularity ( ) const
inline

The granularity to associate with the metrics to collect. The only valid value is 1Minute.

Definition at line 266 of file EnableMetricsCollectionRequest.h.

◆ GetMetrics()

const Aws::Vector<Aws::String>& Aws::AutoScaling::Model::EnableMetricsCollectionRequest::GetMetrics ( ) const
inline

Specifies which group-level metrics to start collecting. You can specify one or more of the following metrics:

  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupStandbyInstances

  • GroupTerminatingInstances

  • GroupTotalInstances

The instance weighting feature supports the following additional metrics:

  • GroupInServiceCapacity

  • GroupPendingCapacity

  • GroupStandbyCapacity

  • GroupTerminatingCapacity

  • GroupTotalCapacity

If you omit this parameter, all metrics are enabled.

Definition at line 99 of file EnableMetricsCollectionRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::AutoScaling::Model::EnableMetricsCollectionRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 31 of file EnableMetricsCollectionRequest.h.

◆ GranularityHasBeenSet()

bool Aws::AutoScaling::Model::EnableMetricsCollectionRequest::GranularityHasBeenSet ( ) const
inline

The granularity to associate with the metrics to collect. The only valid value is 1Minute.

Definition at line 272 of file EnableMetricsCollectionRequest.h.

◆ MetricsHasBeenSet()

bool Aws::AutoScaling::Model::EnableMetricsCollectionRequest::MetricsHasBeenSet ( ) const
inline

Specifies which group-level metrics to start collecting. You can specify one or more of the following metrics:

  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupStandbyInstances

  • GroupTerminatingInstances

  • GroupTotalInstances

The instance weighting feature supports the following additional metrics:

  • GroupInServiceCapacity

  • GroupPendingCapacity

  • GroupStandbyCapacity

  • GroupTerminatingCapacity

  • GroupTotalCapacity

If you omit this parameter, all metrics are enabled.

Definition at line 119 of file EnableMetricsCollectionRequest.h.

◆ SerializePayload()

Aws::String Aws::AutoScaling::Model::EnableMetricsCollectionRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAutoScalingGroupName() [1/3]

void Aws::AutoScaling::Model::EnableMetricsCollectionRequest::SetAutoScalingGroupName ( const Aws::String value)
inline

The name of the Auto Scaling group.

Definition at line 53 of file EnableMetricsCollectionRequest.h.

◆ SetAutoScalingGroupName() [2/3]

void Aws::AutoScaling::Model::EnableMetricsCollectionRequest::SetAutoScalingGroupName ( Aws::String &&  value)
inline

The name of the Auto Scaling group.

Definition at line 58 of file EnableMetricsCollectionRequest.h.

◆ SetAutoScalingGroupName() [3/3]

void Aws::AutoScaling::Model::EnableMetricsCollectionRequest::SetAutoScalingGroupName ( const char *  value)
inline

The name of the Auto Scaling group.

Definition at line 63 of file EnableMetricsCollectionRequest.h.

◆ SetGranularity() [1/3]

void Aws::AutoScaling::Model::EnableMetricsCollectionRequest::SetGranularity ( const Aws::String value)
inline

The granularity to associate with the metrics to collect. The only valid value is 1Minute.

Definition at line 278 of file EnableMetricsCollectionRequest.h.

◆ SetGranularity() [2/3]

void Aws::AutoScaling::Model::EnableMetricsCollectionRequest::SetGranularity ( Aws::String &&  value)
inline

The granularity to associate with the metrics to collect. The only valid value is 1Minute.

Definition at line 284 of file EnableMetricsCollectionRequest.h.

◆ SetGranularity() [3/3]

void Aws::AutoScaling::Model::EnableMetricsCollectionRequest::SetGranularity ( const char *  value)
inline

The granularity to associate with the metrics to collect. The only valid value is 1Minute.

Definition at line 290 of file EnableMetricsCollectionRequest.h.

◆ SetMetrics() [1/2]

void Aws::AutoScaling::Model::EnableMetricsCollectionRequest::SetMetrics ( const Aws::Vector< Aws::String > &  value)
inline

Specifies which group-level metrics to start collecting. You can specify one or more of the following metrics:

  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupStandbyInstances

  • GroupTerminatingInstances

  • GroupTotalInstances

The instance weighting feature supports the following additional metrics:

  • GroupInServiceCapacity

  • GroupPendingCapacity

  • GroupStandbyCapacity

  • GroupTerminatingCapacity

  • GroupTotalCapacity

If you omit this parameter, all metrics are enabled.

Definition at line 139 of file EnableMetricsCollectionRequest.h.

◆ SetMetrics() [2/2]

void Aws::AutoScaling::Model::EnableMetricsCollectionRequest::SetMetrics ( Aws::Vector< Aws::String > &&  value)
inline

Specifies which group-level metrics to start collecting. You can specify one or more of the following metrics:

  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupStandbyInstances

  • GroupTerminatingInstances

  • GroupTotalInstances

The instance weighting feature supports the following additional metrics:

  • GroupInServiceCapacity

  • GroupPendingCapacity

  • GroupStandbyCapacity

  • GroupTerminatingCapacity

  • GroupTotalCapacity

If you omit this parameter, all metrics are enabled.

Definition at line 159 of file EnableMetricsCollectionRequest.h.

◆ WithAutoScalingGroupName() [1/3]

EnableMetricsCollectionRequest& Aws::AutoScaling::Model::EnableMetricsCollectionRequest::WithAutoScalingGroupName ( const Aws::String value)
inline

The name of the Auto Scaling group.

Definition at line 68 of file EnableMetricsCollectionRequest.h.

◆ WithAutoScalingGroupName() [2/3]

EnableMetricsCollectionRequest& Aws::AutoScaling::Model::EnableMetricsCollectionRequest::WithAutoScalingGroupName ( Aws::String &&  value)
inline

The name of the Auto Scaling group.

Definition at line 73 of file EnableMetricsCollectionRequest.h.

◆ WithAutoScalingGroupName() [3/3]

EnableMetricsCollectionRequest& Aws::AutoScaling::Model::EnableMetricsCollectionRequest::WithAutoScalingGroupName ( const char *  value)
inline

The name of the Auto Scaling group.

Definition at line 78 of file EnableMetricsCollectionRequest.h.

◆ WithGranularity() [1/3]

EnableMetricsCollectionRequest& Aws::AutoScaling::Model::EnableMetricsCollectionRequest::WithGranularity ( const Aws::String value)
inline

The granularity to associate with the metrics to collect. The only valid value is 1Minute.

Definition at line 296 of file EnableMetricsCollectionRequest.h.

◆ WithGranularity() [2/3]

EnableMetricsCollectionRequest& Aws::AutoScaling::Model::EnableMetricsCollectionRequest::WithGranularity ( Aws::String &&  value)
inline

The granularity to associate with the metrics to collect. The only valid value is 1Minute.

Definition at line 302 of file EnableMetricsCollectionRequest.h.

◆ WithGranularity() [3/3]

EnableMetricsCollectionRequest& Aws::AutoScaling::Model::EnableMetricsCollectionRequest::WithGranularity ( const char *  value)
inline

The granularity to associate with the metrics to collect. The only valid value is 1Minute.

Definition at line 308 of file EnableMetricsCollectionRequest.h.

◆ WithMetrics() [1/2]

EnableMetricsCollectionRequest& Aws::AutoScaling::Model::EnableMetricsCollectionRequest::WithMetrics ( const Aws::Vector< Aws::String > &  value)
inline

Specifies which group-level metrics to start collecting. You can specify one or more of the following metrics:

  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupStandbyInstances

  • GroupTerminatingInstances

  • GroupTotalInstances

The instance weighting feature supports the following additional metrics:

  • GroupInServiceCapacity

  • GroupPendingCapacity

  • GroupStandbyCapacity

  • GroupTerminatingCapacity

  • GroupTotalCapacity

If you omit this parameter, all metrics are enabled.

Definition at line 179 of file EnableMetricsCollectionRequest.h.

◆ WithMetrics() [2/2]

EnableMetricsCollectionRequest& Aws::AutoScaling::Model::EnableMetricsCollectionRequest::WithMetrics ( Aws::Vector< Aws::String > &&  value)
inline

Specifies which group-level metrics to start collecting. You can specify one or more of the following metrics:

  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupStandbyInstances

  • GroupTerminatingInstances

  • GroupTotalInstances

The instance weighting feature supports the following additional metrics:

  • GroupInServiceCapacity

  • GroupPendingCapacity

  • GroupStandbyCapacity

  • GroupTerminatingCapacity

  • GroupTotalCapacity

If you omit this parameter, all metrics are enabled.

Definition at line 199 of file EnableMetricsCollectionRequest.h.


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