AWS SDK for C++  1.9.1
AWS SDK for C++
Public Member Functions | List of all members
Aws::Lightsail::Model::GetContainerServiceMetricDataRequest Class Reference

#include <GetContainerServiceMetricDataRequest.h>

+ Inheritance diagram for Aws::Lightsail::Model::GetContainerServiceMetricDataRequest:

Public Member Functions

 GetContainerServiceMetricDataRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetServiceName () const
 
bool ServiceNameHasBeenSet () const
 
void SetServiceName (const Aws::String &value)
 
void SetServiceName (Aws::String &&value)
 
void SetServiceName (const char *value)
 
GetContainerServiceMetricDataRequestWithServiceName (const Aws::String &value)
 
GetContainerServiceMetricDataRequestWithServiceName (Aws::String &&value)
 
GetContainerServiceMetricDataRequestWithServiceName (const char *value)
 
const ContainerServiceMetricNameGetMetricName () const
 
bool MetricNameHasBeenSet () const
 
void SetMetricName (const ContainerServiceMetricName &value)
 
void SetMetricName (ContainerServiceMetricName &&value)
 
GetContainerServiceMetricDataRequestWithMetricName (const ContainerServiceMetricName &value)
 
GetContainerServiceMetricDataRequestWithMetricName (ContainerServiceMetricName &&value)
 
const Aws::Utils::DateTimeGetStartTime () const
 
bool StartTimeHasBeenSet () const
 
void SetStartTime (const Aws::Utils::DateTime &value)
 
void SetStartTime (Aws::Utils::DateTime &&value)
 
GetContainerServiceMetricDataRequestWithStartTime (const Aws::Utils::DateTime &value)
 
