AWS SDK for C++  1.8.54
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::CloudWatch::Model::PutMetricDataRequest Class Reference

#include <PutMetricDataRequest.h>

+ Inheritance diagram for Aws::CloudWatch::Model::PutMetricDataRequest:

Public Member Functions

 PutMetricDataRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetNamespace () const
 
bool NamespaceHasBeenSet () const
 
void SetNamespace (const Aws::String &value)
 
void SetNamespace (Aws::String &&value)
 
void SetNamespace (const char *value)
 
PutMetricDataRequestWithNamespace (const Aws::String &value)
 
PutMetricDataRequestWithNamespace (Aws::String &&value)
 
PutMetricDataRequestWithNamespace (const char *value)
 
const Aws::Vector< MetricDatum > & GetMetricData () const
 
bool MetricDataHasBeenSet () const
 
void SetMetricData (const Aws::Vector< MetricDatum > &value)
 
void SetMetricData (Aws::Vector< MetricDatum > &&value)
 
PutMetricDataRequestWithMetricData (const Aws::Vector< MetricDatum > &value)
 
PutMetricDataRequestWithMetricData (Aws::Vector< MetricDatum > &&value)
 
PutMetricDataRequestAddMetricData (const MetricDatum &value)
 
PutMetricDataRequestAddMetricData (MetricDatum &&value)
 
- Public Member Functions inherited from Aws::CloudWatch::CloudWatchRequest
virtual ~CloudWatchRequest ()
 
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::CloudWatch::CloudWatchRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 23 of file PutMetricDataRequest.h.

Constructor & Destructor Documentation

◆ PutMetricDataRequest()

Aws::CloudWatch::Model::PutMetricDataRequest::PutMetricDataRequest ( )

Member Function Documentation

◆ AddMetricData() [1/2]

PutMetricDataRequest& Aws::CloudWatch::Model::PutMetricDataRequest::AddMetricData ( const MetricDatum value)
inline

The data for the metric. The array can include no more than 20 metrics per call.

Definition at line 138 of file PutMetricDataRequest.h.

◆ AddMetricData() [2/2]

PutMetricDataRequest& Aws::CloudWatch::Model::PutMetricDataRequest::AddMetricData ( MetricDatum &&  value)
inline

The data for the metric. The array can include no more than 20 metrics per call.

Definition at line 144 of file PutMetricDataRequest.h.

◆ DumpBodyToUrl()

void Aws::CloudWatch::Model::PutMetricDataRequest::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.

◆ GetMetricData()

const Aws::Vector<MetricDatum>& Aws::CloudWatch::Model::PutMetricDataRequest::GetMetricData ( ) const
inline

The data for the metric. The array can include no more than 20 metrics per call.

Definition at line 102 of file PutMetricDataRequest.h.

◆ GetNamespace()

const Aws::String& Aws::CloudWatch::Model::PutMetricDataRequest::GetNamespace ( ) const
inline

The namespace for the metric data.

To avoid conflicts with AWS service namespaces, you should not specify a namespace that begins with AWS/

Definition at line 46 of file PutMetricDataRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::CloudWatch::Model::PutMetricDataRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file PutMetricDataRequest.h.

◆ MetricDataHasBeenSet()

bool Aws::CloudWatch::Model::PutMetricDataRequest::MetricDataHasBeenSet ( ) const
inline

The data for the metric. The array can include no more than 20 metrics per call.

Definition at line 108 of file PutMetricDataRequest.h.

◆ NamespaceHasBeenSet()

bool Aws::CloudWatch::Model::PutMetricDataRequest::NamespaceHasBeenSet ( ) const
inline

The namespace for the metric data.

To avoid conflicts with AWS service namespaces, you should not specify a namespace that begins with AWS/

Definition at line 53 of file PutMetricDataRequest.h.

◆ SerializePayload()

Aws::String Aws::CloudWatch::Model::PutMetricDataRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetMetricData() [1/2]

void Aws::CloudWatch::Model::PutMetricDataRequest::SetMetricData ( const Aws::Vector< MetricDatum > &  value)
inline

The data for the metric. The array can include no more than 20 metrics per call.

Definition at line 114 of file PutMetricDataRequest.h.

◆ SetMetricData() [2/2]

void Aws::CloudWatch::Model::PutMetricDataRequest::SetMetricData ( Aws::Vector< MetricDatum > &&  value)
inline

The data for the metric. The array can include no more than 20 metrics per call.

Definition at line 120 of file PutMetricDataRequest.h.

◆ SetNamespace() [1/3]

void Aws::CloudWatch::Model::PutMetricDataRequest::SetNamespace ( const Aws::String value)
inline

The namespace for the metric data.

To avoid conflicts with AWS service namespaces, you should not specify a namespace that begins with AWS/

Definition at line 60 of file PutMetricDataRequest.h.

◆ SetNamespace() [2/3]

void Aws::CloudWatch::Model::PutMetricDataRequest::SetNamespace ( Aws::String &&  value)
inline

The namespace for the metric data.

To avoid conflicts with AWS service namespaces, you should not specify a namespace that begins with AWS/

Definition at line 67 of file PutMetricDataRequest.h.

◆ SetNamespace() [3/3]

void Aws::CloudWatch::Model::PutMetricDataRequest::SetNamespace ( const char *  value)
inline

The namespace for the metric data.

To avoid conflicts with AWS service namespaces, you should not specify a namespace that begins with AWS/

Definition at line 74 of file PutMetricDataRequest.h.

◆ WithMetricData() [1/2]

PutMetricDataRequest& Aws::CloudWatch::Model::PutMetricDataRequest::WithMetricData ( const Aws::Vector< MetricDatum > &  value)
inline

The data for the metric. The array can include no more than 20 metrics per call.

Definition at line 126 of file PutMetricDataRequest.h.

◆ WithMetricData() [2/2]

PutMetricDataRequest& Aws::CloudWatch::Model::PutMetricDataRequest::WithMetricData ( Aws::Vector< MetricDatum > &&  value)
inline

The data for the metric. The array can include no more than 20 metrics per call.

Definition at line 132 of file PutMetricDataRequest.h.

◆ WithNamespace() [1/3]

PutMetricDataRequest& Aws::CloudWatch::Model::PutMetricDataRequest::WithNamespace ( const Aws::String value)
inline

The namespace for the metric data.

To avoid conflicts with AWS service namespaces, you should not specify a namespace that begins with AWS/

Definition at line 81 of file PutMetricDataRequest.h.

◆ WithNamespace() [2/3]

PutMetricDataRequest& Aws::CloudWatch::Model::PutMetricDataRequest::WithNamespace ( Aws::String &&  value)
inline

The namespace for the metric data.

To avoid conflicts with AWS service namespaces, you should not specify a namespace that begins with AWS/

Definition at line 88 of file PutMetricDataRequest.h.

◆ WithNamespace() [3/3]

PutMetricDataRequest& Aws::CloudWatch::Model::PutMetricDataRequest::WithNamespace ( const char *  value)
inline

The namespace for the metric data.

To avoid conflicts with AWS service namespaces, you should not specify a namespace that begins with AWS/

Definition at line 95 of file PutMetricDataRequest.h.


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