AWS SDK for C++  1.9.157
AWS SDK for C++
Public Member Functions | List of all members
Aws::IoT::Model::CreateCustomMetricRequest Class Reference

#include <CreateCustomMetricRequest.h>

+ Inheritance diagram for Aws::IoT::Model::CreateCustomMetricRequest:

Public Member Functions

 CreateCustomMetricRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetMetricName () const
 
bool MetricNameHasBeenSet () const
 
void SetMetricName (const Aws::String &value)
 
void SetMetricName (Aws::String &&value)
 
void SetMetricName (const char *value)
 
CreateCustomMetricRequestWithMetricName (const Aws::String &value)
 
CreateCustomMetricRequestWithMetricName (Aws::String &&value)
 
CreateCustomMetricRequestWithMetricName (const char *value)
 
const Aws::StringGetDisplayName () const
 
bool DisplayNameHasBeenSet () const
 
void SetDisplayName (const Aws::String &value)
 
void SetDisplayName (Aws::String &&value)
 
void SetDisplayName (const char *value)
 
CreateCustomMetricRequestWithDisplayName (const Aws::String &value)
 
CreateCustomMetricRequestWithDisplayName (Aws::String &&value)
 
CreateCustomMetricRequestWithDisplayName (const char *value)
 
const CustomMetricTypeGetMetricType () const
 
bool MetricTypeHasBeenSet () const
 
void SetMetricType (const CustomMetricType &value)
 
void SetMetricType (CustomMetricType &&value)
 
CreateCustomMetricRequestWithMetricType (const CustomMetricType &value)
 