GetContainerServiceMetricDataRequestWithStartTime (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetEndTime () const
 
bool EndTimeHasBeenSet () const
 
void SetEndTime (const Aws::Utils::DateTime &value)
 
void SetEndTime (Aws::Utils::DateTime &&value)
 
GetContainerServiceMetricDataRequestWithEndTime (const Aws::Utils::DateTime &value)
 
GetContainerServiceMetricDataRequestWithEndTime (Aws::Utils::DateTime &&value)
 
int GetPeriod () const
 
bool PeriodHasBeenSet () const
 
void SetPeriod (int value)
 
GetContainerServiceMetricDataRequestWithPeriod (int value)
 
const Aws::Vector< MetricStatistic > & GetStatistics () const
 
bool StatisticsHasBeenSet () const
 
void SetStatistics (const Aws::Vector< MetricStatistic > &value)
 
void SetStatistics (Aws::Vector< MetricStatistic > &&value)
 
GetContainerServiceMetricDataRequestWithStatistics (const Aws::Vector< MetricStatistic > &value)
 
GetContainerServiceMetricDataRequestWithStatistics (Aws::Vector< MetricStatistic > &&value)
 
GetContainerServiceMetricDataRequestAddStatistics (const MetricStatistic &value)
 
GetContainerServiceMetricDataRequestAddStatistics (MetricStatistic &&value)
 
- Public Member Functions inherited from Aws::Lightsail::LightsailRequest
virtual ~LightsailRequest ()
 
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
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 25 of file GetContainerServiceMetricDataRequest.h.

Constructor & Destructor Documentation

◆ GetContainerServiceMetricDataRequest()

Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::GetContainerServiceMetricDataRequest ( )

Member Function Documentation

◆ AddStatistics() [1/2]

GetContainerServiceMetricDataRequest& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::AddStatistics ( const MetricStatistic value)
inline

The statistic for the metric.

The following statistics are available:

  • Minimum - The lowest value observed during the specified period. Use this value to determine low volumes of activity for your application.

  • Maximum - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application.

  • Sum - All values submitted for the matching metric added together. You can use this statistic to determine the total volume of a metric.

  • Average - The value of Sum / SampleCount during the specified period. By comparing this statistic with the Minimum and Maximum values, you can determine the full scope of a metric and how close the average use is to the Minimum and Maximum values. This comparison helps you to know when to increase or decrease your resources.

  • SampleCount

    • The count, or number, of data points used for the statistical calculation.

Definition at line 420 of file GetContainerServiceMetricDataRequest.h.

◆ AddStatistics() [2/2]

GetContainerServiceMetricDataRequest& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::AddStatistics ( MetricStatistic &&  value)
inline

The statistic for the metric.

The following statistics are available:

  • Minimum - The lowest value observed during the specified period. Use this value to determine low volumes of activity for your application.

  • Maximum - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application.

  • Sum - All values submitted for the matching metric added together. You can use this statistic to determine the total volume of a metric.

  • Average - The value of Sum / SampleCount during the specified period. By comparing this statistic with the Minimum and Maximum values, you can determine the full scope of a metric and how close the average use is to the Minimum and Maximum values. This comparison helps you to know when to increase or decrease your resources.

  • SampleCount

    • The count, or number, of data points used for the statistical calculation.

Definition at line 440 of file GetContainerServiceMetricDataRequest.h.

◆ EndTimeHasBeenSet()

bool Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::EndTimeHasBeenSet ( ) const
inline

The end time of the time period.

Definition at line 230 of file GetContainerServiceMetricDataRequest.h.

◆ GetEndTime()

const Aws::Utils::DateTime& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::GetEndTime ( ) const
inline

The end time of the time period.

Definition at line 225 of file GetContainerServiceMetricDataRequest.h.

◆ GetMetricName()

const ContainerServiceMetricName& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::GetMetricName ( ) const
inline

The metric for which you want to return information.

Valid container service metric names are listed below, along with the most useful statistics to include in your request, and the published unit value.

  • CPUUtilization - The average percentage of compute units that are currently in use across all nodes of the container service. This metric identifies the processing power required to run containers on each node of the container service.

    Statistics: The most useful statistics are Maximum and Average.

    Unit: The published unit is Percent.

  • MemoryUtilization - The average percentage of available memory that is currently in use across all nodes of the container service. This metric identifies the memory required to run containers on each node of the container service.

    Statistics: The most useful statistics are Maximum and Average.

    Unit: The published unit is Percent.

Definition at line 98 of file GetContainerServiceMetricDataRequest.h.

◆ GetPeriod()

int Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::GetPeriod ( ) const
inline

The granularity, in seconds, of the returned data points.

All container service metric data is available in 5-minute (300 seconds) granularity.

Definition at line 258 of file GetContainerServiceMetricDataRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::Lightsail::LightsailRequest.

◆ GetServiceName()

const Aws::String& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::GetServiceName ( ) const
inline

The name of the container service for which to get metric data.

Definition at line 44 of file GetContainerServiceMetricDataRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

◆ GetStartTime()

const Aws::Utils::DateTime& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::GetStartTime ( ) const
inline

The start time of the time period.

Definition at line 194 of file GetContainerServiceMetricDataRequest.h.

◆ GetStatistics()

const Aws::Vector<MetricStatistic>& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::GetStatistics ( ) const
inline

The statistic for the metric.

The following statistics are available:

  • Minimum - The lowest value observed during the specified period. Use this value to determine low volumes of activity for your application.

  • Maximum - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application.

  • Sum - All values submitted for the matching metric added together. You can use this statistic to determine the total volume of a metric.

  • Average - The value of Sum / SampleCount during the specified period. By comparing this statistic with the Minimum and Maximum values, you can determine the full scope of a metric and how close the average use is to the Minimum and Maximum values. This comparison helps you to know when to increase or decrease your resources.

  • SampleCount

    • The count, or number, of data points used for the statistical calculation.

Definition at line 300 of file GetContainerServiceMetricDataRequest.h.

◆ MetricNameHasBeenSet()

bool Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::MetricNameHasBeenSet ( ) const
inline

The metric for which you want to return information.

Valid container service metric names are listed below, along with the most useful statistics to include in your request, and the published unit value.

  • CPUUtilization - The average percentage of compute units that are currently in use across all nodes of the container service. This metric identifies the processing power required to run containers on each node of the container service.

    Statistics: The most useful statistics are Maximum and Average.

    Unit: The published unit is Percent.

  • MemoryUtilization - The average percentage of available memory that is currently in use across all nodes of the container service. This metric identifies the memory required to run containers on each node of the container service.

    Statistics: The most useful statistics are Maximum and Average.

    Unit: The published unit is Percent.

Definition at line 116 of file GetContainerServiceMetricDataRequest.h.

◆ PeriodHasBeenSet()

bool Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::PeriodHasBeenSet ( ) const
inline

The granularity, in seconds, of the returned data points.

All container service metric data is available in 5-minute (300 seconds) granularity.

Definition at line 265 of file GetContainerServiceMetricDataRequest.h.

◆ SerializePayload()

Aws::String Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ ServiceNameHasBeenSet()

bool Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::ServiceNameHasBeenSet ( ) const
inline

The name of the container service for which to get metric data.

Definition at line 49 of file GetContainerServiceMetricDataRequest.h.

◆ SetEndTime() [1/2]

void Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::SetEndTime ( Aws::Utils::DateTime &&  value)
inline

The end time of the time period.

Definition at line 240 of file GetContainerServiceMetricDataRequest.h.

◆ SetEndTime() [2/2]

void Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::SetEndTime ( const Aws::Utils::DateTime value)
inline

The end time of the time period.

Definition at line 235 of file GetContainerServiceMetricDataRequest.h.

◆ SetMetricName() [1/2]

void Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::SetMetricName ( const ContainerServiceMetricName value)
inline

The metric for which you want to return information.

Valid container service metric names are listed below, along with the most useful statistics to include in your request, and the published unit value.

  • CPUUtilization - The average percentage of compute units that are currently in use across all nodes of the container service. This metric identifies the processing power required to run containers on each node of the container service.

    Statistics: The most useful statistics are Maximum and Average.

    Unit: The published unit is Percent.

  • MemoryUtilization - The average percentage of available memory that is currently in use across all nodes of the container service. This metric identifies the memory required to run containers on each node of the container service.

    Statistics: The most useful statistics are Maximum and Average.

    Unit: The published unit is Percent.

Definition at line 134 of file GetContainerServiceMetricDataRequest.h.

◆ SetMetricName() [2/2]

void Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::SetMetricName ( ContainerServiceMetricName &&  value)
inline

The metric for which you want to return information.

Valid container service metric names are listed below, along with the most useful statistics to include in your request, and the published unit value.

  • CPUUtilization - The average percentage of compute units that are currently in use across all nodes of the container service. This metric identifies the processing power required to run containers on each node of the container service.

    Statistics: The most useful statistics are Maximum and Average.

    Unit: The published unit is Percent.

  • MemoryUtilization - The average percentage of available memory that is currently in use across all nodes of the container service. This metric identifies the memory required to run containers on each node of the container service.

    Statistics: The most useful statistics are Maximum and Average.

    Unit: The published unit is Percent.

Definition at line 152 of file GetContainerServiceMetricDataRequest.h.

◆ SetPeriod()

void Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::SetPeriod ( int  value)
inline

The granularity, in seconds, of the returned data points.

All container service metric data is available in 5-minute (300 seconds) granularity.

Definition at line 272 of file GetContainerServiceMetricDataRequest.h.

◆ SetServiceName() [1/3]

void Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::SetServiceName ( Aws::String &&  value)
inline

The name of the container service for which to get metric data.

Definition at line 59 of file GetContainerServiceMetricDataRequest.h.

◆ SetServiceName() [2/3]

void Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::SetServiceName ( const Aws::String value)
inline

The name of the container service for which to get metric data.

Definition at line 54 of file GetContainerServiceMetricDataRequest.h.

◆ SetServiceName() [3/3]

void Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::SetServiceName ( const char *  value)
inline

The name of the container service for which to get metric data.

Definition at line 64 of file GetContainerServiceMetricDataRequest.h.

◆ SetStartTime() [1/2]

void Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::SetStartTime ( Aws::Utils::DateTime &&  value)
inline

The start time of the time period.

Definition at line 209 of file GetContainerServiceMetricDataRequest.h.

◆ SetStartTime() [2/2]

void Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::SetStartTime ( const Aws::Utils::DateTime value)
inline

The start time of the time period.

Definition at line 204 of file GetContainerServiceMetricDataRequest.h.

◆ SetStatistics() [1/2]

void Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::SetStatistics ( Aws::Vector< MetricStatistic > &&  value)
inline

The statistic for the metric.

The following statistics are available:

  • Minimum - The lowest value observed during the specified period. Use this value to determine low volumes of activity for your application.

  • Maximum - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application.

  • Sum - All values submitted for the matching metric added together. You can use this statistic to determine the total volume of a metric.

  • Average - The value of Sum / SampleCount during the specified period. By comparing this statistic with the Minimum and Maximum values, you can determine the full scope of a metric and how close the average use is to the Minimum and Maximum values. This comparison helps you to know when to increase or decrease your resources.

  • SampleCount

    • The count, or number, of data points used for the statistical calculation.

Definition at line 360 of file GetContainerServiceMetricDataRequest.h.

◆ SetStatistics() [2/2]

void Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::SetStatistics ( const Aws::Vector< MetricStatistic > &  value)
inline

The statistic for the metric.

The following statistics are available:

  • Minimum - The lowest value observed during the specified period. Use this value to determine low volumes of activity for your application.

  • Maximum - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application.

  • Sum - All values submitted for the matching metric added together. You can use this statistic to determine the total volume of a metric.

  • Average - The value of Sum / SampleCount during the specified period. By comparing this statistic with the Minimum and Maximum values, you can determine the full scope of a metric and how close the average use is to the Minimum and Maximum values. This comparison helps you to know when to increase or decrease your resources.

  • SampleCount

    • The count, or number, of data points used for the statistical calculation.

Definition at line 340 of file GetContainerServiceMetricDataRequest.h.

◆ StartTimeHasBeenSet()

bool Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::StartTimeHasBeenSet ( ) const
inline

The start time of the time period.

Definition at line 199 of file GetContainerServiceMetricDataRequest.h.

◆ StatisticsHasBeenSet()

bool Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::StatisticsHasBeenSet ( ) const
inline

The statistic for the metric.

The following statistics are available:

  • Minimum - The lowest value observed during the specified period. Use this value to determine low volumes of activity for your application.

  • Maximum - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application.

  • Sum - All values submitted for the matching metric added together. You can use this statistic to determine the total volume of a metric.

  • Average - The value of Sum / SampleCount during the specified period. By comparing this statistic with the Minimum and Maximum values, you can determine the full scope of a metric and how close the average use is to the Minimum and Maximum values. This comparison helps you to know when to increase or decrease your resources.

  • SampleCount

    • The count, or number, of data points used for the statistical calculation.

Definition at line 320 of file GetContainerServiceMetricDataRequest.h.

◆ WithEndTime() [1/2]

GetContainerServiceMetricDataRequest& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::WithEndTime ( Aws::Utils::DateTime &&  value)
inline

The end time of the time period.

Definition at line 250 of file GetContainerServiceMetricDataRequest.h.

◆ WithEndTime() [2/2]

GetContainerServiceMetricDataRequest& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::WithEndTime ( const Aws::Utils::DateTime value)
inline

The end time of the time period.

Definition at line 245 of file GetContainerServiceMetricDataRequest.h.

◆ WithMetricName() [1/2]

GetContainerServiceMetricDataRequest& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::WithMetricName ( const ContainerServiceMetricName value)
inline

The metric for which you want to return information.

Valid container service metric names are listed below, along with the most useful statistics to include in your request, and the published unit value.

  • CPUUtilization - The average percentage of compute units that are currently in use across all nodes of the container service. This metric identifies the processing power required to run containers on each node of the container service.

    Statistics: The most useful statistics are Maximum and Average.

    Unit: The published unit is Percent.

  • MemoryUtilization - The average percentage of available memory that is currently in use across all nodes of the container service. This metric identifies the memory required to run containers on each node of the container service.

    Statistics: The most useful statistics are Maximum and Average.

    Unit: The published unit is Percent.

Definition at line 170 of file GetContainerServiceMetricDataRequest.h.

◆ WithMetricName() [2/2]

GetContainerServiceMetricDataRequest& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::WithMetricName ( ContainerServiceMetricName &&  value)
inline

The metric for which you want to return information.

Valid container service metric names are listed below, along with the most useful statistics to include in your request, and the published unit value.

  • CPUUtilization - The average percentage of compute units that are currently in use across all nodes of the container service. This metric identifies the processing power required to run containers on each node of the container service.

    Statistics: The most useful statistics are Maximum and Average.

    Unit: The published unit is Percent.

  • MemoryUtilization - The average percentage of available memory that is currently in use across all nodes of the container service. This metric identifies the memory required to run containers on each node of the container service.

    Statistics: The most useful statistics are Maximum and Average.

    Unit: The published unit is Percent.

Definition at line 188 of file GetContainerServiceMetricDataRequest.h.

◆ WithPeriod()

GetContainerServiceMetricDataRequest& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::WithPeriod ( int  value)
inline

The granularity, in seconds, of the returned data points.

All container service metric data is available in 5-minute (300 seconds) granularity.

Definition at line 279 of file GetContainerServiceMetricDataRequest.h.

◆ WithServiceName() [1/3]

GetContainerServiceMetricDataRequest& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::WithServiceName ( Aws::String &&  value)
inline

The name of the container service for which to get metric data.

Definition at line 74 of file GetContainerServiceMetricDataRequest.h.

◆ WithServiceName() [2/3]

GetContainerServiceMetricDataRequest& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::WithServiceName ( const Aws::String value)
inline

The name of the container service for which to get metric data.

Definition at line 69 of file GetContainerServiceMetricDataRequest.h.

◆ WithServiceName() [3/3]

GetContainerServiceMetricDataRequest& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::WithServiceName ( const char *  value)
inline

The name of the container service for which to get metric data.

Definition at line 79 of file GetContainerServiceMetricDataRequest.h.

◆ WithStartTime() [1/2]

GetContainerServiceMetricDataRequest& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::WithStartTime ( Aws::Utils::DateTime &&  value)
inline

The start time of the time period.

Definition at line 219 of file GetContainerServiceMetricDataRequest.h.

◆ WithStartTime() [2/2]

GetContainerServiceMetricDataRequest& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::WithStartTime ( const Aws::Utils::DateTime value)
inline

The start time of the time period.

Definition at line 214 of file GetContainerServiceMetricDataRequest.h.

◆ WithStatistics() [1/2]

GetContainerServiceMetricDataRequest& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::WithStatistics ( Aws::Vector< MetricStatistic > &&  value)
inline

The statistic for the metric.

The following statistics are available:

  • Minimum - The lowest value observed during the specified period. Use this value to determine low volumes of activity for your application.

  • Maximum - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application.

  • Sum - All values submitted for the matching metric added together. You can use this statistic to determine the total volume of a metric.

  • Average - The value of Sum / SampleCount during the specified period. By comparing this statistic with the Minimum and Maximum values, you can determine the full scope of a metric and how close the average use is to the Minimum and Maximum values. This comparison helps you to know when to increase or decrease your resources.

  • SampleCount

    • The count, or number, of data points used for the statistical calculation.

Definition at line 400 of file GetContainerServiceMetricDataRequest.h.

◆ WithStatistics() [2/2]

GetContainerServiceMetricDataRequest& Aws::Lightsail::Model::GetContainerServiceMetricDataRequest::WithStatistics ( const Aws::Vector< MetricStatistic > &  value)
inline

The statistic for the metric.

The following statistics are available:

  • Minimum - The lowest value observed during the specified period. Use this value to determine low volumes of activity for your application.

  • Maximum - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application.

  • Sum - All values submitted for the matching metric added together. You can use this statistic to determine the total volume of a metric.

  • Average - The value of Sum / SampleCount during the specified period. By comparing this statistic with the Minimum and Maximum values, you can determine the full scope of a metric and how close the average use is to the Minimum and Maximum values. This comparison helps you to know when to increase or decrease your resources.

  • SampleCount

    • The count, or number, of data points used for the statistical calculation.

Definition at line 380 of file GetContainerServiceMetricDataRequest.h.


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