CreateCustomMetricRequestWithMetricType (CustomMetricType &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateCustomMetricRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateCustomMetricRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateCustomMetricRequestAddTags (const Tag &value)
 
CreateCustomMetricRequestAddTags (Tag &&value)
 
const Aws::StringGetClientRequestToken () const
 
bool ClientRequestTokenHasBeenSet () const
 
void SetClientRequestToken (const Aws::String &value)
 
void SetClientRequestToken (Aws::String &&value)
 
void SetClientRequestToken (const char *value)
 
CreateCustomMetricRequestWithClientRequestToken (const Aws::String &value)
 
CreateCustomMetricRequestWithClientRequestToken (Aws::String &&value)
 
CreateCustomMetricRequestWithClientRequestToken (const char *value)
 
- Public Member Functions inherited from Aws::IoT::IoTRequest
virtual ~IoTRequest ()
 
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::IoT::IoTRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 
- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 25 of file CreateCustomMetricRequest.h.

Constructor & Destructor Documentation

◆ CreateCustomMetricRequest()

Aws::IoT::Model::CreateCustomMetricRequest::CreateCustomMetricRequest ( )

Member Function Documentation

◆ AddTags() [1/2]

CreateCustomMetricRequest& Aws::IoT::Model::CreateCustomMetricRequest::AddTags ( const Tag value)
inline

Metadata that can be used to manage the custom metric.

Definition at line 229 of file CreateCustomMetricRequest.h.

◆ AddTags() [2/2]

CreateCustomMetricRequest& Aws::IoT::Model::CreateCustomMetricRequest::AddTags ( Tag &&  value)
inline

Metadata that can be used to manage the custom metric.

Definition at line 234 of file CreateCustomMetricRequest.h.

◆ ClientRequestTokenHasBeenSet()

bool Aws::IoT::Model::CreateCustomMetricRequest::ClientRequestTokenHasBeenSet ( ) const
inline

Each custom metric must have a unique client request token. If you try to create a new custom metric that already exists with a different token, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.

Definition at line 251 of file CreateCustomMetricRequest.h.

◆ DisplayNameHasBeenSet()

bool Aws::IoT::Model::CreateCustomMetricRequest::DisplayNameHasBeenSet ( ) const
inline

Field represents a friendly name in the console for the custom metric; it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated once defined.

Definition at line 108 of file CreateCustomMetricRequest.h.

◆ GetClientRequestToken()

const Aws::String& Aws::IoT::Model::CreateCustomMetricRequest::GetClientRequestToken ( ) const
inline

Each custom metric must have a unique client request token. If you try to create a new custom metric that already exists with a different token, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.

Definition at line 243 of file CreateCustomMetricRequest.h.

◆ GetDisplayName()

const Aws::String& Aws::IoT::Model::CreateCustomMetricRequest::GetDisplayName ( ) const
inline

Field represents a friendly name in the console for the custom metric; it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated once defined.

Definition at line 101 of file CreateCustomMetricRequest.h.

◆ GetMetricName()

const Aws::String& Aws::IoT::Model::CreateCustomMetricRequest::GetMetricName ( ) const
inline

The name of the custom metric. This will be used in the metric report submitted from the device/thing. Shouldn't begin with aws:. Cannot be updated once defined.

Definition at line 44 of file CreateCustomMetricRequest.h.

◆ GetMetricType()

const CustomMetricType& Aws::IoT::Model::CreateCustomMetricRequest::GetMetricType ( ) const
inline

The type of the custom metric. Types include string-list, ip-address-list, number-list, and number.

Definition at line 158 of file CreateCustomMetricRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::IoT::Model::CreateCustomMetricRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 34 of file CreateCustomMetricRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::IoT::Model::CreateCustomMetricRequest::GetTags ( ) const
inline

Metadata that can be used to manage the custom metric.

Definition at line 199 of file CreateCustomMetricRequest.h.

◆ MetricNameHasBeenSet()

bool Aws::IoT::Model::CreateCustomMetricRequest::MetricNameHasBeenSet ( ) const
inline

The name of the custom metric. This will be used in the metric report submitted from the device/thing. Shouldn't begin with aws:. Cannot be updated once defined.

Definition at line 51 of file CreateCustomMetricRequest.h.

◆ MetricTypeHasBeenSet()

bool Aws::IoT::Model::CreateCustomMetricRequest::MetricTypeHasBeenSet ( ) const
inline

The type of the custom metric. Types include string-list, ip-address-list, number-list, and number.

Definition at line 165 of file CreateCustomMetricRequest.h.

◆ SerializePayload()

Aws::String Aws::IoT::Model::CreateCustomMetricRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetClientRequestToken() [1/3]

void Aws::IoT::Model::CreateCustomMetricRequest::SetClientRequestToken ( Aws::String &&  value)
inline

Each custom metric must have a unique client request token. If you try to create a new custom metric that already exists with a different token, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.

Definition at line 267 of file CreateCustomMetricRequest.h.

◆ SetClientRequestToken() [2/3]

void Aws::IoT::Model::CreateCustomMetricRequest::SetClientRequestToken ( const Aws::String value)
inline

Each custom metric must have a unique client request token. If you try to create a new custom metric that already exists with a different token, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.

Definition at line 259 of file CreateCustomMetricRequest.h.

◆ SetClientRequestToken() [3/3]

void Aws::IoT::Model::CreateCustomMetricRequest::SetClientRequestToken ( const char *  value)
inline

Each custom metric must have a unique client request token. If you try to create a new custom metric that already exists with a different token, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.

Definition at line 275 of file CreateCustomMetricRequest.h.

◆ SetDisplayName() [1/3]

void Aws::IoT::Model::CreateCustomMetricRequest::SetDisplayName ( Aws::String &&  value)
inline

Field represents a friendly name in the console for the custom metric; it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated once defined.

Definition at line 122 of file CreateCustomMetricRequest.h.

◆ SetDisplayName() [2/3]

void Aws::IoT::Model::CreateCustomMetricRequest::SetDisplayName ( const Aws::String value)
inline

Field represents a friendly name in the console for the custom metric; it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated once defined.

Definition at line 115 of file CreateCustomMetricRequest.h.

◆ SetDisplayName() [3/3]

void Aws::IoT::Model::CreateCustomMetricRequest::SetDisplayName ( const char *  value)
inline

Field represents a friendly name in the console for the custom metric; it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated once defined.

Definition at line 129 of file CreateCustomMetricRequest.h.

◆ SetMetricName() [1/3]

void Aws::IoT::Model::CreateCustomMetricRequest::SetMetricName ( Aws::String &&  value)
inline

The name of the custom metric. This will be used in the metric report submitted from the device/thing. Shouldn't begin with aws:. Cannot be updated once defined.

Definition at line 65 of file CreateCustomMetricRequest.h.

◆ SetMetricName() [2/3]

void Aws::IoT::Model::CreateCustomMetricRequest::SetMetricName ( const Aws::String value)
inline

The name of the custom metric. This will be used in the metric report submitted from the device/thing. Shouldn't begin with aws:. Cannot be updated once defined.

Definition at line 58 of file CreateCustomMetricRequest.h.

◆ SetMetricName() [3/3]

void Aws::IoT::Model::CreateCustomMetricRequest::SetMetricName ( const char *  value)
inline

The name of the custom metric. This will be used in the metric report submitted from the device/thing. Shouldn't begin with aws:. Cannot be updated once defined.

Definition at line 72 of file CreateCustomMetricRequest.h.

◆ SetMetricType() [1/2]

void Aws::IoT::Model::CreateCustomMetricRequest::SetMetricType ( const CustomMetricType value)
inline

The type of the custom metric. Types include string-list, ip-address-list, number-list, and number.

Definition at line 172 of file CreateCustomMetricRequest.h.

◆ SetMetricType() [2/2]

void Aws::IoT::Model::CreateCustomMetricRequest::SetMetricType ( CustomMetricType &&  value)
inline

The type of the custom metric. Types include string-list, ip-address-list, number-list, and number.

Definition at line 179 of file CreateCustomMetricRequest.h.

◆ SetTags() [1/2]

void Aws::IoT::Model::CreateCustomMetricRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

Metadata that can be used to manage the custom metric.

Definition at line 214 of file CreateCustomMetricRequest.h.

◆ SetTags() [2/2]

void Aws::IoT::Model::CreateCustomMetricRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

Metadata that can be used to manage the custom metric.

Definition at line 209 of file CreateCustomMetricRequest.h.

◆ TagsHasBeenSet()

bool Aws::IoT::Model::CreateCustomMetricRequest::TagsHasBeenSet ( ) const
inline

Metadata that can be used to manage the custom metric.

Definition at line 204 of file CreateCustomMetricRequest.h.

◆ WithClientRequestToken() [1/3]

CreateCustomMetricRequest& Aws::IoT::Model::CreateCustomMetricRequest::WithClientRequestToken ( Aws::String &&  value)
inline

Each custom metric must have a unique client request token. If you try to create a new custom metric that already exists with a different token, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.

Definition at line 291 of file CreateCustomMetricRequest.h.

◆ WithClientRequestToken() [2/3]

CreateCustomMetricRequest& Aws::IoT::Model::CreateCustomMetricRequest::WithClientRequestToken ( const Aws::String value)
inline

Each custom metric must have a unique client request token. If you try to create a new custom metric that already exists with a different token, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.

Definition at line 283 of file CreateCustomMetricRequest.h.

◆ WithClientRequestToken() [3/3]

CreateCustomMetricRequest& Aws::IoT::Model::CreateCustomMetricRequest::WithClientRequestToken ( const char *  value)
inline

Each custom metric must have a unique client request token. If you try to create a new custom metric that already exists with a different token, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.

Definition at line 299 of file CreateCustomMetricRequest.h.

◆ WithDisplayName() [1/3]

CreateCustomMetricRequest& Aws::IoT::Model::CreateCustomMetricRequest::WithDisplayName ( Aws::String &&  value)
inline

Field represents a friendly name in the console for the custom metric; it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated once defined.

Definition at line 143 of file CreateCustomMetricRequest.h.

◆ WithDisplayName() [2/3]

CreateCustomMetricRequest& Aws::IoT::Model::CreateCustomMetricRequest::WithDisplayName ( const Aws::String value)
inline

Field represents a friendly name in the console for the custom metric; it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated once defined.

Definition at line 136 of file CreateCustomMetricRequest.h.

◆ WithDisplayName() [3/3]

CreateCustomMetricRequest& Aws::IoT::Model::CreateCustomMetricRequest::WithDisplayName ( const char *  value)
inline

Field represents a friendly name in the console for the custom metric; it doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated once defined.

Definition at line 150 of file CreateCustomMetricRequest.h.

◆ WithMetricName() [1/3]

CreateCustomMetricRequest& Aws::IoT::Model::CreateCustomMetricRequest::WithMetricName ( Aws::String &&  value)
inline

The name of the custom metric. This will be used in the metric report submitted from the device/thing. Shouldn't begin with aws:. Cannot be updated once defined.

Definition at line 86 of file CreateCustomMetricRequest.h.

◆ WithMetricName() [2/3]

CreateCustomMetricRequest& Aws::IoT::Model::CreateCustomMetricRequest::WithMetricName ( const Aws::String value)
inline

The name of the custom metric. This will be used in the metric report submitted from the device/thing. Shouldn't begin with aws:. Cannot be updated once defined.

Definition at line 79 of file CreateCustomMetricRequest.h.

◆ WithMetricName() [3/3]

CreateCustomMetricRequest& Aws::IoT::Model::CreateCustomMetricRequest::WithMetricName ( const char *  value)
inline

The name of the custom metric. This will be used in the metric report submitted from the device/thing. Shouldn't begin with aws:. Cannot be updated once defined.

Definition at line 93 of file CreateCustomMetricRequest.h.

◆ WithMetricType() [1/2]

CreateCustomMetricRequest& Aws::IoT::Model::CreateCustomMetricRequest::WithMetricType ( const CustomMetricType value)
inline

The type of the custom metric. Types include string-list, ip-address-list, number-list, and number.

Definition at line 186 of file CreateCustomMetricRequest.h.

◆ WithMetricType() [2/2]

CreateCustomMetricRequest& Aws::IoT::Model::CreateCustomMetricRequest::WithMetricType ( CustomMetricType &&  value)
inline

The type of the custom metric. Types include string-list, ip-address-list, number-list, and number.

Definition at line 193 of file CreateCustomMetricRequest.h.

◆ WithTags() [1/2]

CreateCustomMetricRequest& Aws::IoT::Model::CreateCustomMetricRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

Metadata that can be used to manage the custom metric.

Definition at line 224 of file CreateCustomMetricRequest.h.

◆ WithTags() [2/2]

CreateCustomMetricRequest& Aws::IoT::Model::CreateCustomMetricRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

Metadata that can be used to manage the custom metric.

Definition at line 219 of file CreateCustomMetricRequest.h.


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